![]() |
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! |
Surround the code in the plugin with this:
Code:
if (THIS_SCRIPT == 'newthread') |
A little wrong, that code will ONLY run on the newthread page. Try this:
PHP Code:
|
Oops yeah I misread the original post, it was late at night. Thanks for correcting.
|
thanks!! worked perfectly :)
|
All times are GMT. The time now is 10:38 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:
|