The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
conditional hook location for a plugin
hi all,
i have a plugin that collects some info by running a few queries. right now i have it at global_start but i want to run it only when a particular forum is browsed. This is to save some queries on the front page. How can I make it so? |
#2
|
|||
|
|||
I think you could just surround the code in your plugin by an "if" and check for the appropriate values of THIS_SCRIPT and/or $vbulletin->GPC['forumid'].
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|