The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello, I had a menu strip that shows different options to different usergroups.
For instance: PHP Code:
Since I have two skins, I had to keep updating this menu strip in both skins whenever it needed to be changed. So i figured I could put the menu strip in a separate PHP file and create a Module (in the Plugins & Products System section). That way I would only have to edit it once. So in the Header of each skin's Common Templates, I replaced the menu strip with the variable $hgNavStrip and then I created a module defining it: PHP Code:
I think I am perhaps not using the right Hook Location or Execution Order. I am currently using a Hook Location of: global_start and an Execution Order of 5. Most of the other Hook Locations I have tried don't show the menu strip at all, but parse_template and init_startup also work, but similarly they ignore the vB conditionals. If someone could please let me know how to resolve my issue I would be most appreciative. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|