Quote:
Originally Posted by kh99
I don't have any help on that, but I know there's a thread on that subject on vbulletin.com
I really don't understand the law. It seems like it would make much more sense to require browser software to give users greater control.
|
I agree!!, anyway as i DO have to do it, being in the uk i've made a start, right now i'm concentrating on getting the members to select yes in their options, this echo's the message but shows the "Cannot Modify header....headers already sent"
PHP Code:
if (is_member_of($vbulletin->userinfo, array( 5,6,7))){
if ($vbulletin->userinfo['field25']!=='Yes') {
echo "You are now being redirected to your <b>usercp>edit options</b>, change your cookie setting found in <b>Login & Privacy</b>";
header("Location: profile.php?do=editoptions");
}
}
i also need to work out capturing their selection in editoptions, if they select "No" they should be logged out but then the field should be cleared so they can log back in and get redirected again?