View Full Version : Remove "Member Profiles" from Navbar for non-members.
David LeBow
09-27-2008, 01:31 PM
I'd like to have the "Member Profiles" link removed from the Navbar for guests.
I find this under Navbar:
<if condition="$vboptions['enablememberlist']">
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></if>
Where can I find out the details about "enablememberlist" (et al.)? Is there a setting I've overlooked which is user-group specific?
Thanks.
Lynne
09-27-2008, 02:35 PM
You can disallow this for the usergroup - Usergroups > Unregistered Users > Can View Member Info > No
Can View Member Info
This option refers to user profiles on your forums. If this option is disabled then members of this group will not be able to view user profiles on your forums.
David LeBow
09-28-2008, 09:19 AM
You can disallow this for the usergroup - Usergroups > Unregistered Users > Can View Member Info > No
Hi Lynne,
Thanks for the reply. I already have that setting set to "no" and indeed, those user's can't get at the actual member information (a signon form appears) but the item is still on the navbar. The question is how to drop it off the navbar altogether. I can change it to:
<if condition="$show['member']">
instead of
<if condition="$vboptions['enablememberlist']">
but I was hoping to work out how some of these codes actually resolve. Have I missed the documentation somewhere?
Lynne
09-28-2008, 03:13 PM
Why don't you try:
<if condition="$vboptions['enablememberlist'] AND $show['member']">
link for users who are logged in and are allowed to see the profile
</if>
David LeBow
09-28-2008, 03:23 PM
Thanks Lynne,
I've gone to the $show['member'] in the meantime, but have I overlooked the documentation or is there really nowhere to find out what the various variable and functions mean without plowing through miles of PHP scripts...?
Lynne
09-28-2008, 03:54 PM
Well, you can plow through the articles forums. There are some pretty cool articles there that I keep bookmarked for use:
https://vborg.vbsupport.ru/showthread.php?t=179930
https://vborg.vbsupport.ru/showthread.php?t=98047
I have tons of others, but I just wanted to link to a couple to show you that there is a ton of info over there. I don't know if there is an article that tells you exactly what you want, but it would be a good start.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.