Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:38 am EST

Geeklog Forums

How Can I Block New Users from .ru domains?


Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Those pesky Ruskies are driving me nuts. I get like five or ten signing up to the site every day, and I know they're hackers. I want to block all users who have .ru email addresses. How can I do that? Thanks.

Don
http://www.panama-guide.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
config.php:
Text Formatted Code
// Comma-separated list of domain names that are not allowed for new user
// signups (for all new registrations - not only for the user submission queue)
$_CONF['disallow_domains'] = ''; // e.g. 'somebaddomain.com,anotherbadone.com'

These can actually be regular expressions, so something like
Text Formatted Code
$_CONF['disallow_domains'] = '\.ru$';
should do.

bye, Dirk
 Quote

Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Thanks, made the change. Let's see how that goes. I was getting like 20 .ru domains signing up every day. I think my domain must have gotten on somebody's list as being vulnerable to spammers, but even though the holes are plugged, they keep signing up. Unless, of course, there are a whole lot of Russians interested in Panama. Thanks again, Dirk.

Don
http://www.panama-guide.com
 Quote

All times are EST. The time is now 10:38 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content