The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
If you're still there, I have one more question. How do I write it for multiple conditions? For example, lets say I have two files I want it to redirect to, depending on where the member is. I thought using an elseif would work, but it didn't.
Any thoughts? |
#12
|
||||
|
||||
This doesn't work?
Code:
<a href="<if condition="$foruminfo['forumid'] == 53">otherfile.php<else /><if condition="$foruminfo['forumid'] == 43">differentfile.php<else />newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]</if></if>"> Code:
<a href="<if condition="$foruminfo['forumid'] == 53">otherfile.php<else /><if condition="$foruminfo['forumid'] == 43">differentfile.php<else /><if condition="$foruminfo['forumid'] == 25">barfile.php<else /><if condition="$foruminfo['forumid'] == 3">foofile.php<else />newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]</if></if></if></if>"> http://www.vbulletin.com/docs/html/m...e_conditionals |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|