The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Quick question on a conditional
I've got a page (webtemplates) that I use to load a separate page in an iframe for content. What'd the correct conditional be for the following (pardon layman's terms):
If - Registered User Show - <iframe>loggedin.html</iframe> If - Guest Show - <iframe>youneedtologin.html</iframe> Would something like: Code:
<if condition="($show['guest'])"> <iframe>guest content</iframe> <else /> <iframe> logged in content</iframe> </if> Thanks as always. |
#2
|
|||
|
|||
HTML Code:
<if condition="$bbuserinfo['userid'] == 0"> // code for guest <else /> //code for not guest </if> Danny |
#3
|
|||
|
|||
Yep, it is, thanks man.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|