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;
}
Any ideas?
Thank you!
Rick