Stop Spammer

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

Previous topic - Next topic

snoopy_virtual

Check this answer to a similar problem:

http://www.simplemachines.org/community/index.php?topic=283309.msg3260968#msg3260968

After merging all your Modifications.english.php files into only one (inside the default folder) check if you have a few lines inside it starting with:

// MOD Stop Spammer - START

And finishing with:

// MOD Stop Spammer - END

If you have the same problem with mod httpBL it must be also a problem with the file Modifications.english.php. If you have more than one you will have problems with all the mods.

In this case you should leave only one (as before, merging all of them) and check if you have inside it a few lines starting with:

// MOD httpBL START

And finishing with:

// MOD httpBL - END

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.

chr05210084

Hi, I'm having issues when I tried installing this mod in my forum, I successfully uloaded the mod and when I tried to install, its giving me this error:

5.   Execute Modification   ./Sources/Subs-Members.php   Test failed
1.   Add Before   ./Sources/Subs-Members.php   Test successful
2.   Replace   ./Sources/Subs-Members.php   Test failed

Steps I tried so far:
set package emulation to version 2.0 and install the mod - still have the same problme
chmod'ed the ./Sources/Subs-Members.php to 777 - still have the same problem

Below are my forum information:
PHP version - 5.2.17
SMF version - 2.0.2
./Sources/Subs-Members.php permission is 644
I'm also using cpanel.

Mods currently installed:
SimplePortal
Add Join Date to Post
Related Topics
Copyright and Footer Links
reCAPTCHA for SMF
Topic Descriptions
Most Popular Topic Today
Tidy Child Boards
Simple Audio Video Embedder
GoogAd Mod
Sitemap
PM Quote
FancyBox 4 SMF
Additional Instant Messengers
FAQ Mod
Admin Notepad

Any help will be greatly appreciated. Thank you very much.

Kindred

Слaва
Украинi

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."

Refalm

How do I change my settings so spammers will not be able to register at all, as opposed to me needing to approve/disapprove them?

I already use httpBL, but I get spammed so heavily that it's ridiculous.

snoopy_virtual


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.

Storman™

I understand from StopForumSpam that they frequently get forum trolls (and such like) reported to them when in fact the culprit has just been a pain and not actually spammed a forum. Never thought about this before but I guess some forum owners have been reporting troublesome members as spammers when they haven't actually "spammed" a forum, they've just been a pain in other ways.

On the SFS website it's currently possible to add "evidence" so that actual spam postings can be seen. However, due to the high number of trolls being reported they are apparently going to be moving to an "evidence required" submission system so that only legitimate spammers are reported (and not trolls).

That sounds good as the spam data will be more accurate but it does raise questions on how this (and other) mods will operate so that spam "evidence" can be submitted.

I can see that a complete rewrite may well be forthcoming and many such mods could be made redundant if changes take place without mod writers consulting the chaps at SFS.

Suspect a substantial number of SMF owners rely on the current mods so the impact could be substantial.

One to think about....  ;)

ruskan

I just upgraded to smf 1.1.16, and it appears my Stop Spammer is not working. This has been a great program, will it be compatible with 1.1.16 soon? Any other suggetions? Many thanks.

snoopy_virtual

Quote from: Storman on March 31, 2012, 01:49:35 PM
...
On the SFS website it's currently possible to add "evidence" so that actual spam postings can be seen. However, due to the high number of trolls being reported they are apparently going to be moving to an "evidence required" submission system so that only legitimate spammers are reported (and not trolls).
..-

It has been like that for a couple of years. In fact we also created another version of this mod used to build spam traps and sent the evidence automatically to SFS to improve the spammers database.

It has been now a few months since the last time I talked with Paul (aka pedigree, the admin in SFS website) about that, but as soon as I have some time I will contact him again.

Quote from: ruskan on April 17, 2012, 11:17:35 AM
I just upgraded to smf 1.1.16, and it appears my Stop Spammer is not working. This has been a great program, will it be compatible with 1.1.16 soon? Any other suggetions? Many thanks.

I haven't got just now any test forum with smf 1.1.16

As soon as I have some spear time I will build one to see what's wrong with it.

In the mean time you can try using mod httpBL The last time I checked that one was with smf 1.1.14 but I suppose it should be compatible with newer versions. Let me know if that one is not compatible either.

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.

busterone

Quote from: snoopy_virtual on April 17, 2012, 12:18:09 PM

It has been like that for a couple of years. In fact we also created another version of this mod used to build spam traps and sent the evidence automatically to SFS to improve the spammers database.

It has been now a few months since the last time I talked with Paul (aka pedigree, the admin in SFS website) about that, but as soon as I have some time I will contact him again.
From my understanding, the evidence field requirement will not apply to those of us running traps, but for individuals that are reporting the occasional spammer from their live sites.  Of course, the SMF traps that we have already submit the evidence anyway, but there are also honeypots using PHPBB, Vbulletin, and several others as well. I don't know how they are set up.  Paul and the rest of the staff are discussing the pros and cons about it, and have been for a few weeks.  Drop in over there when you can Snoopy.   :)

snoopy_virtual

Yes, I should have been passing there more often, but it has not been easy since I started working with the rock band. It keeps me busy more than 10 hours a day, but I will make an effort.

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.

busterone

I miss the old band days sometimes. That was 30 years ago. Then I think of being on the road all the time and remember why I don't miss it as much as I thought I did. :)

snoopy_virtual

Yep, it's a lot of hard work, but it's a lot of fan too. And you have your compensations when you finish a recording as good as the last one we did.

Did you hear it? I suppose you will enjoy it a little more when I finish translating the lyrics into English. lol

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.

AumoeLooure

First of all, the mod worked well, and prevented spammers...but as of today, it keeps insisting that there are three members that need approval, nevermind that every time I attempt to look, it says there are zero suddenly...very very odd.

I did try uninstalling/reinstalling with no luck. It went right back to the way it was...

Thoughts?

Herrie

Great mod!

I'm having 1 problem though:

Quote
8: Undefined index: email
Apply Filter: Only show the errors from this file
File: /home/rwadvent/public_html/forum/Sources/Register.php
Line: 377
When I check the source in Register.php I don't see anything wrong?

This is the exact line where the error is:
Quote
if ($regOptions['spammer'] = checkDBSpammer($user_info['ip'], !empty($_POST['user']) ? $_POST['user'] : '', $_POST['email']))

A bit more code in front and after this line
Quote
// Set the options needed for registration.
   $regOptions = array(
      'interface' => 'guest',
      'username' => !empty($_POST['user']) ? $_POST['user'] : '',
      'email' => !empty($_POST['email']) ? $_POST['email'] : '',
      'password' => !empty($_POST['passwrd1']) ? $_POST['passwrd1'] : '',
      'password_check' => !empty($_POST['passwrd2']) ? $_POST['passwrd2'] : '',
      'openid' => !empty($_POST['openid_identifier']) ? $_POST['openid_identifier'] : '',
      'auth_method' => !empty($_POST['authenticate']) ? $_POST['authenticate'] : '',
      'check_reserved_name' => true,
      'check_password_strength' => true,
      'check_email_ban' => true,
      'send_welcome_email' => !empty($modSettings['send_welcomeEmail']),
      'require' => !empty($modSettings['coppaAge']) && !$verifiedOpenID && empty($_SESSION['skip_coppa']) ? 'coppa' : (empty($modSettings['registration_method']) ? 'nothing' : ($modSettings['registration_method'] == 1 ? 'activation' : 'approval')),
      'extra_register_vars' => array(),
      'theme_vars' => array(),
   );

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

Does anyone have an idea on how to sort this?

J.G

Quote
    Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.

Just upon installing this Mod, I got this error message when looking at the settings on the Admin Panel. Do we know why this is?

busterone

Have you obtained an API from SFS, and have you input that API in the admin area for this mod? 

snoopy_virtual

Quote from: J.G on June 29, 2012, 03:23:23 AM
Quote
    Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.

Just upon installing this Mod, I got this error message when looking at the settings on the Admin Panel. Do we know why this is?

Quote from: busterone on June 29, 2012, 08:39:35 AM
Have you obtained an API from SFS, and have you input that API in the admin area for this mod? 

For mod StopSpammer you only need an API if you want to report new spammers. You don't need one for the mod working normally.

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.

busterone

Ahh, you are right. I was thinking of httpBL instead.  It's possible that SFS was down at the moment.   :)

Sudhakar Arjunan

Wonderful mod i have every admired.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

MoreBloodWine

So I guess that even though this mod hasn't been touched in some time that it still works good ?

Want to use it on a new site... seems to still be working good on the one site it's been on for over a yr now. I'm just curious if anythings changed that might need to be addressed.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Advertisement: