The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi all
Been trying to find how to remove access to this for unregistered users, cannot seem to find any info, can anyone point me in the right direction. thanks in advance. |
#2
|
||||
|
||||
![]()
You'll have to do a simple template edit and add on a custom if statement, so it doesn't allow unregistered users.
I think it should be in the forumhome template area. |
#3
|
|||
|
|||
![]()
Find this code in FORUMHOME template:
Code:
<if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if> Code:
<if condition="$show['member']"> <if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if> </if> |
#4
|
||||
|
||||
![]()
You could probably also use the hook "showgroups_start" and put in a no permission for unregistered users:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|