The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to Combine <IF Conditions Please Help!
I Need to Make 2 <if conditions combined then run a script. The Conditions are To Not Include Certain Forums and to Not Include Mod User groups then Run The Script. I tried the following but it did not work.
Example: <if condition="!is_member_of($bbuserinfo, 5, 6, 7, 10, 12)"> AND <if condition="!in_array($forumid, array(145,113,103,10,114,117,164,9,144,158))"> <else /> <script src="http://www.cpalead.com/mygateway.php?pub=21615&gateid=MTA4MDI%3D" language="JavaScript" type="text/javascript"></script> </if></if> |
#2
|
||||
|
||||
Code:
<if condition="!is_member_of($bbuserinfo, 5, 6, 7, 10, 12) AND !in_array($forumid, array(145,113,103,10,114,117,164,9,144,158))"> CPA LEAD </if> Code:
<if condition="!is_member_of($bbuserinfo, 5, 6, 7, 10, 12) AND !in_array($forumid, array(145,113,103,10,114,117,164,9,144,158)) AND $thread['postuserid'] != $bbuserinfo['userid']"> CPA LEAD </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|