Firestar.chkn |
12-13-2005 07:08 PM |
For some reason mine just doesn't want to work. We run 3.5.1. Should it work on this version?
I create the User Profile field, install the product, change the settings, but it always stays with the forum chosen option.
I looked at the XML file, and I found the following:
Quote:
<![CDATA[$dateformatbh_field = "field{$vbulletin->options[dateformatbh]}";
if ($vbulletin->userinfo["$dateformatbh_field"] != "Use Forum Default")
{
if ($vbulletin->userinfo["$dateformatbh_field"] == "Normal")
{
$vbulletin->options['yestoday'] = '0';
}
elseif ($vbulletin->userinfo["$dateformatbh_field"] == "Yesterday/Today")
{
$vbulletin->options['yestoday'] = '1';
}
elseif ($vbulletin->userinfo["$dateformatbh_field"] == "Detailed")
{
$vbulletin->options['yestoday'] = '2';
}
}]]>
|
The "yestoday" doesn't look right, but I changed it to "yesterday" as well, and it didn't work either.
Any ideas what could be the problem?
Thanks
Firestar
|