vBulletin THEN DAYLIGHT
07-21-2006, 08:13 PM
I am trying to create a new user option, so each user can choose whether they would like to see images in peoples signatures or not without having to turn off signatures altogether.
I have created the profile field, and done all the basic checks like for the ID etc... but it won't work
I have.....
Product: vBulletin
Hook Location: global_start
if ($vbulletin->userinfo['field29'] == "Display")
{
$vbulletin->options['allowbbimagecode'] = 1;
}
else
{
$vbulletin->options['allobbimagecode'] = 0;
}
I have already tried true and false instead of 1 and 0. Any ideas on how I could get this to work???
Thanks
Rob :)
I have created the profile field, and done all the basic checks like for the ID etc... but it won't work
I have.....
Product: vBulletin
Hook Location: global_start
if ($vbulletin->userinfo['field29'] == "Display")
{
$vbulletin->options['allowbbimagecode'] = 1;
}
else
{
$vbulletin->options['allobbimagecode'] = 0;
}
I have already tried true and false instead of 1 and 0. Any ideas on how I could get this to work???
Thanks
Rob :)