The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
If registered see this, else see that
I want to modify one of my templates so that registered users see one thing, and guests see another, but I don't want the members to see that certain part.
ex: member: secret area guest: you must be logged on to see the secret area I don't want the members to see the secret area, and "you must be logged in..." |
#2
|
||||
|
||||
<if condition="$bbuserinfo[userid] != 0"> Registered users only <else /> Unregistered users </if>
|
#3
|
|||
|
|||
Thanks. Instead of making a new thread, could you tell me what the variables for Threads: ,
Posts: , and Members: would be? (template) |
#4
|
||||
|
||||
You mean the one you see on the forumhome?
|
#5
|
|||
|
|||
Yeah
|
#6
|
||||
|
||||
Its kept in the forumhome template, they dont have their own templates anymore.
|
#7
|
|||
|
|||
I'm going to move it though. I tried: $vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers - but that didn't work
|
#8
|
||||
|
||||
Where did you move it too?
|
#9
|
|||
|
|||
I moved it to the sidebar.
|
#10
|
||||
|
||||
Is the left sidebar in another template?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|