![]() |
conditional help
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. |
HTML Code:
<if condition="$forumid == 11">do foo</if>] |
1 Attachment(s)
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. :) |
na, change $forumid to $threadid and change the 11 to whatever the threadid is.
|
Quote:
thanks. |
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:
|
All times are GMT. The time now is 10:30 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:
|