The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Stop a plugin from running on certain pages?
Is there a way to word an if statement to stop a part of my plugin from running if the current page is the new thread page?
thanks! |
#2
|
|||
|
|||
Surround the code in the plugin with this:
Code:
if (THIS_SCRIPT == 'newthread') |
#3
|
||||
|
||||
A little wrong, that code will ONLY run on the newthread page. Try this:
PHP Code:
|
#4
|
|||
|
|||
Oops yeah I misread the original post, it was late at night. Thanks for correcting.
|
#5
|
|||
|
|||
thanks!! worked perfectly
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|