• Welcome to Simple Machines Community Forum. Please login or sign up.
October 21, 2021, 12:14:00 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Stop Spammer

Started by M-DVD, December 31, 2008, 07:31:43 AM

Previous topic - Next topic

davegior

Quote from: Kindred on January 17, 2012, 03:51:03 PM
your problem had nothing to do with the stop spammer mod...    what happened is that you added a ban which included your own IP address....   so, of course your admin account (from the same computer) got banned as well...

The member has been there for 2 years, not until I installed the Mod Stop Spammer and logging off did this occur.

Kindred

but don't you get it?   Stop Spammer does not add bans....    it flags new accounts as potential spammers, based on the SFS database - this mod does not trigger on an existing aco******.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

snoopy_virtual

That's why I was saying I don't think this problem is because mod Stopspammer. In fact I have never used bans in my forums, so I didn't add any ban flag to this mod.

Quote from: davegior on January 17, 2012, 03:31:07 PM
Anyway, all is working except Mod Stop Spammer which I do not care too reinstall. The httpBL is working great now that I changed my Security Questions to be a little harder to crack. At least for now.

I think you could try to install it now that you have erased all the bans. I don't think you will have a problem again.

I agree that the more important things against spammers are a good anti-spam question and mod httpBL. I always considered mod Stopspammer less important, but I like to have the 3 protections in all my forums anyway. They are 3 different ways of targeting the spammers and the 3 of them together work better.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Kindred

indeed... I have questions, plus bad behavior+httBL, plus Stop Spammer installed....
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SugarD-x

Quote from: Kindred on January 17, 2012, 04:31:18 PM
indeed... I have questions, plus bad behavior+httBL, plus Stop Spammer installed....
From what I've been told several times, due to the way they work, Bad Behavior and httpBL have some conflicting issues. Not sure if that was ever resolved or not, though.

snoopy_virtual

No, they haven't been resolved, but apparently the conflicts only happen in some forums and not in other ones.

Anyway the conflicts between both mods are very similar to the conflicts you may have when installing 2 antiviruses in the same computer. You may or may not have conflicts, but everybody would tell you it's better not to do it.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

SugarD-x

Quote from: snoopy_virtual on January 17, 2012, 04:45:42 PM
No, they haven't been resolved, but apparently the conflicts only happen in some forums and not in other ones.

Anyway the conflicts between both mods are very similar to the conflicts you may have when installing 2 antiviruses in the same computer. You may or may not have conflicts, but everybody would tell you it's better not to do it.
Makes sense. Kudos for the good comparison too ;)

zkhan86

I am getting error on my header of the forum after I install this , Not sure, how to clear them. My version is  : 2.0.2
Thanks.

// MOD Stop Spammer - START $txt['stopspammer_error'] = 'Error with Anti SPAM DB. Connection Failed.
Please try again later, or Contact with the WebMaster'; $txt['stopspammer_count'] = 'Spammers blocked up until today'; $txt['stopspammer_title'] = 'Search more info in `Stop Forum Spam`'; $txt['stopspammer_enable'] = 'Enable/Disable MOD Stop Spammer'; $txt['stopspammer_show01'] = 'Show Link "More Info" for All Members'; $txt['stopspammer_show01_sub'] = 'You can check any member at any time with one simple click'; $txt['stopspammer_faildb'] = 'If the Connection Fail with Anti SPAM DB...'; $txt['stopspammer_fail01'] = 'Show Error and Stop Registration'; $txt['stopspammer_fail02'] = 'Allow Immediate Registration'; $txt['stopspammer_fail03'] = 'Member Approval and show yellow icon to check later'; $txt['stopspammer_faildb1_sub'] = 'Your host can make remote connection with the DB'; $txt['stopspammer_faildb2_sub'] = 'Your host couldn\'t make connection with the DB. Try again later.
If this error continues see Support Topic and search '; $txt['stopspammer_not_translate'] = 'Known Issues'; $txt['stopspammer_leyd01'] = 'Not Spammer: This data wasn\'t in a DB. But you can check'; $txt['stopspammer_leyd02'] = 'Suspect: This member couldn\'t be checked. Check now'; $txt['stopspammer_leyd03'] = 'Spammer: See more info of activity of this spammer'; $txt['stopspammer_profilecheck'] = 'Check this member'; $txt['stopspammer_limitexceded'] = 'You have exceded the check limit (5000 API queries per day).
You should wait until tomorrow to check again.'; $txt['in_stop_forum_spam'] = 'In Stop Forum Spam Web:'; $txt['spammers_checks'] = 'Check these Members'; $txt['spammers_report'] = 'Report these Members'; $txt['confirm_spammers_checks'] = 'Are you sure you want to check the selected members?'; $txt['confirm_spammers_report'] = 'Are you sure you want to report the selected members?\n\nThink that when you report a member to SFS they are marked as spammer all over the world\nand they won\\\'t be able to use any of the forums connected to SFS around the world.\n\nDo it only if you are completely sure they are spammers and if by any chance you make a mistake\ntell as soon as possible the mod\\\'s creator to correct the mistake inside the SFS database.'; $txt['stopspammer_api_key'] = 'Your API key'; $txt['stopspammer_check_name'] = 'Check their username'; $txt['stopspammer_check_mail'] = 'Check their email'; $txt['stopspammer_check_ip'] = 'Check their IP'; $txt['stopspammer_check_sub2'] = 'By default, every time you check a member with MOD Stop Spammer it will check their username, email and IP. If you are getting too many false positives because of their usernames you can turn that option off. We wouldn\'t recomend you to turn off the another 2 options (to check their email and IP) unless you know what you are doing.'; // Changed from 2.3.8 to 2.3.9 $txt['stopspammer_check_sub1'] = 'If MOD Stop Spammer is enabled, every time we check a member:'; $txt['stopspammer_api_key_sub'] = 'If you want to use your own API key you must go first to www.stopforumspam.com to sign up for one and write it here. If you haven\'t got one you cannot report spammers with this mod.

If you need help with this configuration or with anything else about Mod Stop Spammer, apart from the support forums, you can also ask for online help. If you have already installed Mod httpBL you can see how to ask for online help going to Admin => MOD httpBL => Help. If you haven\'t got it you can see more info here.'; // New in version 2.3.9 $txt['stopspammer_settings'] = 'MOD Stop Spammer settings'; $txt['stopspammer_enable_sub'] = 'With this check-box checked the mod is ON. With the check-box unchecked the mod is OFF.'; $txt['stopspammer_error_no_api_key'] = 'You cannot report a spammer without an API key from www.stopforumspam.com

You need to register on their site first, ask them for an API key and then navigate inside your forum to:
Admin => Members => Registration => Settings
Scroll down to Stop Spammer settings, write your API key there and save your settings.'; $txt['stopspammer_no_connect_1'] = 'Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.'; $txt['stopspammer_no_connect_2'] = 'If the problem persists ask for help in the official support forum.'; $txt['stopspammer_new_version_1'] = 'Mod Stop Spammer is ON but it is not up-to-date.'; $txt['stopspammer_new_version_2'] = 'There is a new version of this mod. The version you have is: '; $txt['stopspammer_new_version_3'] = 'Please update it here whenever you can to the new version: '; $txt['stopspammer_all_ok'] = 'Mod Stop Spammer is ON, it is up-to-date and the connection with Stop Forum Spam is perfect.'; $txt['stopspammer_is_off'] = 'Mod Stop Spammer is OFF.'; // MOD Stop Spammer - END

Kindred

First, try using search?

Second, correct modifications.english.php...  Find the ?> and move it to the very end of the file, where it is supposed to be
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

zkhan86

Quote from: Kindred on January 25, 2012, 07:32:55 AM
First, try using search?

Sorry not clear on it.

Quote from: Kindred on January 25, 2012, 07:32:55 AM
Second, correct modifications.english.php...  Find the ?> and move it to the very end of the file, where it is supposed to be
And where can I expect this file to be ? Thanks.

snoopy_virtual

Inside /Themes/default/languages/

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

zkhan86

Sorry, But  it is already at the end attaching is the file, for your reference.

Kindred

put it on it's own line, not at the end of another code line...


but also, it would appear that what you have listed is not the file that is causing the problem... or not the version, since there is no "//   MOD Stop Spammer" listed in that file...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

zkhan86


yes, As far as my investigation tells me, I can see the error that shows is from the file : languages.xml in the languages zip, file available for download at : http://custom.simplemachines.org/mods/index.php?action=download;mod=1547;id=150511  &  stop forum spam at : http://custom.simplemachines.org/mods/index.php?action=download;mod=1547;id=165955  which I downloaded. But I only uploaded the  Stop forum spam, not the language Zip, since I don't know, where to upload it.

snoopy_virtual

It looks like you have more than one Modifications.english.php file in your forum.

You should have only one inside your /Themes/default/languages/ folder.

Look inside the rest of the Themes you have in your forum. If you find any Modifications.english.php file inside any folder like /Themes/any_other_theme/languages/ merge those files with the one inside your default folder (copying all the lines missing in the default one) and then delete the files outside the default folder.

And if you are using any more languages apart from English, do the same with the rest of the Modifications.whatever.php files. They should be all inside the default folder, and shouldn't be any of them outside it.

Quote from: zkhan86 on January 25, 2012, 02:54:06 PM

yes, As far as my investigation tells me, I can see the error that shows is from the file : languages.xml in the languages zip, file available for download at : http://custom.simplemachines.org/mods/index.php?action=download;mod=1547;id=150511  &  stop forum spam at : http://custom.simplemachines.org/mods/index.php?action=download;mod=1547;id=165955  which I downloaded. But I only uploaded the  Stop forum spam, not the language Zip, since I don't know, where to upload it.


The file you installed is for English and Spanish. The other file you are talking about (full language package) adds also a lot of other languages (like French, German, etc etc)

So you don't need that file if you only use either English or Spanish.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

zkhan86

Sorry, I don't see any duplicate files in that folders mentioned. I have activated only the MyWay2rc3 theme. you see the below error at : forum.powertecfitness.com


//   MOD Stop Spammer $txt['stopspammer_error'] = 'Error with Anti SPAM DB. Connection Failed.
Please try again later, or Contact with the WebMaster'; $txt['stopspammer_count'] = 'Spammers blocked up until today'; $txt['stopspammer_title'] = 'Search more info in `Stop Forum Spam`'; $txt['stopspammer_enable'] = 'Enable/Disable MOD Stop Spammer'; $txt['stopspammer_show01'] = 'Show Link "More Info" for All Members'; $txt['stopspammer_show01_sub'] = 'You can check any member at any time with one simple click'; $txt['stopspammer_faildb'] = 'If the Connection Fail with Anti SPAM DB...'; $txt['stopspammer_fail01'] = 'Show Error and Stop Registration'; $txt['stopspammer_fail02'] = 'Allow Immediate Registration'; $txt['stopspammer_fail03'] = 'Member Approval and show yellow icon to check later'; $txt['stopspammer_faildb1_sub'] = 'Your host can make remote connection with the DB'; $txt['stopspammer_faildb2_sub'] = 'Your host couldn\'t make connection with the DB. Try again later.
If this error continues see Support Topic and search '; $txt['stopspammer_not_translate'] = 'Known Issues'; $txt['stopspammer_leyd01'] = 'Not Spammer: This data wasn\'t in a DB. But you can check'; $txt['stopspammer_leyd02'] = 'Suspect: This member couldn\'t be checked. Check now'; $txt['stopspammer_leyd03'] = 'Spammer: See more info of activity of this spammer'; $txt['stopspammer_profilecheck'] = 'Check this member'; $txt['stopspammer_limitexceded'] = 'You have exceded the check limit (5000 API queries per day).
You should wait until tomorrow to check again.'; $txt['in_stop_forum_spam'] = 'In Stop Forum Spam Web:'; $txt['spammers_checks'] = 'Check these Members'; $txt['spammers_report'] = 'Report these Members'; $txt['confirm_spammers_checks'] = 'Are you sure you want to check the selected members?'; $txt['confirm_spammers_report'] = 'Are you sure you want to report the selected members?\n\nThink that when you report a member to SFS they are marked as spammer all over the world\nand they won\\\'t be able to use any of the forums connected to SFS around the world.\n\nDo it only if you are completely sure they are spammers and if by any chance you make a mistake\ntell as soon as possible the mod\\\'s creator to correct the mistake inside the SFS database.'; $txt['stopspammer_api_key'] = 'Your API key'; $txt['stopspammer_api_key_sub'] = 'If you want to use your own API key you must go first to www.stopforumspam.com to sign up for one and write it here. If you haven\'t got one just leave it blank and the mod will use the default API key.'; $txt['stopspammer_check_sub1'] = '
If MOD Stop Spammer is enabled, every time we check a member:'; $txt['stopspammer_check_name'] = 'Check their username'; $txt['stopspammer_check_mail'] = 'Check their email'; $txt['stopspammer_check_ip'] = 'Check their IP'; $txt['stopspammer_check_sub2'] = 'By default, every time you check a member with MOD Stop Spammer it will check their username, email and IP. If you are getting too many false positives because of their usernames you can turn that option off. We wouldn\'t recomend you to turn off the another 2 options (to check their email and IP) unless you know what you are doing.';

snoopy_virtual

I have seen that error a lot of times and the solution is always the same, and that's why Kindred was telling you you should have searched this forum before asking.

If you are using the Theme MyWay2rc3 you should have a folder called /Themes/MyWay2rc3/ or something like it. Can you see it?

If you have it look inside it for a /languages/ folder and inside it look for a Modifications.english.php file.

You should have one somewhere with those lines.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

zkhan86


TarantinoArchives

Since the auto install didn't really work, I made most modifications by hand and I think I am halfway there. Also set up the is_spammer column.

BUT
can someone please post the SQL Code that I can paste into phpmysql to properly install this mod? I am not sure how to pull that code out of the install1 and install2 files, I lack those skills. Many thanks!

snoopy_virtual

It depends.

What version of SMF are you using? - The SQL queries are different for SMF 1.1.x or 2.0.x

Why the proper installation didn't work for you? - Normally nobody has problems installing this mod with the Packages Manager unless you have already installed another mod not compatible with this one. If you tell me exactly what error messages you got when trying to install the mod with the Packages Manager I can tell you why you couldn't install it.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Advertisement: