![]() |
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 |
$GLOBALS[forumid] try that.
|
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) { |
$foruminfo isn't available in the postbit
thread[forumid] would have possibly been correct. GLOBALS should almost always work. |
All times are GMT. The time now is 11:44 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:
|