Ejemplo n.º 1
0
function is_allowed_user(&$usr)
{
    if ($GLOBALS['FUD_OPT_2'] & 1024 && $usr->users_opt & 2097152) {
        error_dialog('Unverified Account', 'The administrator had chosen to review all accounts manually prior to activation. Until your account has been validated by the administrator you will not be able to utilize the full capabilities of your account.');
    }
    if ($usr->users_opt & 65536 || is_email_blocked($usr->email) || is_login_blocked($usr->login) || is_ip_blocked(get_ip())) {
        error_dialog('ERROR: you aren't allowed to post', 'Your account has been blocked from posting');
    }
}
Ejemplo n.º 2
0
function is_allowed_user(&$usr)
{
    if ($GLOBALS['FUD_OPT_2'] & 1024 && $usr->users_opt & 2097152) {
        error_dialog('Unverified Account', 'The administrator had chosen to review all accounts manually prior to activation. Until your account is validated by the administrator you will not be able to utilize the full capabilities of your account.');
    }
    if ($usr->users_opt & 65536 || is_email_blocked($usr->email) || is_login_blocked($usr->login) || is_ip_blocked(get_ip())) {
        error_dialog('ERRORE: non sei autorizzato a postare messaggi', 'A questo account è stata impedita la possibilità di scrivere messaggi');
    }
}