The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
usergroup condition in template?
how do i make a simple condition to limit guest in vb's template?
I tried <if condition="is_member_of($bbuserinfo, 1)"> You can't view! <else> Welcome! </if> Thanks! |
#2
|
||||
|
||||
How about:
HTML Code:
<if condition="$show['guest']"> Stuff for non logged in users <else /> Stuff for logged in users </if> (notice that it is <else />, not <else>) |
#3
|
|||
|
|||
Thanks Lynne, i'll try that!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|