Been trying to write a plugin that will have effect on only one (or only) style installed.
I have tried
PHP Code:
if ($styleid == 1){
Code
}
No good
I also tried
PHP Code:
if ($vbulletin->userinfo[styleid]==1)
{code}
No good
I am missing something, anybody have suggestions pretty please.
p.s. another thing, should the plugin run at 'parse_templates' or 'style_fetch'. The code is
PHP Code:
$vbulletin->templatecache['footer'] = $vbulletin->templatecache['jqt_suite_footer'];
and yes, I am rendering and caching the template first.