The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
if conditional in plugin for multiple pages
Guys, is this already correct if conditional in plugin for multiple pages
if the scripts is if (in_array(THIS_SCRIPT, array('index', 'showthread', 'forumdisplay'))) { stuff } if the scripts is not if (!in_array(THIS_SCRIPT, array('index', 'showthread'))) { stuff } thank you before |
#2
|
||||
|
||||
I know the first one is valid. The second one is valid except I have no idea if there are any pages with THIS_SCRIPT defined with those values.
|
#3
|
||||
|
||||
Quote:
so now the second one is correct too? |
#4
|
||||
|
||||
Yes, your second one looks correct also.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|