![]() |
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? |
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 |
All times are GMT. The time now is 07:08 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:
|