Author Topic: need help with a ban issue  (Read 899 times)

0 Members and 1 Guest are viewing this topic.

Offline backlasher55

  • New Member
  • *
  • Posts: 7
  • Karma: 1
  • Gender: Male
    • Bassin' Tips
  • SMF Version: 1.1.6
need help with a ban issue
« on: January 01, 2009, 03:09:58 PM »
At times I've had some terrible spam (porn) issues and normally can control it with normal full banning techniques.
But as of late , been getting hit hard and most are from a .ru mail extension.
How do I block all of those using (.ru ) mail registrants and posts.
Thanks in advance for any help, I'm lost on this issue!
Using Version 1.1.7
« Last Edit: January 01, 2009, 03:12:34 PM by backlasher55 »

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: need help with a ban issue
« Reply #1 on: January 01, 2009, 03:16:47 PM »
Try reading this and see if it helps at all. There is a list of mods with this post that should help combat the spam a bit

Offline ccbtimewiz

  • Dreamer
  • Guru
  • *
  • Posts: 1304
  • Karma: 2100
  • Gender: Male
  • $info->close();
    • Dream Portal
  • SMF Version: SMF 2.0 RC4
Re: need help with a ban issue
« Reply #2 on: January 01, 2009, 08:29:17 PM »
Open ./Sources/Subs-Members.php

Find:
:
fatal_error(sprintf($txt[500], $regOptions['username']), false);
Replace:
:
fatal_error(sprintf($txt[500], $regOptions['username']), false);

if (!preg_match('~@(\.ru|)$~', $_POST['email']))
   fatal_error('That email address is forbidden! You cannot register, spambot!', false);

Offline GhostRider2110

  • V.I.P.
  • *
  • Posts: 45
  • Karma: 130
  • Gender: Male
    • U.S. Scale Masters Association Midwest Region Web Site
  • SMF Version: 1.1.14/2.0
Re: need help with a ban issue
« Reply #3 on: January 01, 2009, 10:13:04 PM »
I had a problem for a while of bot registrations for a while, I added the reCAPCHA mod and the Stop Forum SPAM mod http://custom.simplemachines.org/mods/index.php?mod=1519 

Done wonders for my forums....

--Mitch
Mitchell Baker AMA 7548 GSWA WB251 10th AF USSMA 358
Webmaster Terre Haute R/C Club http://www.thrcc.org
Scale Master Midwest Manager http://www.ussma-midwest.org
Proud member of 1/8th AirForce http://www.oneeighthairforce.org
CoffeeCup Ambassador Get 20% Off checkout code: 226STS www.getcoffeecup.com

Offline brianjw

  • Guru
  • *
  • Posts: 2346
  • Karma: 1408
  • Gender: Male
  • What?!?! You mean they're sold out!
Re: need help with a ban issue
« Reply #4 on: January 02, 2009, 06:35:47 PM »
Yeah, I definitely recommend the Stop Forum SPAM mod to anyone. If you haven't had spam, download it anyway. It doesn't hurt to have that protection around all the time.