PDA

View Full Version : Hide memberlist on index.php only



Floris
Fri 29th Oct '04, 8:52pm
Here is how you hide the memberlist link from the navbar on the index.php only to both guests and members:

* Open the navbar template and find this code:
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>

* Replace it with this code:
<if condition="THIS_SCRIPT == 'index'"><else /><td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td></if>

* Save the template.

DarknessDivine
Fri 29th Oct '04, 10:45pm
Floris
Can u tell me how to do this just for guests?

Floris
Sat 30th Oct '04, 5:16am
Replace the condition with <if condition="THIS_SCRIPT == 'index' AND $bbuserinfo['usergroupid'] == '1'">

nsusa
Sat 12th Feb '05, 1:08am
How can I hide the member list for guests period? Meaning - I want it to be invisible for guest no matter which page they are on in the forum.

Thanks

Christoph

Steve Machol
Sat 12th Feb '05, 10:26pm
Set 'Can View Member Info' to 'No' for the Unregistered group.

nsusa
Sat 12th Feb '05, 11:07pm
Thanks. :)