The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how do I detect a forum id via plugin?
I am writing a plugin script that would output different content based on the form ID and script?
I am having a heck of a time remembering how to detect the forum id from php tho (i did search...I'm sure it's somewhere, but I am not able to find it) Something like Code:
if ((vbulletin->script == 'index') || (vbulletin->script == 'forumdisplay') ){ if (vbulletin->forum['id]==1) { do this;}; } Thanks for the help |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|