Quote:
Originally Posted by Andreas
|
Ok Andreas...the code below is the correct code to use to not get those additional queries, is that right? I just want to be sure, cause it works just fine
Quote:
global $vbulletin;
if ($vbulletin->userinfo['field9'] == "Vertical Postbit (Legacy)")
{
$vbulletin->options['legacypostbit'] = 1;
}
else if ($vbulletin->userinfo['field9'] == "Horizontal Postbit")
{
$vbulletin->options['legacypostbit'] = 0;
}
|