Avaleht » PhpBB3 Mods » phpBB Ban Future Email tüübid mod
formats

phpBB Ban Future Email tüübid mod

Avaldatud 14. mai, 2010 poolt sisse PhpBB3 Mods

See phpBB3 mod on keelustada e-posti aadressi konto mis tahes tulevaste registreerimiste.


Märkus : See ei mõjuta kehtivaid registreeringuid, mis on juhul, kui kasutate sisseehitatud phpBB3 “kirju” admin juhtpaneel milles.

See on väga tõhus viis vähendada rämpsposti oma foorumid.

Avatud :

/includes/functions_user.php

Leidma :

$allowed_email = ($allowed_email === false) ? strtolower($user->data['user_email']) : strtolower($allowed_email);

Pärast lisada :

$bademail = array("hotmail","gmail.com","@live.","yahoo"); // Put banned email types here

reset($bademail);

foreach($bademail as $findbademail)
{
if (stripos($email,$findbademail) !== false)
{
return 'We do not allow free email accounts like "' . $findbademail . '" to be used on these forums.';
}
}

unset($bademail,$findbademail);

Demo sait:

phpBB Ban Future Email Types mod demo is available here

Try to join the forum with either a yahoo või hotmail email

 

Jäta vastus

Sinu e-posti aadressi ei avaldata. Kohustuslikud väljad on tähistatud *

*

Võid kasutada neid HTML sildid ja atribuudid: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© ServA1
credit