The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How To Disable To Who.is going on
Hi members
Please Help Me How To Disable This To register members and Non Others Only admins, Moderator, super moderator can View This How ? Please Help me |
#2
|
||||
|
||||
You can turn it off in vboptions > forum home display > display logged in users > No. Then you'll have to go change the condition around it in the FORUMHOME template from:
HTML Code:
<if condition="$show['loggedinusers']"> <!-- logged-in users --> HTML Code:
<if condition="$show['loggedinusers'] OR is_member_of($bbuserinfo,5,6,7)"> <!-- logged-in users --> I haven't tested this. |
#3
|
||||
|
||||
i dont under stand How to Put
Give a Complete Code sir i need user Groups Can view 6,7,5,21,27,26,10,28,3 Thx in Advance br., Ram |
#4
|
||||
|
||||
Quote:
HTML Code:
<if condition="$show['loggedinusers'] OR is_member_of($bbuserinfo,6,7,5,21,27,26,10,28,3)">
|
#5
|
||||
|
||||
Quote:
I did Enter This Code Not Shows on Admin also Sir How to Do regards Ram |
#6
|
||||
|
||||
I can't think of why it wouldn't show to your admins if they are in usergroup 6. All you did was add that little part to the condition, right? Maybe you should post that part of your template - from about 4 lines above the condition to about 4 lines below the condition.
|
#7
|
||||
|
||||
Quote:
<if condition="$show['loggedinusers'] OR is_member_of($bbuserinfo,6,7,5,21,27,26,10,28,3)"> My admin user id also 6 I add this code here sir I think you have idea Br., Ram |
#8
|
||||
|
||||
And nothing is showing up at all? (And those are usergroup ids, not the user id, right?)
|
#9
|
||||
|
||||
yes all are group id not User id
How to Do sir For user group id only regards Ram |
#10
|
||||
|
||||
I'm not sure what else to suggest if those are all valid usergroup ids. I use that condition in my FORUMHOME template to just show stuff to my mods (I only put in 5,6,and 7) and it works just fine.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|