The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|