このphpBB3のmodは、将来の登録のメールアドレスのアカウントの使用を禁止します.
注 : この場合は使用している現在の登録には影響しません作り付けphpbb3の “メール” 管理者コントロールパネルの設定.
これはフォーラムでスパムを減らすために非常に効果的な方法です。.
オープン :
/includes/functions_user.php
検索 :
$allowed_email = ($allowed_email === false) ? strtolower($user->data['user_email']) : strtolower($allowed_email);
追加した後、 :
$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);
デモサイト:
phpBB Ban Future Email Types mod demo is available here
のいずれかでフォーラムに参加してみてください ヤフー や ホットメール メール






コメントはまだありません » 





























































