The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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'].
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|