![]() |
How do I stop a plugin from running on tag pages?
I'm making a modification that calls to hooks to threadbit_display. The only problem though, is that threadbit_display is also shown on the Tags Search, and I'm wondering if there's a way for me to exclude the tags search page from the plugin.
For example, if I wanted to exclude the plugin from working on showthread, I would use the following: Code:
THIS_SCRIPT != 'showthread' |
This can be found in tags.php
It's just the word tags |
I'm an idiot.
Thank you. That did the trick. |
You're not an idiot. Here's a tip: In most cases, the script name is whatever the PHP file name is. I'm not sure if that holds true in every single case, but you can always just double check by opening it and looking at the top of the file.
|
All times are GMT. The time now is 10:17 AM. |
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:
|