![]() |
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..." |
<if condition="$bbuserinfo[userid] != 0"> Registered users only <else /> Unregistered users </if>
|
Thanks. Instead of making a new thread, could you tell me what the variables for Threads: ,
Posts: , and Members: would be? (template) |
You mean the one you see on the forumhome?
|
Yeah
|
Its kept in the forumhome template, they dont have their own templates anymore.
|
I'm going to move it though. I tried: $vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers - but that didn't work
|
Where did you move it too?
|
I moved it to the sidebar.
|
Is the left sidebar in another template?
|
All times are GMT. The time now is 11:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|