Hi guys,
i tried something for this link but i could not. Look,
i created userfield as radiobuttons and options:
yes and
no i want change userfield with link.
i must write some code at
misc_start hooks.
i want when
Code:
misc.php?do=changefield&message=yes
then field of user will be = yes
i wrote some codes but not worked:
PHP Code:
global $vbulletin;
if(($_REQUEST['do']=='changefield'))
$message=strtolower(trim($_REQUEST['message']));
if($message=='yes')
{
$vbulletin->userinfo['field14'] === 'yes';
}
if($_SERVER['HTTP_REFERER']!='')
$vbulletin->url = $_SERVER['HTTP_REFERER'];
else
$vbulletin->url = $vbulletin->options['bburl'];
eval(print_standard_redirect('',false,false));