The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I am developing some new plugins that should only work with a new
style I am working on. My new template style is "9". I only want the plugin to fire if it is my beta template. This code does not seem to work even though when I var_dumped the array, it seemed that styleid was being set. I put it as the first line of the plugin. I was also hoping to put it in the Navbar: Insert CMS Navbar Entry plugin, so I could import the CMS to the live site and then turn it on to the public when ready. Code:
if ($vbulletin->options['styleid'] != '9') { return; } Thank you! Rick |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|