The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Ok, I'd like to create a conditional for a script to show up in a specific forum.
HTML Code:
<if condition="THIS_SCRIPT == 'script name'"> </if> Thanks. |
#2
|
||||
|
||||
![]() HTML Code:
<if condition="$forumid == 11">do foo</if>] |
#3
|
||||
|
||||
![]()
I'm trying to add a script to a single page, a screenie is attached of what it looks like.
I'm trying to add that to one single topic, instead of all the topics, so would the code be HTML Code:
<if conditional="THIS_SCRIPT == 'scriptname'" and "$forumid == '11'">Code here</if> Here's the attached screenie. Thanks for the help. ![]() |
#4
|
||||
|
||||
![]()
na, change $forumid to $threadid and change the 11 to whatever the threadid is.
|
#5
|
||||
|
||||
![]() Quote:
thanks. |
#6
|
|||
|
|||
![]()
the if condition is to integrate any PHP conditional, written the PHP way, so you have to put your details in the brackets...:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|