The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
What is IF conditional for : if forum id is x, in plugin
i tried this but its looks like not working
if ($foruminfo['forumid'] == x) { stuff } the hook used are postbit_display_complete please help guys, what is the right if conditional, for if forum id is x, in plugin |
#2
|
||||
|
||||
$GLOBALS[forumid] try that.
|
#3
|
||||
|
||||
its works, many thanks, it will be usefull for all of us
if ($GLOBALS['forumid'] == x) { wonder why this usually conditional not working, maybe because using postbit_display_complete hook if ($foruminfo['forumid'] == x) { or if ($forumid == x) { |
#4
|
||||
|
||||
$foruminfo isn't available in the postbit
thread[forumid] would have possibly been correct. GLOBALS should almost always work. |
Благодарность от: | ||
TheLastSuperman |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|