PHP Code:
if ($vbulletin->userinfo['field8'])
{
if ($vbulletin->options['globalignore'])
{
$vbulletin->options['globalignore'] = $vbulletin->options['globalignore'] . " " . $vbulletin->userinfo['field8'];
}
else
{
$vbulletin->options['globalignore'] = $vbulletin->userinfo['field8'];
}
}
Hi the above code was taken from a 3.5.4 hack but no longer works for 3.7.1, as you can see above its a very simple short code which presumably needs a few tweaks for it to work on a 3.7.1.
Field 8 you are seeing above is refering to a custom field which was created under each users profile.
I would really appreciate it if somebody could fix the above snippet for a 3.7.1,
Many thanks in advance!