Quote:
Originally Posted by CMX_CMGSCCC
Aha, I have figured it out.
I have my forums enabled for "Legacy Postbit" by default.
Add the plugin to the hook 'cache_templates'
Use this code:
Code:
global $vbulletin;
if ($vbulletin->userinfo['field9'] == "Vertical Postbit (Legacy)")
{
$vbulletin->options['legacypostbit'] = 1;
}
else if ($vbulletin->userinfo['field9'] == "Horizontal Postbit")
{
$vbulletin->options['legacypostbit'] = 0;
}
CHANGE the field9 to your userfield fieldname.
This way when it caches the template, it will disable the legacypostbit option and not force it to use postbit_legacy.
-CMX
|
Thnx for the help man, sometimes the solution is right in front of you. You just need to get some alternate thinking =)