The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Show Memberlist By Usergroup
I'd like to make the memberlist page hidden from guests but I can't find where to set this at. Is this option available somewhere?
|
#2
|
||||
|
||||
There isn't an option to do that (why? I don't know.). If you just want to remove it from the navbar, then you may put a condition around it in the navbar template:
HTML Code:
<if condition="is_member_of($bbuserinfo,x,y,z)"><td class="vbmenu_control"><a href="$vboptions[bburl]/memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></if> |
#3
|
|||
|
|||
Thanks but I was trying to get it to be like this site has:
http://www.sportfishermen.com/board/members/list/ So they can see it but then get my signup image if they aren't logged in. |
#4
|
||||
|
||||
Then just add this to the top of the page (or use a plugin):
PHP Code:
|
#5
|
|||
|
|||
Thanks! Sorry but what template would I be adding that to? Just the FORUMDISPLAY template? Add it to the very top? Seems the other if statements on there are using <.
|
#6
|
||||
|
||||
Not to the template, that is php code. You would add it to the page. Or use a plugin - probably hook location member_start.
|
#7
|
|||
|
|||
Duh, on memberlist.php. Sorry, I wasn't thinking. I've added it and its working, thanks!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|