To be honest, I really don't know how to do what you want. I found these lines in profile.php:
PHP Code:
// options bitfield
foreach ($vbulletin->bf_misc_useroptions AS $key => $val)
{
if (isset($vbulletin->GPC['options']["$key"]) OR isset($vbulletin->GPC['set_options']["$key"]))
{
$value = $vbulletin->GPC['options']["$key"];
$userdata->set_bitfield('options', $key, $value);
}
}
So, perhaps they are worth looking into. And then in includes/functions.php are these lines:
PHP Code:
// decipher 'options' bitfield
$user['options'] = intval($user['options']);
foreach ($vbulletin->bf_misc_useroptions AS $optionname => $optionval)
{
$user["$optionname"] = ($user['options'] & $optionval ? 1 : 0);
//DEVDEBUG("$optionname = $user[$optionname]");
}
I think you're just gonna have to play with what you find.