Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: ITA003 on December 10, 2008, 11:55:38 AM

Title: Stop Forum Spam
Post by: ITA003 on December 10, 2008, 11:55:38 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1519)


At the submit on the registration page check if the Email (and the IP address) is in www.stopforumspam.com (http://www.stopforumspam.com/) and denied the registration action. If detected, a message to user will be shown and write in log forum.

(https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6272376)

Uninstall previous version before install

Enable it in the admin consolle -> Registration -> Settings

Available in: English, Italian, Arabic, Portuguese



Version 0.9
- Add hungarian language (thaks robv)
- Add sfs Icon
Version 0.8
- Add link check to Stop Forum Spam in Who's on line page

Version 0.7
- Add french language (thanks teknautomotive)
- Add greek language (thanks faiza and nikan)
- Add russian language (thanks Bugo)
- Add turkish language (thanks PLAYBOY)
- Add ukrainian language (thanks olex)


Version 0.6
- Upgrade to SMF 2.0 RC4
- Add portuguese language (thanks  Joomlamz)


Version 0.5
- Update language in utf8 encoding
- Add Arabic language (thanks islam2hamy)


Version 0.4
- Redirect to Registration Settings Page
- Enable Check username


Version 0.3
- use fetch_web_data to get response
- change some install step


Version 0.2
- Now can disable/enable the check of IP Address


Version 0.1
! Release
Title: Re: Stop Forum Spam
Post by: Afro on December 10, 2008, 12:04:10 PM
Sounds nice..I am trying it right away
Title: Re: Stop Forum Spam
Post by: villasg on December 10, 2008, 12:34:22 PM
Is very interesting .
A question
If i want put my language ( greek-utf8) need to  make a copy of "SFS.english.php" named as "SFS.greek-utf8.php" with inside translate in greek ?

Title: Re: Stop Forum Spam
Post by: Sakae on December 10, 2008, 01:13:02 PM
Installed fine, but when tested with data of first robot I saw on http://www.stopforumspam.com/ , I could register...

What's wrong?
Title: Re: Stop Forum Spam
Post by: rickydeez on December 11, 2008, 01:40:50 AM
Quote from: softcore on December 10, 2008, 01:13:02 PM
Installed fine, but when tested with data of first robot I saw on http://www.stopforumspam.com/ , I could register...

What's wrong?


Go go Forum Admin > Registration > Settings and Enable: Stop Forum Spam Enabled

Great stuff, thanks!
Title: Re: Stop Forum Spam
Post by: edi67 on December 11, 2008, 04:08:41 AM
nice mod bravo, it possible see it written for smf 2?
Title: Re: Stop Forum Spam
Post by: ITA003 on December 11, 2008, 08:29:35 AM
Quote from: villasg on December 10, 2008, 12:34:22 PM
Is very interesting .
A question
If i want put my language ( greek-utf8) need to  make a copy of "SFS.english.php" named as "SFS.greek-utf8.php" with inside translate in greek ?
Yes!Send me the file... I insert it in the package.
Title: Re: Stop Forum Spam
Post by: ITA003 on December 11, 2008, 08:30:21 AM
Quote from: edi67 on December 11, 2008, 04:08:41 AM
nice mod bravo, it possible see it written for smf 2?
Of course... In the next week I download the beta and try it on my fourm and upgrade my mods
Title: Re: Stop Forum Spam
Post by: Celtland on December 18, 2008, 07:43:39 PM
Quote from: rickydeez on December 11, 2008, 01:40:50 AM
Quote from: softcore on December 10, 2008, 01:13:02 PM
Installed fine, but when tested with data of first robot I saw on http://www.stopforumspam.com/ , I could register...

What's wrong?


Go go Forum Admin > Registration > Settings and Enable: Stop Forum Spam Enabled

Great stuff, thanks!


Thank you!!  I thought I was losing my mind.  And thank you ITA003 for this great mod!!
Title: Re: Stop Forum Spam
Post by: uberjon on December 18, 2008, 08:27:31 PM
Quote from: ITA003 on December 11, 2008, 08:30:21 AM
Quote from: edi67 on December 11, 2008, 04:08:41 AM
nice mod bravo, it possible see it written for smf 2?
Of course... In the next week I download the beta and try it on my fourm and upgrade my mods

will be watching for it! on my one vbulletin forum i have a mod for "stop forum spam" it does wonders!  ;D

edit: can you add the option to also block on username? (i like to block on all 3, username/ip/email)

edit again: i would like to note that on the VB version, within the period of less than a year.. it has stopped well over 1 thousand spam bot registrations on my board..
Title: Re: Stop Forum Spam
Post by: ITA003 on December 19, 2008, 07:28:18 PM
Quote from: uberjon on December 18, 2008, 08:27:31 PM
edit: can you add the option to also block on username? (i like to block on all 3, username/ip/email)

In the next release!!  ;)
Title: Re: Stop Forum Spam
Post by: Celtland on December 20, 2008, 12:20:31 PM
This mod works like a charm - thank you sooooo much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Title: Re: Stop Forum Spam
Post by: haito on December 21, 2008, 01:04:43 AM
GREAT MOD !! Right mod in the right time when my forum is attacked by spammers..
Thanks
Title: Re: Stop Forum Spam
Post by: Insight on December 21, 2008, 03:38:53 AM
What are your guys thoughts on their data?

Last time I looked their email bans included stuff like *@gmail.com etc.

I wouldn't be able to register at my own board as I only have gmail :)

They also do a lot of IP banning which is fairly useless and only really risks banning genuine people.
Title: Re: Stop Forum Spam
Post by: ITA003 on December 21, 2008, 07:23:16 AM
Quote from: Insight on December 21, 2008, 03:38:53 AM
What are your guys thoughts on their data?

I use the website www.stopforumspam.com

Quote from: Insight on December 21, 2008, 03:38:53 AM
Last time I looked their email bans included stuff like *@gmail.com etc.

I wouldn't be able to register at my own board as I only have gmail :)

I check the full email address (not only the domain)

Quote from: Insight on December 21, 2008, 03:38:53 AM
They also do a lot of IP banning which is fairly useless and only really risks banning genuine people.
The Default (if mod enable) is to check the email address, if you want to check the IP also you must enable it.
Title: Re: Stop Forum Spam
Post by: Insight on December 21, 2008, 07:55:50 AM
I think you have missed the point of my post and I am not certain how the statement "I use the website www.stopforumspam.com" answers my query.

The website also supplies lists and APIs so you use their data, last time I looked, their data had things like *@gmail.com in it and lots of IPs.

I was asking for opinions on the usefulness of such data, not whether anyone uses it or not :)

Ultimately spam bots can just make up addresses for disposable accounts so I fail to see the point in checking list after list of data. Other measures must be more effective.
Title: Re: Stop Forum Spam
Post by: ITA003 on December 21, 2008, 08:12:29 AM
Quote from: Insight on December 21, 2008, 07:55:50 AM
The website also supplies lists and APIs so you use their data, last time I looked, their data had things like *@gmail.com in it and lots of IPs.
I don't understand...
Did you see the address "*@gmail.com" in StopForumSpam list??

Title: Re: Stop Forum Spam
Post by: Insight on December 21, 2008, 08:22:33 AM
yes...

I downloaded the files about 4 or 5 months ago, saw things like that in it and decided not to use their lists.

I just opened their download Sql commands for phpbb, the following line is in it:

It wasn't gmail, or I couldn't find it in the brief search I did - still, I found the following:


INSERT INTO `phpbb_banlist` VALUES ('', '', '', '*@hotmail.co.uk');


Blanket banning like this is surely just going to restrict people from signing up to the forum?
Title: Re: Stop Forum Spam
Post by: ITA003 on December 21, 2008, 08:37:04 AM
I understand... but i don't know the code in your post...

I use their remote APIs only to check the mail (or IP and, in the future the username)

I agree with you that insert that code are too restrictive...
Title: Re: Stop Forum Spam
Post by: Insight on December 21, 2008, 09:03:24 AM
I wonder if their API passes hotmail.co.uk addresses or if it too has *@hotmail.co.uk too?

I would hope not, but I assume the inserts etc are built from the same database that the API uses.
Title: Re: Stop Forum Spam
Post by: uberjon on December 21, 2008, 10:52:39 PM
i believe, that it would so a "search" for email for "*@hotmail.co.uk"

in the manner that * != wildcard but = a digit/symbol/letter

also keep in mind, that on a select query for MYSQL a wildcard would be done like:

select email from bans where email like '%*@hotmail.co.uk%'


the % is the wildcard, not the * ;)

few suggestions!

logging system for allowed and disallowed registrations and appealed registrations (yes appealed) if a user is denied. let them send an email or something to appeal it.

or!

don't "deny" registrations, have them set automatically to say group "spammers" (with no profile/post permissions/pm) THEN let them appeal via PM (only allow them to pm admin #1)

just a couple ideas. i do know the denied users on VB are suggested to appeal via contact form.. (and that it has a simple log system)
Title: Re: Stop Forum Spam
Post by: Insight on December 22, 2008, 01:50:11 AM
LOL

Duhhhh, of course * isn't a wildcard :)

Hahahaha, I obviously been in contact with my blonde gf too long. You would think after working with SQL for 8 years I would have known that...
:P

Shoot me, shoot me now :)

Title: Re: Stop Forum Spam
Post by: islam2hamy on December 22, 2008, 03:04:06 AM
thank you for this good mod,
i have translate it to Arabic.
Title: Re: Stop Forum Spam
Post by: islam2hamy on December 27, 2008, 10:21:05 AM
the new Version translated .

attached
Title: Re: Stop Forum Spam
Post by: ITA003 on December 28, 2008, 07:06:07 AM
thanks! :)
Title: Re: Stop Forum Spam
Post by: islam2hamy on December 28, 2008, 09:44:52 AM
you are welcome.  :D
Title: Re: Stop Forum Spam
Post by: CrankyOldguy on December 28, 2008, 01:47:29 PM
Quote from: Insight on December 21, 2008, 03:38:53 AM
What are your guys thoughts on their data?
...

They also do a lot of IP banning which is fairly useless and only really risks banning genuine people.

I've ranted elsewhere about ANY anti-spam database.  StopForumSpam is no better or worse.  The problem is that the entries are put there by PEOPLE.  People make mistakes, get sloppy, and have grievances about other people, leading to overly-broad bans OR the occasional forum owner that lists a real person merely because they don't like them...  I know at least TWO forum owners that are petty enough to have included me in the StopForumSpam database if they had any clue about my real IP address or e-mail (I spoof whenever possible).   ;)

Also, the kiddies using Xrumer are running it through proxies AND through botnets.  The botnet entries are real people that sadly have their home PC infected with trojans, giving the botnet owners remote-control over their PC.  Eventually the infected people will clean up their PC, but that won't remove them from the StopForumSpam database.

The same is true for web proxies.  I'm using one now.  :D  After the initial spam surge on our forums in October when Xrumer 5.0a was released, we locked 'em down with reCAPTCHA.  SOME proxies work OK with reCAPTCHA, some don't.  Also, in the month or so since we've had reCAPTCHA installed, we've had two real people register using proxies that had already been blacklisted in the SFS database by IP address.  If we'd used this mod and blocked by IP, then neither of those two humans would have been able to register...

The data is flawed, and if you use it to automatically deny registrations then you WILL be missing out on a few real people.

Blocking by the full e-mail is slightly better, HOWEVER the forum spam tool (Xrumer) allows them to generate random e-mail addresses at gmail every day if they choose.  That means they slip through the net every time they get a new e-mail.  That's not very handy if you're trying to get rid of the spammers.  You're still stuck playing 'Whack-A-Mole'.

reCAPTCHA isn't perfect.  I've had people using IE that couldn't get it to work.  Not all, but some.  Also, reCAPTCHA doesn't work through most proxies.  People in restrictive regimes that filter Internet content (China, Iran, Britian and now Australia) frequently surf via proxy to get to what they want to see.  That'll get them banned in the StopForumSpam database once a spammer uses the same proxy.

It's far from a perfect world, and there is no perfect solution.  Personally, I use the StopForumSpam info, but I also look at everyone that it flags.  Sometimes it's just flat wrong, and they turn out to be people instead of web 'bots.
Title: Re: Stop Forum Spam
Post by: BlessedMonkey on January 07, 2009, 04:56:27 PM
Maybe I'm missing something ...

I manually installed this in my forum earlier and I checked all three boxes, check email, IP and username. Since then I've already had somebody try to register and it didn't reject them, even though when I ran their details through the Stop Forum Spam database they were listed there several times.

Anything I should be checking because, judging by other posters, it seems this add-on should definitely be working - and worth its weight in gold if it does the job!
Title: Re: Stop Forum Spam
Post by: ITA003 on January 07, 2009, 05:28:54 PM
The forum url?
Title: Re: Stop Forum Spam
Post by: Insight on January 07, 2009, 05:32:38 PM
It doesn't really work though, it just blanket bans loads of potential users by banning email and IP addresses, all of which can be spoofed / reused.

Captcha + Are you human seems to have stopped the 4 pages of spam bots I had sign up each day dead but doesn't hurt actual users who don't even get the chance to prove they are genuine using stopforumspam.
Title: Re: Stop Forum Spam
Post by: BlessedMonkey on January 10, 2009, 01:26:39 PM
Quote from: ITA003 on January 07, 2009, 05:28:54 PM
The forum url?

Sorry for the slow response, been slightly busy tending to what passes for life ..


My forum is at www.thesoggypineapple.com

I've had a few listed on Stop Forum Spam trying to join and it's seemingly not rejected them, I've had to check them myself, nor is it keeping a log of those rejected if it is working. As far as I can tell, I made all the changes listed and I've uploaded the two files - and it's appearing in my registrations settings.  I'm confused lol

Thanks for any info.
Title: Re: Stop Forum Spam
Post by: ITA003 on January 10, 2009, 03:58:23 PM
Quote from: BlessedMonkey on January 10, 2009, 01:26:39 PM
I've had a few listed on Stop Forum Spam trying to join and it's seemingly not rejected them, I've had to check them myself, nor is it keeping a log of those rejected if it is working. As far as I can tell, I made all the changes listed and I've uploaded the two files - and it's appearing in my registrations settings.  I'm confused lol

The rejected user are logged in forum log with messagge like this:

The user USERNAME with Email EMAIL (IP IPADDRESS) is a Spam, please contact forum administrator.

The same showed to user.

Quote from: BlessedMonkey on January 07, 2009, 04:56:27 PM
I manually installed this in my forum earlier and I checked all three boxes, check email, IP and username. Since then I've already had somebody try to register and it didn't reject them, even though when I ran their details through the Stop Forum Spam database they were listed there several times.
Why do you install it manually?

Make sure that do you apply correctly your Register.php file.
Title: Re: Stop Forum Spam
Post by: BlessedMonkey on January 10, 2009, 07:45:38 PM
Hi.

I installed it manually as I'm running a custom theme and wasn't sure if the automatic install would work, and there weren't many steps involved.

As far as I can see all of the steps in the manual install were followed and took correctly, I did a find on the new code and all changes were present, which is what's confusing me. I'm not seeing any forum error log entries relating to it though, so something's up somewhere. I've no doubt that it's something I've done wrong lol

Anyhoooo. I can't work on it tonight, too tired, but will uninstall the plugin tomorrow (I have a backup of the forum I can copy the unaltered files from rather than do deleting bits) and give it another try.


EDIT: I installed the update (again manually) into a test forum I use to mess around with - and using details taken from the SFS database I got the correct rejection. So, obviously I've messed up the install in the live forum - I need shooting, I know. Anyway, I should be able to just copy the altered files from the test forum and upload them to the live one. Hopefully that'll sort it. If it doesn't, I'll come back and beg for more help lol

Thanks for the advice, much appreciated!


UPDATE: couldn't sleep so gave copying the test forum's files across - and it seems to have solved it, it caught a test registration. Sorry for wasting your time, I should have known I'd simply messed up somewhere *sigh* ... thanks for the help, and for creating what looks to be a very useful addon!
Title: Re: Stop Forum Spam
Post by: Rasyr on January 17, 2009, 11:42:38 AM
Quote from: ITA003 on January 10, 2009, 03:58:23 PM

The rejected user are logged in forum log with messagge like this:

The user USERNAME with Email EMAIL (IP IPADDRESS) is a Spam, please contact forum administrator.

By this, are you referring to the "Forum Error Log" or to the "Moderation Log"?

Personally, I would prefer it to show up in the moderation log, not the forum error log (since I have that turned off cause another mod is generating a ton of mild errors (which I have not figured out how to fix yet).

Title: Re: Stop Forum Spam
Post by: HR on January 26, 2009, 08:32:20 PM
Hmm install fails on register template.. cant find "<td width="100%" colspan="2" align="center">" anywhere.. can somebody give me a heads up on the above and below of it in Register.template.php?
Title: Re: Stop Forum Spam
Post by: ITA003 on January 28, 2009, 06:04:15 PM
Can you send me the Register template file?
Title: Re: Stop Forum Spam
Post by: ITA003 on January 28, 2009, 06:05:27 PM
Quote from: Rasyr on January 17, 2009, 11:42:38 AM
Quote from: ITA003 on January 10, 2009, 03:58:23 PM

The rejected user are logged in forum log with messagge like this:

The user USERNAME with Email EMAIL (IP IPADDRESS) is a Spam, please contact forum administrator.

By this, are you referring to the "Forum Error Log" or to the "Moderation Log"?


The Forum Error Log.
Title: Re: Stop Forum Spam
Post by: HR on January 28, 2009, 07:31:04 PM
Quote from: ITA003 on January 28, 2009, 06:04:15 PM
Can you send me the Register template file?

I got it.. just had to look at a default template (clean) and place accordingly.
Title: Re: Stop Forum Spam
Post by: HR on January 30, 2009, 06:59:16 AM
I have to tell you, Ive installed this on 2 1.1.7 boards and the response has been overwhelming. On my test board alone its stopped over 15 spam registrations and on a fully active forum its stopped over 50 in the last week.

Great work!
Title: Re: Stop Forum Spam
Post by: HR on January 30, 2009, 04:49:49 PM
Any chance you can port this to 2.0? There is another but I have issues with it and it doesnt have an off switch lol
Title: Re: Stop Forum Spam
Post by: HR on February 04, 2009, 09:44:02 AM
Nothing on 2.0b4? Come on guy.. just a lil leg up would be wonderful
Title: Re: Stop Forum Spam
Post by: ITA003 on February 04, 2009, 09:52:07 AM
At the moment my forum works in 1.1.7...
I must download the 2.0b4 and test all my forum and upgrade my mods and other... 
Title: Re: Stop Forum Spam
Post by: HR on February 04, 2009, 03:33:43 PM
Never the mind.. I got it going  :D validated and working fine!
Title: Re: Stop Forum Spam
Post by: HR on February 05, 2009, 01:46:35 PM
OK, help me out here.. I went to expand on this on my site and noticed.. IF the check is enabled its only referencing the email addy, IF the IP is checked and username then they are also validated.. I started to add an amil switch LOL
Title: Re: Stop Forum Spam
Post by: ITA003 on February 05, 2009, 02:02:37 PM
I don't understand... sorry...  :(
Title: Re: Stop Forum Spam
Post by: HR on February 05, 2009, 02:14:55 PM
No worries, I figured it out.
Enable == check email only
IP == check email AND IP
Username == check email AND username

For username or IP the email check must be enabled.. any idea how can we add a hit counter to this so that when a spammer is flagged it increments a hit counter. Then in admin under the settings I could put a notice saying "Spam blocked to date: $number"
Title: Re: Stop Forum Spam
Post by: ITA003 on February 05, 2009, 06:05:12 PM
You can add a new Settings named sfs_counter and then update it in SpammerCheck functions (before return the value).

I can insert the counter in the next release...
Title: Re: Stop Forum Spam
Post by: HR on February 05, 2009, 06:54:50 PM
ok I've about got a tracking area for 2.0b4 going.. I got bored but hold in mind Im not really a coder.. more a mimic. So far I have the template layout, tab added lang additions and general function in place.. just got to hammer things out
Title: Re: Stop Forum Spam
Post by: HR on February 05, 2009, 10:14:18 PM
Ok only thing to get hammered is my brain LOL BUt, cosmetically it looks damn nice LOL
Title: Re: Stop Forum Spam
Post by: HR on February 06, 2009, 09:09:08 AM
HAHA I got the hit counter in.. viewable to guests only

Title: Re: Stop Forum Spam
Post by: HR on February 06, 2009, 10:00:40 PM
And tracking >: )
Title: Re: Stop Forum Spam
Post by: ITA003 on February 07, 2009, 06:24:52 AM
Nice!
Title: Re: Stop Forum Spam
Post by: ivantoar on February 07, 2009, 09:09:00 AM
QuoteGo go Forum Admin > Registration > Settings and Enable: Stop Forum Spam Enabled

I'm using SMF 2 RC 1 and so such settings, please help :(
Title: Re: Stop Forum Spam
Post by: HR on February 07, 2009, 01:09:25 PM
This mod (package) is for 117 not 2.0 revision
Title: Re: Stop Forum Spam
Post by: Father Luke on February 07, 2009, 04:12:08 PM
Quote from: HR on February 06, 2009, 09:09:08 AM
HAHA I got the hit counter in.. viewable to guests only


And tracking >: )

What a get addition. Please share how you did this?

- -
Okay,
Father Luke
Title: Re: Stop Forum Spam
Post by: HR on February 07, 2009, 08:21:52 PM
Im doing posts at home on the alteration however mine is an adaptation of the mod here for 2.0b4. I found a glitch in my conditional statements for the tracking section and plan on resolving that this evening.

**Resolved & added the valid/invalid images
Title: Re: Stop Forum Spam
Post by: HR on February 07, 2009, 10:48:45 PM
ITA If you need a hand with the tracking addition I can provide you with my function adaptations or even the files I have for the 2.0 version.. perhaps they will give you a bit of a spark to your imagination as your work has done for me.
Title: Re: Stop Forum Spam
Post by: Father Luke on February 08, 2009, 05:41:58 AM
HR:

Well, I'll wait for the mod ;)

But? You have inspired me to experiment with the 2.*
So, that means you've done your best. So thanks for that.

Currently I'm Tech for a forum. The forum is in need of a dusting,
so I have been testing, and experimenting with a dev site. Perhaps
playing with 2.* will be practical.  BTW? Your theme? Outline? Rawks.
It's the one I am going to be using.

So, there. You inspired me twice. Now I have to catch up again.

- -
Okay,
Father Luke
Title: Re: Stop Forum Spam
Post by: HugeLunatic on February 15, 2009, 12:20:40 PM
This is the code that is giving the errors.  All I am seeing is the :  with the checkboxes.  Is it really supposed to have the same label?  The send_welcomeEmail that is already in use?


Quote
                     <th width="50%" align="right">
                        <label for="send_welcomeEmail_check">' . $txt['sfs_txt_sfsenabled'] . '</label> :
                           <br /><span class="smalltext" style="font-weight: normal;">' . $txt['sfs_txt_sfsenabled_desc'] . '</span>
                     </th>
                     <td width="50%" align="left">
                        <input type="checkbox" name="sfs_enabled" id="sfs_enabled"', !empty($modSettings['sfs_enabled']) ? ' checked="checked"' : '', ' class="check" onclick="sfsEnableCheckIP(this.checked);" />
                     </td>
                  </tr><tr class="windowbg2" valign="top">
                     <th width="50%" align="right">
                        <label for="send_welcomeEmail_check">' . $txt['sfs_txt_ipcheck'] . '</label> :
                        <br /><span class="smalltext" style="font-weight: normal;">' . $txt['sfs_txt_ipcheck_desc'] . '</span>
                     </th>
                     <td width="50%" align="left">
                        <input type="checkbox" name="sfs_ipcheck" id="sfs_ipcheck"', !empty($modSettings['sfs_ipcheck']) ? ' checked="checked"' : '', ' class="check" onclick="sfsEnableSFS(this.checked);" />
                     </td>
                  </tr><tr class="windowbg2" valign="top">
                     <th width="50%" align="right">
                        <label for="send_welcomeEmail_check">' . $txt['sfs_txt_usernamecheck'] . '</label> :
                        <br /><span class="smalltext" style="font-weight: normal;">' . $txt['sfs_txt_usernamecheck_desc'] . '</span>
                     </th>
                     <td width="50%" align="left">
                        <input type="checkbox" name="sfs_usernamecheck" id="sfs_ipcheck"', !empty($modSettings['sfs_usernamecheck']) ? ' checked="checked"' : '', ' class="check" onclick="sfsEnableSFS(this.checked);" />
                     </td>


I  am also receiving error messages in my logs.

8: Undefined index: sfs_txt_usernamecheck_desc
File: /home/.../Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 664


8: Undefined index: sfs_txt_ipcheck_desc
File: /home/.../Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 656


8: Undefined index: sfs_txt_sfsenabled_desc
File: /home/.../Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 648

I installed through SMF and I have a custom template.  Could you tell me how to fix the errors and the missing text?
Title: Re: Stop Forum Spam
Post by: HR on February 15, 2009, 01:12:10 PM
Confirm your lang files are in place and can you specify if your using UTF8 or simple straight english (or whatever).

Also, were the re any warning messages at the time of the install AND is this a one hit install or have you tried it a few times.
Title: Re: Stop Forum Spam
Post by: HugeLunatic on February 15, 2009, 01:59:21 PM
The sfs.english.php is in my themes/default/languages folder.  This was the first install, with no error messages.

One thing to note:  The theme I have installed, in the languages folder, there is a single file called settings.english.php.  The rest of the themes(none are used), including the classic, have multiple files in that folder including settings.english.php and settings.english-utf8.php.  So which am I using? 

I deleted the log files, so that I could see the new errors the next time I logged in, and I have another one I did not see before:

Unable to load the 'SFS.english-utf8' language file.  It's looking in the folder where I have the forum installed.  This makes sense, it's missing a file, I just don't know where it went.

So I am guessing I am using plain english and not UTF8.  Can the language files from another theme, like the classic, be copied into my custom theme folder?
Title: Re: Stop Forum Spam
Post by: ITA003 on February 16, 2009, 05:02:30 PM
I updated to 0.5 version. Non new features, new UTF8 files and Arabic language (thanks islam2hamy)
Title: Re: Stop Forum Spam
Post by: dwaned on February 17, 2009, 02:29:12 AM
Excellent Mod!!! Thank you very much!!
Title: Re: Stop Forum Spam
Post by: HR on February 19, 2009, 08:39:44 PM
And now we know I am really bored..

Own error column
Title: Re: Stop Forum Spam
Post by: Ashdaw on March 01, 2009, 05:29:13 AM
I would like to try this on my Version2 RC1, is it possible that you have already made the mod to work with 2.0?
Thanks for making it available too. :)
Title: Re: Stop Forum Spam
Post by: HR on March 01, 2009, 10:06:18 AM
This particular rendition is for 1x versions. My alterations are for 2x versions and are manually documented and made at home. This as I understand will be 2x modified when it reaches a final. There is another mod of course that uses the same website (SFS) that is working in 2.0.
Title: Re: Stop Forum Spam
Post by: Ashdaw on March 04, 2009, 07:13:27 AM
Thanks :)
Title: Re: Stop Forum Spam
Post by: JRagus on March 17, 2009, 05:10:42 PM
Where are the settings for this on my Forum? I went through everything and I cannot find it.

Any ideas?
Title: Re: Stop Forum Spam
Post by: HR on March 17, 2009, 05:53:26 PM
Admin > Members > Registration > Settings

Or there abouts.
Title: Re: Stop Forum Spam
Post by: JRagus on March 17, 2009, 05:57:48 PM
Geez and I was in there to. Totally over looked it. Losing my mind today.

Thanks HR. What's the HR for?
Title: Re: Stop Forum Spam
Post by: HR on March 24, 2009, 08:47:05 AM
HR == HarshReality

God I love this thread..
Title: Re: Stop Forum Spam
Post by: Bob Mueller on April 14, 2009, 11:52:36 PM
So a silly question, if I may:

If I reject a member application using this mod, does it also ban the user (by IP, email or username), and submit the info to SFS?
Title: Re: Stop Forum Spam
Post by: ITA003 on April 15, 2009, 02:33:34 AM
At the moment only reject the member (during registration step).

I can insert the features in the new version for SMF 2.0 (work in progress)... if needed
Title: Re: Stop Forum Spam
Post by: Father Luke on April 15, 2009, 06:00:26 AM
I would prefer they not be banned.
The rejection is enough to stop them.

And it will stop them over, and over again if necessary.

- -
Okay,
Father Luke
Title: Re: Stop Forum Spam
Post by: ITA003 on April 15, 2009, 06:22:48 AM
Right!! I agree with you, but I can make the feature optional and select it in the admin console. Assess whether or not to implement this feature.
Title: Re: Stop Forum Spam
Post by: HR on April 15, 2009, 07:09:57 AM
Quote from: ITA003 on April 15, 2009, 06:22:48 AM
Right!! I agree with you, but I can make the feature optional and select it in the admin console. Assess whether or not to implement this feature.

This stems with the dilemma I have.. Submitting requires an API key. So lets say for instance 'joeblow' uses a nick that he or she is unaware is on SFS. If this is automated your account will pop on SFS making it worse to follow than the error log on the forums. IF you submit him/hershe or he is banned or stopped NET WIDE and the administrator or account owner to SFS is the only one who can undo it (unless it sits too long and then it chain reacts).
Title: Re: Stop Forum Spam
Post by: Bob Mueller on April 15, 2009, 10:04:00 AM
Quote from: Father Luke on April 15, 2009, 06:00:26 AM
And it will stop them over, and over again if necessary.
It's that "over and over again" that I'm trying to deal with. Before I installed Stop Spammer, I was manually checking every registration at SFS, then banning it if I felt it was appropriate (my usual standard was more than about 6 entries at SFS). What I'd like to see happen is to at least have one of these two mods (Stop Spammer or Stop Forum Spam) have to option to reject and ban when I review the member apps. That would make it most useful to me.

I could probably do without the automatic submission. But the banning option (in the dropdown where I can can accept, reject, reject with email, etc.) would be helpful.
Title: Re: Stop Forum Spam
Post by: GinaD on April 15, 2009, 04:31:54 PM
Awesome Mod!  Can't wait to see if it works.  I am currently banning and deleting about 10 spammers a day!!!
Title: Re: Stop Forum Spam
Post by: HR on April 15, 2009, 07:42:13 PM
I use a hit counter.. was at 180 so now I look forward to the visits LOL
Title: Re: Stop Forum Spam
Post by: mogama on April 28, 2009, 10:34:59 PM
I've installed the mod.
It took me a few minutes to figure out how to install it.
Thanks. ~mogama~
Title: Re: Stop Forum Spam
Post by: spitstickler on May 02, 2009, 01:31:11 PM
Downloaded and installed the mod, made changes to source files, replaced language files by the directions. The only thing I don't know how to do is where to put the following files?

package-info.xml
redirect.txt
StopForumSpam.xml


Any help appreciated!
Title: Re: Stop Forum Spam
Post by: Chit-Chat ChatterBox Boss on May 16, 2009, 12:28:02 PM
Any way you can make this work through the download and install for 2.0 RC1?
Title: Re: Stop Forum Spam
Post by: HR on May 16, 2009, 01:48:26 PM
Quote from: Chit-Chat ChatterBox Boss on May 16, 2009, 12:28:02 PM
Any way you can make this work through the download and install for 2.0 RC1?
He's holding for the final ;)
Title: Re: Stop Forum Spam
Post by: Chit-Chat ChatterBox Boss on May 16, 2009, 01:52:42 PM
Darn cause with that major spam hacker going around I wanted to use this. Btw the one im talking about is krisbarteo.
Title: Re: Stop Forum Spam
Post by: Chit-Chat ChatterBox Boss on May 17, 2009, 04:15:36 AM
I completely rid did the Stop Forum Spam files from HR's site with the 2.0 way he says with the database counter tracker and everything into a zip install package. Works great  :D
Title: Re: Stop Forum Spam
Post by: HR on May 17, 2009, 10:31:40 AM
Glad it worked out for you.. I did my notes there for Beta 4 and recently did RC1 but had a few small changes to get it right. Just need to get around to posting them.
Title: Re: Stop Forum Spam
Post by: Chit-Chat ChatterBox Boss on May 18, 2009, 02:41:05 PM
If you haven't put together the RC1 package yet let me know and I will send you the zip. Its what you had on your site. I went through and made it a completed install package zip with what you told to edit. In the package-info I did set to install only for RC1 tho (easy change as you know). So if you want this send me a PM and I will be sure to get it over to you.
Title: Re: Stop Forum Spam
Post by: forummaker on May 19, 2009, 08:43:49 PM
Just had to share this... pretty funny.
I created a website October 2008. I haven't really spent to much time on it after putting a few things together. As of today there are 652 members all of which are spammers.
What a joke.... it's a big spam fest.
I wonder if there would be any need for this?
Maybe someone would be interested in buying this site....?
Here's the site: www.videogame-reviews.net (http://www.videogame-reviews.net)

Oh... and yesterday I started using "Stop Forum Spam" mod on another site where I was getting about 1 a day. Just this morning I checked the error log and it did stop one spammer trying to register. But, later today another spammer was able to register and post spam. I've checked the settings and I didn't have the "Check also Ip address" box checked. Now I have everything checked and hope that will do the trick.

QUESTIONS:
How do spammers find forums to spam?
Are most of the spammers - spambots or actual people registering and posting the spam?
How do they know where the register page is to register?

Not sure if this is a dumb question/idea or not... but what if there was a mod that we could use that changed the register page to another name..... whatever the forum administrator wanted... ie. "cloud9" - mywebsite.com/forums/index.php?action=cloud9. Or is it irrelevant?
Thanks.

Title: Re: Stop Forum Spam
Post by: forummaker on May 21, 2009, 05:47:13 AM
I have had over 50 attempted spammers since 11:00pm last night. This mod is a must have!
Title: Re: Stop Forum Spam
Post by: ITA003 on May 21, 2009, 05:54:24 AM
Be careful to enable Ip Address, this can be exclude some user that use the same IP...
Title: Re: Stop Forum Spam
Post by: Chit-Chat ChatterBox Boss on May 21, 2009, 08:05:08 PM
Well if they have the same IP then that means they are in that location typically. Better to be safe (I don't use same name cause like once I tested my own username on a test that had SFS enabled and it blocked me so i went to the SFS site and seen someone has the name Caleb something registered not same ip or email tho.
Title: Re: Stop Forum Spam
Post by: DeanLautermilch on July 12, 2009, 04:07:05 PM

I was getting spammers from Slovakia and other countries posting nonsense. That stopped the minutes I installed this.
Title: Re: Stop Forum Spam
Post by: selket on July 19, 2009, 02:49:05 PM
Hello,

I just installed the mod a few days ago and since them I have this error on my log:

Undefined index: pretty_urls
Fişier: /home/fabulous/public_html/forum/Themes/default/ManageBoards.template.php
Linie: 63

Line 63 is this:
   <td width="10%" style="padding-right: 1ex;" align="right">', allowedTo('admin_forum') ? '<a href="' . $scripturl . '?action=manageboards;sa=pretty;boardid=' . $board['id'] . '">' . $txt['pretty_urls'] . '</a>' : '', '</td>

I did not had this error before intallaling this mode, and it only apears for the admins.
If it helps, I'm using "vogue" as the default theme and romanian as language.

Thank you in advance for any help.
Title: Re: Stop Forum Spam
Post by: HR on July 19, 2009, 04:25:56 PM
Lang issue.. pretty_urls should be in modenglish lang file.. translate entry to romanian and place in lang file for that language.
Title: Re: Stop Forum Spam
Post by: ITA003 on July 19, 2009, 07:15:05 PM
Thanks HR!  ;)
Title: Re: Stop Forum Spam
Post by: Grey on September 02, 2009, 09:26:58 PM
Is it possible to extend the check? I would like that check not only for registrations to the forum (I manage that myself as I only let users register that I know) but for unregistered posting as well. So if someone answers or creates a post as guest he has to enter a username and mailadress. Could that be extended to check with this check? That would be really great!
Title: Re: Stop Forum Spam
Post by: HR on September 03, 2009, 04:20:35 AM
Its HIGHLY recommended that in any public forum guest posting be disabled.
Title: Re: Stop Forum Spam
Post by: ITA003 on September 03, 2009, 05:27:10 AM
I agree with HR.
Why do you manage who can register to your site but do you allow the unregistered user to posting?
Title: Re: Stop Forum Spam
Post by: rcgearing on September 07, 2009, 03:07:19 PM
Works in 1.1.9, Default Theme! Thanks!
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 19, 2009, 03:48:33 PM
I made the page changes for 1.1.5 and the test if failing on register.template.php. I have attached this file. What can i do to fix this?
Title: Re: Stop Forum Spam
Post by: ITA003 on October 21, 2009, 03:23:37 PM
Quote from: shadowravenhawk on October 19, 2009, 03:48:33 PM
I made the page changes for 1.1.5 and the test if failing on register.template.php. I have attached this file. What can i do to fix this?


Try this file, make a backup of current file. :P
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 21, 2009, 04:01:13 PM
Thanks it worked like a charm. I really appreciate it.

In the registration under settings there is nothing. I disable registration before I put the mod and now want to accept members. Do I have to completely remove the mod?
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 22, 2009, 03:34:35 PM
In the registration under settings there is nothing. I disable registration before I put the mod and now want to accept members. Do I have to completely remove the mod?
Title: Re: Stop Forum Spam
Post by: ITA003 on October 22, 2009, 06:16:44 PM
Quote from: shadowravenhawk on October 22, 2009, 03:34:35 PM
Do I have to completely remove the mod?


No.
Please check the directory where put the Register.template.php is in the current template that you use.
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 23, 2009, 05:09:53 AM
Yes, it is the one that was changed to install the mod
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 24, 2009, 06:56:10 PM
Do I have to replace register.template.php with the old one or modify this one?
Title: Re: Stop Forum Spam
Post by: TwitchisMental on October 24, 2009, 07:09:42 PM
Nice mod idea man. Are you planning to make it for smf 2?
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 24, 2009, 07:14:18 PM
No, I am trying to get stop forum spam to work. I installed it right but on members registration settings there is nothing. I disabled registration and now want to accept members. I have attached my register.template.php above.
Title: Re: Stop Forum Spam
Post by: ITA003 on October 25, 2009, 07:18:02 AM
But do you have install another Spammer Check installed??


I use your file in my test enviroment and works fines! I only removed the code to line 540:


require_once($sourcedir . '/Subs-Members.php');
   $stopspammer_faildb_sub = checkDBSpammer('127.0.0.1', 'Test_Conection_DB', '[email protected]', true)
      ? '<span style="color: #008000">' . $txt['stopspammer_faildb1_sub'] . '</span>'
      : '<span class="error">'.$txt['stopspammer_faildb2_sub'].$txt['stopspammer_not_translate'].'</span>';



Is better to use only one spammer check.
Title: Re: Stop Forum Spam
Post by: ITA003 on October 25, 2009, 07:20:57 AM
Quote from: NBK*Twitch on October 24, 2009, 07:09:42 PM
Nice mod idea man. Are you planning to make it for smf 2?


I'm working the upgrade to SMF 2.0.. but at the moment I don't know when I will release. :P
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 25, 2009, 07:39:13 AM
I am using stop forum spam. I put in the old register.template.php and the settings came up. I allowed members in. When I put the one with the code on it back in, settings is no longer there. Is everything ok?
Title: Re: Stop Forum Spam
Post by: ITA003 on October 25, 2009, 07:57:07 AM

Quote from: shadowravenhawk on October 25, 2009, 07:39:13 AM
I am using stop forum spam. I put in the old register.template.php and the settings came up. I allowed members in. When I put the one with the code on it back in, settings is no longer there. Is everything ok?

Which code??
The code that I quoted isn't from my Mod and, if you don't use it, you must remove.


Bye
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 25, 2009, 07:59:31 AM
I am using your mod stop forum spam. I  found the code that you quoted above on line 540 on register.template.php and the settings did appear.  I tried to register with an email that I set up and can't. I had akismet installed but it has been removed. It says this on the address bar:
http://www.ufo-secret-files.net/forum/index.php?PHPSESSID=slc3487uo4klk4kqh1jo6eoaocmjvgbj&action=register

I have attached my index.php Can someone help me fix this code?
Title: Re: Stop Forum Spam
Post by: ITA003 on October 25, 2009, 07:14:17 PM


Quote from: shadowravenhawk on October 25, 2009, 07:59:31 AM
http://www.ufo-secret-files.net/forum/index.php?PHPSESSID=slc3487uo4klk4kqh1jo6eoaocmjvgbj&action=register (http://www.ufo-secret-files.net/forum/index.php?PHPSESSID=slc3487uo4klk4kqh1jo6eoaocmjvgbj&action=register)


I can not access that url, white page (and blank source code) with Chrome e Firefox. Look the forum log (in admin section) for errors.
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 26, 2009, 03:15:39 AM
Here are the errors that I am getting. I have attached the files:

Database Error: Unknown column 'm.spam' in 'where clause'
File: /var/www/virtual/u/f/ufo-secret-files.net/www/forum/Sources/Profile.php
Line: 1412


8: Undefined index: stopspammer_leyd03
File: /var/www/virtual/u/f/ufo-secret-files.net/www/forum/Themes/default/ManageMembers.template.php (admin_browse sub template - eval?)
Line: 404 and 403, 402, 397, 523

8: Undefined index: stopspammer_show01_sub
File: /var/www/virtual/u/f/ufo-secret-files.net/www/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 744 and 743, 738, 737, 736, 732, 731, 724









Title: Re: Stop Forum Spam
Post by: ITA003 on October 27, 2009, 07:05:53 PM
I'm sorry, but I can't help you, that is an error with Stop Spammer, please contact the mod's author.
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 28, 2009, 12:17:48 AM
I don't have stop spammer installed and I never made any page changes
Title: Re: Stop Forum Spam
Post by: TheListener on October 28, 2009, 12:23:33 AM
Quote from: shadowravenhawk on October 28, 2009, 12:17:48 AM
I don't have stop spammer installed and I never made any page changes

Do a seach in the mod section for disable eval.

This mod is very useful.
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on October 28, 2009, 12:37:53 AM
Is this a mod or some part of my forum? I tried install stop spammer but the changes for the pages weren't where they said. I deleted the mod and no changed pages were ever uploaded. Where would the files in stop spammer have went? Can I delete them by hand?
Title: Re: Stop Forum Spam
Post by: lobobuzz on October 29, 2009, 06:53:43 PM
Super mod.. Keep up the great work!!  I downloaded, installed, configured and tested all under 5 minutes.  Thanks a ton.
Title: Re: Stop Forum Spam
Post by: randallsadler on November 04, 2009, 11:06:02 AM
GREAT mod.

Since I've installed this a couple months ago, I think I've had perhaps one or two spammers sneak by, compared to many a week before installation.  Easy to install, and then you can just forget about it and let it do its work--thanks!

I did, by the way, have one person try to join the forum who was not let in that I know was legitimate.  However, this person is Thai and because their first name (no joke) is Pornimpol, their email address start out with "porn."   8)  Ah well, I was just able to use the admin function of the forum to add that individual.
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on November 05, 2009, 02:10:45 PM
I installed stop forum spam. I previously installed akismet, which didn't work and tried stop spammer. I now have removed all the akismet code from the pages and removed the mod. No one can still register on the forum, which is otherwise working fine.
Title: Re: Stop Forum Spam
Post by: ITA003 on November 05, 2009, 02:52:20 PM
Your Register.template.php has code by stop spammer (line 718 to 748):


                     <td width="100%" colspan="2" align="center">
                        <hr />
                     </td>
                  </tr><tr class="windowbg2">
                  <th width="50%" align="right">
                     <label for="stopspammer_enable">', $txt['stopspammer_enable'], '</label>:
                  </th>
                  <td valign="top">
                     <input type="checkbox" name="stopspammer_enable" id="stopspammer_enable"', empty($modSettings['stopspammer_enable']) ? '' : ' checked="checked"', ' class="check" />
                  </td>
               </tr><tr class="windowbg2">
                  <th width="50%" align="right">
                     <label for="stopspammer_faildb">', $txt['stopspammer_faildb'], '</label>:
                     <div class="smalltext" style="font-weight: normal;">', $stopspammer_faildb_sub, '<>
                  </th>
                  <td valign="top">
                     <select name="stopspammer_faildb" id="stopspammer_faildb" >
                        <option value="0" ', ('0' == $modSettings['stopspammer_faildb'] ? 'selected="selected"' : '') , '>', $txt['stopspammer_fail01'], '</option>
                        <option value="1" ', ('1' == $modSettings['stopspammer_faildb'] ? 'selected="selected"' : '') , '>', $txt['stopspammer_fail02'], '</option>
                        <option value="2" ', ('2' == $modSettings['stopspammer_faildb'] ? 'selected="selected"' : '') , '>', $txt['stopspammer_fail03'], '</option>
                     </select>
                  </td>
               </tr><tr class="windowbg2">
                  <th width="50%" align="right">
                     <label for="stopspammer_show01">', $txt['stopspammer_show01'], '</label>:
                     <div class="smalltext" style="font-weight: normal;">', $txt['stopspammer_show01_sub'], '<>
                  </th>
                  <td valign="top">
                     <input type="checkbox" name="stopspammer_show01" id="stopspammer_show01"', empty($modSettings['stopspammer_show01']) ? '' : ' checked="checked"', ' class="check" />
                  </td>
               </tr><tr class="windowbg2">



Register.php (line293 to 301):


   // Is Spammer? Then should be approval
   if ($modSettings['stopspammer_enable'] && $regOptions['spammer'] = checkDBSpammer($user_info['ip'], $_POST['user'], $_POST['email']))
      {
      $regOptions['require'] = 'approval';
      $modSettings['registration_method'] = 2;
      if ($regOptions['spammer'] !=
         updateSettings(array('stopspammer_count' => ++$modSettings['stopspammer_count']), true);
      }





Try to remove that code... and remember... make a backup of your file!  :)
Title: Re: Stop Forum Spam
Post by: shadowravenhawk on November 11, 2009, 06:22:16 AM
Thanks for all your help. I am still getting some spam. How can I test the mod to know that it is working?
Title: Re: Stop Forum Spam
Post by: Stüldt Håjt on November 26, 2009, 09:27:07 AM
This mod sounds good, but is it still updated? No 1.1.10 version. And are you planning to do this for 2.0?
Title: Re: Stop Forum Spam
Post by: ITA003 on November 26, 2009, 10:58:21 AM
Opsss. I miss to update the mod's page, the 0.5 works with 1.1.10.


The version for 2.0 is in progress (for a long time  :(  ), now that the 2.0 is in Release Candidate I "must" to take more time to upgrade.
Title: Re: Stop Forum Spam
Post by: Paracelsus on November 27, 2009, 10:07:57 AM
Is it possible to have a custom list of IPs instead of having the one in StopForumSpam website?
Title: Re: Stop Forum Spam
Post by: ITA003 on November 27, 2009, 11:35:35 AM
Quote from: Paracelsus on November 27, 2009, 10:07:57 AM
Is it possible to have a custom list of IPs instead of having the one in StopForumSpam website?


For this you can configure one (or more) ban for range IP.
Title: Re: Stop Forum Spam
Post by: Nerd3D on December 05, 2009, 09:41:55 PM
The spammers may have found a way around this. I'm running 1.1.11 with a recent download of this mod. They have successfully registered even though the IP is listed in the database. Is there a possibility they are injecting something to get past the check at SFP?
Title: Re: Stop Forum Spam
Post by: ITA003 on December 06, 2009, 07:22:04 AM
Quote from: Nerd3D on December 05, 2009, 09:41:55 PM
The spammers may have found a way around this. I'm running 1.1.11 with a recent download of this mod. They have successfully registered even though the IP is listed in the database. Is there a possibility they are injecting something to get past the check at SFP?


Do you check only the Email or IP also? By default the mod check only the email address.


Some spammers change dynamically the email address, so the new email address is not in the database.
You must check the IP address in Registration Settings (Admin).
Title: Re: Stop Forum Spam
Post by: Nerd3D on December 06, 2009, 06:04:52 PM
I use all three username, IP and Email. Though I think I may stop doing the username check because that seems likely to cause false positives in retrospect.
Title: Re: Stop Forum Spam
Post by: ITA003 on December 06, 2009, 06:37:03 PM
I agree with you to don't use the username check.


There is a possibility that some spammers can register...


- if the database is not accessible
- if the spammer is not yet in the database
- ...




Title: Re: Stop Forum Spam
Post by: JayT on January 14, 2010, 05:03:49 PM
Great mod... Is there a way to add a "Submit Spam Data" to automatically? So when you ban a user that gets through, you can either check a box or hit a button to add their data to the SFS database?

Thanks!
Title: Re: Stop Forum Spam
Post by: Joff on January 25, 2010, 10:24:35 AM
Quote from: Insight on December 21, 2008, 03:38:53 AM
They also do a lot of IP banning which is fairly useless and only really risks banning genuine people.

I installed it on my forum and then when I created a test account using my 'myname@btinternet.com' (this is my personal e-mail address which has not been used on my admin account) and got rejected. When I uninstalled the mod, I was able to register fine using the e-mail address.

That tells me that this mod is a waste of time as it blocked my personal e-mail address!!!
Title: Re: Stop Forum Spam
Post by: ITA003 on January 25, 2010, 10:36:58 AM
Maybe your email address is in the Stop Forum Spam database?? You can check directly at this address (http://www.stopforumspam.com/search)...


You have enable the username check in admin section?
Title: Re: Stop Forum Spam
Post by: Joff on January 25, 2010, 10:44:56 AM
Quote from: ITA003 on January 25, 2010, 10:36:58 AM
Maybe your email address is in the Stop Forum Spam database?? You can check directly at this address (http://www.stopforumspam.com/search)...

No, it's not in the database

Quote from: ITA003 on January 25, 2010, 10:36:58 AM
You have enable the username check in admin section?

Yes, username check is enabled.
Title: Re: Stop Forum Spam
Post by: ITA003 on January 25, 2010, 10:52:39 AM
Quote from: Joff on January 25, 2010, 10:44:56 AM
Quote from: ITA003 on January 25, 2010, 10:36:58 AM
You have enable the username check in admin section?

Yes, username check is enabled.



Disable it. I think that the best configuration is to enable only the email check (the default when you enable the SFS mod in the admin section) and disable the IP and username verification.

Title: Re: Stop Forum Spam
Post by: Joff on January 25, 2010, 10:57:26 AM
Thanks, that was exactly the problem. I ran the same registration process and when I unchecked the username box, I was able to register. Cheers.
Title: Re: Stop Forum Spam
Post by: Gerkin on February 04, 2010, 11:05:55 AM
I admin several SMF forums and they all stopped working with the Stop Forum Spam plugin over the last 24 hours or so.  I'm investigating to see if the SFS people changed something that broke the package's functionality ... I don't see anything useful in my forum or server logs saying that the queries weren't working, but they aren't working without a doubt.  I've had to deal with approx 50 spammers in the last 12 hours.

Is anyone else having this issue (I saw another poster in the SMF 1.x support area that was).  I can reproduce on multiple forums, both 1.x and 2.x codebase.

Currently on the 1.x forums the spammers are simply not being blocked (manual lookups at SFS return that they are spammers by IP, email and/or username).  The 2.x forums holds all the registrations for approval (even though that is not set) and shows that they couldn't be looked up.

Help! :)  I'm being bombarded by spammers LOL ... should we start a new topic with this info or just continue in it here ...
Title: Re: Stop Forum Spam
Post by: CrankyOldguy on February 05, 2010, 02:11:08 AM
Gerkin, StopForumSpam.com was having problems... GoDaddy deleted their DNS entries, and they had to move their domain server to a DNS service that DOESN'T just randomly shut you down.  GoDaddy seems to want to be their own police force at times.  ::)

They're back up again, but it may be a day or two before the DNS changes make it to every route table on the planet.  Most of it happened yesterday, but... sometimes servers are slow at updating.
Title: Re: Stop Forum Spam
Post by: Gerkin on February 05, 2010, 10:11:41 AM
Thanks, that explains the issues.  I'll wait for the DNS to propagate again and hopefully all will be well :)
Title: Re: Stop Forum Spam
Post by: Stigmartyr on February 07, 2010, 10:42:12 PM
Do you folks know if there is anything like this for RC2?

It's such a fantastic mod, the anti-spam features in RC2 are quite laughable.  They aren't going to stop any real spammers.
Title: Re: Stop Forum Spam
Post by: kicky on February 08, 2010, 01:27:05 PM
Hi, I installed this mod in my SMF 1.1.11

But everyone can not register....
The error is

Fatal error: Cannot redeclare spammercheck() (previously declared in /home/innovaco/public_html/Sources/Register.php:603) in /home/innovaco/public_html/Sources/Register.php on line 681

When someone click register.

can someone help me?
thanks in advance
Title: Re: Stop Forum Spam
Post by: ITA003 on February 08, 2010, 06:05:29 PM
In the Register.php the SpammerCheck Function is duplicate (do you install before uninstall the previous version???), remove the function start at line 681 to and brackets... (make a backup before edit the file).

Than look for the SpammerCheck text in the Register.php file, if you wil find it for more than two time, maybe there is some error... post the file.
Title: Re: Stop Forum Spam
Post by: kicky on February 08, 2010, 08:21:57 PM
Quote from: ITA003 on February 08, 2010, 06:05:29 PM
In the Register.php the SpammerCheck Function is duplicate (do you install before uninstall the previous version???), remove the function start at line 681 to and brackets... (make a backup before edit the file).

Than look for the SpammerCheck text in the Register.php file, if you wil find it for more than two time, maybe there is some error... post the file.

Here is the file of register.php after uninstall SFS, note : I only copas the one related with spammer check

   //Check Forum Spam if enabled
   if (!empty($modSettings['sfs_enabled'])) {
      if (SpammerCheck()) {
         loadLanguage('SFS');
         fatal_error(sprintf($txt['sfs_spam_detected'],$_POST['user'],$_POST['email'],$user_info['ip']), true);
      }
   }

Also this one in register.php
function SpammerCheck()
{
   global $txt, $boarddir, $context, $settings, $modSettings, $user_info, $sourcedir;
   
   $isSpammer=0;
   $emailSpam=$_POST['email'];
   $ipSpam=$user_info['ip'];
   $usernameSpam=$_POST['user'];
   $response='';
   $url='http://www.stopforumspam.com/api?email=' . $emailSpam;
   
   require_once($sourcedir . '/Subs-Package.php');
   
   $response = fetch_web_data($url);
   
   //Is Email Spammer??
   if (strpos($response, "<appears>yes</appears>") > 0) $isSpammer=1;
   
   if (!$isSpammer && !empty($modSettings['sfs_ipcheck'])) { //If Not Spammer check the IP
      //Check IP Spammer
      $url='http://www.stopforumspam.com/api?ip=' . $ipSpam;
      
      $response = fetch_web_data($url);

      //Is IP Spammer??
      if (strpos($response, "<appears>yes</appears>") > 0) $isSpammer=1;
   }
   
   if (!$isSpammer && !empty($modSettings['sfs_usernamecheck'])) { //If Not Spammer check the username
      //Check Username Spammer
      $url='http://www.stopforumspam.com/api?username=' . $usernameSpam;
      
      $response = fetch_web_data($url);

      //Is IP Spammer??
      if (strpos($response, "<appears>yes</appears>") > 0) $isSpammer=1;
   }
   
   return $isSpammer;
}

Thank you for your kind help
Title: Re: Stop Forum Spam
Post by: Stigmartyr on February 08, 2010, 09:22:48 PM
Quote from: Stigmartyr on February 07, 2010, 10:42:12 PM
Do you folks know if there is anything like this for RC2?

It's such a fantastic mod, the anti-spam features in RC2 are quite laughable.  They aren't going to stop any real spammers.

Ehhhmmmm...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.luminomagazine.com%2F2004.03%2Fspotlight%2Fofficespace%2Fimages%2Fmilton%2Fmilton4.jpg&hash=ce347f69033cc09bea5409e49a3e143c17ed40d4)

..my question?
Title: Re: Stop Forum Spam
Post by: ITA003 on February 09, 2010, 06:03:30 PM
Quote from: kicky on February 08, 2010, 08:21:57 PM
Here is the file of register.php after uninstall SFS, note : I only copas the one related with spammer check


But if you uninstall SFS you must not found that lines in the Register.php file... remove it and than re-install the mod.
Title: Re: Stop Forum Spam
Post by: ITA003 on February 09, 2010, 06:08:11 PM
Quote from: Stigmartyr on February 08, 2010, 09:22:48 PM
Quote from: Stigmartyr on February 07, 2010, 10:42:12 PM
Do you folks know if there is anything like this for RC2?

It's such a fantastic mod, the anti-spam features in RC2 are quite laughable.  They aren't going to stop any real spammers.

Ehhhmmmm...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.luminomagazine.com%2F2004.03%2Fspotlight%2Fofficespace%2Fimages%2Fmilton%2Fmilton4.jpg&hash=ce347f69033cc09bea5409e49a3e143c17ed40d4)

..my question?


I have not answered your question, because I knew you were on vacation...  :D


The release for SMF 2.0 is in progress... but at this moment I'm busy to another (private) mod for SMF...
Title: Re: Stop Forum Spam
Post by: Stigmartyr on February 09, 2010, 06:39:58 PM
Quote from: ITA003 on February 09, 2010, 06:08:11 PM
Quote from: Stigmartyr on February 08, 2010, 09:22:48 PM
Quote from: Stigmartyr on February 07, 2010, 10:42:12 PM
Do you folks know if there is anything like this for RC2?

It's such a fantastic mod, the anti-spam features in RC2 are quite laughable.  They aren't going to stop any real spammers.

Ehhhmmmm...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.luminomagazine.com%2F2004.03%2Fspotlight%2Fofficespace%2Fimages%2Fmilton%2Fmilton4.jpg&hash=ce347f69033cc09bea5409e49a3e143c17ed40d4)

..my question?


I have not answered your question, because I knew you were on vacation...  :D


The release for SMF 2.0 is in progress... but at this moment I'm busy to another (private) mod for SMF...

hehe - thank you for the update.  That is very good news.  ATM I'm manually cross referrencing the sfp site and banning/deleting users.
Title: Re: Stop Forum Spam
Post by: ITA003 on March 25, 2010, 05:12:12 AM
My forum (1.1.11) has the captcha and the mod installed... send me the link to your forum or the register.template page
Title: Re: Stop Forum Spam
Post by: societyofrobots on April 17, 2010, 11:00:32 PM
I've run into a strange problem. This mod has always worked great, then yesterday it does something odd.

At the top of the page it says:
"There is one member awaiting approval."
Perfectly normal . . .

But when I click on it, it brings up the member page and says:
"No members currently await approval."
It doesn't list any members . . . wtf?

Did a spammer find a bug/hack?
Title: Re: Stop Forum Spam
Post by: JayT on May 25, 2010, 01:09:54 PM
Quote from: JayT on January 14, 2010, 05:03:49 PM
Great mod... Is there a way to add a "Submit Spam Data" to automatically? So when you ban a user that gets through, you can either check a box or hit a button to add their data to the SFS database?

Thanks!

Nevermind... I got it... I realized that this wasn't really a request for this mod, but related... For those of you who'd like to be able to ban the user and also submit the user's data to SFS from the same screen, modify your "ManageBans.template.php". add a hyperlink (with echo lines) to submit the data to SFS via your own API key.
Title: Re: Stop Forum Spam
Post by: Gerkin on August 14, 2010, 11:24:07 AM
This week I setup SFS on a pretty large forum that we just converted to SMF.  I've been getting a bunch of false positives of legitimate people trying to sign up.  I manually search the SFS database and none of their info is in there, but they are still getting told they cannot sign up as they are spam.

They show up in logs like this (I've removed personal details), assuming it's coming from this mod ...

xxx.xxx.xxx.xxx    Guest    The user XXXX with Email [email protected] (IP xxx.xxx.xxx.xxx) is a Spam, please contact forum administrator.  ?action=register2

Could it be that false positives are in the SFS database?  Or could it be that this mod defaults to positive and if it can't contact SFS that people are getting rejected?  This has happened at least 10 times in the last 5 days (those are only the ones that have been reported to me, who knows how many others just don't bother to report and go somewhere else).  Every time I checked there were no results for their username, email or IP in the SFS database.
Title: Re: Stop Forum Spam
Post by: societyofrobots on August 22, 2010, 11:07:11 PM
Found a somewhat important bug/flaw . . .

If the spammer email/username has a - symbol in it, it will not display when searched for on the site database. That said, it's still properly blocked.

For example: [email protected]
Title: Re: Stop Forum Spam
Post by: sepulchre on August 25, 2010, 07:43:23 PM
looks like stopforumspam.com is down, bit of a pity as I cant check who is a real spammer against their database now :(
Title: Re: Stop Forum Spam
Post by: Rob Lightbody on September 01, 2010, 04:48:41 AM
Now that I have got this working, its an absolute god send.  It is fending off lots of spammers.  Thank you!

However I had a bit of a struggle getting it to install.  I think there may be a problem with the mod page, and the code that comes up for parsing - someone else in this topic posted parsing text for my version (1.1.11) that seemed different - and I think it was that that finally fixed whatever problem I was having - which was causing nothing to show up in the admin screen.

Title: Re: Stop Forum Spam
Post by: meadwench on September 20, 2010, 09:29:44 AM
Any update on whether this will be available for RC2? I'm getting 20-30 bot registrations a day on another forum I manage, and can't seem to slow them down.
Title: Re: Stop Forum Spam
Post by: ITA003 on September 20, 2010, 09:38:57 AM
Work in progres...  :D
Title: Re: Stop Forum Spam
Post by: meadwench on September 20, 2010, 09:59:34 AM
Thanks!!
Title: Re: Stop Forum Spam
Post by: Apllicmz on November 06, 2010, 01:32:55 PM
Portuguese
Attach
Title: Re: Stop Forum Spam
Post by: ITA003 on November 07, 2010, 07:12:14 AM
Thanks!! ;)
Title: Re: Stop Forum Spam
Post by: ITA003 on November 07, 2010, 07:07:03 PM
The release for SMF 2.0 RC4 is ready!!
Title: Re: Stop Forum Spam
Post by: Bugo on November 08, 2010, 07:13:36 AM
Please add russian translation.
Title: Re: Stop Forum Spam
Post by: Mztex on November 12, 2010, 05:54:41 PM
I'd love to get this mod installed but wonder if the current download of SFS_StopForumSpam.0.6.tar.gz  is for 1.1.12? I've tried it get this error:

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.

Thanks
Title: Re: Stop Forum Spam
Post by: ITA003 on November 12, 2010, 06:33:27 PM
Try to download it again.
I used that package for my production site (SMF 1.1.12) and works fine.
Title: Re: Stop Forum Spam
Post by: Mztex on November 12, 2010, 07:08:28 PM
Thanks, I got it to work!
Title: Re: Stop Forum Spam
Post by: nikan on November 25, 2010, 03:02:00 AM
Greek translation by faiza (http://www.simplemachines.org/community/index.php?action=profile;u=255384) and nikan (http://www.simplemachines.org/community/index.php?action=profile;u=176912)
Title: Re: Stop Forum Spam
Post by: nax on November 25, 2010, 05:58:52 AM
Tried to install this on my SMF 1.1.11 board and got an error when trying to apply it ./Themes/default/Register.template.php test failed.  I'm no coder so havent much idea how to get around this.  The above file was flagged 604, I tried setting it to 777 and reapplying the mod but I still got the error.  I don't think I have changed this file, I have attached it in the hope that someone can help.
Title: Re: Stop Forum Spam
Post by: lazym4n2010 on November 29, 2010, 01:12:18 PM
Hi, i installed this mod and i think its causing me registration problems!
when someone tries to register they are redirected back to the register page and not registered?
can anyone help?
Title: Re: Stop Forum Spam
Post by: ITA003 on November 29, 2010, 01:27:36 PM
Quote from: nax on November 25, 2010, 05:58:52 AM
Tried to install this on my SMF 1.1.11 board and got an error when trying to apply it ./Themes/default/Register.template.php test failed.  I'm no coder so havent much idea how to get around this.  The above file was flagged 604, I tried setting it to 777 and reapplying the mod but I still got the error.  I don't think I have changed this file, I have attached it in the hope that someone can help.


Your problem is a conflict with recaptcha mods...


Try to:


- uninstall the recaptcha mods
- install Stop Forum Spam mods
- install recaptcha mods


I hope this works!
Title: Re: Stop Forum Spam
Post by: ITA003 on November 29, 2010, 01:29:34 PM
Quote from: lazym4n2010 on November 29, 2010, 01:12:18 PM
Hi, i installed this mod and i think its causing me registration problems!
when someone tries to register they are redirected back to the register page and not registered?
can anyone help?


The registration step works fine or get some errors?


Uninstall the Stop Forum Spam mods and check if the registration works!!
Title: Re: Stop Forum Spam
Post by: lazym4n2010 on November 29, 2010, 01:50:53 PM
I was getting bots registering on my forum , after installing stopforumspam they all stopped :) but for some reason now anyone can't register , I uninstalled and deleted the mod and still the same thing , it just loops back to register page once a person clicks on register after filling in their details??
I'm confused , should I restore default registration files?
Title: Re: Stop Forum Spam
Post by: ITA003 on November 30, 2010, 02:27:05 AM
SMF Version??


Do you have any message in the log error??


When uninstall a mods the SMF restore the original file.


Try to send me the Register.php file
Title: Re: Stop Forum Spam
Post by: nax on November 30, 2010, 04:50:44 AM
Quote from: ITA003 on November 29, 2010, 01:27:36 PM
Quote from: nax on November 25, 2010, 05:58:52 AM
Tried to install this on my SMF 1.1.11 board and got an error when trying to apply it ./Themes/default/Register.template.php test failed.  I'm no coder so havent much idea how to get around this.  The above file was flagged 604, I tried setting it to 777 and reapplying the mod but I still got the error.  I don't think I have changed this file, I have attached it in the hope that someone can help.


Your problem is a conflict with recaptcha mods...


Try to:


- uninstall the recaptcha mods
- install Stop Forum Spam mods
- install recaptcha mods


I hope this works!

Thanks this seems to be ok ;)
Title: Re: Stop Forum Spam
Post by: lazym4n2010 on November 30, 2010, 07:11:59 AM
Quote from: ITA003 on November 30, 2010, 02:27:05 AM
SMF Version??


Do you have any message in the log error??


When uninstall a mods the SMF restore the original file.


Try to send me the Register.php file

smf version 1.1.12  With theme:Blackrain v2. and tinyportal
error messgae when register u mean? no ,
i have attached register.php if u can have a look please?
thanks!
Title: Re: Stop Forum Spam
Post by: lazym4n2010 on November 30, 2010, 03:47:21 PM
my problem has been solved here :
http://www.smfsupport.com/support/general-support/can't-register-32023/

but because i'm not hosted by smf for free they can't help me .,,.:/
Title: Re: Stop Forum Spam
Post by: societyofrobots on December 06, 2010, 09:58:14 PM
I'm just reporting that this mod, as a function of how it inherently works, is becoming less effective daily. It's only catching half of all spammers for me.

The reason is because spammer usernames are randomly generated, emails are randomly generated, and IP pools of 100,000 infected computer bot nets out number the SMF forums.

In addition, mobile phones (especially Verizon), cycle through IP addresses many times per hour. So a single infected mobile device that randomly generates user names can spew spam without ever being blocked.

Point being, we need to rethink this mod as it'll be obsolete by next year.
Title: Re: Stop Forum Spam
Post by: ITA003 on December 08, 2010, 11:07:20 AM
In my site the mod works fine... in this two year only less then 10 spammer were able to register... and I use also the capthca code!!


Sure, the mods works fine if the database of the Stop Forum Spam (www.stopforumspam.com) is frequently updated (as is).


I'd like to know (from user that use this mod) if they have the same societyofrobots's problem...
Title: Re: Stop Forum Spam
Post by: lazym4n2010 on December 12, 2010, 08:08:12 AM
Quote from: lazym4n2010 on November 29, 2010, 01:50:53 PM
I was getting bots registering on my forum , after installing stopforumspam they all stopped :) but for some reason now anyone can't register , I uninstalled and deleted the mod and still the same thing , it just loops back to register page once a person clicks on register after filling in their details??
I'm confused , should I restore default registration files?

Hi, just to clarify registartion problem was not with this mod but with TP , but has been sorted out now  ;D
Title: Re: Stop Forum Spam
Post by: forumuser on December 12, 2010, 01:20:03 PM
Quote from: ITA003 on December 08, 2010, 11:07:20 AM
In my site the mod works fine... in this two year only less then 10 spammer were able to register... and I use also the capthca code!!


Sure, the mods works fine if the database of the Stop Forum Spam (www.stopforumspam.com) is frequently updated (as is).


I'd like to know (from user that use this mod) if they have the same societyofrobots's problem...

I agree. Using this mod in tandem with the reCaptcha mod has been very successful.

Adding a new usergroup like newbie* and setting a minimum for posts before being able to create links is another effective layer of defense and has recently caught one that made it through the first two layers.

I also modded the Error Log and Who's Online pages to allow immediate verification of spammers. See attachments below for examples.

Here is the code:

File Edits for SMF 1.1.12

Add StopForumSpam to Error log.

./Themes/default/Errors.template.php

Code (Find) Select

<b><a href="', $scripturl, '?action=trackip;searchip=', $error['member']['ip'], '">', $error['member']['ip'], '</a></b>&nbsp;&nbsp;


Code (Replace) Select

<b><a href="', $scripturl, '?action=trackip;searchip=', $error['member']['ip'], '">', $error['member']['ip'], '</a></b>&nbsp; <a href=http://www.stopforumspam.com/search?q=',$error['member']['ip'], ' title="Check IP at StopForumSpam.com"','><img src="', $settings['images_url'], '/sfs2.png" alt="', 'Check IP at StopForumSpam.com', '" /></a>


Add StopForumSpam to Who's Online.

./Themes/default/Who.template.php

Code (Find) Select


(<a href="' . $scripturl . '?action=trackip;searchip=' . $member['ip'] . '" target="_blank">' . $member['ip'] . '</a>)';


Code (Replace) Select

(<a href="' . $scripturl . '?action=trackip;searchip=' . $member['ip'] . '" target="_blank">' . $member['ip'] . '</a>)&nbsp;<a href=http://www.stopforumspam.com/search?q=',$member['ip'], ' title="Check IP at StopForumSpam.com"','><img src="', $settings['images_url'], '/sfs.png" alt="', 'Check IP at StopForumSpam.com', '" /></a>';


Add sfs.gif to ./Themes/default/images
Add sfs2.gif to ./Themes/default/images

-forumuser
Title: Re: Stop Forum Spam
Post by: effex on December 13, 2010, 09:20:09 PM
I installed both this mod and the ReCaptcha this week as spam has been a terrible problem for my forum over the last month. Both seem to be working fine together. I ran several tests and all seems to be going good...

Now, my question is, how often does this database draw false positives? I guess my concern is that legitimate users may have trouble registering. Do you think my concern is warranted and is there any way to know if people are being blocking unjustly?

Thanks for the great mod! Keep up the good work!
Title: Re: Stop Forum Spam
Post by: olex on December 21, 2010, 11:09:35 AM
Ukrainian translation:
Title: Re: Stop Forum Spam
Post by: ITA003 on December 22, 2010, 03:42:56 AM
Thanks!!!
Title: Re: Stop Forum Spam
Post by: PLAYBOY on December 28, 2010, 11:46:53 AM
Turkish Translation added
Title: Re: Stop Forum Spam
Post by: mistercheah on December 29, 2010, 07:37:21 AM
I am running 1.1.11 and trying to install this mod. I keep getting this message "The package you tried to upload either is not a valid package or has become corrupted." I re-downloaded and still the error occurs. Any help is much appreciated.   
Title: Re: Stop Forum Spam
Post by: ITA003 on December 29, 2010, 08:36:11 AM
I just try to download the package and install it to my SMF forum and works fine.


Try to download again the file and open it, you can see the file content??
Title: Re: Stop Forum Spam
Post by: Storman™ on December 29, 2010, 09:30:20 AM
QuoteNow, my question is, how often does this database draw false positives? I guess my concern is that legitimate users may have trouble registering. Do you think my concern is warranted and is there any way to know if people are being blocking unjustly?

I find that some AOL users get blocked by way of their IP address.

They are few and far between though and overall this is probably the best mod I use as spammers are a big problems.
Title: Re: Stop Forum Spam
Post by: mistercheah on December 29, 2010, 10:09:03 AM
Quote from: ITA003 on December 29, 2010, 08:36:11 AM
I just try to download the package and install it to my SMF forum and works fine.


Try to download again the file and open it, you can see the file content??

I downloaded a couple of times, checked it by opening it but still cannot install.
Title: Re: Stop Forum Spam
Post by: ITA003 on December 29, 2010, 11:42:19 AM
If you open the downloaded file with a program like 7-zip (or similar), do you see the content?
Title: Re: Stop Forum Spam
Post by: PLAYBOY on December 29, 2010, 04:17:49 PM
What messega the spammers see when they are detected by this mod? Can we customize that message...

i just wanna flip off at them :)
Title: Re: Stop Forum Spam
Post by: ITA003 on December 29, 2010, 06:55:41 PM
The message is:


The user %s with Email %s (IP %s) is a Spam, please contact forum administrator.


You can modify the line 7 in file SFS.english.php


$txt['sfs_spam_detected'] = 'The user %s with Email %s (IP %s) is a Spam, please contact forum administrator.';


The %s are mandatary and are the spammer's Username, Email and IP
Title: Re: Stop Forum Spam
Post by: PLAYBOY on December 29, 2010, 08:18:29 PM
Maybe a stupid question but consider me a n00b
What is %s?
Title: Re: Stop Forum Spam
Post by: mistercheah on December 29, 2010, 08:46:47 PM
Quote from: ITA003 on December 29, 2010, 11:42:19 AM
If you open the downloaded file with a program like 7-zip (or similar), do you see the content?

Yes. I could see the files. I even extracted them and it worked fine. 

Just to check that the SMF package manager is working, I downloaded another mod and I uploaded it. It worked fine. Then I went back to Stop Forum Spam mod. The problem still persist.
Title: Re: Stop Forum Spam
Post by: eyo on December 29, 2010, 10:37:34 PM
this mod bans waaaay too many ips that can actually have legit users.
Title: Re: Stop Forum Spam
Post by: PLAYBOY on December 29, 2010, 10:55:17 PM
Are you sure about that? How do you know it bans legit users?
Title: Re: Stop Forum Spam
Post by: ITA003 on December 30, 2010, 02:32:42 AM
Quote from: PLAYBOY on December 29, 2010, 08:18:29 PM
Maybe a stupid question but consider me a n00b
What is %s?


The %s is a placeholder, and when a spammer is detected, the three %s present in the string will be replace with the Username, Email and the IP Address.


Es. The user randellbowman with Email [/size][email protected] (IP [/size]91.xxx.xxx.xxx) is a Spam, please contact forum administrator.


Bye



Title: Re: Stop Forum Spam
Post by: ITA003 on December 30, 2010, 02:37:08 AM
Quote from: mistercheah on December 29, 2010, 08:46:47 PM
Quote from: ITA003 on December 29, 2010, 11:42:19 AM
If you open the downloaded file with a program like 7-zip (or similar), do you see the content?

Yes. I could see the files. I even extracted them and it worked fine. 

Just to check that the SMF package manager is working, I downloaded another mod and I uploaded it. It worked fine. Then I went back to Stop Forum Spam mod. The problem still persist.


I will send you a Private Message.
Title: Re: Stop Forum Spam
Post by: PLAYBOY on December 30, 2010, 05:27:48 AM
Does this mod Bans? or just not letting them register the forum? I mean they can still see the forum and the web site right?
Title: Re: Stop Forum Spam
Post by: ITA003 on December 30, 2010, 05:29:07 PM
This mod block the spammer to register.
Title: Re: Stop Forum Spam
Post by: Squash on January 03, 2011, 01:46:21 AM
Every time I try to upload it to my admin panel I get an error saying it's the wrong format. I'd like to try it but I have no way to get it to upload based on your compression format
Title: Re: Stop Forum Spam
Post by: ITA003 on January 03, 2011, 02:42:27 AM
Your host is Windows or Linux?
Title: Re: Stop Forum Spam
Post by: Squash on January 03, 2011, 03:38:53 AM
Quote from: ITA003 on January 03, 2011, 02:42:27 AM
Your host is Windows or Linux?

Linux
Title: Re: Stop Forum Spam
Post by: PLAYBOY on January 04, 2011, 02:00:09 PM
I havent deal with the API key. I just installed and let it run the register system.
Title: Re: Stop Forum Spam
Post by: impreza on January 04, 2011, 02:33:31 PM
A very fun twist, thanks for the add
Title: Re: Stop Forum Spam
Post by: teknautomotive on January 05, 2011, 05:56:57 AM
Hello Ita003

As previously asket, here is the release with the french translations added.

Thank you very much for this mod, because I used to verify spammers manually before !  :o

Regards

Title: Re: Stop Forum Spam
Post by: KB on January 05, 2011, 09:37:23 PM
Quote from: mistercheah on December 29, 2010, 07:37:21 AM
I am running 1.1.11 and trying to install this mod. I keep getting this message "The package you tried to upload either is not a valid package or has become corrupted." I re-downloaded and still the error occurs. Any help is much appreciated.   

I know you discussed this issue via PM and hopefully got it corrected.  However I just had similar issue with a 1.1.12 site via package manager with the xxx.tar.gz mod downloaded today.  I believe it is something to do with the double compression, altho this may not be the same with 2.0 sites.  What I did was decompress the file (twice) with 7zip...then selected the final resulting folder and re-compressed to "zip" format.  This of course made the file twice as large, but the zip file uploaded and installed seamlessly via package manager after that. 

Thanks for the mod...Im really hoping it reduces the time I have to spend searching and banning all the new member approvals that wind up being low life idiot spammers or their bots.
Title: Re: Stop Forum Spam
Post by: bud01100 on January 07, 2011, 11:23:48 PM
Quote from: rickydeez on December 11, 2008, 01:40:50 AM
Quote from: softcore on December 10, 2008, 01:13:02 PM
Installed fine, but when tested with data of first robot I saw on http://www.stopforumspam.com/ , I could register...

What's wrong?
SMF 1.1.12

That setting does not show up in the admin panel;

Go go Forum Admin > Registration > Settings and Enable: Stop Forum Spam Enabled



Title: Re: Stop Forum Spam
Post by: bud01100 on January 09, 2011, 01:41:04 AM
Quote from: thedukeisnotdead on January 07, 2011, 11:23:48 PM
Quote from: rickydeez on December 11, 2008, 01:40:50 AM
Quote from: softcore on December 10, 2008, 01:13:02 PM
Installed fine, but when tested with data of first robot I saw on http://www.stopforumspam.com/ , I could register...

What's wrong?
SMF 1.1.12

That setting does not show up in the admin panel;

Go go Forum Admin > Registration > Settings and Enable: Stop Forum Spam Enabled




I removed the recapcha mod. Installed the stopspam mod. Reinstalled the recapcha.

Works Great!!

Thanks
Title: Re: Stop Forum Spam
Post by: KB on January 17, 2011, 08:39:00 PM
I would just like to say that since installing this mod, it has worked GREAT!!
Over 2 dozen spammers prevented from registering and my "waiting for approval" list has only legit apps...none that will remain in limbo or require further action. 
THANKS AGAIN!!
Title: Re: Stop Forum Spam
Post by: elliatt on January 19, 2011, 09:12:00 AM
Like others here I am receiving

The package you tried to upload either is not a valid package or has become corrupted.

I have downloaded from various browsers, tried uploading via various browsers.

Linux server (hosted), 1.1.11 & 1.11.12 smf (actual site and test site).

Suggestions?
Title: Re: Stop Forum Spam
Post by: KB on January 19, 2011, 05:36:32 PM
Quote from: elliatt on January 19, 2011, 09:12:00 AM
Like others here I am receiving

The package you tried to upload either is not a valid package or has become corrupted.

I have downloaded from various browsers, tried uploading via various browsers.

Linux server (hosted), 1.1.11 & 1.11.12 smf (actual site and test site).

Suggestions?

Try decompressing the file as I describe in my post above (http://www.simplemachines.org/community/index.php?topic=279621.msg2903831#msg2903831)...rezip..then to package manager.
Title: Re: Stop Forum Spam
Post by: elliatt on January 20, 2011, 11:46:30 AM
Quote from: KB on January 19, 2011, 05:36:32 PM

Try decompressing the file as I describe in my post above (http://www.simplemachines.org/community/index.php?topic=279621.msg2903831#msg2903831)...rezip..then to package manager.




I've already tried this and it makes no difference.
Title: Re: Stop Forum Spam
Post by: KidCactus on January 24, 2011, 05:09:29 AM
Count me in on not being able to install this, I too only get the "The package you tried to upload either is not a valid package or has become corrupted" error. Unzipping and rezipping the package doesn't help either. This on 1.1.12.
Title: Re: Stop Forum Spam
Post by: KB on January 24, 2011, 08:58:10 PM
I suspect that something in your procedure is omitted or incorrectly done. 
Are you decompressing the tar.gz...then also decompressing the resulting 'tar' file as well?  If not..that is your problem.  Doing the double decompression should result in the mod main folder (uncompressed at that stage) which then can be selected, and re-compressed with zip format, uploaded and installed the package manager.   I use 7zip because it handles pretty much all compression formats, but your compression software may also be an issue..particularly if it does not handle tar or tar.gz files properly.

ITA003 tells me he is working on a new update with added language files at this time...and he will be adding the update on the download page as soon as possible with the zip format.

Title: Re: Stop Forum Spam
Post by: Kindred on January 28, 2011, 10:13:42 AM
ok, installed and working great. over 300 spammers stopped in the last 2 weeks.


However, we've bumped into a minor glitch.

In the normal SMF registration process, if the "Approval required" is turned on, then the account registrations are not counted as valid registrations until they are approved. Rejected (deleted) registrations are never counted.

However...   with this mod, we have the registration set to member activated... Which means that the registrations are counted in the stats as soon as the registration is completed, and then this mod catches them and sets the account to "requires approval".

So...   despite the fact that I have stopped 300 spammers, my forum stats have counted those spammer registrations, even after the account was rejected/deleted.

As I said, it's a minor glitch, but it does make the forum stats unreliable. :(
Title: Re: Stop Forum Spam
Post by: Illori on January 28, 2011, 10:20:23 AM
you may want to try bot buster which will simply stop the bot from being able to register on your site instead of setting their account to require approval. this mod has not let one bot successfully register on my forum in about 5 months.
Title: Re: Stop Forum Spam
Post by: Kindred on January 28, 2011, 10:21:49 AM
Illori,

the registrations on my site are not bots. They are human spammers.... because we have captcha and human-required questions as well as SFS
Title: Re: Stop Forum Spam
Post by: Illori on January 28, 2011, 10:30:51 AM
I dont know if human spammers are in the botscout database but so far it is working on my forum. gl with controlling your problem.
Title: Re: Stop Forum Spam
Post by: Fiery on January 29, 2011, 03:28:47 AM
I just wanted to let the mod maintainers know I am having the same issue as Kindred.
Title: Re: Stop Forum Spam
Post by: ITA003 on January 30, 2011, 09:53:20 AM
Quote from: Kindred on January 28, 2011, 10:13:42 AM
However...   with this mod, we have the registration set to member activated... Which means that the registrations are counted in the stats as soon as the registration is completed, and then this mod catches them and sets the account to "requires approval".


This mod works  before SMF save the user info and doesn't change any info user.


Bye

Title: Re: Stop Forum Spam
Post by: ITA003 on January 30, 2011, 10:41:58 AM
Hi!! I updated with the new release... there's no new feature only new languages added:





Version 0.7
- Add french language (thanks teknautomotive)
- Add greek language (thanks faiza and nikan)
- Add russian language (thanks Bugo)
- Add turkish language (thanks PLAYBOY)
- Add ukrainian language (thanks olex)


Bye
Title: Re: Stop Forum Spam
Post by: Kindred on January 30, 2011, 12:29:50 PM
Quote from: ITA003 on January 30, 2011, 09:53:20 AM
Quote from: Kindred on January 28, 2011, 10:13:42 AM
However...   with this mod, we have the registration set to member activated... Which means that the registrations are counted in the stats as soon as the registration is completed, and then this mod catches them and sets the account to "requires approval".


This mod works  before SMF save the user info and doesn't change any info user.


Bye

Unfortunately, this is demonstrably untrue. The users/spammers who I reject are still counted in the new users statistics.
Title: Re: Stop Forum Spam
Post by: ITA003 on January 30, 2011, 01:49:51 PM
I developed this mod and I Know that works before SMF save the info user and doesn't change any info about the current user. Maybe there's a problem with another mod or something else...


In my forum (1.1.12) works fine!! User must activate by link in email and the counter doesn't change... I just tested it!!


Try to uninstall only this mod (Stop Forum Spam) and retry. Let's me know!


Send me in PM with your forum link.


Bye
Title: Re: Stop Forum Spam
Post by: Kindred on January 30, 2011, 04:44:33 PM
ITA,

we have 3 of us, all SMF team or friends, who have noticed this same issue...   I know that you developed the mod, but it seems that you possibly missed something.

The mods that I have affecting registration is
SFS, Bad Behavior, HoneyPot and reCPATCHA.  SFS is the only one which affects the user's status (activated or non-activated)
Title: Re: Stop Forum Spam
Post by: butchs on January 30, 2011, 05:35:19 PM
Quote from: Kindred on January 30, 2011, 04:44:33 PM
The mods that I have affecting registration is
SFS, Bad Behavior, HoneyPot and reCPATCHA.  SFS is the only one which affects the user's status (activated or non-activated)

:o
What did I do this time?
Title: Re: Stop Forum Spam
Post by: ITA003 on January 30, 2011, 05:41:55 PM
Kindred: did you try to uninstall SFS mods and check the issue?
Title: Re: Stop Forum Spam
Post by: SulevFan on January 31, 2011, 12:46:50 PM
I can't get this to work on one of my forums.

On one forum, everything works fine and I see the little searchglasses and the buttons for checking members, as well as the "check this member" link on the user's profile page.

In another forums it is just as if I did not install SFS at all?  It shows up in the list, I enabled it by checking all 3 checkboxes in Settings, but nothing.

Where can I look?
Title: Re: Stop Forum Spam
Post by: KB on January 31, 2011, 02:57:26 PM
SulevFan....
Sorry, but I believe you are expecting features that arent there with THIS mod. 

I would like to say that I had no issues installing this new version on the SFS mod (0.7) from the package manager..worked like a charm this time..thanks ITA003 :)
Title: Re: Stop Forum Spam
Post by: SulevFan on January 31, 2011, 08:42:08 PM
I guess you are right!  My bad and apologies. I did download different packages on the two different forums. :(
Title: Re: Stop Forum Spam
Post by: larryhyman on February 02, 2011, 07:54:36 AM
I just wanted to say that this mod works 100%, but the big question is this: why are spammers coming to my board in the first place?

Thanks

see log:

Check all 
   Guest
109.230.246.45   
    Today at 07:32:00 am
b671f113a9dd20513942a1b7634eb532
Type of error: General 
http://hyman.sytes.net/smforums/index.php?action=register2The user KeveSlogale with Email [email protected] (IP 109.230.246.45) is a Spam, please contact forum administrator.
   Guest
92.241.169.234   
    Today at 07:10:25 am
ea32d96cb8877ee0585cb876f705ef61
Type of error: General 
http://hyman.sytes.net/smforums/index.php?action=register2The user linkexchangexxpaczka2 with Email [email protected] (IP 92.241.169.234) is a Spam, please contact forum administrator.
   Guest
109.230.246.45   
    Today at 06:11:36 am
ebc457f78305d7e7ea6de2de493c6281
Type of error: General 
http://hyman.sytes.net/smforums/index.php?action=register2The user KeveSlogale with Email [email protected] (IP 109.230.246.45) is a Spam, please contact forum administrator.
   Guest
178.32.81.224   
    Today at 02:57:01 am
c54fba14bde39fa61b4014846fce88b2
Type of error: General 
http://hyman.sytes.net/smforums/index.php?action=register2The user PleahBlileMuM with Email [email protected] (IP 178.32.81.224) is a Spam, please contact forum administrator.
   Guest
109.230.246.47   
    Today at 02:37:09 am
8375e28f9f9735412a174bf60f0dbb27
Type of error: General 
http://hyman.sytes.net/smforums/index.php?action=register2The user choichExaph with Email [email protected] (IP 109.230.246.47) is a Spam, please contact forum administrator.

Title: Re: Stop Forum Spam
Post by: Kindred on February 02, 2011, 09:03:06 AM
???


they come because they are spammers.
Title: Re: Stop Forum Spam
Post by: GJSchaller on February 02, 2011, 09:51:52 AM
Quote from: larryhyman on February 02, 2011, 07:54:36 AM
I just wanted to say that this mod works 100%, but the big question is this: why are spammers coming to my board in the first place?

There are Bots / Scripts / evil things that go bump in the night that crawl the web and look for forums, and then register accounts to spam them.  Some of them are people (I had a few "smart" ones post intelligent posts looking to spread their spam), but many just put their message in their account info, and leave it there - when someone looks at the member list, they will see a bunch of links to the sites the spammers want to push.
Title: Re: Stop Forum Spam
Post by: larryhyman on February 02, 2011, 11:31:37 AM
Quoteevil things that go bump in the night that crawl the web and look for forums, and then register accounts to spam them

But are they using google to search for a certain string ie: "Powered by SMF 2.0 RC4"

what I mean is, why don't regular people find my forum, why do only spammers try to sign up?

I know I am in Google.....
Title: Re: Stop Forum Spam
Post by: KB on February 02, 2011, 04:17:57 PM
@larryhyman
You have to remember that spammers dont care what the theme or discussion subject is..they are just looking for "web-estate" to post their spam or worst case..a foothold to gain access to your site in order to take over, mess with your world. 
On the otherhand...a genuine member is going to look for a subject they want to talk about before joining.  And there are some that prefer to just look around and not take part in posting for one reason or another..which may not require them to join at all.  Spammers dont care about those things, which is why there are more of them than legit registers in most cases. 
Title: Re: Stop Forum Spam
Post by: Fiery on February 08, 2011, 01:56:18 PM
Quote from: Kindred on January 30, 2011, 04:44:33 PM
ITA,

we have 3 of us, all SMF team or friends, who have noticed this same issue...   I know that you developed the mod, but it seems that you possibly missed something.

The mods that I have affecting registration is
SFS, Bad Behavior, HoneyPot and reCPATCHA.  SFS is the only one which affects the user's status (activated or non-activated)

ITA, I am having the same issue in 2.0 RC4.  You mentioned that you tested in the 1.x branch, have you tested this issue in the 2.x branch?  Thanks
Title: Re: Stop Forum Spam
Post by: ITA003 on February 08, 2011, 06:36:57 PM
Yes! TEsted on SMF 2.0 RC4 Clean install!
Title: Re: Stop Forum Spam
Post by: PLAYBOY on February 12, 2011, 02:03:31 AM
Will this work for to block the ip adresses for the forums which accept members only with invitation?
So there is no registration page. Spam ips keep guessing my members user and passes. I want to block them.
Title: Re: Stop Forum Spam
Post by: Mari-chi on February 12, 2011, 04:35:27 AM
 8) Cool mod. I used it on my previous forum (will use on my new one as well XD). It frustrated one of my members because it kept thinking her IP was a spam IP haha. I think it's because she had a dynamic IP. :3
Title: Re: Stop Forum Spam
Post by: ITA003 on February 12, 2011, 05:13:50 AM
Maybe... you can check the user's IP address directly on www.stopforumspam.com
Title: Re: Stop Forum Spam
Post by: PLAYBOY on February 12, 2011, 06:56:34 AM
Quote from: ITA003 on February 12, 2011, 05:13:50 AM
Maybe... you can check the user's IP address directly on www.stropforumspam.com..

You mean www.stopforumspam.com :)
I agree. I think it would be lot better.
Title: Re: Stop Forum Spam
Post by: squad on February 12, 2011, 07:40:14 AM
I have installed this and so far cannot see it in action :)

I am having a uneasy spate of IP's trying to log into my forum using
current members usernames. I am chasing my tail blocking IP's in
my cPanel Deny IPs ummmm A right pain in the behind. I wish these
twits would simply get out of my face  >:(


Which sadly means I have to remove all but one or two topics from
General Public view. Those current Topics are what I thought would
entice members to join. Ah well back to the drawing board  ::) ::)
Title: Re: Stop Forum Spam
Post by: ITA003 on February 12, 2011, 09:08:18 AM
This mods works only during the registration step not the log-in.
Title: Re: Stop Forum Spam
Post by: Rik© on February 12, 2011, 10:23:13 AM
Quote from: ITA003 on February 12, 2011, 09:08:18 AM
This mods works only during the registration step not the log-in.
Why not make it also check the ip during log-in... will save us a lot of manual bans.

-Rik©
Title: Re: Stop Forum Spam
Post by: PLAYBOY on February 12, 2011, 10:42:23 AM
It would be very useful especially with the our newest spam issue...
http://www.simplemachines.org/community/index.php?topic=419916.msg2935611#msg2935611
Title: Re: Stop Forum Spam
Post by: spiros on February 12, 2011, 11:07:03 AM
Edit: I added the changes manually to themis theme and the strings show now.

I cannot find a way to activate it. Installed in 1.1.13 and in ?action=regcenter;sa=settings page I can see:

Required strength for user passwords (?):

And a blank line with ":" and check box below it.

I use the Themis theme.
Title: Re: Stop Forum Spam
Post by: Blade_Runner on February 12, 2011, 11:52:08 AM
My SMF 2.0RC4 forum is flooded with spam error log like the following. How can I stop SMF from reporting these errors?
-------------------------------------
The user xxxxxx with Email [email protected] (IP xxx.xxx.xxx.xxx) is a Spam, please contact forum administrator.
Title: Re: Stop Forum Spam
Post by: larryhyman on February 12, 2011, 01:09:08 PM
QuoteMy SMF 2.0RC4 forum is flooded with spam error log like the following. How can I stop SMF from reporting these errors?

I would love it if this went to an email to me instead of the master log file, or at least it's own log...

Other than that, I think this one of the best mods I've ever used !
Title: Re: Stop Forum Spam
Post by: Blade_Runner on February 12, 2011, 08:45:42 PM
Quote from: larryhyman on February 12, 2011, 01:09:08 PM
QuoteMy SMF 2.0RC4 forum is flooded with spam error log like the following. How can I stop SMF from reporting these errors?

I would love it if this went to an email to me instead of the master log file, or at least it's own log...

Other than that, I think this one of the best mods I've ever used !

I agree!
Title: Re: Stop Forum Spam
Post by: Stigmartyr on February 12, 2011, 08:49:35 PM
Quote from: Blade_Runner on February 12, 2011, 08:45:42 PM
Quote from: larryhyman on February 12, 2011, 01:09:08 PM
QuoteMy SMF 2.0RC4 forum is flooded with spam error log like the following. How can I stop SMF from reporting these errors?

I would love it if this went to an email to me instead of the master log file, or at least it's own log...

Other than that, I think this one of the best mods I've ever used !

I agree!

So today, I also ran into an issue installing this mod - where I had to uninstall reCaptcha and SFS, then reinstall them both..

Now that I have SFS, I don't really see a need to use reCaptcha anymore to be honest.  Infact why would you need any captcha at all :P
Title: Re: Stop Forum Spam
Post by: Blade_Runner on February 21, 2011, 02:26:41 PM
How can I add an ip address to the whitelist?
Title: Re: Stop Forum Spam
Post by: Jerri Blank on February 21, 2011, 03:31:29 PM
Quote from: ITA003 on December 29, 2010, 06:55:41 PM
The message is:


The user %s with Email %s (IP %s) is a Spam, please contact forum administrator.


You can modify the line 7 in file SFS.english.php


$txt['sfs_spam_detected'] = 'The user %s with Email %s (IP %s) is a Spam, please contact forum administrator.';


The %s are mandatary and are the spammer's Username, Email and IP

Can you tell me exactly where to find this file?  Is it still in the Packages directory, within the .tar.gz file I uploaded?

Thanks for this mod - my spam registrations are manageable now.
Title: Re: Stop Forum Spam
Post by: Kindred on February 21, 2011, 03:32:48 PM
themes/default/languages
Title: Re: Stop Forum Spam
Post by: Jerri Blank on February 21, 2011, 03:40:47 PM
Thanks!
Title: Re: Stop Forum Spam
Post by: ITA003 on February 21, 2011, 06:36:35 PM
Quote from: Blade_Runner on February 21, 2011, 02:26:41 PM
How can I add an ip address to the whitelist?


At the moment is not possibile have a whislist. Do you have an IP address in Stop Forum Spam database and you are sure that it isn't a spam?
Title: Re: Stop Forum Spam
Post by: larryhyman on February 21, 2011, 07:01:08 PM
@ITA003

Could you please guide me to modding your mod so that I can get it to write to it's own log file, Thanks
Title: Re: Stop Forum Spam
Post by: Mayhem30 on February 21, 2011, 11:57:10 PM
Can you make a similar mod that checks the stop spammer database when a user tries to log in?

I think that would take care of a lot of the bot issues forums are facing now. I'm getting 50-100 error logs day from bots trying to guess member passwords.
Title: Re: Stop Forum Spam
Post by: ITA003 on February 22, 2011, 02:00:12 AM
@larryhyman: I think that the error log is the right place... maybe I can make a new setting to disable the log...


@Mayhem30: I'm working a new version where is possible to enable checks in Log-in
Title: Re: Stop Forum Spam
Post by: Mayhem30 on February 22, 2011, 02:30:11 AM
Quote from: ITA003 on February 22, 2011, 02:00:12 AM
@larryhyman: I think that the error log is the right place... maybe I can make a new setting to disable the log...


@Mayhem30: I'm working a new version where is possible to enable checks in Log-in

thank you!
Title: Re: Stop Forum Spam
Post by: larryhyman on February 22, 2011, 09:35:11 AM
Quote from: ITA003 on February 22, 2011, 02:00:12 AM
@larryhyman: I think that the error log is the right place... maybe I can make a new setting to disable the log...


@Mayhem30: I'm working a new version where is possible to enable checks in Log-in

No, don't disable the log, I just don't want it mixing with other errors like database errors and the like, I would really it to have it's own log, so it stops polluting the main log....

ALSO, I THINK THIS IS THE BEST MOD EVER AND SHOULD BE A STANDARD FEATURE, YOU KNOW HOW MANY TIMES THIS MOD HAS PROTECTED MY SITE !!!
Title: Re: Stop Forum Spam
Post by: Arantor on February 22, 2011, 09:57:22 AM
QuoteALSO, I THINK THIS IS THE BEST MOD EVER AND SHOULD BE A STANDARD FEATURE, YOU KNOW HOW MANY TIMES THIS MOD HAS PROTECTED MY SITE !!!

Won't ever be a standard feature, firstly it relies on an external site and the team are very wary of doing that and secondly, it's incredibly easy to get yourself listed by accident, because there's no double checking - one of the former project managers here submitted his own IP address to see what happened, and there's no double checking to validate that it wasn't submitted falsely.


@ITA003 Adding a new log is easy enough, just when you call the fatal_error or fatal_lang_error function, make sure to pass a different name through as the second parameter which would give it its own log category. Let me know if that doesn't make sense and I'll help with that.
Title: Re: Stop Forum Spam
Post by: ITA003 on February 22, 2011, 10:48:29 AM
Quote from: Arantor on February 22, 2011, 09:57:22 AM
QuoteALSO, I THINK THIS IS THE BEST MOD EVER AND SHOULD BE A STANDARD FEATURE, YOU KNOW HOW MANY TIMES THIS MOD HAS PROTECTED MY SITE !!!

Won't ever be a standard feature, firstly it relies on an external site and the team are very wary of doing that and secondly, it's incredibly easy to get yourself listed by accident, because there's no double checking - one of the former project managers here submitted his own IP address to see what happened, and there's no double checking to validate that it wasn't submitted falsely.


I'm looking for a solution about this... a possible solution can be to show (only if a spammer is detect) a tipical question to user like this:


write the fourth word of this phrase: "this is a example phrase"


The user must insert the word "example" to continue.


The advantage is that the question will be showed only if a spam was detected... what do you think?

Quote from: Arantor on February 22, 2011, 09:57:22 AM
@ITA003 Adding a new log is easy enough, just when you call the fatal_error or fatal_lang_error function, make sure to pass a different name through as the second parameter which would give it its own log category. Let me know if that doesn't make sense and I'll help with that.


Thanks! I'll take a look!
Title: Re: Stop Forum Spam
Post by: Arantor on February 22, 2011, 10:50:42 AM
QuoteThe advantage is that the question will be showed only if a spam was detected... what do you think?

On SFS's side, or SMF's side?
Title: Re: Stop Forum Spam
Post by: ITA003 on February 22, 2011, 10:54:06 AM
SMF's side
Title: Re: Stop Forum Spam
Post by: Arantor on February 22, 2011, 10:55:18 AM
Yeah, that can work if it's a suspected spam registration.
Title: Re: Stop Forum Spam
Post by: desmo907 on March 01, 2011, 01:43:49 PM
   Now I wonder if the issue is NOT with this mod as I uninstalled it and then registered a test user and never got an email.   I also used the form to send another activation email and it never sent one.
  I did have SMF 1.1.11 and had updated to 1.1.13 and wonder if that is an issue....

-----------------------------------------   
I use this mod (on SMF 1.1.13) and set it to check for IP address only. I do not see an option to check for "email" but there is an option to check for "username" that I do not use.
    I also set the registration process to "Member Activation" so the user is supposed to get an email confirmation (a link to click to finish the registraton process) but they never do.  I have the option "send email to Admin when new user joins" checked as well but never receive any (maybe because I always have to manually activate new members).
 
  I am trying to figure out why members never get the email, as it always worked before before I installed this mod.  I know have to go and check the "Awaiting Members" area and activate those manually (which is a pain since I then check IP addresses manually).

This mod seems to work really well as it stopped ALL fake people from registering.

Thanks for any insights.
Title: Re: Stop Forum Spam
Post by: mchaney on March 05, 2011, 02:04:38 PM
I seem to have found a bug in 0.8.  A user, let's call him John Doe, tried to register on my forum but kept getting the "is a spam" message and being denied.  I searched John Doe on stopforumspam.com and got zero results (his email and IP returned zero results too).  Now, when he tried again and used JohnDoe instead of John Doe, it worked.  This means that when you sign up with username John Doe, you get a false positive presumably because both "John" and "Doe" do give hits.  It looks like if your username has a space, a false positive is returned because it checks both names (before and after the space) individually and if either (or both) are there, you get a false positive.  Obviously if the user picks username "John Doe", it should only return a positive if "John Doe" is in the database... not either John or Doe separately.  I've turned off username checking because of this but I wonder if the bug exists with email also if you use a symbol in the email.

Regards,
Mike
Title: Re: Stop Forum Spam
Post by: jrstark on March 06, 2011, 01:17:55 PM
Is there any way to report spammers from the "Awaiting Approval" screen?  Also, is there any way to recheck multiple signups?  I leave suspected spammers waiting and recheck them, but can only do that by clicking on the magnifying glass.  It will also stay blue, even if the signup is now in the database, unless I have looked them up from the All Members page.
Title: Re: Stop Forum Spam
Post by: ITA003 on March 07, 2011, 01:51:32 AM
Quote from: mchaney on March 05, 2011, 02:04:38 PM
I seem to have found a bug in 0.8.  A user, let's call him John Doe, tried to register on my forum but kept getting the "is a spam" message and being denied.  I searched John Doe on stopforumspam.com and got zero results (his email and IP returned zero results too).  Now, when he tried again and used JohnDoe instead of John Doe, it worked.  This means that when you sign up with username John Doe, you get a false positive presumably because both "John" and "Doe" do give hits.  It looks like if your username has a space, a false positive is returned because it checks both names (before and after the space) individually and if either (or both) are there, you get a false positive.  Obviously if the user picks username "John Doe", it should only return a positive if "John Doe" is in the database... not either John or Doe separately.  I've turned off username checking because of this but I wonder if the bug exists with email also if you use a symbol in the email.

Regards,
Mike


Do you have the "Check username" option enabled? If so, try to disable...
Title: Re: Stop Forum Spam
Post by: allthumbz on March 15, 2011, 08:20:42 PM
I am running version 2 RC5 and my users report that they are getting the following message:

"The user (Username) with Email (Email) (IP IPAddress) is a Spam, please contact forum administrator"

How can I prevent this please?

Thanks,


Nelson
Title: Re: Stop Forum Spam
Post by: allthumbz on March 15, 2011, 08:22:35 PM
Quote from: mchaney on March 05, 2011, 02:04:38 PM
I seem to have found a bug in 0.8.  A user, let's call him John Doe, tried to register on my forum but kept getting the "is a spam" message and being denied.  I searched John Doe on stopforumspam.com and got zero results (his email and IP returned zero results too).  Now, when he tried again and used JohnDoe instead of John Doe, it worked.  This means that when you sign up with username John Doe, you get a false positive presumably because both "John" and "Doe" do give hits.  It looks like if your username has a space, a false positive is returned because it checks both names (before and after the space) individually and if either (or both) are there, you get a false positive.  Obviously if the user picks username "John Doe", it should only return a positive if "John Doe" is in the database... not either John or Doe separately.  I've turned off username checking because of this but I wonder if the bug exists with email also if you use a symbol in the email.

Regards,
Mike


Am getting the SAME problem.

I just UNCHECKED this option.

Check also Username   (remove check mark here)
Enable check Username


We will see if it stops rejecting users with a space in their names.


Nelson
Title: Re: Stop Forum Spam
Post by: rthrash on March 17, 2011, 10:20:02 AM
New issue happened today when using the Report Member button on the Search Members page attempting to nuke a spammer. Every single users in the forum was set to needing to be approved by the admin. Repeated this twice and can confirm that's the triggering action. Manual query we used to fix:

update smf_members set is_activated = 1 where is_activated = 3;

The report action to the SFS website didn't actually occur.

Member ID is 37468 and IP address is 71.229.243.38 if that helps.

We are running SMF version 1.1.13 with a custom theme, and use the SFS mod daily to report and battle spammers. It's worked flawlessly for years before today.
Title: Re: Stop Forum Spam
Post by: AMoon on March 17, 2011, 03:37:20 PM
Thanks a ton - this appears to work pretty well for me so far!  I was really frustrated that I was getting over 100 spam registrations a day for a rather low key forum.  I tried to register an account with a StopForumSpam email address and it rejected it while it let me register with a 'real' account - success!!

Really, thanks a ton!
Title: Re: Stop Forum Spam
Post by: ITA003 on March 17, 2011, 04:50:52 PM
Quote from: rthrash on March 17, 2011, 10:20:02 AM
New issue happened today when using the Report Member button on the Search Members page attempting to nuke a spammer. Every single users in the forum was set to needing to be approved by the admin.


This mods doesn't have the Report Member button... do you  use another similar mods?
Title: Re: Stop Forum Spam
Post by: rthrash on March 18, 2011, 08:00:03 AM
Doh it's the other one here. Sorry for the trouble: http://custom.simplemachines.org/mods/index.php?mod=1547
Title: Re: Stop Forum Spam
Post by: Mayhem30 on March 20, 2011, 10:48:01 PM
You may want to change up the code a bit in your 'Who.template.php' file - your loading the "evidence.png" off their servers (which wastes their bandwidth and resources).

It appears they have disabled hotlinking - so all I'm getting now is a broken image box.

Title: Re: Stop Forum Spam
Post by: ITA003 on March 21, 2011, 02:58:08 AM
Just update the package!  ;)
Title: Re: Stop Forum Spam
Post by: Mayhem30 on March 21, 2011, 04:09:47 PM
Thank you  :)
Title: Re: Stop Forum Spam
Post by: glascor on March 27, 2011, 05:20:15 PM
Hi I downloaded the file and it says The package you tried to upload either is not a valid package or has become corrupted.   is something wrong?

Thanks
Title: Re: Stop Forum Spam
Post by: ITA003 on March 27, 2011, 05:38:02 PM
Try to download it again and let me know.
Title: Re: Stop Forum Spam
Post by: GlitchPC on May 23, 2011, 03:37:38 PM
I'm currently using this mod...and am not sure if it's working because I just installed it.  However, after looking at the following:

"The user (Username) with Email (Email) (IP IPAddress) is a Spam, please contact forum administrator"

I find that the mod should be updated using a grammatically correct version of the message a registrant receives if they are in StopForumSpam's database.  You should rewrite this mod so the message they receive is worded as such:

"The username, (Username), along with the email address (Email) and IP address (IPAddress) is being identified as a "spammer" through StopForumSpam.com's database.  If you feel this information is incorrect, please contact StopForumSpam."

Of course, you can add a link to StopForumSpam's contact page.

I don't believe they should contact the forum administrator, since we can't remove them from the database.  They should contact StopForumSpam and have them resolve the issue.  Once they have...then, by all means...they should re-register on your forum.
Title: Re: Stop Forum Spam
Post by: arreferee on June 12, 2011, 10:13:02 AM
Just tried to download and install this package and received the following error:

The package you tried to upload either is not a valid package or has become corrupted.

Any ideas?
Title: Re: Stop Forum Spam
Post by: fullmetalgirl on June 12, 2011, 11:12:14 AM
Since 2.0 came out my old 1.1.11 forum is being attacked rapidly...
(not only mine but 4 other forums i know aswell)

I just installed this mod but i got a question:
When i look at my whois is see a "stop forum spam" hand after all my guests.
even when a friend of mine showed up the hand appeared... but he could register.

I thought that hand would only show up at whois when the ip is found in the stop forum database?

question no. 2:
can i do a stop forum check based ONLY on ip? i do not want to check the e-mail adres aswell.

Greetings and thnx in front,
Title: Re: Stop Forum Spam
Post by: ITA003 on June 12, 2011, 11:43:08 AM
@GlitchPC: I modify the description in the next version


@arreferee: Try to download it again and reinstall, let me know..


@fullmetalgirl: The hand in the whois page just send you to stopforumspam check page to know if  the IP is in the Sop Forum Spam database. The email is the main check in my Mod, so you can not disable this check.
Title: Re: Stop Forum Spam
Post by: eric1234 on June 12, 2011, 01:32:05 PM
Got any plan to upgrade it to latest version 2.0 gold version? :)
Title: Re: Stop Forum Spam
Post by: arreferee on June 12, 2011, 02:12:34 PM
Quote from: ITA003 on June 12, 2011, 11:43:08 AM
@arreferee: Try to download it again and reinstall, let me know..

I tried again from a different computer and still got the same error.
Title: Re: Stop Forum Spam
Post by: arreferee on June 12, 2011, 10:34:02 PM
Quote from: arreferee on June 12, 2011, 02:12:34 PM
Quote from: ITA003 on June 12, 2011, 11:43:08 AM
@arreferee: Try to download it again and reinstall, let me know..

I tried again from a different computer and still got the same error.

I was able to download and install it to my test forum that is in 2.0.  My main forum is the one where I received the above error.  It is in 1.1.13.  Is it not working for 1.1.13?  Thanks.
Title: Re: Stop Forum Spam
Post by: mpoloukhine on June 13, 2011, 01:50:29 PM
Any chance to have this mod enhanced (or a new mod) to use the SFS database to block known spam IPs from even accessing the login page to begin with? Seeing upwards of 30 new logins a day at this point all from known spam IPs this on a forum that is pretty much unused these days. Would be nice not not even let them in the door in the first place...
Title: Re: Stop Forum Spam
Post by: Kindred on June 13, 2011, 01:54:02 PM
egads, NO!   the SFS list is not monitored or controlled in any way that I know of...   If users get flagged because their IP matches a previously reported spammer, then they get blocked?    good way to lose a large chunk of members
Title: Re: Stop Forum Spam
Post by: mpoloukhine on June 13, 2011, 04:51:21 PM
I can appreciate that concern. I just think it would be a helpful *optional* feature in many instances, and if it's optional, don't see the harm in it being there.

Mine for one, could greatly benefit. New members to my forum are limited and typically driven to the site via personal contact, not through random discovery of the forum on the 'net (with whom I typically run a short screening conversation first anyway.) Dealing with what is in the past week upwards of 30 *known* spammers on a daily basis awaiting registration confirmation is a heavy burden for a site that otherwise needs little to no moderation or maintenance on my part. I'd much rather have them all blocked automatically at the door before they even clog up the forum DB as a pending reg. (or worse manage to break in via an existing member log-in hack) with a message to "Contact the main site admin. if you feel it is in error."

For me, the chance that a real registration attempt would be thwarted is statistically 0. Would be a great optional feature IMO.
Title: Re: Stop Forum Spam
Post by: Kindred on June 13, 2011, 05:03:06 PM
oh, don't be so sure....   I recently had an instance where 5 IPs from a university were flagged in SFS...   unfortunately several of my users are from that university and they get caught by the flagged IP.

Anyway.... I suggest that you add some registration questions (standard feature in 2.0) and httpBL - after 2 weeks of SFS catching bundles, I was down to one a month.
Title: Re: Stop Forum Spam
Post by: mpoloukhine on June 13, 2011, 05:27:18 PM
Quote from: Kindred on June 13, 2011, 05:03:06 PM
oh, don't be so sure....   I recently had an instance where 5 IPs from a university were flagged in SFS...   unfortunately several of my users are from that university and they get caught by the flagged IP.

Anyway.... I suggest that you add some registration questions (standard feature in 2.0) and httpBL - after 2 weeks of SFS catching bundles, I was down to one a month.
Actually, that's what I was starting to do this AM (httBL) that got me wondering why SFSMod couldn't be doing the same thing as the httBLMod does (block at the door, not detain once in the lobby). I'm reticent to upgrade to 2.0 (time to research that all mods/themes will still work, etc.) and to get into the httBL (which I don't fully understand how to utilize, again more time to sort out). Was hoping there was a "quick" fix via this mod.

I guess I need to up to 2.0 at a minimum and see if most of my problems are bots weeded out through questions.
Title: Re: Stop Forum Spam
Post by: sepulchre on June 13, 2011, 09:02:37 PM
I'm getting the following error on install when trying to install into my 2.0 forum
Title: Re: Stop Forum Spam
Post by: stanaca on June 14, 2011, 07:50:29 AM
waiting for 2.0 compatibility
Title: Re: Stop Forum Spam
Post by: HunterP on June 14, 2011, 06:22:51 PM
Quote from: stanaca on June 14, 2011, 07:50:29 AM
waiting for 2.0 compatibility

I'm known to make personal changes to almost every package I download, so I'm not really sure why it works, but SFS works fine for me in 2.0 Gold. Maybe apply the changes manually or apply the differences in the package before you upload it?

The only problem is that the SFS website seems to be down at the moment.
Title: Re: Stop Forum Spam
Post by: societyofrobots on June 14, 2011, 09:07:28 PM
You probably already know this, but just in case I'm writing to let you know that the entire stopforumspam.com site is down.
Title: Re: Stop Forum Spam
Post by: arreferee on June 14, 2011, 09:51:19 PM
Quote from: societyofrobots on June 14, 2011, 09:07:28 PM
You probably already know this, but just in case I'm writing to let you know that the entire stopforumspam.com site is down.

In the meantime, you can just google the IP addresses.  The ones on Stop Forum Spam will show up there.
Title: Re: Stop Forum Spam
Post by: kriation on June 15, 2011, 12:35:36 AM
The site is currently experiencing an outage using DNS, but it is up, according to twitter (https://twitter.com/stopforumspam).
I made the following change in $sourcedir/StopSpammer.php on line 31, per the tweet:

// Twitter status points to 217.18.71.131       
//      $remoteXML = 'http://www.stopforumspam.com/api?' . ('127.0.0.1' != $check_ip ? ($modSettings['stopspammer_check_ip'] ? 'ip=' . $check_ip . '&' : '') : '') . ($modSettings['stopspammer_check_name'] ? 'username=' . urlencode($check_name) . '&' : '') . ($modSettings['stopspammer_check_mail'] ? 'email=' . urlencode($check_mail) : '');
        $remoteXML = 'http://217.18.71.131/api?' . ('127.0.0.1' != $check_ip ? ($modSettings['stopspammer_check_ip'] ? 'ip=' . $check_ip . '&' : '') : '') . ($modSettings['stopspammer_check_name'] ? 'username=' . urlencode($check_name) . '&' : '') . ($modSettings['stopspammer_check_mail'] ? 'email=' . urlencode($check_mail) : '');


I can confirm that it is working for my SMF 1.x environment, but your mileage may vary.
Title: Re: Stop Forum Spam
Post by: lisaf01 on June 20, 2011, 04:37:10 PM
Hi, I've been running this mod on my forum for a few months and it's helped a lot. However, in the last couple of weeks it just stopped working and I am getting about 30 spam registrants a day now. When I check their IPs and/or email addresses in SFS, they are listed there, but they are being allowed to go ahead and register on my forum.
I uninstalled and reinstalled the mod. Didn't help.
I checked every bit of code to ensure it was applied properly, and it is.

What's going on?
Title: Re: Stop Forum Spam
Post by: HunterP on June 20, 2011, 05:55:39 PM
Quote from: lisaf01 on June 20, 2011, 04:37:10 PM
Hi, I've been running this mod on my forum for a few months and it's helped a lot. However, in the last couple of weeks it just stopped working and I am getting about 30 spam registrants a day now. When I check their IPs and/or email addresses in SFS, they are listed there, but they are being allowed to go ahead and register on my forum.

When a spammer registers and you see that it is listed, what is the time that it has been added to SFS? It might be possible that this spammer has been added in the time between its registration and your visit to SFS. I've noticed this to several times. There are thousands of forums and you'll have to understand that there HAVE TO BE forums on which a spammer can register before his details can be reported to SFS. So in some cases you might be one of the (un)lucky ones...
Title: Re: Stop Forum Spam
Post by: Mihac™ on June 21, 2011, 04:39:43 AM
Here's the translation of language into Croatian
Title: Re: Stop Forum Spam
Post by: lisaf01 on June 21, 2011, 06:12:50 AM
Quote from: HunterP on June 20, 2011, 05:55:39 PM
Quote from: lisaf01 on June 20, 2011, 04:37:10 PM
Hi, I've been running this mod on my forum for a few months and it's helped a lot. However, in the last couple of weeks it just stopped working and I am getting about 30 spam registrants a day now. When I check their IPs and/or email addresses in SFS, they are listed there, but they are being allowed to go ahead and register on my forum.

When a spammer registers and you see that it is listed, what is the time that it has been added to SFS? It might be possible that this spammer has been added in the time between its registration and your visit to SFS. I've noticed this to several times. There are thousands of forums and you'll have to understand that there HAVE TO BE forums on which a spammer can register before his details can be reported to SFS. So in some cases you might be one of the (un)lucky ones...
Nope, Just deleted another 24 spam users, most of whom had been in the SFS list for several weeks.
Anyone got any other ideas or ways I can stop this problem? I don't have time to delete this many users twice a day.
Title: Re: Stop Forum Spam
Post by: Kindred on June 21, 2011, 07:44:29 AM
one thing is -- if they get shunted into the SFS "possible spammer" check list, then they can't post on your forum. There's no rush to delete them (I handle it once a week at this point)
Title: Re: Stop Forum Spam
Post by: lisaf01 on June 21, 2011, 12:02:40 PM
Quote from: Kindred on June 21, 2011, 07:44:29 AM
one thing is -- if they get shunted into the SFS "possible spammer" check list, then they can't post on your forum. There's no rush to delete them (I handle it once a week at this point)
How do I know if that's happened?
Title: Re: Stop Forum Spam
Post by: Bob Mueller on June 21, 2011, 02:49:21 PM
If they're listed at Members Awaiting Approval (yourdomain.com/forumdirectory/admin/?area=viewmembers;sa=browse;type=approve), then they can't post until you approve them, even if they have all yellow flags on their entries.
Title: Re: Stop Forum Spam
Post by: lisaf01 on June 21, 2011, 06:33:23 PM
I don't have the forum set up to approve all members, I allow self-activation and some of these spam users are self-activating, and I don't know what you mean about yellow flags against their entries, I don't see yellow flags anywhere.

I need to stop as many of these people from registering in the first place so that they do not clog up my forum and waste my time. This mod used to work, now it doesn't. Can anyone help with this, or suggest another mod that does work so I can stop this problem once and for all please?

Running 1.1.12
Title: Re: Stop Forum Spam
Post by: MarkRH on June 29, 2011, 03:20:45 PM
Running this on my 2.0 Final forum.  I uncovered something related to this mod that causes errors in the error log. When I use the search option for Task/Setting from the Administration Center, it complains about the following indexes not being set:

setting_sfs_enabled
setting_sfs_enabled_desc
setting_sfs_ipcheck
setting_sfs_ipcheck_desc
setting_sfs_usernamecheck
setting_sfs_usernamecheck_desc


I think the reason is that when it searches for the settings, your custom language file is never loaded to set the values. If I copy them into default/languages/Modifications.english.php then I get no errors.

Anyway, thought you'd like to know.
Title: Re: Stop Forum Spam
Post by: fractal_moonshine on July 16, 2011, 01:57:35 AM
First-time user, new to SMF as well. I recently upgraded a forum installed by someone else to SMF 2.0. Tonight, I chose to install SFP. I followed the instructions for manual installation (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1519;attach=179488;smf_version=2.0). Then I enabled SFP via Admin > Registration > Settings. I'm still not sure whether I installed it correctly. What do I do with these other files: package-info.xml, StopForumSpam2.xml, StopForumSpam.xml, and redirect.txt? Thank you.

Title: Re: Stop Forum Spam
Post by: MarkRH on July 16, 2011, 01:57:51 PM
Quote from: fractal_moonshine on July 16, 2011, 01:57:35 AM
First-time user, new to SMF as well. I recently upgraded a forum installed by someone else to SMF 2.0. Tonight, I chose to install SFP. I followed the instructions for manual installation (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1519;attach=179488;smf_version=2.0). Then I enabled SFP via Admin > Registration > Settings. I'm still not sure whether I installed it correctly. What do I do with these other files: package-info.xml, StopForumSpam2.xml, StopForumSpam.xml, and redirect.txt? Thank you.

Those files are only used for the automated installation process as they instruct the installer what files/code to look for and modify.  I'm guessing the reason you went through the manual installation was the automated process was failing the tests or something?
Title: Re: Stop Forum Spam
Post by: fractal_moonshine on July 17, 2011, 07:07:48 AM
Quote from: MarkRH on July 16, 2011, 01:57:51 PM

I'm guessing the reason you went through the manual installation was the automated process was failing the tests or something?

No. According to this page, http://custom.simplemachines.org/mods/index.php?mod=1519, the only way to install SFP on SMF 2.0 is manually. I've never used the automated install process. How did you do it?
Title: Re: Stop Forum Spam
Post by: MarkRH on July 17, 2011, 08:15:16 PM
Put the entire .gz or .zip file you download into the /Packages directory of your forum.  Then go to Admin -> Package Manager which will list all the packages it sees. From there, click on Install Mod for Stop Forum Spam (or whatever other module is there).  When you do that is does a test run so to speak to make sure it can find what it's looking for before it actually changes anything.

The Manual Installation is only needed if the tests fail for some reason due to conflicts with other mods, other customized code, or just incompatible with the version of SMF you are running.

Hope that helps,
Title: Re: Stop Forum Spam
Post by: un_vizitator on July 26, 2011, 08:56:55 AM
where is check this member link in smf 2.0 (upgraded from 1.1.14) with default template?!
Title: Re: Stop Forum Spam
Post by: un_vizitator on August 02, 2011, 03:32:20 AM
or where can i find this link in smf 2?
Title: Re: Stop Forum Spam
Post by: loonerix on August 03, 2011, 04:36:14 PM
Hello
I have fresh installed smf 2.0. Only this mod set to "Enable check Email user..." (no ip, no username)
I can register on my forum with email from SFS database with no problem.
If I'm right this mod should block my registration?
Title: Re: Stop Forum Spam
Post by: neilbombd on August 07, 2011, 11:48:36 AM
Quote from: ITA003 on December 10, 2008, 11:55:38 AM
At the submit on the registration page check if the Email (and the IP address) is in www.stopforumspam.com (http://www.stopforumspam.com/) and denied the registration action. If detected, a message to user will be shown and write in log forum.

Where should this message show up, in the error log? 

I intsalled this a few days ago, and usually get two or three spammers per day, at the most.  But I'm being shown the message "325 Spammers blocked up until today" which is very, very high, so I really need to be able to see which users have been marked as spammers.
Title: Re: Stop Forum Spam
Post by: effex on September 10, 2011, 09:50:55 PM
I've been using this mod for a while now and it's helped so much, I'm very thankful for it. However, there is one issue that is a little troubling. Although I reject all the spammers who attempt to sign up, the "New Members" count under the Statistics Center is still accumulating. The number is pretty much showing the amount of people who ATTEMPTED to register, but where later rejected. Is this happening by design or is this a glitch? It's troubling that it shows more new users registered than actually exist on my forum. Making the whole break down useless.

Any suggestions?
Title: Re: Stop Forum Spam
Post by: gaz12321 on November 10, 2011, 07:33:57 AM
Is anybody else's mod not working, I have been hit with over 100 spammers in the last 3 days! This mod has worked excellently since installing it up until now and I don't know what's changed.
Title: Re: Stop Forum Spam
Post by: ITA003 on November 10, 2011, 07:56:53 AM
Send me in PM the url. :)
Title: Re: Stop Forum Spam
Post by: topbuyer on November 11, 2011, 05:14:51 AM
Looks very nice Mod. Thanks. Trying to installing.. stuck

I am using 1.1.10, with dilbermc theme

Execute Modification    ./Themes/default/Register.template.php    Test failed

I also tried manual install, there are no Register.template.php, Who.template.php under ./Themes/dilbermc folder

Please advice... Auto install would be good. Attached ./Themes/default/Register.template.php

Title: Re: Stop Forum Spam
Post by: topbuyer on November 17, 2011, 04:39:55 AM
ITA003,

Please advice as you get time. Appreciate your help.
Title: Re: Stop Forum Spam
Post by: snadge on November 25, 2011, 08:39:46 AM
tried to install on 2.0.1 and it says i must be logged in?? when iam already logged in?  loggin in takes me to forum and when i check its not installed and when i try again it says i must log in?
Title: Re: Stop Forum Spam
Post by: snadge on November 30, 2011, 01:01:19 PM
this is blocking 3 people i invited from signing up and they are not spammers?

Stop Forum Spam Enabled
Enabled check Email user is in www.stopforumspam.com
Check also Ip address
Enable check IP
Check also Username
Enable check Username

thanks
Title: Re: Stop Forum Spam
Post by: Kindred on November 30, 2011, 01:37:08 PM
that's not a problem with the mod...    at some point, those three people got their IP or emails blacklisted...
Title: Re: Stop Forum Spam
Post by: snadge on November 30, 2011, 01:52:34 PM
Quote from: Kindred on November 30, 2011, 01:37:08 PM
that's not a problem with the mod...    at some point, those three people got their IP or emails blacklisted...

just seems odd that only few people sign up to my site (I pre-registered other members) and most of them are blocked..
they were from a website (as I was) that was hit by spam/malware (DSL-zone-UK) , could be related you think?
Title: Re: Stop Forum Spam
Post by: Kindred on November 30, 2011, 01:56:07 PM
yup... could be.

Stop forum spam has no oversight on who they blacklist. It gets listed when it gets reported....   which means that if your email or IP can be blacklisted just by being  reported as a spammer
Title: Re: Stop Forum Spam
Post by: snadge on November 30, 2011, 01:57:55 PM
Quote from: Kindred on November 30, 2011, 01:56:07 PM
yup... could be.

Stop forum spam has no oversight on who they blacklist. It gets listed when it gets reported....   which means that if your email or IP can be blacklisted just by being  reported as a spammer

ok thanks I will notify them...  i will check their IP against SFS just to be sure (can i do that?)

thanks again
Title: Re: Stop Forum Spam
Post by: snadge on November 30, 2011, 02:20:36 PM
we have checked the users IP, emails and usernames that they used at sign up and NONE are on SFS website?
Title: Re: Stop Forum Spam
Post by: snadge on November 30, 2011, 07:29:25 PM
I checked the log and it has been working great but is blocking unblocked users from joining my website?
Title: Re: Stop Forum Spam
Post by: GlitchPC on December 05, 2011, 12:59:36 AM
StopFormSpam is flagging users by their user name...even though that option is not selected for the Registration settings of this mod.  Granted...their username is on the SFS list but, thier IP and email address are not.

Using the latest version of this mod and SMF 2.0.1.
Title: Re: Stop Forum Spam
Post by: GlitchPC on December 08, 2011, 05:39:02 PM
Is this thing on?  Anyone know what gives?  See above...  ;)
Title: Re: Stop Forum Spam
Post by: LinuxFanatic on December 13, 2011, 11:09:45 AM
Thank you very much for this plugin!!! This is really usefull! THX! :)

Quote from: GlitchPC on December 05, 2011, 12:59:36 AM
StopFormSpam is flagging users by their user name...even though that option is not selected for the Registration settings of this mod.  Granted...their username is on the SFS list but, thier IP and email address are not.

You can configure the "filter-criteria" in your SMF administration conroll panel: index.php?action=regcenter;sa=settings

Because I'm using a German SMF 1.1.5 I'm not able to tell you the correct category in the ACP of SMF 2.0 - but the url parameter ^^^ should to the same ...  ::)

There you'll have three options for checking registrations:
- by IP
- by E-Mail
- by Name

I personally prefer to check only by IP and E-Mail ^^^^ ;)
Title: Re: Stop Forum Spam
Post by: GlitchPC on December 13, 2011, 12:18:56 PM
I've done that...I don't have the option to have the username selected.  Yet...I got a warning from the mod.
Title: Re: Stop Forum Spam
Post by: LinuxFanatic on December 13, 2011, 02:23:34 PM
Quote from: GlitchPC on December 13, 2011, 12:18:56 PM
I've done that...I don't have the option to have the username selected.  Yet...I got a warning from the mod.

If you use a custom Theme for the ACP (Admin.template.php), then you also have to patch/modify your custom theme. The package parser shows you where you have to patch/modify:

http://custom.simplemachines.org/mods/index.php?action=parse

Just choose your SMF Version and then click to "parse":
http://custom.simplemachines.org/mods/index.php?mod=1519

Good luck! ;)
Title: Re: Stop Forum Spam
Post by: GlitchPC on December 13, 2011, 02:50:51 PM
This mod does not have any edits to Admin.template.php.
Title: Re: Stop Forum Spam
Post by: LinuxFanatic on December 22, 2011, 01:46:27 PM
@ITA003

Is it possible to disable logs in the SMF's error log? I'm getting 5-10 full pages error messages that some bots are blocked. I personally are satisfied, if bots are blocked effectively - and this MOD does this well. So I do not really need log-entry in the SMF's error log (you can find it in the ACP).
Title: Re: Stop Forum Spam
Post by: ITA003 on December 23, 2011, 06:59:38 AM
At the moment You cannot disable the log. But you can modify the source to remove the log.


If interested I'll send you the detail info to remove the log.
Title: Re: Stop Forum Spam
Post by: LinuxFanatic on December 23, 2011, 07:19:21 AM
Quote from: ITA003 on December 23, 2011, 06:59:38 AM
If interested I'll send you the detail info to remove the log.

Yeah I'm interested, please mail me the instructions!!! Looking forward ^^^ :)
Title: Re: Stop Forum Spam
Post by: bedges on January 05, 2012, 05:27:56 PM
Happy New Year folks.

Quote from: effex on September 10, 2011, 09:50:55 PM
... Although I reject all the spammers who attempt to sign up, the "New Members" count under the Statistics Center is still accumulating. The number is pretty much showing the amount of people who ATTEMPTED to register, but were later rejected. Is this happening by design or is this a glitch?...

Any answer for this?
Title: Re: Stop Forum Spam
Post by: topbuyer on January 08, 2012, 03:43:48 AM
ITA003, Any help on this mate please.


Quote from: topbuyer on November 11, 2011, 05:14:51 AM
Looks very nice Mod. Thanks. Trying to installing.. stuck

I am using 1.1.10, with dilbermc theme

Execute Modification    ./Themes/default/Register.template.php    Test failed

I also tried manual install, there are no Register.template.php, Who.template.php under ./Themes/dilbermc folder

Please advice... Auto install would be good. Attached ./Themes/default/Register.template.php


Title: Re: Stop Forum Spam
Post by: ITA003 on January 08, 2012, 09:08:53 AM
@bedges
This mods did not allow to reject the spammers that are automatically rejected if is a spammer.


@topbuyer
are you sure that you are using this mod??? In your Register.template.php file there are references to another spam mod...
Title: Re: Stop Forum Spam
Post by: HR on January 08, 2012, 04:06:01 PM
I was wondering.. if for the purposes of speed (awhile ago I think I did it) but just a suggestion to add a separate section to logging for 'Spam' so it can be accessed without having to search through the whole of your logs and isnt treated as a general error.
Title: Re: Stop Forum Spam
Post by: krash661 on January 16, 2012, 07:59:50 PM
Where is the log for this located?
Title: Re: Stop Forum Spam
Post by: OChaos on January 17, 2012, 09:55:35 AM
It's in the general error log.. Admin > Error Log
Title: Re: Stop Forum Spam
Post by: topbuyer on January 18, 2012, 12:19:54 AM
Long time back I have installed Anti-Spam Verification Questions and I am using it. And just reminder I am using SMF 1.1.10 with dilberMC theme.

I have tried again and following is how it looks like when I install Stop Forum Spam

Install Actions
Installations actions for "Stop Forum Spam":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Register.php    Test successful
2.    Execute Modification    ./Sources/ManageRegistration.php    Test successful
3.    Execute Modification    ./Themes/default/Register.template.php    Test failed
4.    Execute Modification    ./Themes/default/Who.template.php    Test successful
5.    Extract File    ./Themes/default/languages/SFS.arabic-utf8.php    
6.    Extract File    ./Themes/default/languages/SFS.arabic.php    
7.    Extract File    ./Themes/default/languages/SFS.croatian-utf8.php    
8.    Extract File    ./Themes/default/languages/SFS.croatian.php    
9.    Extract File    ./Themes/default/languages/SFS.english-utf8.php    
10.    Extract File    ./Themes/default/languages/SFS.english.php    
11.    Extract File    ./Themes/default/languages/SFS.french-utf8.php    
12.    Extract File    ./Themes/default/languages/SFS.french.php    
13.    Extract File    ./Themes/default/languages/SFS.german-utf8.php    
14.    Extract File    ./Themes/default/languages/SFS.german.php    
15.    Extract File    ./Themes/default/languages/SFS.greek-utf8.php    
16.    Extract File    ./Themes/default/languages/SFS.greek.php    
17.    Extract File    ./Themes/default/languages/SFS.italian-utf8.php    
18.    Extract File    ./Themes/default/languages/SFS.italian.php    
19.    Extract File    ./Themes/default/languages/SFS.portuguese_pt-utf8.php    
20.    Extract File    ./Themes/default/languages/SFS.portuguese_pt.php    
21.    Extract File    ./Themes/default/languages/SFS.russian-utf8.php    
22.    Extract File    ./Themes/default/languages/SFS.russian.php    
23.    Extract File    ./Themes/default/languages/SFS.turkish-utf8.php    
24.    Extract File    ./Themes/default/languages/SFS.turkish.php    
25.    Extract File    ./Themes/default/languages/SFS.ukrainian-utf8.php    
26.    Extract File    ./Themes/default/languages/SFS.ukrainian.php    
27.    Extract File    ./Themes/default/languages/SFS.hungarian-utf8.php    
28.    Extract File    ./Themes/default/languages/SFS.hungarian.php    
29.    Extract File    ./Themes/default/images/sfs_icon.png


Quote from: ITA003 on January 08, 2012, 09:08:53 AM
@bedges
This mods did not allow to reject the spammers that are automatically rejected if is a spammer.


@topbuyer
are you sure that you are using this mod??? In your Register.template.php file there are references to another spam mod...
Title: Re: Stop Forum Spam
Post by: topbuyer on February 03, 2012, 11:13:53 PM
ITA003,

Please advice...

Quote from: topbuyer on January 18, 2012, 12:19:54 AM
Long time back I have installed Anti-Spam Verification Questions and I am using it. And just reminder I am using SMF 1.1.10 with dilberMC theme.

I have tried again and following is how it looks like when I install Stop Forum Spam

Install Actions
Installations actions for "Stop Forum Spam":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Register.php    Test successful
2.    Execute Modification    ./Sources/ManageRegistration.php    Test successful
3.    Execute Modification    ./Themes/default/Register.template.php    Test failed
4.    Execute Modification    ./Themes/default/Who.template.php    Test successful
5.    Extract File    ./Themes/default/languages/SFS.arabic-utf8.php    
6.    Extract File    ./Themes/default/languages/SFS.arabic.php    
7.    Extract File    ./Themes/default/languages/SFS.croatian-utf8.php    
8.    Extract File    ./Themes/default/languages/SFS.croatian.php    
9.    Extract File    ./Themes/default/languages/SFS.english-utf8.php    
10.    Extract File    ./Themes/default/languages/SFS.english.php    
11.    Extract File    ./Themes/default/languages/SFS.french-utf8.php    
12.    Extract File    ./Themes/default/languages/SFS.french.php    
13.    Extract File    ./Themes/default/languages/SFS.german-utf8.php    
14.    Extract File    ./Themes/default/languages/SFS.german.php    
15.    Extract File    ./Themes/default/languages/SFS.greek-utf8.php    
16.    Extract File    ./Themes/default/languages/SFS.greek.php    
17.    Extract File    ./Themes/default/languages/SFS.italian-utf8.php    
18.    Extract File    ./Themes/default/languages/SFS.italian.php    
19.    Extract File    ./Themes/default/languages/SFS.portuguese_pt-utf8.php    
20.    Extract File    ./Themes/default/languages/SFS.portuguese_pt.php    
21.    Extract File    ./Themes/default/languages/SFS.russian-utf8.php    
22.    Extract File    ./Themes/default/languages/SFS.russian.php    
23.    Extract File    ./Themes/default/languages/SFS.turkish-utf8.php    
24.    Extract File    ./Themes/default/languages/SFS.turkish.php    
25.    Extract File    ./Themes/default/languages/SFS.ukrainian-utf8.php    
26.    Extract File    ./Themes/default/languages/SFS.ukrainian.php    
27.    Extract File    ./Themes/default/languages/SFS.hungarian-utf8.php    
28.    Extract File    ./Themes/default/languages/SFS.hungarian.php    
29.    Extract File    ./Themes/default/images/sfs_icon.png


Quote from: ITA003 on January 08, 2012, 09:08:53 AM
@bedges
This mods did not allow to reject the spammers that are automatically rejected if is a spammer.


@topbuyer
are you sure that you are using this mod??? In your Register.template.php file there are references to another spam mod...
Title: Re: Stop Forum Spam
Post by: Kindred on February 04, 2012, 02:49:27 AM
see the wiki for failure on mod install or manual mod installation.
Title: Re: Stop Forum Spam
Post by: topbuyer on February 15, 2012, 03:38:14 AM
Thanks, but I have already tried manual install without any luck

http://www.simplemachines.org/community/index.php?topic=279621.msg3205379#msg3205379

« Reply #317 on: November 11, 2011, 05:14:51 AM »

Looks very nice Mod. Thanks. Trying to installing.. stuck

I am using 1.1.10, with dilbermc theme

Execute Modification    ./Themes/default/Register.template.php    Test failed

I also tried manual install, there are no Register.template.php, Who.template.php under ./Themes/dilbermc folder

Please advice... Auto install would be good. Attached ./Themes/default/Register.template.php
Title: Re: Stop Forum Spam
Post by: Kindred on February 15, 2012, 09:50:08 AM
you have to update the DEFAULT templates.... (see the path in the failed message?)
Title: Re: Stop Forum Spam
Post by: topbuyer on February 15, 2012, 03:02:57 PM
If I update in default them, dilbermc theme will pick up ? Generally if I do any change I do in them?
Title: Re: Stop Forum Spam
Post by: Kindred on February 15, 2012, 03:56:18 PM
the only time you need to edit a custom theme is if that custom theme has its own set of files. If the theme does not have a custom copy of the file, then it uses the default version.

Also, in 2.x, the system will attempt to apply the changes to every theme that is installed.
Title: Re: Stop Forum Spam
Post by: topbuyer on February 19, 2012, 04:40:54 AM
Thanks Kindred. I have made all manual change. I am having trouble in second change for
./Themes/default/Register.template.php as mentioned in manual install

It says find following in ./Themes/default/Register.template.php, which I can't find - may be because I might have modified this file for some other mod installation in past.

</tr><tr class="windowbg2">
<td width="100%" colspan="2" align="center">
<hr />
</td>
</tr><tr class="windowbg2" valign="top">


Any suggestion further on this last change ? I have attached my Register.teamplate.php
Title: Re: Stop Forum Spam
Post by: ukhalik2 on June 04, 2012, 03:09:05 AM
Hello,

This mod isn't allowing the genuine members to register as well..

any help?
Title: Re: Stop Forum Spam
Post by: Arantor on June 04, 2012, 10:02:03 AM
That's the curse of using SFS, it will always block some legitimate members.
Title: Re: Stop Forum Spam
Post by: J.G on June 28, 2012, 05:52:44 PM
It seems this Mod has stopped working, or at least it has stopped working for me. It is letting through a hell of a lot of spammers... Roughly, around 70+ new spam registration per day. Is there a known problem for this?
Title: Re: Stop Forum Spam
Post by: Rust on August 23, 2012, 07:10:29 PM
I currently use Bad Behavior mod linked to Project Honeypot.  Would adding this mod in addition to the aforementioned caused any issues?

Thank you.
Title: Re: Stop Forum Spam
Post by: Texan78 on August 23, 2012, 11:20:38 PM
Quote from: Rivet on August 23, 2012, 07:10:29 PM
I currently use Bad Behavior mod linked to Project Honeypot.  Would adding this mod in addition to the aforementioned caused any issues?

Thank you.

Nope, these can be run side by side and gives you added protect. I run this with Bad Behavior and HttpBl with no issues as well as others and a Proxy Blocker along with Crawl Track and Crawl Protect. I have zero spam.
Title: Re: Stop Forum Spam
Post by: Rust on August 24, 2012, 10:24:01 AM
Thanks Texan78. :)
Title: Re: Stop Forum Spam
Post by: Hoodie on September 13, 2012, 03:04:18 PM
Searched and couldn't find anyone reporting this.  Which is probably due to nobody using the Admin Search feature included in SMF but either way.

I'm getting the following error whenever I search for an admin function and based on the sfs in the error description, I believe it is this mod.  Here's the error:




http://mysite.net/index.php?pretty;action=admin&amp;area=search
8: Undefined index: setting_sfs_usernamecheck_desc
File: /home/username/public_html/smf/Sources/ManageRegistration.php
Line: 286
Title: Re: Stop Forum Spam
Post by: Scooter Trash on September 25, 2012, 11:07:42 AM
This has become my favorite SMF Plugin. Thank you so much!
One feature that might be a nice addition would be to have a list of IPs that have been blocked exported into a pre-formatted "deny from" text file that could be coppied and pasted directly into .htaccess
Title: Re: Stop Forum Spam
Post by: ITA003 on September 25, 2012, 11:26:24 AM
Quote from: Hoodie on September 13, 2012, 03:04:18 PM


http://mysite.net/index.php?pretty;action=admin&amp;area=search
8: Undefined index: setting_sfs_usernamecheck_desc
File: /home/username/public_html/smf/Sources/ManageRegistration.php
Line: 286
[size=78%]


Please, check the ManageRegistration.php file and search


[/size] loadLanguage('SFS');

You should find after the following line

loadLanguage('Login');

Title: Re: Stop Forum Spam
Post by: jobey on October 15, 2012, 02:52:46 PM
Is it possible to view a list of the email addresses that have been blocked?
Title: Re: Stop Forum Spam
Post by: ITA003 on October 15, 2012, 06:13:28 PM
In the SMF error log you can see Email, Ip and username...
Title: Re: Stop Forum Spam
Post by: IMSassafras on October 26, 2012, 07:12:15 PM
ITA003 or to whom ever,

I would like to add this mod to my forum, but when I tried to, the downloader said problems may occur if I do.  The failed file was ./Themes/default/Register.template.php  I have no problem *knock on wood* with manually installing this mod.  My fear is that there really lies a problem with another mod.  I have already and am very happy with the Stop Spammer mod.  Is there any conflict with these two mods?  I have version 1.1.16. 

Warmly
Sass

Update:  I checked the failed file.  I am confident that I found the code in question, though, another question arises.  Is there a problem with this mod and reCAPTCHA?
Title: Re: Stop Forum Spam
Post by: ITA003 on October 30, 2012, 03:43:11 AM
Yes! Is a problem con another mod (probably reCAPTCHA).

Post the Register.Template.php (here on in PM).


Bye!
Title: Re: Stop Forum Spam
Post by: Adrek on November 23, 2012, 04:20:47 PM
I have 2 errors: Undefined index: user on lines:
fatal_error(sprintf($txt['sfs_spam_detected'],$_POST['user'],$_POST['email'],$user_info['ip']), true);
$usernameSpam=$_POST['user'];

both in /Sources/Register.php

Other mods installed:
notCaptcha
Simple Portal

SMF 2.0.2
Title: Re: Stop Forum Spam
Post by: ITA003 on November 25, 2012, 09:12:47 AM
The form url?
Title: Re: Stop Forum Spam
Post by: Adrek on November 25, 2012, 11:23:55 AM
It happens at http://szynszyle.info/forum

all errors are from ?action=register2
Title: Re: Stop Forum Spam
Post by: gulch on December 17, 2012, 10:08:33 AM
This mod is wonderful.  We were under constant attack before I installed it.  Many thanks.  :)
Title: Re: Stop Forum Spam
Post by: Crozz on December 17, 2012, 11:21:02 AM
Thanks for this mod, gonna use it right away.
Title: Re: Stop Forum Spam
Post by: armada1987 on January 04, 2013, 10:10:39 AM
Hello, mod is perfect but i have just one little problem:

Hi, I recrived several reports, that new members can't register on my forum, and the reason is :

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi17.servimg.com%2Fu%2Ff17%2F16%2F74%2F61%2F83%2Ferror10.jpg&hash=181334bc80eda58bd8793110d228b6054382c71f)
Title: Re: Stop Forum Spam
Post by: ITA003 on January 04, 2013, 12:24:28 PM
Because the Joker is in the Spam Database... is better to enable the IP and Email address not the UserName.
Title: Re: Stop Forum Spam
Post by: MoreBloodWine on January 09, 2013, 02:11:46 AM
Ok, si I jut installed this on my 2.0x site and it seemed to go ok but I have a question.

Are there no settings for this any where, meaning its a intall and forget it thing where it just runs the ip and email against the SFS database ?


Edit: Found em lol
Title: Re: Stop Forum Spam
Post by: hcfwesker on April 25, 2013, 01:44:04 PM
Quote from: phantomm on November 23, 2012, 04:20:47 PM
I have 2 errors: Undefined index: user on lines:
fatal_error(sprintf($txt['sfs_spam_detected'],$_POST['user'],$_POST['email'],$user_info['ip']), true);
$usernameSpam=$_POST['user'];

both in /Sources/Register.php

Other mods installed:
notCaptcha
Simple Portal

SMF 2.0.2

I have the same exact issue as the quoted post.  Which both errors come from this MOD being installed.

Title: Re: Stop Forum Spam
Post by: Kindred on April 25, 2013, 01:48:27 PM
I get the same errors, from userm email and ip....

I would assume that, because this is reading for the POST form, the spammer/spambot tired to register automatically by hitting the url directly and stuffing the form with some, but not all, data...   which of course, results in a failure for that registration attempt, but fills the error log with messages....

maybe a check to see if the values are populated before triggering the fatal_error?
Title: Re: Stop Forum Spam
Post by: Mr Robville on May 28, 2013, 02:17:41 PM
I have just installed SFS to my forum (2.0.4.) but when I go to the register settings I cannot find any new setting related to SFS.
I couldn't find any answer here. Does anybody have any idea?

-Edit-

Got it fixed, I overlooked the installation instructions regarding the file alterations. It now works!
Title: Re: Stop Forum Spam
Post by: jmil on July 27, 2013, 09:16:54 AM
Right now this mod is not working on my site - Has been flawlessly for years - Anyone else reporting issues?
Title: Re: Stop Forum Spam
Post by: ITA003 on July 29, 2013, 02:10:08 AM
Hi jmil,
what do you see in the forum error log?
Title: Re: Stop Forum Spam
Post by: rajeshvv on July 29, 2013, 06:56:19 AM
HI
Stop forum spam was working great..  but am unable to see the logs of blocked spammers... I got 12 spammers blocked so I want to see the log file which username/IP/Email was blocked ?
I had checked the www.stopforumspam.com (http://www.stopforumspam.com) also in my account profile... no idea where these data stored.

any help would be appreciated :)

thanks
Title: Re: Stop Forum Spam
Post by: jmil on July 29, 2013, 08:28:54 AM
Quote from: ITA003 on July 29, 2013, 02:10:08 AM
Hi jmil,
what do you see in the forum error log?

ALl my errors are the typical template errors I get and Aeva error which are normal -  I see nothing related to the registration or Forum spam
Title: Re: Stop Forum Spam
Post by: ITA003 on July 30, 2013, 05:50:07 PM
In the error log you must find some like:


The user XXXX email address YYY (IP 000.000.000.000) is a spam. please contact System Administrator.


If you can not see it, maybe some wrongs in installation...
Title: Re: Stop Forum Spam
Post by: rajeshvv on July 31, 2013, 02:38:41 AM
Quote from: ITA003 on July 30, 2013, 05:50:07 PM
In the error log you must find some like:


The user XXXX email address YYY (IP 000.000.000.000) is a spam. please contact System Administrator.


If you can not see it, maybe some wrongs in installation...

unable to see any such kind of logs.. able to see the template logs like login error logs... actually please let me know whether this mod is compatible to smf 2.0.4 ?
Title: Re: Stop Forum Spam
Post by: medicMe on August 06, 2013, 02:33:36 AM
SFS site / system down?

Their web page gives me a 503 or 500 error and it seems SFS mod times out trying to reach them.
Title: Re: Stop Forum Spam
Post by: medicMe on August 06, 2013, 03:30:05 AM
Quote from: medicMe on August 06, 2013, 02:33:36 AM
SFS site / system down?

Their web page gives me a 503 or 500 error and it seems SFS mod times out trying to reach them.

They are back up now.

Seemed to be down for an hour from what I noticed. Got worried there.
Title: Re: Stop Forum Spam
Post by: 4gadgetman on August 20, 2013, 10:36:49 AM
I tried installing this mod on my forum running SMF 2.0.5 and I get the following:

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


Installations actions for "Stop Forum Spam"
Installing this package will perform the following actions:
      Type    Action    Description
*    1.    Execute Modification    ./Sources/Register.php    Test successful
*    2.    Execute Modification    ./Sources/ManageRegistration.php    Test successful
*    3.    Execute Modification    ./Themes/default/Who.template.php    Test failed
   1.    Add After    ./Themes/default/Who.template.php    Test failed


Can someone please help???
Title: Re: Stop Forum Spam
Post by: Kindred on August 20, 2013, 10:47:20 AM
Search is your friend...

http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Stop Forum Spam
Post by: jaxelson on August 27, 2013, 06:13:31 PM
I've installed Stop Forum Spam. It displays in Package Manager > Installed Packages.

Where do I enable it? I don't see anything related to Stop Forum Spam in Registration > Members > Settings.

SMF 2.0.5.
Title: Re: Stop Forum Spam
Post by: Branko. on August 27, 2013, 06:17:56 PM
Registration>Settings
Title: Re: Stop Forum Spam
Post by: jaxelson on August 27, 2013, 06:28:35 PM
From the Administration Center's main menu, the only link to Registration > Settings I could find is under Members.

However, on the Members > Registration > Settings page, I see no reference to Stop Forum Spam.
Title: Re: Stop Forum Spam
Post by: Branko. on August 27, 2013, 07:03:47 PM
Stop Spammer 2.3.9 created by M-DVD or Stop Forum Spam 1.0 created by ITA003?




Title: Re: Stop Forum Spam
Post by: jaxelson on August 27, 2013, 08:55:31 PM
Stop Forum Spam 1.0 created by ITA003. My site looks just like the png you posted but without the three checkboxes at the bottom.

Yet Package Manager > Installed Packages shows Stop Forum Spam 1.0.
Title: Re: Stop Forum Spam
Post by: jaxelson on August 28, 2013, 11:31:15 AM
I checked the error log and found multiple files that the installation couldn't access. Changing permissions from within SMF didn't work, so I changed the files manually to 777 and reinstalled. Now I see the checkboxes.
Title: Re: Stop Forum Spam
Post by: MoreBloodWine on October 24, 2013, 02:48:23 AM
I don't know if it's this mod or Stop Spammer that produces thesee "errors" but assuming it's this mod. I don't really care to know that these "errors" happen. So I have a question, would you consider adding an option that a forum admin can check in the mod settings area to suppress these errors from the error log ?

I'm also posting this on the other mods discussion page to cover my bases.

Guest
58.23.37.174   
    Today at 02:07:05 AM
44b716c09d086dd15320829787dec535
Type of error: General 
http://www.dust514corps.com/index.php?action=register2The user david93444 with Email [email protected] (IP 58.23.37.174) is a Spam, please contact forum administrator
Title: Re: Stop Forum Spam
Post by: SpeedHighway on November 16, 2013, 05:25:53 PM
Quote from: MarkRH on June 29, 2011, 03:20:45 PM
Running this on my 2.0 Final forum.  I uncovered something related to this mod that causes errors in the error log. When I use the search option for Task/Setting from the Administration Center, it complains about the following indexes not being set:

setting_sfs_enabled
setting_sfs_enabled_desc
setting_sfs_ipcheck
setting_sfs_ipcheck_desc
setting_sfs_usernamecheck
setting_sfs_usernamecheck_desc


I think the reason is that when it searches for the settings, your custom language file is never loaded to set the values. If I copy them into default/languages/Modifications.english.php then I get no errors.

Anyway, thought you'd like to know.

For anyone else still running into this (because it hasn't been fixed yet, it looks like?)

Open Sources\Admin.php and look for something similar to:
Code (Find) Select
$language_files = array(
'Help', 'ManageMail', 'ManageSettings', 'ManageCalendar', 'ManageBoards', 'ManagePaid', 'ManagePermissions', 'Search',
'Login', 'ManageSmileys',
);

Modify it to:
Code (Replace) Select
$language_files = array(
'Help', 'ManageMail', 'ManageSettings', 'ManageCalendar', 'ManageBoards', 'ManagePaid', 'ManagePermissions', 'Search',
'Login', 'ManageSmileys', 'SFS',
);
Title: Re: Stop Forum Spam
Post by: wunderbunny on December 16, 2014, 12:40:27 AM
I installed this mod yesterday because my forum was suddenly inundated with unwelcome registrations.  It works brilliantly.  Thank you very much.

I have been copying the IP ranges of the rejected spambots to my .htaccess file.

With the IP addresses in the .htaccess file, I expected the SMF forum registration page not to be served to the spambots coming from those addresses.  I'm surprised to find records in the (general) error log showing that the mod was invoked.  I thought the spambots would be rejected before the mod is ever executed.

Is there any point in copying these IP addresses to .htaccess?
Title: Re: Stop Forum Spam
Post by: Kindred on December 16, 2014, 08:49:05 AM
first of all - IP bans (in SMF or in htaccess) should always be used SPARINGLY. Many times, a spambot is generated from a completely valid, but taken over, range -- and they drop that range and take a new one, on a regular basis.

second -  depends if you banned them correctly...

third  - did you clear the logs after you added the htaccess bans?
Title: Re: Stop Forum Spam
Post by: wunderbunny on December 16, 2014, 06:33:56 PM
Thanks for your advice.

1.  I've added about 200 IP ranges!  Yes, I've noticed the spambot trying to login again from a different range.  A country ban might work better for us because we are predominantly Australian university students.

2.  I've checked the syntax and it looks OK to me.

3.  The logs were not cleared.  I visually inspect the timestamps of the entries.

Since last night, only two new forum members registered and they're both legitimate.  I found that changing the verification questions has also stopped them, but I realise now they need to be changed frequently.
Title: Re: Stop Forum Spam
Post by: Burke ♞ Knight on December 19, 2014, 11:36:06 PM
if ($member['is_guest'])
{
echo '
<span class="floatright" style=" margin-right: 2px;">
<a href="http://www.stopforumspam.com/search?q='. $member['ip'] .'" target="_blank"><img src="' . $settings['theme_url'] . '/../default/images/icons/sfs_icon.png" align="middle" /></a>
</span>';
}


This is what the mod places in Who.template.php
However, it has been discovered that it shows the image/link to check the member, to ALL registered members, not just staff.

Need to know what to change, to make it so only those who can moderate the forum, can see them.
Title: Re: Stop Forum Spam
Post by: Burke ♞ Knight on December 20, 2014, 11:49:53 AM
Okay, we have found out how to do this:

Who.template.php

Code (Find) Select
if ($member['is_guest'])
{
echo '
<span class="floatright" style=" margin-right: 2px;">
<a href="http://www.stopforumspam.com/search?q='. $member['ip'] .'" target="_blank"><img src="' . $settings['theme_url'] . '/../default/images/sfs_icon.png" align="middle" /></a>
</span>';
}


Code (Replace With) Select
if ($member['is_guest'] && !empty($member['ip']))
{
echo '
<span class="floatright" style=" margin-right: 2px;">
<a href="http://www.stopforumspam.com/search?q='. $member['ip'] .'" target="_blank"><img src="' . $settings['theme_url'] . '/../default/images/sfs_icon.png" align="middle" /></a>
</span>';
}
Title: Re: Stop Forum Spam
Post by: HRM on April 24, 2015, 02:44:17 AM
QuoteWarning: this topic has not been posted in for at least 120 days.

Too long no posts in this great Mod's topic.... so lets make it wake up  :P

Where should the api key be set in this mod?
Issue is I changed the URL of my forum and created a new api key accordingly. But do I have to setup up the new key in the plugin?
Currently everything works because I forwarded the old url to the new one.

Thanks in advance.

Ed.
.
Title: Re: Stop Forum Spam
Post by: Ogmodon on June 13, 2015, 12:56:09 PM
Sadly not sure this is working now :(

Just had a message 1 member waiting for approval from ip 176.8.88.179 went to stop forum spam website and searched the e-mail and the ip both were listed and yet they made it through :(
Title: Re: Stop Forum Spam
Post by: Shambles on June 13, 2015, 01:01:23 PM
It would be "waiting for approval" if it was found in the SFS database - marked with a red spyglass.
Title: Re: Stop Forum Spam
Post by: snadge on June 13, 2015, 02:58:07 PM
Omgodon could be right as it used to just totally block anything listed...now they are automatically getting through...2 per day on average...ive tried reinstalling it and still the same
Title: Re: Stop Forum Spam
Post by: Shambles on June 13, 2015, 03:03:14 PM
Do you have Tapatalk installed?
Title: Re: Stop Forum Spam
Post by: snadge on June 13, 2015, 03:05:35 PM
I do... is there anyway to tell if they are coming from Tapatalk?

i will disable that mod for few days, been using SFS for years with Tapatalk and never had a issue
Title: Re: Stop Forum Spam
Post by: snadge on June 13, 2015, 03:07:17 PM
...in fact the Tapatalk mod has an option that says it has SFS enabled? i have changed the registration to external which should send them too the website instead of "in-app"
Title: Re: Stop Forum Spam
Post by: Shambles on June 13, 2015, 03:10:44 PM
Also, disable the option that allows Tapatalk-registered members to bypass your own registration.

You'll find that option is the actual culprit ;)
Title: Re: Stop Forum Spam
Post by: snadge on June 13, 2015, 03:18:34 PM
Quote from: Shambles on June 13, 2015, 03:10:44 PM
Also, disable the option that allows Tapatalk-registered members to bypass your own registration.

You'll find that option is the actual culprit ;)

is this in App?  think I have that on but will check
Title: Re: Stop Forum Spam
Post by: Shambles on June 13, 2015, 03:22:42 PM
No it's in the forum settings:

"Automatic approval for user registered from Tapatalk"
Title: Re: Stop Forum Spam
Post by: snadge on June 13, 2015, 03:23:05 PM
ahh i spotted it in forum and it was on (Social Sign On) - so have that on web-only now...hopefully this should work :)

thanks again
Title: Re: Stop Forum Spam
Post by: Kindred on June 13, 2015, 05:55:09 PM
Yet another reason that tapatalk is a bad idea
Title: Re: Stop Forum Spam
Post by: yuichen on August 25, 2015, 01:17:17 PM
I seem to suddenly have the same issue... without tapatalk installed.
Title: Re: Stop Forum Spam
Post by: Kindred on August 25, 2015, 01:40:41 PM
but do you have the social login mod or any other mod that messes with the standard SMF registration?
Title: Re: Stop Forum Spam
Post by: yuichen on August 26, 2015, 10:14:15 AM
The only mods I have installed are this one and thumbnail topic.
Title: Re: Stop Forum Spam
Post by: Kindred on August 26, 2015, 12:22:01 PM
If that is so -- then please do not just say "I have the same problem"

Please, clearly explain your problem -- because there is no way for users to automatically register and bypass the normal registration checks unless you have installed some other mod.  If you have NOT installed some other mod, then it stands to reason that they are NOT doing what you say and something else is going on.
Title: Re: Stop Forum Spam
Post by: yuichen on August 30, 2015, 08:04:34 PM
Alright, my bad. Banned members are miraculously able to post on my forum with the IPs they were banned with. The other day there were three members who were spamming up the place so I moved to ban the things they used (name, ip, hostname, etc), only to be told those IPs and usernames were already banned. So... how the heck are they able to be roaming around and posting?
Title: Re: Stop Forum Spam
Post by: mark7144 on November 27, 2015, 07:36:17 PM
My forum has been around for 10 years and suddenly SFS is not working any more for me. I have not touched anything on my forum for a year apart from the basic security patches.

Over the last few days I am now seeing several registrations from usernames & IP addresses that are in the online SFS database. Strangely, when I do my own test with a banned username, it correctly blocks me. SFS has been perfect until now, any ideas?

Forum version: SMF 1.1.21 (more detailed)
Current SMF version: ??
PHP version: 5.4.37
MySQL version: 5.5.30-cll
Server version: Apache/2.2.3 (CentOS)
GD version: bundled (2.1.0 compatible)
Title: Re: Stop Forum Spam
Post by: TLMB on December 09, 2015, 10:23:51 AM
Hi,
Firstly, thank you for this mod! I've been using it for some years now, and it works really well.

Recently, I've been getting a lot of spammer sign-ups. SFS catches the majority of them, and I reject them, so that's great.

The only problem is that I now have false stats for the number of new users on my forum: 269 "new users" last month, as opposed to about 18 on an average month.
So my question is:
Is there any way to get (...the mod to get...) the forum to recalculate the number of new users in Forum History http://example.com/forum/index.php?action=stats ?
(The actual total number of users reported is correct.)

Thanks for any ideas.
Title: Re: Stop Forum Spam
Post by: Kindred on December 09, 2015, 01:01:33 PM
Did you try "recalculate forum stats"


Also -- add questions.   10-20 questions, asking 2-3 will stop spammers from ever registering in the first place and them the few that are human spammers who do get through an be caught by SFS
Title: Re: Stop Forum Spam
Post by: TLMB on December 10, 2015, 09:37:15 AM
Hi,
Sorry, I should have said that yes, I tried "recalculate forum stats", to no avail.

I'll try adding more questions.
Title: Re: Stop Forum Spam
Post by: bayonetbrant on March 08, 2016, 09:48:00 PM
Any chance this mod is going to get updated at all?
Title: Re: Stop Forum Spam
Post by: Kindred on March 08, 2016, 10:40:02 PM
It works just fine for me
Title: Re: Stop Forum Spam
Post by: bayonetbrant on March 08, 2016, 10:45:13 PM
Quote from: Kindred on March 08, 2016, 10:40:02 PM
It works just fine for me

It works with the x.11 SMF build OK?
I just didn't want to install it w/o knowing it was OK running on the current build.

Thanks
Title: Re: Stop Forum Spam
Post by: Kindred on March 08, 2016, 11:04:30 PM
Yes, it work just fine with 2.0.11
Title: Re: Stop Forum Spam
Post by: Adrek on March 05, 2017, 03:35:21 PM
Did anyone try to add Spammer Check function from this m also on Post page? I saw code that makes check in Stop Forum Spam database and all what would need to be done is move SpammerCheck() to Load.php and add check in Subs-Post.php?
Title: Re: Stop Forum Spam
Post by: WhiteJC on June 01, 2017, 03:40:47 PM
I've recently moved hosting and now I can't install this mod. perviously had worked on my site, the forum had been updated to 2.0.14, 'new' site has SMF 2.0.14 installed as vanilla site (no upgrades)
Title: Re: Stop Forum Spam
Post by: WhiteJC on June 02, 2017, 02:50:05 AM
Quote from: WhiteJC on June 01, 2017, 03:40:47 PM
I've recently moved hosting and now I can't install this mod. perviously had worked on my site, the forum had been updated to 2.0.14, 'new' site has SMF 2.0.14 installed as vanilla site (no upgrades)

this is the error I get when trying to install...

3.   Execute Modification   ./Themes/default/Who.template.php   Test failed
     1.   Add After   ./Themes/default/Who.template.php   Test failed
Title: Re: Stop Forum Spam
Post by: SulevFan on December 01, 2017, 08:06:02 AM
Is this mod still being supported? Is it still the best mod for validation of users against a registry of known spammers?

Lately we've encountered a flood of new spammers that seem to bypass every defense: Stop Forums Spam (this mod), the captcha and simple validation questions. Most of these spammers register with IP addresses in Korea.

I ran a scan ("check these members") of the last page of users registered to my forum. About 20 users toggled over to "awaiting registration" for no reason I could see - some had posted, some had not, some have been registered for a while, others clearly are more recent. A few had trg f;ags against user names (not a disqualifier) ... 

Anyone knows what would kick users into the awaiting approval state?
Title: Re: Stop Forum Spam
Post by: ModelBoatMayhem on December 13, 2017, 09:43:43 AM
 Afternoon all,
Stop Forum Spam auto check has stopped working on my SMF 2 Forum.
Fault happen in last 2 days after my host has migrated my server and given me a new IP, what do I need to do to get SFS working again?
( I've delete and reinstalled Mod, same issue. )
Thanks in advance,
MbM
Title: Re: Stop Forum Spam
Post by: ModelBoatMayhem on December 13, 2017, 03:07:07 PM

Anything anyone?



    cpsrvd 11.68.0.20
    Database client version: libmysql - 5.1.73
    PHP extension: mysqli
    PHP version: 5.6.30
Title: Re: Stop Forum Spam
Post by: 224valkyrieforum on April 11, 2018, 06:38:03 PM
Anything new on this?  Trying to install on 2.0.15

Execute Modification ./Themes/default/Who.template.php Test failed
1. Add After ./Themes/default/Who.template.php Test failed

Looks more of a warning, than an error?  IE: stating Who.template.php will be added after?
Title: Re: Stop Forum Spam
Post by: ModelBoatMayhem on April 11, 2018, 10:39:50 PM
 
Turns out my host gave me wrong info on my NameServers!
Title: Re: Stop Forum Spam
Post by: Kindred on April 11, 2018, 11:06:38 PM
Quote from: 224valkyrieforum on April 11, 2018, 06:38:03 PM
Anything new on this?  Trying to install on 2.0.15

Execute Modification ./Themes/default/Who.template.php Test failed
1. Add After ./Themes/default/Who.template.php Test failed

Looks more of a warning, than an error?  IE: stating Who.template.php will be added after?

https://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Stop Forum Spam
Post by: 224valkyrieforum on April 13, 2018, 02:43:46 AM
Thanks,

Code it wants to change to.  "Who.template.php"
if (!$member['is_guest'])
      {
         echo '
                        <span class="contact_info floatright">
                           ', $context['can_send_pm'] ? '<a href="' . $member['online']['href'] . '" title="' . $member['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $member['online']['image_href'] . '" alt="' . $member['online']['text'] . '" align="bottom" />' : $member['online']['text'], $context['can_send_pm'] ? '</a>' : '', '
                           ', isset($context['disabled_fields']['icq']) ? '' : $member['icq']['link'] , ' ', isset($context['disabled_fields']['msn']) ? '' : $member['msn']['link'], ' ', isset($context['disabled_fields']['yim']) ? '' : $member['yim']['link'], ' ', isset($context['disabled_fields']['aim']) ? '' : $member['aim']['link'], '
                        </span>';
      }

How it wants to modify the code...

Looks like it's just adding some logo stuff that's not necessary?

      if ($member['is_guest'])
      {
         echo '
            <span class="floatright" style=" margin-right: 2px;">
               <a href="http://www.stopforumspam.com/search?q='. $member['ip'] .'" target="_blank"><img src="' . $settings['theme_url'] . '/../default/images/sfs_icon.png" align="middle" /></a>
            </span>';
      }

I am not using the default theme, so my assumption is it shouldn't affect anything?  I installed the mod and after enabling it, I had 4 guest connections from some spam based IP's and they were no longer viewing after words.  So I assume it's working. :)
Title: Re: Stop Forum Spam
Post by: Kindred on April 13, 2018, 06:57:26 AM
1- it will affect you. Any template not specifically defined in your theme will use the default theme template,

2- it's not a logo... it's the SFS check option added to The Who's online list.

As for what to do...
https://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Stop Forum Spam
Post by: Sir Osis of Liver on July 03, 2018, 07:46:14 PM
Looks like this mod is not supported, why is it still available on mod site?

Anyway, would like to disable error logging without disabling mod.

Register.php



//Check Forum Spam if enabled
if (!empty($modSettings['sfs_enabled'])) {
if (SpammerCheck()) {
loadLanguage('SFS');
fatal_error(sprintf($txt['sfs_spam_detected'],$_POST['user'],$_POST['email'],$user_info['ip']), true);
}
}



If I remove this, will mod still work?
Title: Re: Stop Forum Spam
Post by: Sir Osis of Liver on July 04, 2018, 12:43:09 PM
No help in mod topic. >:(  Stop Forum Spam mod is flooding error log with useless errors, would like to disable error logging without disabling mod.

Register.php



//Check Forum Spam if enabled
if (!empty($modSettings['sfs_enabled'])) {
if (SpammerCheck()) {
loadLanguage('SFS');
fatal_error(sprintf($txt['sfs_spam_detected'],$_POST['user'],$_POST['email'],$user_info['ip']), true);
}
}



If I remove this, will mod still work?
Title: Re: Stop Forum Spam
Post by: vbgamer45 on July 04, 2018, 12:46:32 PM
Change

fatal_error(sprintf($txt['sfs_spam_detected'],$_POST['user'],$_POST['email'],$user_info['ip']), true);

To

fatal_error(sprintf($txt['sfs_spam_detected'],$_POST['user'],$_POST['email'],$user_info['ip']), false);
Title: Re: Stop Forum Spam
Post by: Sir Osis of Liver on July 04, 2018, 12:49:18 PM
Didn't think of that.  Problem is, there's no way to know if mod is working when errors are disabled.  Will give it a try, thx.
Title: Re: Stop Forum Spam
Post by: Irisado on July 04, 2018, 01:32:25 PM
Merged with mod support topic.  As a former Team member Sir Osis, you are well aware that waiting it can take more than 24 hours for someone to respond to requests for assistance, so please have a bit more patience before duplicating content into a new topic next time :).
Title: Re: Stop Forum Spam
Post by: MobileCS on March 10, 2019, 11:39:31 PM
I noticed that the mod author has not logged in since August 19th, 2016 - so there is little hope of any updates.

However, anyone still using this addon may want to considering modifying the source:

Find All:
http://www.stopforumspam.com/api

Replace:
http://api.stopforumspam.org/api

QuoteAPI queries are running at ~200ms globally, and they're geographically load balanced (thanks to @sucurilabs) to the closest API node but only if you use http://api.stopforumspam.org. API calls to http://www.stopforumspam.com will be a little slower, and they have no global fault tolerance.

Source : https://twitter.com/StopForumSpam/status/1104875246648213506
Title: Re: Stop Forum Spam
Post by: vbgamer45 on March 11, 2019, 12:08:42 AM
Nice catch! Thanks updating my sites now.
Title: Re: Stop Forum Spam
Post by: ModelBoatMayhem on March 11, 2019, 12:45:41 AM
 How and where do i need to make this change please?
Title: Re: Stop Forum Spam
Post by: Shambles on March 11, 2019, 01:36:05 PM
Quote from: ModelBoatMayhem on March 11, 2019, 12:45:41 AM
How and where do i need to make this change please?


Probably in StopSpammer.php, but do perform your own search to make sure.
Title: Re: Stop Forum Spam
Post by: Kindred on March 11, 2019, 02:02:23 PM
Quote from: MobileCS on March 10, 2019, 11:39:31 PM
I noticed that the mod author has not logged in since August 19th, 2016 - so there is little hope of any updates.

However, anyone still using this addon may want to considering modifying the source:

Find All:
http://www.stopforumspam.com/api

Replace:
http://api.stopforumspam.org/api

QuoteAPI queries are running at ~200ms globally, and they're geographically load balanced (thanks to @sucurilabs) to the closest API node but only if you use http://api.stopforumspam.org. API calls to http://www.stopforumspam.com will be a little slower, and they have no global fault tolerance.

Source : https://twitter.com/StopForumSpam/status/1104875246648213506


Do note that there are 3 places to update the www.stopforumspam.com


except are we certain that it's supposed to be .org? because I get a 404 or 403 when attempting to access the address at .org


and, while we're at it, I believe that the http:// should be corrected to https://
Title: Re: Stop Forum Spam
Post by: spiros on March 11, 2019, 02:10:17 PM
This
http://www.stopforumspam.com/api

Gives

<response success="false">
<error>request not understood</error>
</response>
Title: Re: Stop Forum Spam
Post by: Kindred on March 11, 2019, 02:59:16 PM
and http://api.stopforumspam.org/api
gives a 403 error
Title: Re: Stop Forum Spam
Post by: Arantor on March 11, 2019, 03:04:09 PM
Most APIs will give you errors if you try to randomly call them rather than calling them with the proper parameters...
Title: Re: Stop Forum Spam
Post by: vbgamer45 on March 11, 2019, 03:05:55 PM
Very true. check out this page for examples that work

https://www.stopforumspam.com/usage
Title: Re: Stop Forum Spam
Post by: MobileCS on March 11, 2019, 09:38:31 PM
The .org works just fine :

http://api.stopforumspam.org/[email protected]

Quoteemail no 0

I would assume the non-https link would respond quicker as no SSL handshake needs to be done in order to get the results.
Title: Re: Stop Forum Spam
Post by: Dzonny on November 06, 2019, 06:47:10 AM
Quote from: Shambles on March 11, 2019, 01:36:05 PM
Quote from: ModelBoatMayhem on March 11, 2019, 12:45:41 AM
How and where do i need to make this change please?


Probably in StopSpammer.php, but do perform your own search to make sure.
Just a note here that changes should be made in Register.php as far as I can see.
Title: Re: Stop Forum Spam
Post by: Shambles on November 06, 2019, 07:14:06 AM
Quote from: Dzonny on November 06, 2019, 06:47:10 AM
Quote from: Shambles on March 11, 2019, 01:36:05 PM
Quote from: ModelBoIyhem on March 11, 2019, 12:45:41 AM
How and where do i need to make this change please?


Probably in StopSpammer.php, but do perform your own search to make sure.
Just a note here that changes should be made in Register.php as far as I can see.

I just checked. I believe you are incorrect. The URL to change is not (and would not be) in Register.php
Title: Re: Stop Forum Spam
Post by: Dzonny on November 06, 2019, 07:20:57 AM
Quote from: Shambles on November 06, 2019, 07:14:06 AM
Quote from: Dzonny on November 06, 2019, 06:47:10 AM
Quote from: Shambles on March 11, 2019, 01:36:05 PM
Quote from: ModelBoIyhem on March 11, 2019, 12:45:41 AM
How and where do i need to make this change please?


Probably in StopSpammer.php, but do perform your own search to make sure.
Just a note here that changes should be made in Register.php as far as I can see.

I just checked. I believe you are incorrect. The URL to change is not (and would not be) in Register.php
On my 2.0.15 I see that changes with this API request are made in Register.php file:
https://custom.simplemachines.org/mods/index.php?action=parse;mod=1519;attach=179488;smf_version=2.0.15
Title: Re: Stop Forum Spam
Post by: Cezar Iancul on November 06, 2019, 08:19:44 AM
really nice
Title: Re: Stop Forum Spam
Post by: Shambles on November 06, 2019, 10:13:07 AM
Quote from: Dzonny on November 06, 2019, 07:20:57 AM
On my 2.0.15 I see that changes with this API request are made in Register.php file:
https://custom.simplemachines.org/mods/index.php?action=parse;mod=1519;attach=179488;smf_version=2.0.15

We must be discussing different changes...

https://www.simplemachines.org/community/index.php?topic=279621.msg4010684#msg4010684
Title: Re: Stop Forum Spam
Post by: Dzonny on November 06, 2019, 06:45:14 PM
Hardly, I was discussing the same :)
I don't even have StopSpammer.php file that you were referring to?
And in latest version you can see that there call through register.php file which checks for members IP/email/username. I believe only that should be replaced with new API link, in 3 places, like Kindred mentioned.
Maybe I'm missing something though :)
Title: Re: Stop Forum Spam
Post by: Kindred on November 07, 2019, 11:14:56 AM
do note that there are TWO mods which use SFS...   one is called Stop Forum Spam, the other is called Stop Spammer

Sounds like people are confusing the instructions between the two mods
Title: Re: Stop Forum Spam
Post by: petewadey on February 15, 2020, 08:32:04 AM
I've just installed this mod, but I'm not seeing  Forum Admin > Registration > Settings and Enable: Stop Forum Spam Enabled
Any ideas as to why? Thanks
Title: Re: Stop Forum Spam
Post by: d3vcho on February 15, 2020, 08:55:51 AM
Quote from: ITA003 on December 10, 2008, 11:55:38 AM
Enable it in the admin consolle -> Registration -> Settings

Does that not work for you?
Title: Re: Stop Forum Spam
Post by: petewadey on February 15, 2020, 09:05:02 AM
It isn't there?
Title: Re: Stop Forum Spam
Post by: Shambles on February 15, 2020, 01:07:42 PM
Quote from: petewadey on February 15, 2020, 08:32:04 AM
I've just installed this mod, but I'm not seeing  Forum Admin > Registration > Settings and Enable: Stop Forum Spam Enabled
Any ideas as to why? Thanks

Admin > Members > Registration > Settings
Title: Re: Stop Forum Spam
Post by: petewadey on February 15, 2020, 01:40:04 PM
Nope, it's not there??
I have the symbols in the guests online list, but no enable button in settings??
Title: Re: Stop Forum Spam
Post by: smartmouse on March 03, 2020, 04:44:57 AM
Will this mod be updated to be installed on SMF 2.1?
Title: Re: Stop Forum Spam
Post by: robeitor on April 08, 2020, 06:40:52 AM
Hi

Its possible to install it on SMF 2.0.17?

I´ve installed HTTPBL mod, and dont work  fineas stopforumspam mod.

Thanks!
Title: Re: Stop Forum Spam
Post by: Scooter Trash on April 08, 2020, 02:45:03 PM
Quote from: robeitor on April 08, 2020, 06:40:52 AM
Hi

Its possible to install it on SMF 2.0.17?

I´ve installed HTTPBL mod, and dont work  fineas stopforumspam mod.

Thanks!

There are some people in this thread who said that they're running it on 2.0.17.
I tried to install it on 2.0.17 and got a couple warnings, so I didn't install it.
HttpBL has blocked 180 bad guyz on my site in the past month. But some were still managing to get through. So I went into the SMF anti-spam settings and changed the visual verification image level to medium, and changed the verification questions from simple math questions to simple text questions related to the theme of my forums. I didn't get any new registrations for 3 days, so I was worried that I had inadvertently made it impossible for people to register. So I created a new account and it worked fine. It's been a week and a half now, and I've seen several attempting to register, but have had no new registrations from bad guys.
Title: Re: Stop Forum Spam
Post by: Kindred on April 08, 2020, 02:57:57 PM
1- yes, this can be installed in 2.0.17 -- but it needs a manual edit to do it.   That edit was described about 4-5 times in previous posts in this thread.

2- captcha is basically useless.    Use questions. (see the faq post in the user manual on spam)
Title: Re: Stop Forum Spam
Post by: robeitor on April 14, 2020, 03:56:14 AM
Quote from: Kindred on April 08, 2020, 02:57:57 PM
1- yes, this can be installed in 2.0.17 -- but it needs a manual edit to do it.   That edit was described about 4-5 times in previous posts in this thread.

2- captcha is basically useless.    Use questions. (see the faq post in the user manual on spam)

Ok, I will search it , thanks

I´m using questions, i´ll see the manual.
Title: Re: Stop Forum Spam
Post by: otsian on January 07, 2021, 11:45:06 AM
Am I remembering how this mod works all wrong?

I had it install many versions back. I've reinstalled this in 2.0.17 and it's not showing what I thought it once did. I recall a magnifying glass beside the email and IP etc. in a members list that I could click to take me to a deeper dive on the stop forum spam website. I don't see any of that now. I have tested with a known bad email address and at signup it's giving a message back saying it's spam and to contact the email administrator. And I see that reported in the logs.

I'm just confused I guess. I remember seeing ways to manually check members and I'm not seeing those now. Did I confuse this with a different mod? or did this mod change? OR? :) is my install not correct?
Title: Re: Stop Forum Spam
Post by: Kindred on January 07, 2021, 11:58:53 AM
no, you recall correctly. That's what this mod does.

If it is not doing so, then the mod is not fully installed.

How did you upgrade? by patch, version to version or as a large (replace all the files) upgrade?

Have you installed a new theme since installing this mod?
Title: Re: Stop Forum Spam
Post by: otsian on January 07, 2021, 12:14:59 PM
Each update was by the patch from all the way from 2.0.1. The only other mod currently installed is amazon search.

I used the forum interface to download the mod from it's link in the forum and run the install. There was one file that didn't pass the test, which I fixed. It then installed without an error.

Looking around, the stop spammer mod seems to have screen shots that look more like what I remember.  It's also uses the stop forum spam service. I suspect that was the one I have used in the past.
Title: Re: Stop Forum Spam
Post by: tjbalon on February 17, 2021, 10:48:16 PM
Anyway to simply deny the registration,  instead of putting them in the approval queue? (Have tons of spam recently).
Title: Re: Stop Forum Spam
Post by: Kindred on February 18, 2021, 08:43:15 AM
If you have tons of spam, depending on this is *NOT* the correct answer.

You need to improve the spam-filter BEFORE this point....    Get better questions.
Title: Re: Stop Forum Spam
Post by: lather on February 19, 2021, 10:22:58 AM
I have had Stop Forum Spam mod installed since I did a  full re-install of 2.0.15 after a failed server migration. It was previously installed before the migration by the previuous admin. With the new install of course all mods had to be re-installed and I had 20 spammers registered by the time I got Stop Forum Spam installed again. It stopped 95 perecent of spam registrations and filled the error log with about 100 attempted spam log in reports daily.

Recently I upgraded to 2.0.17 and I no longer get these spam registration failure error logs entries. Does this mean the mod is not working in 2.0.17?

Title: Re: Stop Forum Spam
Post by: sbartelski on March 23, 2021, 02:12:41 PM
I am trying to install on 2.0.18 but get an error. Not ready for that version yet?
Title: Re: Stop Forum Spam
Post by: Shades. on March 23, 2021, 02:59:42 PM
Quote from: sbartelski on March 23, 2021, 02:12:41 PM
I am trying to install on 2.0.18 but get an error. Not ready for that version yet?
What error? I have it installed on a fresh 2.0.18 no mods and no errors!
Title: Re: Stop Forum Spam
Post by: lather on March 23, 2021, 03:01:16 PM
I have not tried to re-install stop forum spam mod as it does not appear to be necessary. As Kindred mentioned the registration question seems to be working. I require admin approval and have added a couple of required profile fields and a simple anti spam question that any human can answer but not a bot. If a human spammer gets past the question if the required profiles fields are obviously bogus I reject.