![]() |
Postbit or showthread hook location
Hi all,
Looking for the right hook for my code. Basically I am calling information from a forum field which is dependant on forumid. But when I associate my code to hook location postbit complete it breaks the site. But when I try and use showthread complete it does not show up... but does not break the forum here is the code -- thanks very much for looking. PHP Code:
|
If you're trying to add one banner to the navbar then you'd want to use hook parse_templates.
I think the reason that the site breaks when using a postbit hook is because you'd need "global $vbulletin;" at the beginning of the code (but like I mentioned above, it wouldn't work there anyway). |
oh crap lol.
Its not for the navbar! It's actually for the postbit legacy template!!! I noticed I never updated the preregister part of the code :( Thanks KH99 |
All times are GMT. The time now is 08:30 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:
|