Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: M-DVD on December 31, 2008, 07:31:43 AM

Title: Stop Spammer
Post by: M-DVD on December 31, 2008, 07:31:43 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=1547)

MOD Stop Spammer v2.4.0
==================


Author:Matthias (https://www.simplemachines.org/community/index.php?action=profile;u=389)
Past Releases:M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997) and snoopy_virtual (http://custom.simplemachines.org/mods/index.php?action=profile;u=68708)
Version:2.4.0
Release:5th February 2021
Compatible With:SMF 1.1.1 - 1.1.12
SMF 2.0.15 - 2.0.18
Languages:




Read FAQ (http://www.simplemachines.org/community/index.php?topic=283309.msg1920848#msg1920848)

Features:

If you don't know how this mod works you can find more info here (http://custom.simplemachines.org/mods/index.php?mod=1547) and inside the official mod's support thread (http://www.simplemachines.org/community/index.php?topic=283309.0).

Thanks to 'Stop Forum Spam' for your DB and APIs.

Thanks to WhatsTheRent (http://www.simplemachines.org/community/index.php?action=profile;u=139580) and KahneFan (http://www.simplemachines.org/community/index.php?action=profile;u=130133) for idea.
Title: Re: Stop Spammer
Post by: uberjon on December 31, 2008, 08:10:21 AM
are there any adjustable settings? i don't see any in the acp? looks great on paper so far. hope its as good in reality!
Title: Re: Stop Spammer
Post by: Acans on December 31, 2008, 09:53:43 AM
This will work with keeping auto's that post links and porn and such right?, or does one need to be banned first
Title: Re: Stop Spammer
Post by: uberjon on December 31, 2008, 10:23:43 AM
Quote from: α¢αηѕ on December 31, 2008, 09:53:43 AM
This will work with keeping auto's that post links and porn and such right?, or does one need to be banned first

if i add a bot to the SFS (stop forum spam) database, and the bot trys to register on your site it will detect it as a bot ;)
Title: Re: Stop Spammer
Post by: WhatsTheRent on January 01, 2009, 03:47:29 PM
Thanks for doing this, I think it will be very helpful is stopping spam.  That database is actually quite large and gets updated often

Is there a master on/off switch for this app somewhere in the settings?

thanks again
Title: Re: Stop Spammer
Post by: M-DVD on January 02, 2009, 10:15:18 PM
Quote from: uberjon on December 31, 2008, 08:10:21 AM
are there any adjustable settings? i don't see any in the acp? looks great on paper so far. hope its as good in reality!

No, not yet. Installed and working.

Maybe, then add an option to enable and disable.

Quote from: α¢αηѕ on December 31, 2008, 09:53:43 AM
This will work with keeping auto's that post links and porn and such right?, or does one need to be banned first

If you already have registered spammer, then not, you have to manually banned or delete.

The MOD, blocks Spammer at the time they are register.

Once blocked you can check if it was a false positive, you can left blocked, reject, delete or ban.

It also has a counter of all the blockade that has made the MOD.

Quote from: uberjon on December 31, 2008, 10:23:43 AM
if i add a bot to the SFS (stop forum spam) database, and the bot trys to register on your site it will detect it as a bot ;)

Yes, thanks :)

In the DB of SFS there are many Spammer reported that serve everyone. And everyone can contribute reporting more and more spammer and increase the DB.

Quote from: WhatsTheRent on January 01, 2009, 03:47:29 PM
Thanks for doing this, I think it will be very helpful is stopping spam.  That database is actually quite large and gets updated often

Is there a master on/off switch for this app somewhere in the settings?

thanks again

Thank you. In the next version, I will add this function.

If have more ideas for improving the mod and add more features, then I can do one update with all the latest features.

Title: Re: Stop Spammer
Post by: edi67 on January 04, 2009, 05:31:52 AM
let me try
Title: Re: Stop Spammer
Post by: edi67 on January 04, 2009, 05:51:40 AM
weel i noticed one problem , installed and all work ok but here is one problem for over 1 hour i trying to register as new user in my forum using data of spammer (email or name of spammer registered in Stop forum Spam) and for all this time i cannot register cause my registration form give me always his error:

Error with DB Anti SPAM. Connection Failed.

Well as i see nobody can register in my forum when MOD cannot connect to DB of stop frm spam, and this happen a lot o time... so i need to unistall it for make my users register without problem.
Some solution for have one connectionmore stable ?
Title: Re: Stop Spammer
Post by: M-DVD on January 04, 2009, 12:41:03 PM
Quote from: edi67 on January 04, 2009, 05:51:40 AM
weel i noticed one problem , installed and all work ok but here is one problem for over 1 hour i trying to register as new user in my forum using data of spammer (email or name of spammer registered in Stop forum Spam) and for all this time i cannot register cause my registration form give me always his error:

Error with DB Anti SPAM. Connection Failed.

Well as i see nobody can register in my forum when MOD cannot connect to DB of stop frm spam, and this happen a lot o time... so i need to unistall it for make my users register without problem.
Some solution for have one connectionmore stable ?

Hi.

Can be three cases:

1.- The StopForumSpam website was down at that time. (*)

2.- The SFS website has no range up to your site host. (*)

(*) sorry if my translation isn't a sentence technically correct.

3 .- Your host has disabled fsockopen().

For this case you can try this mod. cURL fetch_web_data (http://www.simplemachines.org/community/index.php?topic=282969.msg1857198#msg1857198)
Title: Re: Stop Spammer
Post by: WVHunter on January 27, 2009, 09:58:52 PM
I have the same issue as reported by someone else.

I have a person trying to register.  I have exchanged emails with him several times and walked him through the steps of registering.  Telling him to make sure he types the letters in the box as exact (Spam Bot Mod) and to answer the question that is asked (I believe this is your Mod - Stop Spammer).

He is reporting the following:

An Error Has Occurred! Error with DB Anti SPAM. Connection Failed.

He has tried twice to register and cannot.

Does your Mod work with SMF 1.1.7 and the Mercury Theme?

I am currenlty trying your cURL fix, but don't know if I need it or not.

Thanks in advance.
Title: Re: Stop Spammer
Post by: M-DVD on January 27, 2009, 10:33:36 PM
Yes, it works with SMF 1.1.X, and the theme shouldn't influence the register.
   
Only happens to that person? Have you tried registering yourself?

Try using the MOD aldo's (http://www.simplemachines.org/community/index.php?topic=282969.msg1857198#msg1857198). I think that your host server haven't enabled fsockopen function, then, you can try using cURL.

Otherwise should be the other cases.

Tell me the results.
Title: Re: Stop Spammer
Post by: WVHunter on January 27, 2009, 11:46:06 PM
Quote from: M-DVD on January 27, 2009, 10:33:36 PM
Yes, it works with SMF 1.1.X, and the theme shouldn't influence the register.
   
Only happens to that person? Have you tried registering yourself?

As far as I know with that one person, yes.  Yes I registerd my self with another identity and email.  It worked for me once, but after deleting that account I tried again since this other person told me of his problem.  Now I get registered buy am not getting my activation code email.  Tried several times now and nothing.

QuoteTry using the MOD aldo's (http://www.simplemachines.org/community/index.php?topic=282969.msg1857198#msg1857198). I think that your host server haven't enabled fsockopen function, then, you can try using cURL.

I have downloaded and installed this MOD as well and still nothing.  I get registered and not getting my activation code email.

Activation code email is enabled in registration setup.
Title: Re: Stop Spammer
Post by: M-DVD on January 28, 2009, 08:26:57 PM
Ok, let me sort the ideas, i think i understood.

1.- Installing the MOD.

2.- Making the test, you registered pretending to be a normal user (in action=register) (not from the administration panel). And you registered with no problems.

3.- Later, a user will notify you the problem.

What was the problem? Would not connect with the DB? not had the activation code?.

¿I understood right?
Title: Re: Stop Spammer
Post by: HR on February 04, 2009, 09:46:31 AM
Any idea as t owhen you'll be putting in the 'off switch'?
Title: Re: Stop Spammer
Post by: M-DVD on February 04, 2009, 07:24:05 PM
Quote from: HR on February 04, 2009, 09:46:31 AM
Any idea as t owhen you'll be putting in the 'off switch'?


Yes, in this weeks, I will release a new version that will have some improvements, and also it function. :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 06, 2009, 01:40:10 AM
Hi M-DVD

First of all thanks for your work.

I was having a lot of work fighting spammers until I found www.stopforumspam.com because I administer 10 different forums.

My first idea when I found them was to do a mod myself for SMF, but then I found your mod already done, so if you don't mind I am going to use your mod instead and try to add a few things if I can.

The fist thing I have found is a small mistake in your function chekDBSpammer.

I found it because I had in one of the forums I administer 600 members before I installed your mod.

In this particular forum 3 months ago there were only 30 members (it was open 2 years ago) and I was sure it was impossible all these 570 new members were all honest ones, so I started checking one by one in www.stopforumspam.com

That's a lot of ctrl+c ctrl+v so I decided to add to your mod a button to check all the members already in the forum in just one "click".
But it didn't work. I was getting all the time the same message some people are reporting here:

An Error Has Occurred! Error with DB Anti SPAM. Connection Failed.

Then I did instead a button to check just one member and everything was going right until I arrived to a particular member that was giving me the same error message again all the time.

Then I realized the difference. This member had chosen a username with a white space in the middle.

For example if you check username=pericolospalotes or username=perico_los_palotes you get no error, but if you check username=perico los palotes you get that error.

Then I went to www.stopforumspam.com and try to check manually that username and found out that their search script had changed it to username=perico+los+palotes

So the solution is obvious:

I just added the line:


$check_name = str_replace(" ", "+", $check_name);


Just at the beginning of the function, after the line:


global $sourcedir;


And now I have no problem with the buttons and I can check all the 600 members in less than 2 seconds. (By the way, 550 of them were actually spammers. I knew it.)

May be the people that were getting the same error were checking also usernames with white space in the middle. If this is the case it will be sorted just adding that line.

If you want to add to your mod the button to check all the members in the forum, the code I have been using is:


$result = db_query("
  SELECT ID_MEMBER, memberName, emailAddress, memberIP
  FROM {$db_prefix}members
", __FILE__, __LINE__);

while ($row = mysql_fetch_assoc($result))
{
  $members[] = array(
    'id' => $row['ID_MEMBER'],
    'username' => $row['memberName'],
    'email' => $row['emailAddress'],
    'ip' => $row['memberIP']
  );
}
mysql_free_result($result);

foreach ($members as $member)
{
  $userid = $member['id'];
  $grado_spam = chekDBSpammer($member['ip'], $member['username'], $member['email']);
  if ($grado_spam != 0)
  {
    db_query("
      UPDATE {$db_prefix}members
      SET is_spammer = $grado_spam
      WHERE ID_MEMBER = $userid
    ", __FILE__, __LINE__);
  }
}


Anyway it's not finished, it has a few mistakes.

For example it set is_spammer = 2 to honest members with common names like "george" or "ruth", so I will need to add another button to tell the script "this member is not spammer" (I have been doing it today changing it manually inside the database, as they were just a few of them) and I will need to finish the HTML to put it properly inside the template (I have been using it in a separate page just linked to the forum via SSI) but it's a start.

Anyway I am more interested in develop a couple of buttons properly done inside the profile page (in admin mode only, of course). One for "check this user to see if it's a spambot" (if I am suspicious with somebody)  and another one for "Submit this member's details to stopforumspam database" (before I delete a spammer).

If I have some free time and I do them before you do them yourself I will send you the code.

And again congratulations for your work.

I really like the way you write code.  ;)
Title: Re: Stop Spammer
Post by: M-DVD on February 06, 2009, 08:24:23 AM
Quote from: snoopy_virtual on February 06, 2009, 01:40:10 AM
Hi M-DVD

First of all thanks for your work.

Thank you.

Quote from: snoopy_virtual on February 06, 2009, 01:40:10 AM
In this particular forum 3 months ago there were only 30 members (it was open 2 years ago) and I was sure it was impossible all these 570 new members were all honest ones, so I started checking one by one in www.stopforumspam.com

That's a lot of ctrl+c ctrl+v so I decided to add to your mod a button to check all the members already in the forum in just one "click".

If I understand correctly, precisely is (* similar) to one of the improvements that will bring the next version (which I don't know whether to call it version 1.1 or 2.0). :P

(*) Exactly so: "One for "check this user to see if it's a spambot" (if I am suspicious with somebody)"

Quote from: snoopy_virtual on February 06, 2009, 01:40:10 AM
But it didn't work. I was getting all the time the same message some people are reporting here:

An Error Has Occurred! Error with DB Anti SPAM. Connection Failed.

Then I realized the difference. This member had chosen a username with a white space in the middle.

For example if you check username=pericolospalotes or username=perico_los_palotes you get no error, but if you check username=perico los palotes you get that error.

Then I went to www.stopforumspam.com and try to check manually that username and found out that their search script had changed it to username=perico+los+palotes

So the solution is obvious:

I just added the line:


$check_name = str_replace(" ", "+", $check_name);


Just at the beginning of the function, after the line:


global $sourcedir;


Thanks, was beginning to think that the error could be in some char. A improvement would allow them to see the users with this problem (it wouldn't prevent its registration, but would give them a different "mark"). But you have saved me a lot of work.   :D


Quote from: snoopy_virtual on February 06, 2009, 01:40:10 AM
And now I have no problem with the buttons and I can check all the 600 members in less than 2 seconds. (By the way, 550 of them were actually spammers. I knew it.)

If you want to add to your mod the button to check all the members in the forum, the code I have been using is:


$result = db_query("
  SELECT ID_MEMBER, memberName, emailAddress, memberIP
  FROM {$db_prefix}members
", __FILE__, __LINE__);

while ($row = mysql_fetch_assoc($result))
{
  $members[] = array(
    'id' => $row['ID_MEMBER'],
    'username' => $row['memberName'],
    'email' => $row['emailAddress'],
    'ip' => $row['memberIP']
  );
}
mysql_free_result($result);

foreach ($members as $member)
{
  $userid = $member['id'];
  $grado_spam = chekDBSpammer($member['ip'], $member['username'], $member['email']);
  if ($grado_spam != 0)
  {
    db_query("
      UPDATE {$db_prefix}members
      SET is_spammer = $grado_spam
      WHERE ID_MEMBER = $userid
    ", __FILE__, __LINE__);
  }
}


Anyway it's not finished, it has a few mistakes.

For example it set is_spammer = 2 to honest members with common names like "george" or "ruth", so I will need to add another button to tell the script "this member is not spammer" (I have been doing it today changing it manually inside the database, as they were just a few of them) and I will need to finish the HTML to put it properly inside the template (I have been using it in a separate page just linked to the forum via SSI) but it's a start.

Wow, this idea is very good, ¿i can add this feature in the MOD?  :P

Quote from: snoopy_virtual on February 06, 2009, 01:40:10 AM
If I have some free time and I do them before you do them yourself I will send you the code.

And again congratulations for your work.

I really like the way you write code.  ;)

The updating I have made already, I expected test it today or tomorrow. (If I add your code, maybe, it will take tomorrow or sunday).

Thank you too :D
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 07, 2009, 06:28:53 AM
You can use and modify any part of my code you want. No problem at all.

I think that free code is always better (that's why I use Linux)  :)

Just another small bug. Well, it's not a different one, it's the same one really but in your function sprintfspamer:

The variable $value can be either the username, the email, etc and you send a query to stopforumspam with that value:


<a href="http://www.stopforumspam.com/search?q=' . $value . '" target="_blank">


If $value is the username and it has white space, we have the same problem as before, so I would change the function like this:


function sprintfspamer($value, $url, $is_spamer, $type)
{
global $txt, $settings;

$value2 = str_replace(" ", "+", $value);
$format1 = ($is_spamer && $is_spamer >> ($type - 1) & 1)
? '<a href="http://www.stopforumspam.com/search?q=' . $value2 . '" target="_blank"><img src="' . $settings['images_url'] . '/icons/spammer.gif" alt="[' . $txt['manage_search'] . ']" title="' . $txt['stopspammer_title'] . '" style="vertical-align: middle" /></a>'
: '';
$format2 = $is_spamer ? array('<span class="error">', '</span>') : array('', '');

return $format1 . '<a href="'. $url . '">' . implode($value, $format2) . '</a>';
}


Note that I have changed $value with $value2 only in the query, not inside the last line. This way you send the query without white space but you leave untouched the name when you write it on the screen.




By the way, I think the way you use the binary numbers in the line:


$format1 = ($is_spamer && $is_spamer >> ($type - 1) & 1)


Is just brilliant. I really love it.

Do you know that in this world there are 10 kind of people?

  - Those who understand binary numbers.

  - And those who don't.

8)




Another idea I was just starting to develop is a button to submit the details of any spammer to stopforumspam's database.

The first thing you will need is a link (somewhere in the admin section) to stopforumspam to request an API key, because to be allowed to submit spammers details to stopforumspam's database you need to get one first.

The link need to point to:

http://www.stopforumspam.com/signup

And you will need an option to save the API key inside the settings table in our database to have it later as the variable $modSettings['api_key']

You could also add another value to the members database (apart from the value is_spamer to see if the member is a bad guy) another one to see if the details had been already submited (just a "yes" or "no").

Then inside the profile page of every member Profile.template.php you can add a conditional:

If (this guy is a spammer && the details hadn't been submitted yet)
{
    if (we already have an API key)
    {
        echo a button to submit details
    }
    else
    {
        echo the link to get an API key and the option to save it in the database
    }
}

The button could be a link to $scripturl . '?action=profile2; with a new subaction sa=submitSpammer

Then inside Sources/Profile.php we put a new function for this new subaction to actually submit the details.

There are a couple of ideas inside stopforumspam to do that.

I like for example this one:


function PostToHost($host, $path, $data_to_send) {
    $fp = fsockopen($host,80);
    fputs($fp, "POST $path HTTP/1.1\n" );
    fputs($fp, "Host: $host\n" );
    fputs($fp, "Content-type: application/x-www-form-urlencoded\n" );
    fputs($fp, "Content-length: ".strlen($data_to_send)."\n" );
    fputs($fp, "Connection: close\n\n" );
    fputs($fp, $data_to_send);
    fclose($fp);
}

PostToHost("www.stopforumspam.com", "/post.php", "username=" . $member['username'] . "&ip_addr=" . $member['ip'] . "&email=" . $member['email'] . "&api_key=" . $modSettings['api_key']);


The only thing I don't know is what will happen if the username has white space.

Maybe we will need to change it to "+" or to "%20" before submit it. I don't know.

I will try it and I will tell you.
Title: Re: Stop Spammer
Post by: M-DVD on February 07, 2009, 09:10:09 AM
Quote from: snoopy_virtual on February 07, 2009, 06:28:53 AM
You can use and modify any part of my code you want. No problem at all.

I think that free code is always better (that's why I use Linux)  :)

Thanks, I will add this feature.  :D

I am not yet decided whether to put a button to check all members, or (using the list) to review only selected members.  :-\

Quote from: snoopy_virtual on February 07, 2009, 06:28:53 AM
Just another small bug. Well, it's not a different one, it's the same one really but in your function sprintfspamer:

The variable $value can be either the username, the email, etc and you send a query to stopforumspam with that value:


<a href="http://www.stopforumspam.com/search?q=' . $value . '" target="_blank">


If $value is the username and it has white space, we have the same problem as before, so I would change the function like this:

Thanks again. This function had many changes to adapt to the new version v1.1, but hadn't corrected this.  :-[


Quote from: snoopy_virtual on February 07, 2009, 06:28:53 AM
By the way, I think the way you use the binary numbers in the line:


$format1 = ($is_spamer && $is_spamer >> ($type - 1) & 1)


Is just brilliant. I really love it.

Do you know that in this world there are 10 kind of people?

  - Those who understand binary numbers.

  - And those who don't.

8)

Yes XD.

This line also changes.

$suma += ('yes' == $q_is_spammer[2][$key]) * ('ip' == $value ? 1 : ('username' == $value ? 2 : 4));

Now:

$suma += ('yes' == $q_is_spammer[2][$key]) << ('ip' == $value ? 0 : ('username' == $value ? 1 : 2));

The binary operations better and faster than arithmetic operations :P

Quote from: snoopy_virtual on February 07, 2009, 06:28:53 AM
Another idea I was just starting to develop is a button to submit the details of any spammer to stopforumspam's database.

The first thing you will need is a link (somewhere in the admin section) to stopforumspam to request an API key, because to be allowed to submit spammers details to stopforumspam's database you need to get one first.
--
The only thing I don't know is what will happen if the username has white space.

Maybe we will need to change it to "+" or to "%20" before submit it. I don't know.

I will try it and I will tell you.

I had intended to include the APIkey, but, It is a good idea?, while i decide this, i think leave this feature for another version, although it would be better in a single release.

--

Good text in your signature  8)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 07, 2009, 09:58:22 AM
Quote from: M-DVD on February 07, 2009, 09:10:09 AM

I am not yet decided whether to put a button to check all members, or (using the list) to review only selected members.  :-\


Maybe better only with selected members, because anyway if you try to check too many in one go sometimes the server reach the time execution limit and the script just stop working.


Quote from: M-DVD on February 07, 2009, 09:10:09 AM

This line also changes.

$suma += ('yes' == $q_is_spammer[2][$key]) * ('ip' == $value ? 1 : ('username' == $value ? 2 : 4));

Now:

$suma += ('yes' == $q_is_spammer[2][$key]) << ('ip' == $value ? 0 : ('username' == $value ? 1 : 2));

The binary operations better and faster than arithmetic operations :P


I was going to tell you that as well and forgot it.

Better like that.

Quote from: M-DVD on February 07, 2009, 09:10:09 AM

I had intended to include the APIkey, but, It is a good idea?, while i decide this, i think leave this feature for another version, although it would be better in a single release.


I think it's a good idea, but of course it's up to you. It's not a big deal to send them manually, but the problem is that I am too lazy and always prefer to have as much as possible with just one click.  8)

I will wait anyway to see your new version to see what options you add and then I will try it to see if I still miss anything.

Quote from: M-DVD on February 07, 2009, 09:10:09 AM

Good text in your signature  8)


I don't remember where I got it from, but it's because I don't like the people who talk when they have nothing important to say.  ;)

(For the english people, the text in my signature means: "The true wise man is the one who see a lot, study a lot, analyse a lot and disturb very little")
Title: Re: Stop Spammer
Post by: M-DVD on February 08, 2009, 01:51:13 PM
MOD Stop Spammer v2.0
=================


New features:

How do I upgrade?

MOD Stop Spammer v2.1
=================



=======================================

Características Nuevas:

¿Como actualizar?

MOD Stop Spammer v2.1
=================



¿Como actualizar?
Title: Re: Stop Spammer
Post by: M-DVD on February 08, 2009, 01:59:03 PM
FAQ MOD Stop Spammer v2.0
====================


Index


Introduction Up (#post_index)

This MOD allows check the members at the time of registration by comparing their data with the Spammer DB of Stop Forum Spam.

Also You can check or report any members in any time with one simple click.

The spammers found, are placed in state approval, and may not hurt your forum. It isn't necessary to have enable the option member approval, this automatically is activated for spammers detected, and not disturb your members.

Installation Up (#post_index)

This mod makes many changes, but although you have many MODs installed and use another theme, 95% will can install automatically without problems. (*)

(*)If you don't use the default theme, only upload the images (spammer.gif, suspect.gif, moreinfo.gif) to the folder $imagesdir/icons. And in the SMF 2.0, this isn't necessary, also is automatic.

The changes occur in files that don't affect the operation common in the forum. Therefore, it is not a burden.

DataBase Spammers Up (#post_index)

This MOD works with the online DB of Stop Forum Spammers Web. No need to download or install DB. Is consulted online and is always updated.

Test Host Remote Connection Up (#post_index)

The MOD automatically makes a test to determine if your host can make remote connection to the DB SFS.

Admin > Members > Registration > Setting



You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85497;image)
If this message appears,
then your host can make remote connection.
You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85499;image)
In this case, couldn't make connection.
It is possible that later works it.

Connection Fails Up (#post_index)

Even if your host can do remote connection, could fail in the time that a member is registering.

You can choose the action to take automatically the MOD if this happens

Admin > Members > Registration > Setting

You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85501;image)


  • Show Error and Stop Registration.
  • Allow Immediate Registration.
  • Member Approval and show icon for check ("yellow alert", my fav)

Known Issues Up (#post_index)

Your host never make remote connection and always get the warning.

Your host maybe not have enabled the function fsockopen. Try installing this MOD (http://www.simplemachines.org/community/index.php?topic=282969.msg1857198#msg1857198), and then repeat the test.

Icon Links for More Info Up (#post_index)

You can do click in the Icon 'More Info' and get more details of activity spammers from this data.

Admin > Members > View All Members / Awaiting Approval


You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85503;image)
Doing click in icon to IP = 84.19.176.191
You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85505;image)
This data appears in the database 111 times.

Icon Links and Alert Color Up (#post_index)

There are three types of icons (alerts).

Admin > Members > View All Members / Awaiting Approval

Red Icon: This data was found in the DB. You can find more information clicking about his activity.

Icon Blue: The data wasn't in the DB at the time it was revised, or the MOD wasn't yet installed. You can check it with a simple click.

Yellow Icon: This member couldn't be revised because failed to connect with the DB. You can check it manually with a click.

You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85507;image)


  • perico palote couldn't be check
  • buy soma has been found in the DB, but not his IP
  • New Spammers nick and mail wasn't in the DB, but his IP yes

Check Selected Members Up (#post_index)

Also you can check member, that you have suspicion or who haven't been checked because the MOD wasn't installed.

Admin > Members > View All Members

You can check many members with only one click.



You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85509;image)

  • I have suspicion of bispswitype, mice of men george and perico palote 2.
  • perico palote couldn't be check, then i do check now.
You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85511;image)

  • Yeah, mice of men george and bispswitype are spammers
  • perico palote and perico palote 2 turned out to be innocent

Report Spammers or more data Up (#post_index)

You can report new data with a simple click.

Admin > Members > View All Members



You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85513;image)

  • OreriEPn wasn't in the DB, but he was spamming in my forum.
  • buy soma was found in the DB and his mail, but not this IP, new IP?.
You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85515;image)

  • Yes, I have already reported these spammers.

What to do? Up (#post_index)

In the list of Awaiting Approval, you can decide what to do with the spammers and with the innocent.

Admin > Members > Awaiting Approval



You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85568;image)

  • perico palote was suspicious, and already it isn't. I can approve it.
You should be logged for see this image (http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85570;image)

  • These are spammers, I can reject them.

You are free to translate this FAQ
Title: Re: Stop Spammer
Post by: WVHunter on February 08, 2009, 10:16:27 PM
I am using the Mercury Theme on my SMF forum Version 1.1.8.  I uploaded and install your MOD to my site and I do not see it anywhere when I am on the admin side of my forum.

I go to Admin > Members > Registration > Setting

and go down to the bottom where your image shows that it should be but nothing.

Any ideas as to why.  The upload and the install seemed to work fine with no error messages at all.
Title: Re: Stop Spammer
Post by: M-DVD on February 08, 2009, 10:36:28 PM
Attach your Register.template.php

Are there errors in the log error?

Note: stopforumspam is down in this moment ???? :o >:(
Title: Re: Stop Spammer
Post by: WVHunter on February 08, 2009, 11:22:48 PM
Quote from: M-DVD on February 08, 2009, 10:36:28 PM
Attach your Register.template.php

Are there errors in the log error?

Note: stopforumspam is down in this moment ???? :o >:(

This is from Themes/default

Themes/mercury11rc3 doesn't have a Register.template.php in it.  In fact it doesn't have a lot of the files that are in the Themes/default directory.

This is the only time I found an error in the ERROR LOG for Stop Spammers:

Guest                                                      Today at 09:27:50 PM 
89.149.254.XXX (I blocked the last three numbers)  f01b5ab83b530bdbcbc591cf6c08e504 
MY FORUM URL WAS HERE - REMOVED BY ME
Error with DB Anti SPAM. Connection Failed.

Don't know if it was working or not, but again I don't see any settings for me to use when I go to Admin, Members, Registration, Setting

Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2009, 07:49:40 AM
I can see in your Register.template.php file that you haven't done any modification in it.

It is exactly as it comes from SMF in the first place.

Are you sure this is the Register.template.php as it is just now inside your server inside the Themes/default folder?

If so, try to uninstall the mod and install it again or try to follow the steps for "manual installation".
Title: Re: Stop Spammer
Post by: jenkjenk on February 09, 2009, 08:03:07 AM
i'm interest translate your program to thai lang :)
Title: Re: Stop Spammer
Post by: M-DVD on February 09, 2009, 08:49:20 AM
Quote from: WVHunter on February 08, 2009, 10:16:27 PM
I am using the Mercury Theme on my SMF forum Version 1.1.8.  I uploaded and install your MOD to my site and I do not see it anywhere when I am on the admin side of my forum.

I go to Admin > Members > Registration > Setting

and go down to the bottom where your image shows that it should be but nothing.

Any ideas as to why.  The upload and the install seemed to work fine with no error messages at all.

Answer:
Quote from: snoopy_virtual on February 09, 2009, 07:49:40 AM
I can see in your Register.template.php file that you haven't done any modification in it.

It is exactly as it comes from SMF in the first place.

Yes 

Quote from: WVHunter on February 08, 2009, 11:22:48 PM
This is the only time I found an error in the ERROR LOG for Stop Spammers:

Guest                                                      Today at 09:27:50 PM 
89.149.254.XXX (I blocked the last three numbers)  f01b5ab83b530bdbcbc591cf6c08e504 
MY FORUM URL WAS HERE - REMOVED BY ME
Error with DB Anti SPAM. Connection Failed.

Don't know if it was working or not, but again I don't see any settings for me to use when I go to Admin, Members, Registration, Setting



Yesterday, for a couple of hours, the site was down (at that time).

Quote from: jenkjenk on February 09, 2009, 08:03:07 AM
i'm interest translate your program to thai lang :)

Perfect, no problem, thanks. :)
Title: Re: Stop Spammer
Post by: WVHunter on February 09, 2009, 09:04:55 AM
M-DVD,

I have checked under the Admin > Packages and it says that your mod is installed.

After I upgraded to Version 1.1.8 of SMF, I installed  your mod.  I used the Admin > Packages > Upload Package to upload your mod to my server.  Once uploaded, it showed everything was fine.  There were some files that didn't show "Tested", they were left blank.  Could this be the issue.  Should I make sure that all files are writteable before uploading and installing?

The Register.template.php is from my Themes/default and not from my Mercury 1.1.RC3 theme that I am using.

I am at work right now and have no access to my site...ITO people have that site blocked here at work.  Just lucky they don't have this site blocked.

I really need for your mod to work.

Thanks for your help.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2009, 09:43:30 AM
The installer only changes the Register.template.php file inside the default theme.

If you have another Register.template.php file inside your theme folder you need to do the modifications manually inside it.
Title: Re: Stop Spammer
Post by: WVHunter on February 09, 2009, 10:17:58 AM
Quote from: snoopy_virtual on February 09, 2009, 09:43:30 AM
The installer only changes the Register.template.php file inside the default theme.

If you have another Register.template.php file inside your theme folder you need to do the modifications manually inside it.

The Mercury theme has no Register.template.php file in it.  I checked that last night when M-DVD asked me to attach the Register.template.php file.  I could only find that file in the Themes/default directory.  All the other themes didn't have a Register.template.php file.
Title: Re: Stop Spammer
Post by: M-DVD on February 09, 2009, 10:31:48 AM
Also, you can check the support forum (http://www.simplemachines.org/community/index.php?board=9.0) if some people have had this problem installing MODs after updated to 1.1.8, or open an topic.

The problem that you mention is "mysterious", not seems about this or any other MOD. It seems something extra. Those files have write permission? Will be another problem?

Title: Re: Stop Spammer
Post by: WVHunter on February 09, 2009, 01:43:36 PM
M-DVD and snoopy_virtual,

I have it working now!   :D

I removed the earlier version of Stop Spammer that I installed yesterday afternoon.  I then downloaded the new version.  I went to my Administrative side of my SMF board and made all files writeable, then I proceeded with the upload and the install of the MOD.

Everything went fine.  I know have the settings info on my Registration > Settings.

One issue I found...the image files (gif) did not load over into my Mercury theme Icon directory.  I unzipped the MOD and saved it to my hard drive and then FTP'd the images up to my Icon directory under the Mercury theme.

Don't know why they didn't load up during the install.

But now all is okay.  I have the little magnifying glasses and the search works.  It already shows 1 Spammer blocked.

Again THANKS! for all your assistance and advice.  Also for a great MOD!!
Title: Re: Stop Spammer
Post by: HR on February 09, 2009, 01:51:10 PM
Already got the button but I used a different mod/method to create it. Perhaps you could alter it accordingly for your own purposes. My rendition adds to the tracking section so as to not time out or overload anything. Since the variables are already puled and identified its just a matter of submission with the additional API key set in settings.

Of course the submission is not visible if you dont have access to the area OR if its your own profile. As I havent made the button public on my site due to possible hazards (idiots thinking they are banning). IF you consider it pressing it would interfere with registration on ANY form of site that is making use of SFS's database.  Of course if you register there you have the option of removing keys from your profile.. so Im on the fence.

Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2009, 06:49:16 PM
Quote from: WVHunter on February 09, 2009, 01:43:36 PM

I have it working now!   :D


Glad to hear that  ;)

Quote from: WVHunter on February 09, 2009, 01:43:36 PM

One issue I found...the image files (gif) did not load over into my Mercury theme Icon directory.  I unzipped the MOD and saved it to my hard drive and then FTP'd the images up to my Icon directory under the Mercury theme.

Don't know why they didn't load up during the install.


Yes, the installer only upload the 3 icons inside de default/images/icons folder and you need to upload them manually to your theme images/icons folder.

I have been trying to sort this but cannot find how.

M-DVD should add this point to the FAQ
Title: Re: Stop Spammer
Post by: M-DVD on February 09, 2009, 11:50:33 PM
Quote from: HR on February 09, 2009, 01:51:10 PM
Already got the button but I used a different mod/method to create it. Perhaps you could alter it accordingly for your own purposes. My rendition adds to the tracking section so as to not time out or overload anything. Since the variables are already puled and identified its just a matter of submission with the additional API key set in settings.

Of course the submission is not visible if you dont have access to the area OR if its your own profile. As I havent made the button public on my site due to possible hazards (idiots thinking they are banning). IF you consider it pressing it would interfere with registration on ANY form of site that is making use of SFS's database.  Of course if you register there you have the option of removing keys from your profile.. so Im on the fence.

The image look interesting.

Where in the forum you have added this?

If you want you can make and publish this AddOn. :)

Quote from: snoopy_virtual on February 09, 2009, 06:49:16 PM
Quote from: WVHunter on February 09, 2009, 01:43:36 PM

I have it working now!   :D


Glad to hear that  ;)

Me too.

And the FAQ have been updated with this points.

Quote from: HR on February 09, 2009, 01:51:10 PM
Already got the button but I used a different mod/method to create it. Perhaps you could alter it accordingly for your own purposes. My rendition adds to the tracking section so as to not time out or overload anything. Since the variables are already puled and identified its just a matter of submission with the additional API key set in settings.

Of course the submission is not visible if you dont have access to the area OR if its your own profile. As I havent made the button public on my site due to possible hazards (idiots thinking they are banning). IF you consider it pressing it would interfere with registration on ANY form of site that is making use of SFS's database.  Of course if you register there you have the option of removing keys from your profile.. so Im on the fence.

The image look interesting.

Where in the forum you have added this?

If you want you can make and release this AddOn.
Title: Re: Stop Spammer
Post by: HR on February 10, 2009, 07:44:20 AM
URL is link in my signature. Although my particular revision isnt as intrusive as what you have here in terms of file alterations you have some interesting alterations I might be able to play off of like the database of attempts and what not.
Title: Bug Report
Post by: PerryM on February 10, 2009, 08:52:27 AM
Love the concept of the module!!!

However just downloaded and installed v 2.1 in smf 2.0 RC1 and when I try to add a new user from the Admin I get:

The database value you're trying to insert does not exist: is_spammer

Sadly, I must uninstall your module unit this is fixed.

I appreciate the hard work...
Title: Re: Stop Spammer
Post by: HR on February 10, 2009, 09:06:37 AM
Quote from: PerryM on February 10, 2009, 08:52:27 AM
Love the concept of the module!!!

However just downloaded and installed v 2.0 in smf 2.0 RC1 and when I try to add a new user from the Admin I get:

The database value you're trying to insert does not exist: is_spammer

Sadly, I must uninstall your module unit this is fixed.

I appreciate the hard work...
If the section isnt there you could either manually run the code.php file to create the field or use phpmyadmin and manually add it to the members table.
Title: Re: Stop Spammer
Post by: PerryM on February 10, 2009, 09:08:53 AM
Quote from: HR on February 10, 2009, 09:06:37 AM
Quote from: PerryM on February 10, 2009, 08:52:27 AM
Love the concept of the module!!!

However just downloaded and installed v 2.0 in smf 2.0 RC1 and when I try to add a new user from the Admin I get:

The database value you're trying to insert does not exist: is_spammer

Sadly, I must uninstall your module unit this is fixed.

I appreciate the hard work...
If the section isnt there you could either manually run the code.php file to create the field or use phpmyadmin and manually add it to the members table.

Thanks for the hint (I was using v 2.1 by the way).  But I can't have my admins doing this so I'll have to wait for v 2.2.
Title: Re: Stop Spammer
Post by: manicbe on February 10, 2009, 10:17:34 AM
Hi all

I've installed the mod on my forum (SMF 1.1.8 )
I always have the following error:
"Your host couldn't make connection to the DB, Try again later
If it continue see Topic of Support and search Known Issues"

due to the known issue list I've also installed mod "cURL fetch_web_data"

but even after that I've still the same issue

For info:
- I'm using PHP Version 4.4.4
- I've modified all php pages manually as the installer didn't work for me

Does somebody have a clue what I could do to have this mod working because I'm fed up with those spammers :-X

greetz



**edit**
this comes from the errorlog:
2: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Bestand: /home/********/forum/Sources/Subs-Package.php
Regel: 2152
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 10, 2009, 11:05:31 AM
The problem is that the web stopforumspam (who has the spammers database) sometimes is too busy and it's difficult to make a connexion.

Whenever you see the message "Your host couldn't make connection to the DB..." try to enter http://www.stopforumspam.com/search and search theirs DB manually.

If you find out that stopforumspam's web is not responding or is too slow you will know this is the problem.

But if their web is responding fast enough then it will mean your problem is somewhere else.

Let us know one way or the other.
Title: Re: Stop Spammer
Post by: robinrobin on February 10, 2009, 11:20:26 AM
How can i add the "Unapproved users: X" text-link to a custom place on my custom theme?
Title: Re: Stop Spammer
Post by: manicbe on February 10, 2009, 11:22:01 AM
hi snoopy_virtual ,

the web interface is responding as it should , very fast ;)

greetz
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 10, 2009, 11:23:19 AM
Quote from: M-DVD on February 09, 2009, 11:50:33 PM
Quote from: HR on February 09, 2009, 01:51:10 PM
Already got the button but I used a different mod/method to create it. ... etc

The image look interesting.

Where in the forum you have added this?


I don't know in 2.0, but in 1.1.x that's inside Profile.template.php in the function template_trackIP
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 10, 2009, 11:33:38 AM
Quote from: manicbe on February 10, 2009, 10:17:34 AM

**edit**
this comes from the errorlog:
2: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Bestand: /home/********/forum/Sources/Subs-Package.php
Regel: 2152

I see. The error is in your server.

I suppose your server is not in safe mode so it should be the another one. (Check anyway your phpinfo to be sure)

I'll think about it to see if I can help, anyway M-DVD knows better than me cUrl functions, so lets hope he reads this as well and find a solution before me.

Maybe adding something in the php.ini   ???
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 10, 2009, 11:38:51 AM
Quote from: robinrobin on February 10, 2009, 11:20:26 AM
How can i add the "Unapproved users: X" text-link to a custom place on my custom theme?

If you know enough PHP and HTML just take a look at M-DVD's code and modify it anyway you want.

If you don't know enough PHP you will need to pay somebody to do it for you I suppose.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 10, 2009, 12:03:56 PM
For manicbe

I cannot find the error.

  - You said you are using SMF 1.1.8 right? (That's the same one I use)

  - And you also installed mod "cURL fetch_web_data" right? (I haven't got that one though and the mod is working perfect for me)

  - Are you sure you have the latest version 2.1 of the mod?

  - Did you check with phpinfo if your server is in safe mode?
Title: Re: Stop Spammer
Post by: robinrobin on February 10, 2009, 02:48:46 PM
Quote from: snoopy_virtual on February 10, 2009, 11:38:51 AM
If you don't know enough PHP you will need to pay somebody to do it for you I suppose.

Hehe, yeah, as if You usually have to do that with mods. I'm simply asking for that line since the theme i'm using doesn't display it natively and i gotta add it manually. Not trying to rip it off. It's not MY theme. I'm just using a custom one.
Title: Re: Stop Spammer
Post by: HR on February 10, 2009, 04:38:22 PM
Quote from: PerryM on February 10, 2009, 09:08:53 AM
Quote from: HR on February 10, 2009, 09:06:37 AM
Quote from: PerryM on February 10, 2009, 08:52:27 AM
Love the concept of the module!!!

However just downloaded and installed v 2.0 in smf 2.0 RC1 and when I try to add a new user from the Admin I get:

The database value you're trying to insert does not exist: is_spammer

Sadly, I must uninstall your module unit this is fixed.

I appreciate the hard work...
If the section isnt there you could either manually run the code.php file to create the field or use phpmyadmin and manually add it to the members table.

Thanks for the hint (I was using v 2.1 by the way).  But I can't have my admins doing this so I'll have to wait for v 2.2.

You onlly have to add the table the one time after that the error shouldnt happen again
Title: Re: Stop Spammer
Post by: M-DVD on February 10, 2009, 06:35:32 PM
Sorry for respond slow.

Quote from: PerryM on February 10, 2009, 09:08:53 AM
Thanks for the hint (I was using v 2.1 by the way).  But I can't have my admins doing this so I'll have to wait for v 2.2.

Hi.

The install_2.php is fine.

1.- Have you installed manually? If so, you must do added this manually as well.

2.- If you installed automatically then try reinstalling and test.

If the problem appears, go to any place in Administration, and click in the "Save" button anywhere Setting. Then repeat the test.
(*) If this works, I will explain why.


3.-  Also, maybe you have configured it cannot alter the structure of the DB the user-connection Forum's.

Quote from: robinrobin on February 10, 2009, 11:20:26 AM
How can i add the "Unapproved users: X" text-link to a custom place on my custom theme?

This link is showed, when exist members awaiting approval. :)

Quote from: manicbe on February 10, 2009, 10:17:34 AM

**edit**
this comes from the errorlog:
2: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Bestand: /home/********/forum/Sources/Subs-Package.php
Regel: 2152

Answer:

Quote from: snoopy_virtual on February 10, 2009, 11:33:38 AM
I see. The error is in your server.

I suppose your server is not in safe mode so it should be the another one. (Check anyway your phpinfo to be sure)

Maybe adding something in the php.ini   ???

Yes, I think you cannot use cURL or fsockopen.

Check with your host, and informal you need cURL or fsockopen enabled.
Title: Re: Stop Spammer
Post by: PerryM on February 10, 2009, 11:21:30 PM
Quote from: M-DVD on February 10, 2009, 06:35:32 PM
Sorry for respond slow.

Quote from: PerryM on February 10, 2009, 09:08:53 AM
Thanks for the hint (I was using v 2.1 by the way).  But I can't have my admins doing this so I'll have to wait for v 2.2.

Hi.

The install_2.php is fine.

1.- Have you installed manually? If so, you must do added this manually as well.

2.- If you installed automatically then try reinstalling and test.

If the problem appears, go to any place in Administration, and click in the "Save" button anywhere Setting. Then repeat the test.
(*) If this works, I will explain why.


3.-  Also, maybe you have configured it cannot alter the structure of the DB the user-connection Forum's.

Quote from: robinrobin on February 10, 2009, 11:20:26 AM
How can i add the "Unapproved users: X" text-link to a custom place on my custom theme?

This link is showed, when exist members awaiting approval. :)

Quote from: manicbe on February 10, 2009, 10:17:34 AM

**edit**
this comes from the errorlog:
2: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Bestand: /home/********/forum/Sources/Subs-Package.php
Regel: 2152

Answer:

Quote from: snoopy_virtual on February 10, 2009, 11:33:38 AM
I see. The error is in your server.

I suppose your server is not in safe mode so it should be the another one. (Check anyway your phpinfo to be sure)

Maybe adding something in the php.ini   ???

Yes, I think you cannot use cURL or fsockopen.

Check with your host, and informal you need cURL or fsockopen enabled.

Installed the latest version of the Stop Spammer module in RC1 and still get the error:

The database value you're trying to insert does not exist: is_spammer

When trying to add a new member via the Admin CP.

Let me know when the module works and I'll try again.

Title: Re: Stop Spammer
Post by: M-DVD on February 10, 2009, 11:26:41 PM
Check via phpmyadmin if the column is_spammer exist in table smf_member and tell me.

Title: Re: Stop Spammer
Post by: PerryM on February 10, 2009, 11:46:28 PM
Quote from: M-DVD on February 10, 2009, 11:26:41 PM
Check via phpmyadmin if the column is_spammer exist in table smf_member and tell me.

Yes, it's there.
Title: Re: Stop Spammer
Post by: M-DVD on February 10, 2009, 11:48:47 PM
Quote from: PerryM on February 10, 2009, 11:46:28 PM
Quote from: M-DVD on February 10, 2009, 11:26:41 PM
Check via phpmyadmin if the column is_spammer exist in table smf_member and tell me.

Yes, it's there.

Ok, this is what I thought.

The MOD is Ok. Your problem is this.

http://www.simplemachines.org/community/index.php?topic=291178.msg1917265#msg1917265

http://dev.simplemachines.org/mantis/view.php?id=3090

:)
Title: Re: Stop Spammer
Post by: PerryM on February 11, 2009, 12:03:52 AM
Quote from: M-DVD on February 10, 2009, 11:48:47 PM
Quote from: PerryM on February 10, 2009, 11:46:28 PM
Quote from: M-DVD on February 10, 2009, 11:26:41 PM
Check via phpmyadmin if the column is_spammer exist in table smf_member and tell me.

Yes, it's there.

Ok, this is what I thought.

The MOD is Ok. Your problem is this.

http://www.simplemachines.org/community/index.php?topic=291178.msg1917265#msg1917265 (http://www.simplemachines.org/community/index.php?topic=291178.msg1917265#msg1917265)

http://dev.simplemachines.org/mantis/view.php?id=3090 (http://dev.simplemachines.org/mantis/view.php?id=3090)

:)




Uninstalled and then installed mod again.  Went to admin>Maintenance>Form Maintenance>Empty the File Cash

No luck, same error when trying to add a new member from the Admin CP.
Title: Re: Stop Spammer
Post by: manicbe on February 11, 2009, 03:25:33 AM
Quote from: snoopy_virtual on February 10, 2009, 12:03:56 PM
For manicbe

I cannot find the error.
- You said you are using SMF 1.1.8 right? (That's the same one I use)
Yep

  - And you also installed mod "cURL fetch_web_data" right? (I haven't got that one though and the mod is working perfect for me)
Yep
  - Are you sure you have the latest version 2.1 of the mod?
yep
  - Did you check with phpinfo if your server is in safe mode?
2B honest I don't know a lot about this safe mode , so this are the value in my php info:
safe_mode Local Value: Off Master Value: On
safe_mode_exec_dir Local Value: no value Master Value: no value
safe_mode_gid Local Value: Off Master Value: Off
safe_mode_include_dir Local Value: no value Master Value: no value
safe_mode_allowed_env_vars Local Value: PHP_ Master Value: PHP_
safe_mode_protected_env_vars Local Value: LD_LIBRARY_PATH Master Value: LD_LIBRARY_PATH

Quote from: M-DVD on February 10, 2009, 06:35:32 PM
Sorry for respond slow.
Quote from: manicbe on February 10, 2009, 10:17:34 AM

**edit**
this comes from the errorlog:
2: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Bestand: /home/********/forum/Sources/Subs-Package.php
Regel: 2152

Answer:

Quote from: snoopy_virtual on February 10, 2009, 11:33:38 AM
I see. The error is in your server.

I suppose your server is not in safe mode so it should be the another one. (Check anyway your phpinfo to be sure)

Maybe adding something in the php.ini   ???

Yes, I think you cannot use cURL or fsockopen.

Check with your host, and informal you need cURL or fsockopen enabled.
cUrl should be ok if I look at the values in phpinfo
curl
CURL support  enabled 
CURL Information  libcurl/7.12.3 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 11, 2009, 08:34:09 AM
Quote from: robinrobin on February 10, 2009, 02:48:46 PM
How can i add the "Unapproved users: X" text-link to a custom place on my custom theme?

Quote from: snoopy_virtual on February 10, 2009, 11:38:51 AM
If you don't know enough PHP you will need to pay somebody to do it for you I suppose.

Hehe, yeah, as if You usually have to do that with mods. I'm simply asking for that line since the theme i'm using doesn't display it natively and i gotta add it manually. Not trying to rip it off. It's not MY theme. I'm just using a custom one.

Sorry robinrobin I had misunderstood you.

I thought you could already see the "Unapproved users: X" button but you wanted to move/copy it to a custom place on your custom theme, apart from the place it is already.

Of course, if that's what you want, it is not easy to answer, because I will need to see the code of your custom theme, you will need to tell me where you want the button to be seen, etc, and this will take some time.

That's the kind of things I'm doing every day for a lot of customers all over the world and usually we use yahoo, msn, skype or any other messenger program to talk and send files up and down and they pay me 20 € an our via paypal for my work.




If I have understood you now, your problem is that the mod have modified a few files in your "default theme" but not in your "custom theme" and you want to modifiy them manually.

If that's the case, the answer is very easy and of course I'm not going to charge you a penny for it.

I just need to know this 3 things:

  - The version of SMF you are using.
  - The version of the mod you have installed.
  - The name of the files inside your custom theme ending in "template.php", like "index.template.php" etc.

Just tell me that and I will tell you exactly what you need to do.

And sorry again for the misunderstanding.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 11, 2009, 08:44:37 AM
Quote from: manicbe on February 11, 2009, 03:25:33 AM

...

  ... this are the value in my php info:
safe_mode Local Value: Off Master Value: On
safe_mode_exec_dir Local Value: no value Master Value: no value
safe_mode_gid Local Value: Off Master Value: Off
safe_mode_include_dir Local Value: no value Master Value: no value
safe_mode_allowed_env_vars Local Value: PHP_ Master Value: PHP_
safe_mode_protected_env_vars Local Value: LD_LIBRARY_PATH Master Value: LD_LIBRARY_PATH

...

CURL support  enabled 
CURL Information  libcurl/7.12.3 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6

I don't understand it.

I'm using also SMF 1.1.8 and I have looked at those values in my server and they are more or less the same as yours and the mod is working for me perfect.

Why don't you try to uninstall the mod and install it again?

Check when you are installing it if the script give you any error message and tell us exactly what it is.

Good luck.
Title: Re: Stop Spammer
Post by: manicbe on February 11, 2009, 09:24:18 AM
hi snoopy_virtual

the issue is that I had to install manually because the installer didn't do the trick ... he told me that it was installed but didn't change the files
so I addapted the scripts myself

Title: Confused ???
Post by: PerryM on February 11, 2009, 09:49:28 AM
I'm confused,

Does the current module work with 2.0 RC1's auto install method or not?

If not, will it ever or must it be hand installed always.

I can wait for an auto install version - no big deal.  However, if it will never work auto install then I will delete it and move on.

Thanks,
Title: Re: Stop Spammer
Post by: HR on February 11, 2009, 11:36:34 AM
Well, given there are usually drastic code changes between a beta and RC releases.. or even RC to RC (this is why the term final isnt in place yet then I would say if your having issues to look at your own code base and determine what the issues are if in fact its not reporting an error when you install the thing.

Personally I dont see a point in changing for every single RC for 2 reasons
1. RCs are commonly NOT recommended for a production environment
2. Why got from RC 1 to 2 etc. and have to redo every little thing

In my particular case the beta was out when I started. So that is where I went if I have to repeatedly do upgrades and redo everything then it will be to a final rev.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 11, 2009, 01:32:59 PM
Quote from: manicbe on February 11, 2009, 09:24:18 AM
hi snoopy_virtual

the issue is that I had to install manually because the installer didn't do the trick ... he told me that it was installed but didn't change the files
so I addapted the scripts myself

This answer will be good too for robinrobin (I think).

Let me try to explain these a little slower to see if it is more clear.

The installation of this mod is exactly the same one as any other mod I have ever seen in SMF (and I have seen a lot of them already).

With SMF 1.1.8 the installer for the mod version 2.1 do a few changes to some of the files inside the Sources folder.

You shouldn't have had any error message with any of these files. Have you?

Apart from that it also do a few changes to the files:

  1 - ManageMembers.template.php

  2 - Register.template.php

Inside the Themes/default folder.

And also to the file:

  3 - Modifications.english.php

Inside the Themes/default/languages folder.

Of course, depending of what languages you have in your forum it will try to modify as well other Modifications.what_ever_other_language_you_have_here.php inside your Themes/default/languages folder, but if it cannot find any other, it will just skip these files. (You can see the full list of the languages actually supported in the mod's page)

When you install the mod you shouldn't have any error message with these files either.

If you get any error message here you should stop the installation and tell us what error you got.

Anyway, if you haven't got any error messages so far but you don't use the default theme, after the installation you need to look inside your Themes/custom_theme folder to see if it has any of the files marked above as 1 and 2 and also inside your Themes/custom_theme/languages folder to see if you have there any Modifications.what_ever_language_you_have_here.php

If you have any of these 3 kinds of files inside your custom theme then is when you need to do a few changes to them manually.

In any other case the installation script should be completely automatic and you shouldn't be making any changes to any file for the mod to work.




Just one little detail.

As any other mod installation for SMF with new images, this mod add 3 files:


And it puts them inside the Themes/default/images/icons folder.

If you have a custom theme you need to copy these 3 files inside your Themes/custom_theme/images/icons folder.




If you (I mean manicbe) have followed already these steps.

Did you get any error at all during installation?

What files did you have to modify?

Are you sure you modified them properly?
Title: Re: Confused ???
Post by: snoopy_virtual on February 11, 2009, 01:59:49 PM
Quote from: PerryM on February 11, 2009, 09:49:28 AM
I'm confused,

Does the current module work with 2.0 RC1's auto install method or not?

If not, will it ever or must it be hand installed always.

I can wait for an auto install version - no big deal.  However, if it will never work auto install then I will delete it and move on.

Thanks,

I am administrator in 10 different forums, but I have all of them in SMF 1.1.8

I am not going to upgrade any of them to SMF 2.0 until it goes stable. I never use betas or RCs installations in a production site and I always use the latest stable version.

That's why I am answering usually only the questions about SMF 1.1.8

Anyway, as I see here so many people asking questions about the mod's installation in SMF 2.0 I have done this morning a new forum with SMF 2.0 RC1

It's only a test forum and most of the users and posts inside it are only pretend ones. (Anyway any of you wanting to test new things are welcome there (http://www.snoopyvirtualstudio.com/miel/index.php). Maybe we could have also a few real users and posts and maybe even attract a few spammers so we can practice with them  >:(  >:(  >:( )

As I was saying I installed there this morning SMF 2.0 RC1

It's the first time I see it working. I am completely new to SMF 2.0 but after I finished the installation and I played a little with the forum configuration I installed M-DVD's mod using the Package Manager inside the Admin section and everything went completely smooth and automatic.

It was installed in less than a second with no errors at all.

So if any of you are having problems to install it in a SMF 2.0 RC1 forum you are doing something wrong.
Title: Re: Confused ???
Post by: PerryM on February 11, 2009, 02:26:40 PM
Quote from: snoopy_virtual on February 11, 2009, 01:59:49 PM
Quote from: PerryM on February 11, 2009, 09:49:28 AM
I'm confused,

Does the current module work with 2.0 RC1's auto install method or not?

If not, will it ever or must it be hand installed always.

I can wait for an auto install version - no big deal.  However, if it will never work auto install then I will delete it and move on.

Thanks,

I am administrator in 10 different forums, but I have all of them in SMF 1.1.8

I am not going to upgrade any of them to SMF 2.0 until it goes stable. I never use betas or RCs installations in a production site and I always use the latest stable version.

That's why I am answering usually only the questions about SMF 1.1.8

Anyway, as I see here so many people asking questions about the mod's installation in SMF 2.0 I have done this morning a new forum with SMF 2.0 RC1

It's only a test forum and most of the users and posts inside it are only pretend ones. (Anyway any of you wanting to test new things are welcome there (http://www.snoopyvirtualstudio.com/stopspammer/index.php). Maybe we could have also a few real users and posts and maybe even attract a few spammers so we can practice with them  >:( >:( >:( )

As I was saying I installed there this morning SMF 2.0 RC1

It's the first time I see it working. I am completely new to SMF 2.0 but after I finished the installation and I played a little with the forum configuration I installed M-DVD's mod using the Package Manager inside the Admin section and everything went completely smooth and automatic.

It was installed in less than a second with no errors at all.

So if any of you are having problems to install it in a SMF 2.0 RC1 forum you are doing something wrong.

Well I just installed smf 2.0 RC1 and v 2.1 of this module and I get the error:

The database value you're trying to insert does not exist: is_spammer

The whole procedure took 2 minutes to do - nothing else done.

That's all I can report from a user's standpoint.

is_spammer field exists (tinyint(3)) in the smf_members record; it's empty.

Hopefully someday this module will work on smf 2.0 - good luck; I'm moving on to other developers who consider me worth the time....
Title: Re: Stop Spammer
Post by: HR on February 11, 2009, 03:55:17 PM
Empty as in a value of 0 or empty as in there is a space there?
Title: Re: Stop Spammer
Post by: M-DVD on February 11, 2009, 09:28:58 PM
Quote from: PerryM on February 11, 2009, 02:26:40 PM
The whole procedure took 2 minutes to do - nothing else done.

This package uses the same XML than others. Uses the same packages manager as everyone else.

If it takes X time, it is because of how busy it is your host.

Furthermore, it is open source, you and everybody can see that this package does nothing unusual.

Quote from: PerryM on February 11, 2009, 02:26:40 PM
Well I just installed smf 2.0 RC1 and v 2.1 of this module and I get the error:

The database value you're trying to insert does not exist: is_spammer

is_spammer field exists (tinyint(3)) in the smf_members record; it's empty.

Hopefully someday this module will work on smf 2.0 - good luck; I'm moving on to other developers who consider me worth the time....

The package already installs this column. Anyone can see it checking the file install_2.php, and you could see it in your own DB (http://www.simplemachines.org/community/index.php?topic=283309.msg1925871#msg1925871).

What you want me to do?

Your problem is a bug already reported in RC1 (http://www.simplemachines.org/community/index.php?topic=291178.msg1917265#msg1917265).

Is it uncomfortable? possibly yes. But is the risk it takes when it decides to have a Beta product.

If you haven't soul of tester and you want a product 100% functional, then use product stable

Quote from: PerryM on February 11, 2009, 02:26:40 PM
Hopefully someday this module will work on smf 2.0 - good luck; I'm moving on to other developers who consider me worth the time....

Sorry for not replying before, unfortunately I have a life to attend, and I can only give free support when I arrive at night.  :-[

Remember that access to this, is a priviledge, not a right.

I also say, good luck.

--

manicbe, Could you do me a summary of what you've done so far?


Title: Re: Stop Spammer
Post by: manicbe on February 12, 2009, 08:27:45 AM
review/summary:
- tried to install SFS with the installer, installer showed that the installation succeeded but there was nothing to see in the admin panel only in the mod panel it showed that it was installed
- tried to uninstall SFS by panel but message was the the uninstall failed
- review the php files of the forum and nothing seemed to have changed

** to be honest the installation of mods was always a problem, failed always **

As I wanted the mod i've addapted the SMF source files myself with the help of the manual installation files (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1547;attach=85565;smf_version=1.1.8)


** remark: there is an error in mySQL query that you see in this page - it is not complete - so addapted it and added the vars**

Everthing worked, all icons are showing only the check doesn't work
Error in admin panel:
"If the Connection Fail with DB Anti SPAM...:
Your host couldn't make connection to the DB, Try again later
If it continue see Topic of Support and search Known Issues"

Errorin the error log of SMF:
"2: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Bestand: /home/httpd/vhosts/retabo.be/httpdocs/forum/Sources/Subs-Package.php
Regel: 2152 "

Asked for help here

Installed cURL fetch_web_data
As the package installation failed again installed it manual with the help of  the manual installition files (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1569;attach=85383;smf_version=1.1.8)

settings from phpinfo:

safe_mode Local Value: Off Master Value: On
safe_mode_exec_dir Local Value: no value Master Value: no value
safe_mode_gid Local Value: Off Master Value: Off
safe_mode_include_dir Local Value: no value Master Value: no value
safe_mode_allowed_env_vars Local Value: PHP_ Master Value: PHP_
safe_mode_protected_env_vars Local Value: LD_LIBRARY_PATH Master Value: LD_LIBRARY_PATH

CURL support  enabled 
CURL Information  libcurl/7.12.3 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 

I reviewed already several times the php scripts to see that I didn't make any error but everthing seems to be ok
Changed in the mean also the API-key
Also added the code in the "dutch" language files of the forum

addapted files:
ManageMembers.php
ManageMembers.template.php     ManageRegistration.php
Modifications.dutch-utf8.php   Modifications.dutch.php
Modifications.english.php      Register.php
Register.template.php          Subs-Members.php
Subs-Package.php               Subs.php
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 12, 2009, 10:44:14 AM
To manicbe

As I said before, all the things I have done and the versions I'm using are the same as yours.

I also said that the values in my phpinfo are more or less the same as yours. But they are not exactly the same.

So I have been thinking that maybe the problem is just these small differences.

Yours:
safe_mode Local Value: Off Master Value: On
safe_mode_exec_dir Local Value: no value Master Value: no value
CURL Information  libcurl/7.12.3 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6


Mine:
safe_mode Local Value: Off Master Value: Off
safe_mode_exec_dir Local Value: /usr/local/php/bin Master Value: /usr/local/php/bin
CURL Information     libcurl/7.15.5 OpenSSL/0.9.8g zlib/1.2.3 libidn/0.6.10




I don't think the small difference in the cUrl version is a problem. (not too different anyway)

Also I don't think the problem is the safe_mode_exec_dir. I don't know what's that directory for, but I suppose that, as the master value for safe_mode is Off in my server, it must be the place to put exceptions or something like that.

I think the problem is that the master value of your safe_mode is On.

As your local value is Off, it means that somewhere inside the directory where you have the file phpinfo.php there is something changing the value safe_mode to off but just locally inside that directory.

Normally this is done with a php.ini file.

It can be done also with .htaccess, but I think this doesn't work when in safe mode anyway, so I suppose it must be a php.ini

Look inside your web root directory.

I mean something like /home/your_user_name/public_html The folder where you put the files to be seen in the web.

Search for a php.ini file there.

If you find one, open it with notepad (or similar) and search for this line:


safe_mode = off


If it's there it means that's the way your safe mode has been turned off locally.

If it's not there (or if there is not a php.ini to be seen nowhere) it means that your server admin must have turned off locally somewhere else.

Try to contact him if you can.

Anyway it's not a big problem. If you turn it off twice it stays off.

So if there is a php.ini but it hasn't got that line, just add it to the bottom

If there is no php.ini, create one yourself (new text document and rename it to php.ini) and write inside the above line.

No need for any more dots, semicolons or anything else. Just that line.

The problem with php.ini is that it only affects the folder that it's in, so if you want your forum also in safe mode you need to copy your php.ini (either the one you found in your web folder or the new one you created) inside the folder where you have your forum.

/home/your_user_name/public_html/you_forum

That will be enough. If you want (just to be sure to be sure) copy your php.ini inside the Sources folder. Or even all the folders in your server. But I don't think you will need that. (hope)

Let me know.
Title: Re: Stop Spammer
Post by: rajiv1975 on February 12, 2009, 09:45:18 PM
HI M-DVD and snoopy_virtual

I am using 1.1.8 and installed your mod, It installed in one go and works perfectly.

But today When I was trying to register a member from my admin panel I received these errors :

QuoteDatabase Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '', 'username', '', 1, 0, 4, '', '', '', '', '', '', '', '', '', '', '', '', ' at line 3
    File: /home/*****/public_html/Sources/Subs-Members.php
    Line: 790

    Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

 
Quote8: Undefined index:  spammer
    File: /home/*****/public_html/Sources/Subs-Members.php
    Line: 706

After uninstalling the mod I again tried to register  a member from admin cp and there was no error and member was registered.

Please help

Regards

Rajiv
Title: Re: Stop Spammer
Post by: M-DVD on February 12, 2009, 09:55:11 PM
Rajiv:

Ok, I will check this.

And You can give me this info exactly for PM?

Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '', 'username', '', 1, 0, 4, '', '', '', '', '', '', '', '', '', '', '', '', ' at line 3
    File: /home/*****/public_html/Sources/Subs-Members.php
    Line: 790
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 12, 2009, 10:20:51 PM
Quote from: rajiv1975 on February 12, 2009, 09:45:18 PM

But today ... I received these errors :

QuoteDatabase Error: ...

    Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

...


If your SMF files are in 1.1.8 but your database is in 1.1.6 you need to do an upgrade.

You need to get this zip file:

http://download.simplemachines.org/index.php?thanks;filename=smf_1-1-8_upgrade.zip

Open it and find inside the files:


Upload both of them to your public_html folder.

Then point your browser to:

http://www.where_ever_is_your_forum.com/upgrade.php

And follow the instructions on the screen to upgrade your database.

After that try to install again the mod and tell us if everything went ok.
Title: Re: Stop Spammer
Post by: rajiv1975 on February 12, 2009, 10:51:51 PM
Hi snoopy_virtual

When I upload upgrade.php it shows

A Major Security Risk
you have not removed upgrade.php

and if I continue with

http://www.myforumname.com/upgrade.php

It gives a 500 internal server error.

Please help
Title: Re: Stop Spammer
Post by: rajiv1975 on February 12, 2009, 10:56:11 PM
Quote from: M-DVD on February 12, 2009, 09:55:11 PM
Rajiv:

Ok, I will check this.

And You can give me this info exactly for PM?


HI M-DVD

Do you want me to send a PM to you with exact details of the error ?

Regards
Title: Re: Stop Spammer
Post by: M-DVD on February 12, 2009, 11:06:56 PM
Yes, i want exact details of the error (for PM or here, as you like)

Meanwhile, you can try the suggestion given by snoopy_virtual.

I just want be sure, and I try to replicate what happened in your forum where the error occurred.
Title: Re: Stop Spammer
Post by: rajiv1975 on February 12, 2009, 11:30:15 PM
PM sent

If you want some more details please let me know

Regards

Rajiv
Title: Re: Stop Spammer
Post by: HR on February 13, 2009, 07:48:59 AM
Because there are no actual database alterations just use your phpMyAdmin and in the settings table change the version variable to 1.1.8 and the error goes away.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 13, 2009, 08:13:40 AM
Quote from: rajiv1975 on February 12, 2009, 10:51:51 PM

When I upload upgrade.php it shows

A Major Security Risk
you have not removed upgrade.php


The file upgrade.php needs to be deleted after you have used it.

You are suppose to upload it, use it (it takes only a couple of minutes) and erase it. (In that order)

If it doesn't work properly, delete it, find why it wasn't working and do the full process again later.

Quote from: rajiv1975 on February 12, 2009, 10:51:51 PM

and if I continue with

http://www.myforumname.com/upgrade.php

It gives a 500 internal server error.


A 500 error is too generic.

You should check your server error log to see what was causing the error and give us more details.

Anyway I suggest you should post your question as well in this forum:

http://www.simplemachines.org/community/index.php?board=10.0

It's the specific forum for Install and Upgrade Help and you will find there people solving problems like that every day and with more knowledge about possible problems installing and upgrading SMF than me.

I'm not a specialist on that matter. Anyway, as I said, if you tell me what it says in your server error log files I can try to give you a hand as well.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 13, 2009, 08:17:39 AM
Quote from: HR on February 13, 2009, 07:48:59 AM
Because there are no actual database alterations just use your phpMyAdmin and in the settings table change the version variable to 1.1.8 and the error goes away.

Are you sure there are no database alterations between 1.1.6 and 1.1.8?

If that's true then rajiv1975 doesn´'t need to use upgrade.php.

Just the change you suggest in the settings table should be enough.
Title: Re: Confused ???
Post by: snoopy_virtual on February 13, 2009, 08:28:22 AM
Quote from: PerryM on February 11, 2009, 02:26:40 PM
Hopefully someday this module will work on smf 2.0 - good luck; I'm moving on to other developers who consider me worth the time....

I think you should read this first:

http://www.catb.org/~esr/faqs/smart-questions.html
Title: Re: Stop Spammer
Post by: rajiv1975 on February 13, 2009, 11:25:43 AM
Quote
Because there are no actual database alterations just use your phpMyAdmin and in the settings table change the version variable to 1.1.8 and the error goes away.

# HR : Thanks HR for your help after following your suggestion the upgrade problem is solved.

# snoopy_virtual : HR's suggestion worked. I retried registering a member from my admin panel and it is giving the same error but the database upgrade error is not there.

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '', 'username', '', 1, 0, 4, '', '', '', '', '', '', '', '', '', '', '', '', '' at line 3
File: /home/*****/public_html/Sources/Subs-Members.php
Line: 790

Quote8: Undefined index: spammer
File: /home/*****/public_html/Sources/Subs-Members.php
Line: 706

Now I think the problem is with the mod only.

Please help in this regard, I am desperate to use this mod.

Thanks in advance

Rajiv


Title: Re: Stop Spammer
Post by: M-DVD on February 13, 2009, 11:59:51 AM
Yes, I can reproduce the error.

Update soon, thank for notify :)
Title: Re: Stop Spammer
Post by: M-DVD on February 13, 2009, 12:59:00 PM
Quote from: PerryM on February 10, 2009, 11:21:30 PM

The database value you're trying to insert does not exist: is_spammer

When trying to add a new member via the Admin CP.

Excuse me, you was right.  :-X
Title: Re: Stop Spammer
Post by: robinrobin on February 13, 2009, 02:00:24 PM
Dear lord... uh, listen, i know exactly where i want to add the code in my custom theme, i just want to know the piece of code needed to show the list of users awaiting approval and i'll take care of the rest myself. Going through files to look for that piece of code myself isn't an option for me since the theme i'm using obviously doesn't use that code. This theme is rather slimmed down and doesn't have any indicator for unapproved members natively. Phew..
Title: Re: Stop Spammer
Post by: M-DVD on February 13, 2009, 02:51:09 PM
Quote from: robinrobin on February 13, 2009, 02:00:24 PM
Dear lord... uh, listen, i know exactly where i want to add the code in my custom theme, i just want to know the piece of code needed to show the list of users awaiting approval and i'll take care of the rest myself. Going through files to look for that piece of code myself isn't an option for me since the theme i'm using obviously doesn't use that code. This theme is rather slimmed down and doesn't have any indicator for unapproved members natively. Phew..

If you have members waiting approval, this link automatically is showed. Else, is hidden.

If your theme not haven this, then copy this code and paste where you like.


// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 13, 2009, 03:32:28 PM
Quote from: M-DVD on February 13, 2009, 02:51:09 PM
Quote from: robinrobin on February 13, 2009, 02:00:24 PM
Dear lord... uh, listen, i know exactly where i want to add the code in my custom theme, i just want to know the piece of code needed to show the list of users awaiting approval and i'll take care of the rest myself. Going through files to look for that piece of code myself isn't an option for me since the theme i'm using obviously doesn't use that code. This theme is rather slimmed down and doesn't have any indicator for unapproved members natively. Phew..

If you have members waiting approval, this link automatically is showed. Else, is hidden.

If your theme not haven this, then copy this code and paste where you like.


// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';


But this piece of code is already inside index.template.php in any normal SMF installation. It has nothing to do with the modifications you do with your mod, and it has nothing to do with any custom theme (at least I don't know any custom theme without it) so if robinrobin hasn't already got it it means there is something wrong with his SMF installation.

And anyway that's not the code for the button, that's a text showing the admin there are x members waiting for approval (of course it's hidden if there are none). Usually this text is at the index page, near the message telling you how many messages you have.

The code for the button is inside the file ManageMembers.template.php in the function:


function template_view_members()
{

}


And it's actually done with the statement:


foreach ($context['columns'] as $column)
{
echo '
...';
}


This foreach statement draw the buttons you need depending on the number os members waiting for approval, waiting for activation, etc

I still think that if you (robinrobin ) cannot see this button must be because you haven't got any member waiting approval.

And anyway, again this code is in every SMF installation and has nothing to do with this mod.

That's why I was telling you there is not an easy answer to your question and I was still waiting to see if you can explain us exactly what you want, cause I think I haven't understood you properly yet.
Title: Re: Stop Spammer
Post by: robinrobin on February 13, 2009, 03:58:57 PM
Perfect. Thank You, M.
Title: Re: Stop Spammer
Post by: M-DVD on February 13, 2009, 04:34:29 PM
MOD Stop Spammer v2.2
=================


New features:

How do I upgrade?

=======================================

Características Nuevas:

¿Como actualizar?
Title: Re: Stop Spammer
Post by: PerryM on February 13, 2009, 05:34:24 PM
Installed new version 2.2 and could add a new member from the Admin>Members>Registration>Register New Member but the IP address of 127.0.0.1 was inserted and that is a known spammer address when you click the magnifying lens.

When you add a new member from the Register link the correct IP address is in there.

So the only bug left is to insert the correct address and everything should be fine.  OR, is that ok - if the admin adds a new member the IP address should not be theirs - for later IP tracking?  I don't know.

Thanks so much for bringing this module to smf.

P.S.
I added a user that was on the spam list at 127.0.0.1 and used their eMail address - the module didn't catch it.
Title: Re: Stop Spammer
Post by: rajiv1975 on February 13, 2009, 09:36:20 PM
Thanks M-DVD for the update now I can register new members from my admin cp.

Thanks once again  ;)

Regards

Rajiv
Title: Re: Stop Spammer
Post by: M-DVD on February 13, 2009, 11:11:32 PM
Quote from: PerryM on February 13, 2009, 05:34:24 PM
Installed new version 2.2 and could add a new member from the Admin>Members>Registration>Register New Member but the IP address of 127.0.0.1 was inserted and that is a known spammer address when you click the magnifying lens.

When you add a new member from the Register link the correct IP address is in there.

So the only bug left is to insert the correct address and everything should be fine.  OR, is that ok - if the admin adds a new member the IP address should not be theirs - for later IP tracking?  I don't know.

Yes, the IP 127.0.0.1 is in the DB SFS's, many often. I don't know how or which spambot has this IP, but no appears to be a "data dirty".

And yes, there is a problem, when you registering a member via ACP, SMF registered with the "IP" 127.0.0.1.

Nor i don't know :P  Also I wanted to resolve this, but I thought the same thing, a solution has another problem.

So I decided, if the IP is 127.0.0.1, then the IP will not be checked, but the other data yes.

Why? because a member registered since the ACP isn't a spammer, and someone could be confused if the MOD would indicate that this member is a Spambot by their IP.

Quote from: PerryM on February 13, 2009, 05:34:24 PM
P.S.
I added a user that was on the spam list at 127.0.0.1 and used their eMail address - the module didn't catch it.

1.- The IP 127.0.0.1, it will not be revised, but, do the other data have been revised?.

2.- Have you registered the member via ACP or via ?action=register?

Because via ACP, the MOD don't check, it would be unnecessary.

Quote from: rajiv1975 on February 13, 2009, 09:36:20 PM
Thanks M-DVD for the update now I can register new members from my admin cp.

Thanks once again  ;)

Regards

Rajiv

Quote from: PerryM on February 13, 2009, 05:34:24 PM
Thanks so much for bringing this module to smf.

Thank you for using the MOD and to help improve it :D
Title: Re: Stop Spammer
Post by: PerryM on February 14, 2009, 12:12:36 AM
Just installed v 2.2 in my production smf 2.0 RC1 and I don't see the magnifying lens by the IP address and other filed on the "View all Members" tab.

I do see your 3 lines describing the various colors of the spammer icon below my list of members but not within the cells.

I know this worked on my test version.

Any idea why this would be different?

I must have 30+ mods installed on this live smf.

Thanks
Title: Re: Stop Spammer
Post by: M-DVD on February 14, 2009, 12:23:23 AM
Check if this option is enable "Show Link "More Info" for All Member"

In: Admin > Members > Registration > Setting
Title: Re: Stop Spammer
Post by: PerryM on February 14, 2009, 12:34:15 AM
Quote from: M-DVD on February 14, 2009, 12:23:23 AM
Check if this option is enable "Show Link "More Info" for All Member"

In: Admin > Members > Registration > Setting

Ooops sorry I forgot about the setting.  It works just fine.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 14, 2009, 01:09:16 AM
In any computer, the IP 127.0.0.1 means the computer itself.

So if you tell a computer to connect with IP 127.0.0.1 you are telling the computer "look inside yourself".

For the same reason in a server 127.0.0.1 is exactly the same as "localhost".

When I connect my computer with a server (for example "www.simplemachines.org") my computer can see 2 IPs: it sees my IP as 127.0.0.1 and it sees simplemachines as 207.210.95.101

At the same time simplemachines' server can see 2 IPs. It sees its own IP as 127.0.0.1 and it sees mine as 81.39.etc.etc

Then if I'm trying to register a new member inside a forum, the forum server hasn't got this member's IP (cause the member is not connected at the moment. We are on our own the server and me)

The only IPs the forum server has are its own IP 127.0.0.1 and the admin IP

Of course the program doesn't want to be writing the admin IP everywhere just in case anybody get it, and as it doesn't have the member's IP it just puts there a generic one (its own) and wait until that member connect with the forum.

As soon as that member enter the forum, the program gets the correct IP from the member's computer and change it.

Now the question:

Why are there so many entries in SFS database with that IP?

There are at least 3 options:

  - Either they are all errors (a faulty program or a faulty webmaster somewhere send the details of a spammer while the IP is still the server's internal IP)

  - Or the webmaster only had the username and the email but didn't had the IP and decided to put that one as a joke (*)

  - Or somewhere there are very very very clever spammers. It's not easy to do an external connexion with a server and make it believe the connexion is coming from 127.0.0.1 (internal IP)

The connexion cannot be internal and external at the same time.

One way or the other will be a mistake to consider 127.0.0.1 as a spammer IP, so it's OK if the module doesn't catch it.




PD (*) The joke I was talking about is a very old joke among hackers. The guy studying to be a hacker and after 3 years he was very happy cause he had hack his first IP. He had enter 127.0.0.1 and even could see the files inside it.
Title: Re: Stop Spammer
Post by: HR on February 14, 2009, 04:36:06 PM
You have got to be kidding
Title: Re: Stop Spammer
Post by: robinrobin on February 14, 2009, 05:02:35 PM
Hehe
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 14, 2009, 06:47:19 PM
Quote from: HR on February 14, 2009, 04:36:06 PM
You have got to be kidding

Kidding?

About what?
Title: Re: Stop Spammer
Post by: manicbe on February 17, 2009, 06:05:45 AM
Quote from: snoopy_virtual on February 12, 2009, 10:44:14 AM
....
That will be enough. If you want (just to be sure to be sure) copy your php.ini inside the Sources folder. Or even all the folders in your server. But I don't think you will need that. (hope)

Let me know.
...
Hi snoopy_virtual,
sorry for my absence during a couple of days
I've tried your solution: adding myself the php.ini file with the line safe_mode = off in it
but unfortunatelly it didn't work ... still the same error:
"Your host couldn't make connection to the DB, Try again later
If it continue see Topic of Support and search Known Issues"
I've added the file in:
- forum rootfolder
- sources
- forum/Themes/default/
but no luck
Another suggestion because I could realy use the mod ... for the moment approximately 60 "new user" are registering every day and after a manual check on the SFS site I have to refuse almost all of them
(it is still a strange thing that suddenly all those spammers found their way you the forum ... and that they do not care of any captcha - but hey ... the users are not annoyed anymore for the moment as all registrations are blocked for a while and I do a manual check every day ;D )
Title: Re: Stop Spammer
Post by: HR on February 17, 2009, 01:17:54 PM
Quote from: manicbe on February 17, 2009, 06:05:45 AM
Another suggestion because I could realy use the mod ... for the moment approximately 60 "new user" are registering every day and after a manual check on the SFS site I have to refuse almost all of them
(it is still a strange thing that suddenly all those spammers found their way you the forum ... and that they do not care of any captcha - but hey ... the users are not annoyed anymore for the moment as all registrations are blocked for a while and I do a manual check every day ;D )

Send them at me :) I like it when my counter goes up! LOL
Title: Re: Stop Spammer
Post by: HR on February 17, 2009, 01:19:47 PM
Quote from: snoopy_virtual on February 14, 2009, 06:47:19 PM
Quote from: HR on February 14, 2009, 04:36:06 PM
You have got to be kidding

Kidding?

About what?

THe PD joke above.. no way that is real
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 18, 2009, 03:18:25 PM
Quote from: manicbe on February 17, 2009, 06:05:45 AM

I've tried your solution: adding myself the php.ini file with the line safe_mode = off in it
but unfortunatelly it didn't work ... still the same error:
"Your host couldn't make connection to the DB, Try again later
If it continue see Topic of Support and search Known Issues"
I've added the file in:
- forum rootfolder
- sources
- forum/Themes/default/
but no luck
Another suggestion because I could realy use the mod ...

My first suggestion will be to try to contact the admin of your server.

He/she must know your server configuration and could help you out trying to make cUrl work for you.

Anyway I know it's usually difficult to contact server admins, so in the mean time here is another suggestion:

To contact the database inside SFS this mod is using the function fetch_web_data()

This function is not a native PHP one. It's a function defined by SMF inside the file Subs-Package.php and it tries to get the contents of a URL using different PHP methods, depending on the server configuration.

That's why M-DVD has used it for his mod, because it's very general and usually it works in a lot of different servers.

Anyway, apparently this function is not working for you, so I think you should try with other PHP functions instead.

For example try with the function file_get_contents()

To do that, open the file Subs-Members.php inside the Sources folder.

More or less at the end of the file you will find the function checkDBSpammer():


// This function Check Spammer in DB - MOD StopSpammer
function checkDBSpammer($check_ip, $check_name, $check_mail, $test = false)


Inside this function look for the lines:


// Try to download.
require_once($sourcedir . '/Subs-Package.php');
$down_ok = fetch_web_data($remoteXML);


Replace them with this:


// Try to download.
//require_once($sourcedir . '/Subs-Package.php');
$down_ok = file_get_contents($remoteXML);


Now look for the function checkreportMembers() (it's just underneath the another one in the same file Subs-Members.php)

Inside it look for the lines:


if ($report)
fetch_web_data('http://www.stopforumspam.com/add', 'username=' . $row['memberName'] . '&ip_addr=' . $row['memberIP'] . '&email=' . $row['emailAddress'] . '&api_key=O0Ys3RHtDZPMfB');


Replace them with this:


if ($report)
file_get_contents('http://www.stopforumspam.com/add', 'username=' . $row['memberName'] . '&ip_addr=' . $row['memberIP'] . '&email=' . $row['emailAddress'] . '&api_key=O0Ys3RHtDZPMfB');


Save the file and upload it to your server.

If this doesn't work either let us know.

There are a lot of ways of getting content from a URL and maybe you can try some more until you find one that is working for you.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 18, 2009, 03:22:40 PM
Quote from: HR on February 17, 2009, 01:19:47 PM
Quote from: snoopy_virtual on February 14, 2009, 06:47:19 PM
Quote from: HR on February 14, 2009, 04:36:06 PM
You have got to be kidding

Kidding?

About what?

THe PD joke above.. no way that is real

Of course it's a joke, and a very old one. The first time I heard that joke was 20 years ago.

And anyway, you know that when I'm not talking seriously I'm always joking.  8)

"I'm a joker, I'm a smoker, I'm a midnight toker ..." >:(
Title: Re: Stop Spammer
Post by: xyxis_fahim on February 24, 2009, 11:49:31 PM
Somehow the total number has not been listed properly.

I've a open thread here
http://www.simplemachines.org/community/index.php?topic=294982.0
Title: Re: Stop Spammer
Post by: mrwilson on February 27, 2009, 10:15:18 AM
I think the mod works fine, but its very irritating that the icons in the member admin area do not seem to work.  perhaps becuase I am not using the default theme
Title: Re: Stop Spammer
Post by: M-DVD on February 27, 2009, 11:37:11 PM
Quote from: mrwilson on February 27, 2009, 10:15:18 AM
I think the mod works fine, but its very irritating that the icons in the member admin area do not seem to work.  perhaps becuase I am not using the default theme

Possibly. In this case, you only need copy images to the folder

/Themes/default/images/icons

No need to edit any files.

Also, you must enable this icon in:

Admin > Members > Registration > Setting

and enable Show Link "More Info" for All Member

Quote from: mrwilson on February 27, 2009, 10:15:18 AM
I think the mod works fine, but its very irritating that the icons in the member admin area do not seem to work.  perhaps becuase I am not using the default theme

Ok, i will check.

This difference might be in users "waiting for approval" (this includes the spammers that have been disabled).

Have you checked if in this case the numbers match?
Title: Re: Stop Spammer
Post by: islam2hamy on March 07, 2009, 07:35:24 AM
thank you for this great mod
Arabic Version can be found in the Arabic support site
http://www.smfarabic.com/index.php?action=downloads;sa=view;down=5
Title: Re: Stop Spammer
Post by: DirtRider on March 07, 2009, 11:26:24 AM
Registered this member to test it out (boubcowmebtem) lets him straight on into my forum  :'(
Title: Re: Stop Spammer
Post by: HR on March 07, 2009, 11:48:57 AM
Dirt.. drop me a PM please
Title: Re: Stop Spammer
Post by: DirtRider on March 07, 2009, 12:04:36 PM
Done  ;D
Title: Re: Stop Spammer
Post by: M-DVD on March 12, 2009, 05:40:37 PM
Quote from: DirtRider on March 07, 2009, 11:26:24 AM
Registered this member to test it out (boubcowmebtem) lets him straight on into my forum  :'(

Sorry for delay.

Have you registered the user from the ACP(bad) or from the ?action=register(correct)?

Way ACP, the MOD don't check (because, isn't necesary)

Quote from: islam2hamy on March 07, 2009, 07:35:24 AM
thank you for this great mod
Arabic Version can be found in the Arabic support site
http://www.smfarabic.com/index.php?action=downloads;sa=view;down=5

Thanks for translate. PM sent.
Title: Re: Stop Spammer
Post by: Gabatt on April 03, 2009, 03:59:27 AM
Hi,

Yhanks for this great mod.

Proposal for a French translation

Quote
$txt['stopspammer_error'] = 'Erreur avec la base de donnée de référence Anti SPAM. La connexion a échoué.<br />
Essayez plus tard ou contactez le Webmaster.';
$txt['stopspammer_count'] = 'Spammeurs ont été bloqués jusqu\'à aujourd\'hui';
$txt['stopspammer_title'] = 'Chercher plus d\'information sur `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Activer/Désactiver le MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Montrer les icônes "Plus d\'infos" pour tous les membres';
$txt['stopspammer_show01_sub'] = 'Vous pourrez vérifier n\'importe quel membre à tout moment d\'un simple clic';

$txt['stopspammer_faildb'] = 'Si la connexion échoue avec la base de donnée Anti SPAM...';
$txt['stopspammer_fail01'] = 'Montrer un message d\'erreur et stopper l\'inscription';
$txt['stopspammer_fail02'] = 'Autoriser l\'inscription immédiate';
$txt['stopspammer_fail03'] = 'Placer le membre en attente d\'approbation pour vérification';
$txt['stopspammer_faildb1_sub'] = 'Votre hébergeur peut se connecter à la base de donnée';
$txt['stopspammer_faildb2_sub'] = 'Votre hébergeur ne peut pas se connecter à la base de donnée, réessayez plus tard.<br />
Si cela persiste, consultez le forum du support du MOD et cherchez dans les ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>problèmes connus</b></span></a>';

$txt['stopspammer_leyd01'] = 'Pas un Spammer: Les données de ce membre ne sont pas dans la base de donnée de référence. Mais vous pouvez les contrôler.';
$txt['stopspammer_leyd02'] = 'Suspect : les données de ce membre ne peuvent pas être vérifiées. A contrôler.';
$txt['stopspammer_leyd03'] = 'Spammeur : Vérifiez les messages et actions de ce membre.';

$txt['in_stop_forum_spam'] = 'Dans le site Stop Forum Spam :';
$txt['spammers_checks'] = 'Contrôler ces membres';
$txt['spammers_report'] = 'Inscrire ces membres comme spammeurs dans la base de donnée de référence';
$txt['confirm_spammers_checks'] = 'Etes-vous sûr de vouloir vérifier les membres sélectionnés ?';
$txt['confirm_spammers_report'] = 'Etes-vous sûr de vouloir inscrire les membres sélectionnés comme spammeurs dans la base de donnée de référence ?\n\nGardez à l\'esprit que quand vous inscrivez un membre dans cette base de donnée mondiale "Stop Forum Spam", il/elle sera référencé-e- comme spammeur dans le monde entier\net il/elle ne pourra plus utiliser aucun forum utilisant cette base de donnée.\n\nNe faites cela que si vous êtes absolument sûr que ce membre est un spammeur, et si par malchance vous faites une erreur, contactez dès que possible le créateur de ce MOD pour corriger l\'erreur dans la base de donnée mondiale "SFS".';

Title: Re: Stop Spammer
Post by: M-DVD on April 04, 2009, 12:20:05 AM
Hi, your translation have been uploaded, thanks :D
Title: Re: Stop Spammer
Post by: islam2hamy on April 04, 2009, 02:38:03 AM
Thank you , very good mod ,

Arabic translation :


      <file name="$languagedir/Modifications.arabic-utf8.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
//   MOD Stop Spammer
$txt['stopspammer_error'] = 'خطاء فى قاعدة بيانات كاشف السبام  . غير قادر على الاتصال.<br />
رجاء حاول فيما بعد, أو راسل المدير';
$txt['stopspammer_count'] = 'تم منع الاسبام حتى يوم';
$txt['stopspammer_title'] = 'البحث عن المزيد من المعلومات فى  `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'تفعيل/تعطيل مود كاشف السبام';
$txt['stopspammer_show01'] = 'إظهر رابط "المزيد من المعلومات" لجميع الأعضاء';
$txt['stopspammer_show01_sub'] = 'يمكنك فحص أى عضو فى أى وقت بضغط واحدة و بكل بساطة';

$txt['stopspammer_faildb'] = 'إذا حدث خطاء أثناء الإتصال بفاعدة بيانات موقع Anti SPAM...';
$txt['stopspammer_fail01'] = 'إظهر رسالة خطاء و اوقف التسجيل';
$txt['stopspammer_fail02'] = 'تفعيل التسجيل الفورى';
$txt['stopspammer_fail03'] = 'ضعه فى قائمة إنتظار التفعيل و إظهر أيقونه لفحصه';
$txt['stopspammer_faildb1_sub'] = 'يمكن للمستضيف الخاص بك عمل اتصال عن بعد بقاعدة البيانات';
$txt['stopspammer_faildb2_sub'] = 'يمكن للمستضيف الخاص بك عمل اتصال عن بعد بقاعدة البيانات, حاول فيما بعد<br />
إذا تكرر هذا الخطاء رجاء تابع موضوع الدعم  ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'ليس سبام: هذه البيانات ليست فى قاعدة بيانات السبام. لكن يمكنك فحصها إذا أردت';
$txt['stopspammer_leyd02'] = 'مشتبه به: غير قادر على فحص هذا العضو. إفحصه الأن';
$txt['stopspammer_leyd03'] = 'سبام: شاهد مزيد من التفاصيل عن نشاط هذا السبام';

$txt['in_stop_forum_spam'] = 'فى موقع Stop Forum Spam :';
$txt['spammers_checks'] = 'فحص هؤلاء الأعضاء';
$txt['spammers_report'] = 'الإبلاغ عن هؤلاء الأعضاء';
$txt['confirm_spammers_checks'] = 'هل أنت متأكد من أنك تريد فحص هؤلاء الاعضاء الذين تم إختيارهم؟';
$txt['confirm_spammers_report'] = 'هل أنت متأكد من أنك تريد الإبلاغ عن هؤلاء الأعضاء الذين تم إختيارهم؟';]]></add>
      </operation>
   </file>   


please before put the translation in the file be sure that the file encode is UTF-8
Title: Re: Stop Spammer
Post by: 6aro on April 04, 2009, 06:25:10 AM
Hi,
Mod is perfect!

And this is my Bulgarian translation of mod

$txt['stopspammer_error'] = 'Грешка при DB Анти спам. Връзката е неуспешна. <br />
Моля опитайте отново по-късно или се свържете с Webmaster';
$txt['stopspammer_count'] = 'Спамери са били блокирани до този момент';
$txt['stopspammer_title'] = 'Търсене на повече информация в `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Включване / Изключване на MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Показване на линка "Още Инфо" за всички потребители';
$txt['stopspammer_show01_sub'] = 'Можете да проверявате всеки член по всяко време с едно просто кликане върху';

$txt['stopspammer_faildb'] = 'If the Connection Fail with DB Anti SPAM...';
$txt['stopspammer_fail01'] = 'Покажи грешката и спри регистрацията';
$txt['stopspammer_fail02'] = 'Разреши незабавна регистрация';
$txt['stopspammer_fail03'] = 'Member Approval and show icon for check';
$txt['stopspammer_faildb1_sub'] = 'Твоя хост не може да направи отдалечена връзка с DB';
$txt['stopspammer_faildb2_sub'] = 'Твоя хост не може да направи връзка с DB, опитай по-късно<br />
If it continue see Topic of Support and search ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Известни проблеми</b></span></a>';

$txt['stopspammer_leyd01'] = 'Не е Спамер: Тази информация я няма в БД. Но можете да проверите';
$txt['stopspammer_leyd02'] = 'Заподозрян: Този потребител може да е спамер. Проверете сега';
$txt['stopspammer_leyd03'] = 'Спамери: Вижте повече информация за дейността на тази спамери';

$txt['in_stop_forum_spam'] = 'В Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Проверка на тези членове';
$txt['spammers_report'] = 'Докладвай тези членовете';
$txt['confirm_spammers_checks'] = 'Сигурни ли сте, че искате да проверите избраните потребители?';
$txt['confirm_spammers_report'] = 'Сигурни ли сте, че искате да съобщите за избраните членове? Помислете когато докладвате потребител до SFS, че той / тя е маркирана като спамер в цял свят, защото той / тя няма да можете да ползва никой от форумите, свързани с SFS в цял свят. Направете го само ако сте напълно сигурни, че те са спамери и ако име някаква грешка кажете  в най-кратки срокове на създателят на модификацията да коригира грешката в SFS база данни.';
Title: Re: Stop Spammer
Post by: 6aro on April 04, 2009, 06:29:21 AM
next week I make fool translation
Title: Re: Stop Spammer
Post by: Özgür on April 04, 2009, 07:39:58 AM
I install this mod, seems 16 members waiting approve,  but i try the click link, but doesn't appear any members? Where am doing wrong?
Title: Re: Stop Spammer
Post by: M-DVD on April 04, 2009, 03:22:14 PM
Quote from: islam2hamy on April 04, 2009, 02:38:03 AM
Thank you , very good mod ,

Quote from: 6aro on April 04, 2009, 06:25:10 AM
Hi,
Mod is perfect!

And this is my Bulgarian translation of mod

Thanks for yours comments and thanks for translate. Yours translation have been uploaded :D

Quote from: Özgür´ on April 04, 2009, 07:39:58 AM
I install this mod, seems 16 members waiting approve,  but i try the click link, but doesn't appear any members? Where am doing wrong?

Before installing the MOD, do you have members waiting for approval?

If you don't have, should be that "for some strange reason" the counter members's isn't zero.

Go to phpmyadmin, table smf_setting and search for: unapprovedMembers and set to 0
Title: Re: Stop Spammer
Post by: 6aro on April 07, 2009, 03:37:33 AM
And translation for this tow things.

1. $txt['stopspammer_faildb'] = 'If the Connection Fail with DB Anti SPAM...'; --> $txt['stopspammer_faildb'] = 'Ако връзката с DB Anti SPAM  не e успешна ...';

2.  $txt['stopspammer_fail03'] = 'Member Approval and show icon for check'; --> $txt['stopspammer_fail03'] = 'Одобряване на потребител и показва иконата за проверка';
Title: Re: Stop Spammer
Post by: Bob Mueller on April 13, 2009, 10:28:46 PM
I wanted to add my thanks and appreciation for this mod - it's saved me a lot of time just in the last couple of days.

I do have a couple of questions:
If I reject a user based on the report from SFS, does that rejection also submit them as a hit to the SFS database?

If I reject a user, does that (or can it) also ban them? My main interest is in banning the IP address they registered from, to prevent someone else at that IP from registering.
Title: Re: Stop Spammer
Post by: M-DVD on April 14, 2009, 12:26:33 AM
Quote from: 6aro on April 07, 2009, 03:37:33 AM
And translation for this tow things.

1. $txt['stopspammer_faildb'] = 'If the Connection Fail with DB Anti SPAM...'; --> $txt['stopspammer_faildb'] = 'Ако връзката с DB Anti SPAM  не e успешна ...';

2.  $txt['stopspammer_fail03'] = 'Member Approval and show icon for check'; --> $txt['stopspammer_fail03'] = 'Одобряване на потребител и показва иконата за проверка';

Thanks, in this week I update your translation :)

Quote from: Bob Mueller on April 13, 2009, 10:28:46 PM
I wanted to add my thanks and appreciation for this mod - it's saved me a lot of time just in the last couple of days.

I do have a couple of questions:
If I reject a user based on the report from SFS, does that rejection also submit them as a hit to the SFS database?

If I reject a user, does that (or can it) also ban them? My main interest is in banning the IP address they registered from, to prevent someone else at that IP from registering.

Thanks :)

1.- No, only is submit if you make click in the Report buttom.

You can report a "already existing spammer" and (afaik) this spammer is "hited" as "more active"

2.- I don't know if the forum makes it automatically. This MOD doesn't change that.

If you reject a user, is rejection normal. If SMF allows those rejected can re-register, then remains equal.

Before you reject, you can ban the IP if you want.
Title: Re: Stop Spammer
Post by: candidosa2 on April 16, 2009, 01:27:45 AM
thank you
when update dont forget
portuguese_pt
and portuguese_brazilian

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// MOD Stop Spammer translate By Candidosa2 Suporte smfpt.net
$txt['stopspammer_error'] = 'Erro na bd Anti SPAM. Falha na conex&atilde;o.<br />
Tente novamente mais tarde ou entre em contato com o webmaster';
$txt['stopspammer_count'] = 'Spammers foram bloqueadas at&eacute; &agrave; data';
$txt['stopspammer_title'] = 'Pesquisa mais informa&ccedil;&atilde;o em `Stop F&oacute;rum Spam`';

$txt['stopspammer_enable'] = 'Activar/Desactivar MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Mostrar o link "Mais Informa&ccedil;&atilde;o" para todos os Membros';
$txt['stopspammer_show01_sub'] = 'Voc&ecirc; pode verificar qualquer membro em qualquer momento com um simples clique';

$txt['stopspammer_faildb'] = 'Se a conex&atilde;o falhar com BD Anti SPAM...';
$txt['stopspammer_fail01'] = 'Mostrar o erro e Parar regist';
$txt['stopspammer_fail02'] = 'Permitir Registo Imediato';
$txt['stopspammer_fail03'] = 'Aprova&ccedil;&atilde;o do membro e mostrar &iacute;cone para verificar';
$txt['stopspammer_faildb1_sub'] = 'Seu servidor pode fazer a conex&atilde;o remota DB';
$txt['stopspammer_faildb2_sub'] = 'Seu alojamento web n&atilde;o podia fazer conex&atilde;o com a base de dados, Tente novamente mais tarde<br />
Se ele continuar ver no quadro de suporte ou uma Pesquisa ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Problemas Conhecidos</b></span></a>';

$txt['stopspammer_leyd01'] = 'N&atilde;o spammer: Estes dados n&atilde;o estava em um DB. Mas voc&ecirc; pode verificar';
$txt['stopspammer_leyd02'] = 'Suspeito: Este membro n&atilde;o p&ocirc;de ser verificada. Confirmar agora';
$txt['stopspammer_leyd03'] = 'Spammers: Veja mais informa&ccedil;&otilde;es de actividade do spammer';

$txt['in_stop_forum_spam'] = 'Em Parar F&oacute;rum Spam Web:';
$txt['spammers_checks'] = 'Verifique estes membros';
$txt['spammers_report'] = 'Relat&oacute;rio esses membros';
$txt['confirm_spammers_checks'] = 'Tem certeza que deseja verificar os membros seleccionados?';
$txt['confirm_spammers_report'] = 'Tem certeza de que deseja relatar a membros selecionados?\N\nThink relat&oacute;rio que quando um membro para SFS he/she is marked as spammer all over the world\nand he/ela n&atilde;o ser&aacute; capaz de utilizar qualquer um dos f&oacute;runs SFS ligado ao redor do mundo.\n\nF&aacute;-lo apenas se tiver a certeza que est&atilde;o completamente spammers e se por acaso voc&ecirc; cometer um erro\ncontactar o  mais rapidamente poss&iacute;vel o criador do mod para corrigir o erro no interior do SFS database.';]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// MOD Stop Spammer translate By Candidosa2 Suporte smfpt.net
$txt['stopspammer_error'] = 'Erro na bd Anti SPAM. Falha na conex&atilde;o.<br />
Tente novamente mais tarde ou entre em contato com o webmaster';
$txt['stopspammer_count'] = 'Spammers foram bloqueadas at&eacute; &agrave; data';
$txt['stopspammer_title'] = 'Pesquisa mais informa&ccedil;&atilde;o em `Stop F&oacute;rum Spam`';

$txt['stopspammer_enable'] = 'Activar/Desactivar MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Mostrar o link "Mais Informa&ccedil;&atilde;o" para todos os Membros';
$txt['stopspammer_show01_sub'] = 'Voc&ecirc; pode verificar qualquer membro em qualquer momento com um simples clique';

$txt['stopspammer_faildb'] = 'Se a conex&atilde;o falhar com BD Anti SPAM...';
$txt['stopspammer_fail01'] = 'Mostrar o erro e Parar regist';
$txt['stopspammer_fail02'] = 'Permitir Registo Imediato';
$txt['stopspammer_fail03'] = 'Aprova&ccedil;&atilde;o do membro e mostrar &iacute;cone para verificar';
$txt['stopspammer_faildb1_sub'] = 'Seu servidor pode fazer a conex&atilde;o remota DB';
$txt['stopspammer_faildb2_sub'] = 'Seu alojamento web n&atilde;o podia fazer conex&atilde;o com a base de dados, Tente novamente mais tarde<br />
Se ele continuar ver no quadro de suporte ou uma Pesquisa ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Problemas Conhecidos</b></span></a>';

$txt['stopspammer_leyd01'] = 'N&atilde;o spammer: Estes dados n&atilde;o estava em um DB. Mas voc&ecirc; pode verificar';
$txt['stopspammer_leyd02'] = 'Suspeito: Este membro n&atilde;o p&ocirc;de ser verificada. Confirmar agora';
$txt['stopspammer_leyd03'] = 'Spammers: Veja mais informa&ccedil;&otilde;es de actividade do spammer';

$txt['in_stop_forum_spam'] = 'Em Parar F&oacute;rum Spam Web:';
$txt['spammers_checks'] = 'Verifique estes membros';
$txt['spammers_report'] = 'Relat&oacute;rio esses membros';
$txt['confirm_spammers_checks'] = 'Tem certeza que deseja verificar os membros seleccionados?';
$txt['confirm_spammers_report'] = 'Tem certeza de que deseja relatar a membros selecionados?\N\nThink relat&oacute;rio que quando um membro para SFS he/she is marked as spammer all over the world\nand he/ela n&atilde;o ser&aacute; capaz de utilizar qualquer um dos f&oacute;runs SFS ligado ao redor do mundo.\n\nF&aacute;-lo apenas se tiver a certeza que est&atilde;o completamente spammers e se por acaso voc&ecirc; cometer um erro\ncontactar o  mais rapidamente poss&iacute;vel o criador do mod para corrigir o erro no interior do SFS database.';]]></add>
</operation>
</file>
Title: Re: Stop Spammer
Post by: M-DVD on April 20, 2009, 12:34:52 AM
Quote from: candidosa2 on April 16, 2009, 01:27:45 AM
thank you
when update dont forget
portuguese_pt
and portuguese_brazilian

Quote from: 6aro on April 07, 2009, 03:37:33 AM
And translation for this tow things.

1. $txt['stopspammer_faildb'] = 'If the Connection Fail with DB Anti SPAM...'; --> $txt['stopspammer_faildb'] = 'Ако връзката с DB Anti SPAM  не e успешна ...';

2.  $txt['stopspammer_fail03'] = 'Member Approval and show icon for check'; --> $txt['stopspammer_fail03'] = 'Одобряване на потребител и показва иконата за проверка';

Thanks, i have uploaded your translation :D
Title: Re: Stop Spammer
Post by: gt13013 on April 26, 2009, 06:55:54 PM
Hi,

I discovered Stop Spammer today and it is really a fantastic mod!

But I had a problem : the file
smf/Themes/default/Modifications.french-utf8.php
has not been updated during the installation, and I spend some time to find a solution.
Is it possible to improve the installation procedure in order to automate the changes ?

I have another question concerning the permissions of the files updated by the installation, and that got a  777 attribute. Should I restore them to their original attributes?

All the details are in the attached PDF file.

Thanks
Title: Re: Stop Spammer
Post by: Jade Elizabeth on April 27, 2009, 10:48:12 PM
This mod is awesome, thank you!! One question though: Can you make this work in the Online list?

I often look up the IPs I see, as I see a lot of them from the DB...and I set a ban on them. It would be easier for me if this mod worked on the Online list :D.

Thanks :D.
Title: Re: Stop Spammer
Post by: Laurens73 on April 28, 2009, 06:20:54 AM
Hi,

I translated the Stop Spammer messages into dutch, hoping it's a valueable addition to the mod.

$txt['stopspammer_error'] = 'Fout in de Anti SPAM database. Verbinding is mislukt.<br />
Probeer het later nog eens, of neem contact op met de beheerder';
$txt['stopspammer_count'] = 'Spammers zijn tot volgende data geblokkeerd';
$txt['stopspammer_title'] = 'Zoek meer info in `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'MOD Stop Spammer' in/uitschakelen;
$txt['stopspammer_show01'] = 'Link "More Info" tonen voor alle leden';
$txt['stopspammer_show01_sub'] = 'Je kunt op elk moment elk lid controleren met een simpele muisklik';

$txt['stopspammer_faildb'] = 'Indien de verbinding mislukt met de database van Anti SPAM...';
$txt['stopspammer_fail01'] = 'Fout tonen en registratie stoppen';
$txt['stopspammer_fail02'] = 'Directe registratie toestaan';
$txt['stopspammer_fail03'] = 'Lid goedkeuren an icoon tonen ter controle';
$txt['stopspammer_faildb1_sub'] = 'Je host kan een verbinding maken met de database';
$txt['stopspammer_faildb2_sub'] = 'Je host kan geen verbinding maken met de database. Probeer het later nog eens.<br />
Indien dit aanhoudt, kijk dan bij ondersteuning en zoeken ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?P=3a793817999b1d750a910970866950d3&topic=283309.new#post_issues"><span class="error"><b>Bekende gevallen</b></span></a>';

$txt['stopspammer_leyd01'] = 'Geen Spammer: Deze gegevens stonden niet in de database, maar je kunt dit controleren';
$txt['stopspammer_leyd02'] = 'Verdacht: Dit lid kon niet worden gecontroleerd. Nu controleren';
$txt['stopspammer_leyd03'] = 'Spammers: Kijk voor meer info over de activiteiten van deze spammers';

$txt['in_stop_forum_spam'] = 'In het Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Controleer deze leden';
$txt['spammers_report'] = 'Rapporteer deze leden';
$txt['confirm_spammers_checks'] = 'Ben je er zeker van deze leden te controleren?';
$txt['confirm_spammers_report'] = 'Weet je zeker dat je deze leden wilt rapporteren?\n\nDenk goed na voordat je een lid rapporteert aan SFS hij/zij wordt gemarkeerd als spammer over de gehele wereld\nen kan bij geen enkel verbonden forum met SFS wereldwijd meer registreren of posten.\n\nDoe dit alleen indien je volledig zeker bent dat ze spammers zijn en mocht je je vergissen, meld dit dan zo snel mogelijk aan de orginele auteur van deze mod om deze fout binnen de SFS database te herstellen.';


Regards,
Title: Re: Stop Spammer
Post by: acurrier on April 30, 2009, 09:06:31 PM
Maybe it's just me, but I cannot find any explicit installation instructions whatsoever for this mod. The readme file is in some markup language and does not appear to be very informative in the area of install.

Can someone please give me some instructions on what needs to be done?
Title: Re: Stop Spammer
Post by: Jade Elizabeth on April 30, 2009, 09:53:49 PM
Install, clear cache if you have any, go to admin > members, have fun ;D.
Title: Re: Stop Spammer
Post by: acurrier on April 30, 2009, 10:07:13 PM
Thanks Jade, but maybe I am denser than I think. I downloaded the 2.2 package, and uploaded them to a subdirectory under the forum dir. When I run install_1.php I get a db error on line 9. When you said install, where? How? Please be more specific. Thanks!
Title: Re: Stop Spammer
Post by: Jade Elizabeth on April 30, 2009, 10:49:09 PM
Use the package manager :)

This should help:
Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)

Package manager is at admin > packages :)
Title: Re: Stop Spammer
Post by: xyxis_fahim on May 01, 2009, 04:40:38 AM
Hello,
This mod is great. Use it everyday and blocks at least 10-20 spammers a day :)

One thing, is it possible to add a feature such as "Do not delete members with posts" . Basically saying if a member has posts 1,2 or whatever amount, they can be put into a seperate group for manual removal? I would live to have a feature like that.
Thanks again.
Title: Re: Stop Spammer
Post by: M-DVD on May 02, 2009, 08:27:21 PM
Quote from: Jade Elizabeth on April 27, 2009, 10:48:12 PM
This mod is awesome, thank you!! One question though: Can you make this work in the Online list?

I often look up the IPs I see, as I see a lot of them from the DB...and I set a ban on them. It would be easier for me if this mod worked on the Online list :D.

Thanks :D.

Thanks for your comment :D

Yes, but, which work?

You say Something like this?

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=283309.0;attach=85509;image)

The icons? or the Buttom for masive check?

--

Quote from: acurrier on April 30, 2009, 10:07:13 PM
Thanks Jade, but maybe I am denser than I think. I downloaded the 2.2 package, and uploaded them to a subdirectory under the forum dir. When I run install_1.php I get a db error on line 9. When you said install, where? How? Please be more specific. Thanks!

If you still you have the problem and need help, try install automatically

Check it: How to Installed Packages (http://docs.simplemachines.org/index.php?topic=92)

Quote from: Jade Elizabeth on April 30, 2009, 10:49:09 PM
Use the package manager :)

This should help:
Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)

Package manager is at admin > packages :)

Thanks for help :)

--

Quote from: xyxis_fahim on May 01, 2009, 04:40:38 AM
Hello,
This mod is great. Use it everyday and blocks at least 10-20 spammers a day :)

One thing, is it possible to add a feature such as "Do not delete members with posts" . Basically saying if a member has posts 1,2 or whatever amount, they can be put into a seperate group for manual removal? I would live to have a feature like that.
Thanks again.

Thanks for comment.

I think I've understood. This mod doesn't delete users automatically. So no need to make a distinction. Have I misunderstood? :P

--

Quote from: Laurens73 on April 28, 2009, 06:20:54 AM
Hi,

I translated the Stop Spammer messages into dutch, hoping it's a valueable addition to the mod.

Thanks for translate :D
Title: Re: Stop Spammer
Post by: Jade Elizabeth on May 02, 2009, 08:44:59 PM
I'd say icons personally :D. It would be good if they checked each guest's IP so I knew :D.

And thanks!
Title: Re: Stop Spammer
Post by: M-DVD on May 02, 2009, 08:47:43 PM
Quote from: gt13013 on April 26, 2009, 06:55:54 PM
Hi,

I discovered Stop Spammer today and it is really a fantastic mod!

But I had a problem : the file
smf/Themes/default/Modifications.french-utf8.php
has not been updated during the installation, and I spend some time to find a solution.
Is it possible to improve the installation procedure in order to automate the changes ?

I have another question concerning the permissions of the files updated by the installation, and that got a  777 attribute. Should I restore them to their original attributes?

All the details are in the attached PDF file.

Thanks

1.- What are the right attributes for this file?

"Normal" is relative.

But you can put CHMOD 664 for this file, without problem :)

2.- The file   .../smf/Themes/default/Modifications.french-utf8.php  was not changed during installation

Ok. You should download also the file languaje_full.zip

Then:


The original packages only have the languages english and spanish (sometimes if I release a new version, I include all the translations that I have so far.)

Thanks for your comments and sorry for delay :P

--

Quote from: Jade Elizabeth on May 02, 2009, 08:44:59 PM
I'd say icons personally :D. It would be good if they checked each guest's IP so I knew :D.

And thanks!

Ok, i can add this in a new version (but I think will not be in the near future) :P
Title: Re: Stop Spammer
Post by: Vampy on May 05, 2009, 04:16:59 AM
This is probably a stupid question but where is the report button? - I had a spammer register on my forum although the account hasn't been activated and I wanted to report it to the database as a google search flags the IP as a known spammer (only ever posts asking for a program to break captcha)

Oh and in the images on the mod page you have details to show spammers that have been blocked with graphic bars etc. - I get nothing like that on my site - just the option to deny them access
Title: Re: Stop Spammer
Post by: M-DVD on May 05, 2009, 09:53:13 PM
Quote from: Vampy on May 05, 2009, 04:16:59 AM
This is probably a stupid question but where is the report button? - I had a spammer register on my forum although the account hasn't been activated and I wanted to report it to the database as a google search flags the IP as a known spammer (only ever posts asking for a program to break captcha)

Oh and in the images on the mod page you have details to show spammers that have been blocked with graphic bars etc. - I get nothing like that on my site - just the option to deny them access

No problem.

Have you installed the last version? :)
Title: Re: Stop Spammer
Post by: Exsharaen on May 06, 2009, 01:09:57 AM
Hello M-DVD,

Thank you very much for making this mod! I've been waiting for it; I used to check weird-named registering members to SFS, but manually doing it was time-consuming so I didn't do it for a while, and one spammer eventually got through :P Now I can sit back assured that spammers will less likely to get into my forum.

Anyway, this is the Indonesian translation:

// MOD Stop Spammer
$txt['stopspammer_error'] = 'Kesalahan dengan basis data Anti SPAM. Hubungan gagal.<br />
Silakan coba lagi nanti, atau hubungi Webmaster.';
$txt['stopspammer_count'] = 'Spammer yang diblokir sampai sekarang';
$txt['stopspammer_title'] = 'Cari info lebih banyak di `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Nyalakan/Matikan MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Tampilkan tautan "Info lebih banyak" untuk semua anggota';
$txt['stopspammer_show01_sub'] = 'Anda dapat mengecek anggota manapun kapanpun dengan satu klik saja.';

$txt['stopspammer_faildb'] = 'Jika hubungan ke basis data Anti SPAM gagal...';
$txt['stopspammer_fail01'] = 'Tunjukkan pesan kesalahan dan batalkan pendaftaran';
$txt['stopspammer_fail02'] = 'Izinkan Pendaftaran Langsung';
$txt['stopspammer_fail03'] = 'Persetujuan Anggota dan tampilkan ikon untuk cek';
$txt['stopspammer_faildb1_sub'] = 'Inang Anda dapat membuat hubungan remote ke basis data';
$txt['stopspammer_faildb2_sub'] = 'Inang Anda tidak dapat terkoneksi ke basis data, coba lagi nanti.<br />
Jika ini berlanjut, lihat topik dukungan dan cari ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Bukan Spammer: Data tidak ada pada basis data, tapi Anda bisa cek.';
$txt['stopspammer_leyd02'] = 'Dicurigai: Anggota ini tidak dapat dicek. Cek sekarang.';
$txt['stopspammer_leyd03'] = 'Spammer: Lihat info lebih banyak tentang aktivitas spammer ini.';

$txt['in_stop_forum_spam'] = 'Pada Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Cek anggota-anggota ini';
$txt['spammers_report'] = 'Laporkan anggota-anggota ini';
$txt['confirm_spammers_checks'] = 'Anda yakin mau mengecek anggota terpilih?';
$txt['confirm_spammers_report'] = 'Anda yakin mau melaporkan anggota terpilih?\n\nIngat bahwa saat Anda melaporkan anggota ini ke Stop Forum Spam, ia akan ditandai sebagai spammer di seluruh dunia\ndan ia tidak akan dapat menggunakan forum yang terhubung ke Stop Forum Spam di seluruh penjuru dunia.\n\nLakukan hanya jika Anda benar-benar yakin mereka spammer, dan jika ternyata Anda keliru mengidentifikasi,\nhubungi pembuat mod ini sesegera mungkin untuk membetulkan kesalahan dalam basis data Stop Forum Spam.';


I will recommend this mod as a must-have to my administrator fellows ;)
Title: Re: Stop Spammer
Post by: M-DVD on May 08, 2009, 07:50:30 PM
Quote from: Exsharaen on May 06, 2009, 01:09:57 AM
Hello M-DVD,

Thank you very much for making this mod! I've been waiting for it; I used to check weird-named registering members to SFS, but manually doing it was time-consuming so I didn't do it for a while, and one spammer eventually got through :P Now I can sit back assured that spammers will less likely to get into my forum.

Anyway, this is the Indonesian translation:

...

I will recommend this mod as a must-have to my administrator fellows ;)

Thanks for your comment and thanks for translate.

I have uploaded your translation :D
Title: Re: Stop Spammer
Post by: DirtRider on May 10, 2009, 12:19:17 PM
What I would like to see is some kind of notification to admin that you have a members that needs to be approved or deleted. I tend to always forget to go and have a look to see if we have any waiting for an action 
Title: Re: Stop Spammer
Post by: M-DVD on May 10, 2009, 12:39:23 PM
Quote from: DirtRider on May 10, 2009, 12:19:17 PM
What I would like to see is some kind of notification to admin that you have a members that needs to be approved or deleted. I tend to always forget to go and have a look to see if we have any waiting for an action 

In your header should appear this link (check image)

Image (http://custom.simplemachines.org/mods/index.php?action=download;mod=1547;id=78646;image)
Title: Re: Stop Spammer
Post by: DirtRider on May 10, 2009, 12:42:23 PM
Hmmm did not notice that but then I am not running the default themes  :o
Title: Re: Stop Spammer
Post by: M-DVD on May 10, 2009, 12:51:45 PM
Quote from: DirtRider on May 10, 2009, 12:42:23 PM
Hmmm did not notice that but then I am not running the default themes  :o

Ok, your theme seem not have it, check this link :)

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

(in the index.template.php)
Title: Re: Stop Spammer
Post by: DirtRider on May 10, 2009, 12:58:08 PM
Ah cool thanks  :D Awesome mod well done
Title: Re: Stop Spammer
Post by: rthrash on May 11, 2009, 03:56:26 PM
Is there a way to quickly and easily report previously registered spammers which we've moved the posts into a "spambox" private thread and banned them?
Title: Re: Stop Spammer
Post by: Vampy on May 12, 2009, 06:34:46 AM
Quote from: M-DVD on May 05, 2009, 09:53:13 PM
Quote from: Vampy on May 05, 2009, 04:16:59 AM
This is probably a stupid question but where is the report button? - I had a spammer register on my forum although the account hasn't been activated and I wanted to report it to the database as a google search flags the IP as a known spammer (only ever posts asking for a program to break captcha)

Oh and in the images on the mod page you have details to show spammers that have been blocked with graphic bars etc. - I get nothing like that on my site - just the option to deny them access

No problem.

Have you installed the last version? :)

Yes I have :D

EDIT: sorted out the images problem LOL - silly me forgot to unpack the update and copy the gif files across
Title: Re: Stop Spammer
Post by: willerby on May 12, 2009, 12:37:17 PM
Great Mod. Nice and simple to install and use...

Thanks
Title: Re: Stop Spammer
Post by: yankeestonk on May 14, 2009, 07:20:31 PM
Hi,
Just uploaded this mod to the forum. I think it's working?! Is there supposed to be some kind of interface or something? I see it in my packages installed but can't "get to it" or see it anywhere. Are there any settings or anything? or did I not install it right and there should be a screen or something to work with.

Thanks!
Title: Re: Stop Spammer
Post by: OriginalP on May 15, 2009, 04:56:48 AM
Great Mod!

Italian translation
$txt['stopspammer_error'] = 'Errore con il DB anti SPAM. Connessione fallita.<br />
Per favore, riprova più tardi o contatta il webmaster';
$txt['stopspammer_count'] = 'Spammer sono stati bloccati fino ad oggi';
$txt['stopspammer_title'] = 'Cerca ulteriori informazioni in `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Abilita/Disabilita la MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Mostra il link "Ulteriori Informazioni" per tutti i Membri';
$txt['stopspammer_show01_sub'] = 'Puoi controllare qualsiasi membro in qualsiasi momento con un semplice click';

$txt['stopspammer_faildb'] = 'Se la connessione fallisce con il DB anti SPAM...';
$txt['stopspammer_fail01'] = 'Mostra l\'errore e interrompi la registrazione';
$txt['stopspammer_fail02'] = 'Permetti l\'immediata registrazione';
$txt['stopspammer_fail03'] = 'Approvazione  e mostra l\'icona per il controllo';
$txt['stopspammer_faildb1_sub'] = 'Il tuo host può stabilire connessioni remote con il DB';
$txt['stopspammer_faildb2_sub'] = 'Il tuo host non è stato in grado di stabilire connessioni remote con il DB, riprova più tardi<br />
Se continua, guarda il topic di supporto e cerca ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Non Spammer: questo dato non era nel DB. Puoi però verificare';
$txt['stopspammer_leyd02'] = 'Sospetto: non è stato possibile controllare questo membro. Controlla ora';
$txt['stopspammer_leyd03'] = 'Spammer: vedi ulteriori informazioni sull\'attività di questo spammer';

$txt['in_stop_forum_spam'] = 'Nel sito web Stop Forum Spam:';
$txt['spammers_checks'] = 'Controlla questi membri';
$txt['spammers_report'] = 'Segnala questi membri';
$txt['confirm_spammers_checks'] = 'Sei sicuro di voler controllare i membri selezionati?';
$txt['confirm_spammers_report'] = 'Sei sicuro di voler segnalare i membri selezionati?\n\nConsidera che quando segnali un membro a SFS, egli è marcato come spammer in tutto il mondo\ne non sarà abilitato a usare qualsiasi forum connesso a SFS in tutto il mondo.\n\nSegnalali solo se sei completamente sicuro che sono spammer e, se per caso commetti un errore,\navverti il prima possibile il creatore della mod per correggere l\'errore nel database di SFS.';
Title: Re: Stop Spammer
Post by: MissyNL on May 15, 2009, 05:12:25 AM
hello.. i want to ask.. i have approved a member, since only the username came up in the database, but that was a very common name. But now she still stays red in the member list... how can i make her color blue?
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on May 15, 2009, 06:17:52 AM
Hi - I only wanted to say thank you :)

Very nice mod.
Title: Re: Stop Spammer
Post by: Vampy on May 15, 2009, 09:18:10 AM
I referred back to the database to pick up any strays and found one. Instantly banned the user and within hours my site was hacked. This user was the last one to access my forum before it was hacked.

Can I post his info here to warn others and is it possible to get him on some sort of hacker database?
Title: Re: Stop Spammer
Post by: rthrash on May 15, 2009, 09:47:14 AM
Please do.
Title: Re: Stop Spammer
Post by: Vampy on May 15, 2009, 12:36:12 PM
If the mods or M-DVD do not approve then please remove this - but I am seriously ... annoyed yeah that's a safe word. This was not just a malicious files hack but a database hack!!

Name:     LevitraES
IP:    194.8.75.109
Hostname: simple11.dragonara.net
Email:    [email protected]
Title: Re: Stop Spammer
Post by: M-DVD on May 15, 2009, 07:43:58 PM
Quote from: DirtRider on May 10, 2009, 12:58:08 PM
Ah cool thanks  :D Awesome mod well done

Thanks for your comment :D

--

Quote from: rthrash on May 11, 2009, 03:56:26 PM
Is there a way to quickly and easily report previously registered spammers which we've moved the posts into a "spambox" private thread and banned them?

No, only looking this user from:
Admin > Members > View All Members

Or use

Admin > Members > Search For Members

And you can use (eg) the memebergroup (banned) in case exist this memebergroup.

--

Quote from: Vampy on May 12, 2009, 06:34:46 AM
Yes I have :D

EDIT: sorted out the images problem LOL - silly me forgot to unpack the update and copy the gif files across

I am glad that it has solved :D

--

Quote from: willerby on May 12, 2009, 12:37:17 PM
Great Mod. Nice and simple to install and use...

Thanks

Thanks for your comment :D

--

Quote from: yankeestonk on May 14, 2009, 07:20:31 PM
Hi,
Just uploaded this mod to the forum. I think it's working?! Is there supposed to be some kind of interface or something? I see it in my packages installed but can't "get to it" or see it anywhere. Are there any settings or anything? or did I not install it right and there should be a screen or something to work with.

Thanks!

You can see the FAQ (http://www.simplemachines.org/community/index.php?topic=283309.msg1920848#msg1920848), and look the interface, how to use, etc.

Also, you can test registering spammers (via action=register; don't via ACP) from this web (http://www.stopforumspam.com/)

--

Quote from: MissyNL on May 15, 2009, 05:12:25 AM
hello.. i want to ask.. i have approved a member, since only the username came up in the database, but that was a very common name. But now she still stays red in the member list... how can i make her color blue?

There is currently no way to do it.

Remains in red to maintain this "data", but (if it is necesary) I could add the feature to "clean out" a user. (snoopy_virtual time ago suggested me this case)

--

Quote from: LexArma on May 15, 2009, 06:17:52 AM
Hi - I only wanted to say thank you :)

Very nice mod.

Thanks for your cumment  :D

--

Quote from: OriginalP on May 15, 2009, 04:56:48 AM
Great Mod!

Italian translation

Thanks for translate :D, tomorrow I upload your texts

--

Quote from: Vampy on May 15, 2009, 09:18:10 AM
I referred back to the database to pick up any strays and found one. Instantly banned the user and within hours my site was hacked. This user was the last one to access my forum before it was hacked.

Can I post his info here to warn others and is it possible to get him on some sort of hacker database?

Is spammer or hacker?. If is spammers I can report :P

--

Quote from: Vampy on May 15, 2009, 12:36:12 PM
If the mods or M-DVD do not approve then please remove this - but I am seriously ... annoyed yeah that's a safe word. This was not just a malicious files hack but a database hack!!

I not have problem, thanks for this data ;)

Edit: this guy is very popular (http://www.stopforumspam.com/search?q=LevitraES) :P

--

For all: If you use this MOD, you are safe, but NEVER approve this user: krisbarteo (http://www.stopforumspam.com/search?q=krisbarteo), is a "hacker spammer"
Title: Re: Stop Spammer
Post by: Vampy on May 16, 2009, 07:31:06 AM
Quote from: M-DVD on May 15, 2009, 07:43:58 PM

Quote from: Vampy on May 15, 2009, 09:18:10 AM
I referred back to the database to pick up any strays and found one. Instantly banned the user and within hours my site was hacked. This user was the last one to access my forum before it was hacked.

Can I post his info here to warn others and is it possible to get him on some sort of hacker database?

Is spammer or hacker?. If is spammers I can report :P

--

Up until now I think he's only on the serious spammer list - bit my error logs show only this IP attempting access before the hack - I have no proof other than error logs and a gut feeling.

The main files were left untouched but once loaded the pages redirected to a site that had been totally hacked by BL4cK 3Y3D



Quote from: M-DVD on May 15, 2009, 07:43:58 PM

Quote from: Vampy on May 15, 2009, 12:36:12 PM
If the mods or M-DVD do not approve then please remove this - but I am seriously ... annoyed yeah that's a safe word. This was not just a malicious files hack but a database hack!!

I not have problem, thanks for this data ;)

Edit: this guy is very popular (http://www.stopforumspam.com/search?q=LevitraES) :P

--



It was this - http://www.phpbb.com/community/viewtopic.php?f=46&t=1599405 - that pointed me in the right direction of where to find it and how to fix it after spending days checking all the forum files.

I only hope this can be helpful for others



EDIT - watch out for these two email addresses too:

[email protected] and [email protected]

Title: Re: Stop Spammer :: Danish translation
Post by: zcuba on May 16, 2009, 09:48:38 AM
$txt['stopspammer_error'] = 'Fejl i DB Anti SPAM systemet. Forbindelsen til databasen slog fejl.<br />
Prøv igen senere, eller kontakt webmasteren';
$txt['stopspammer_count'] = 'Antallet af spambots der til dato er blokeret ';
$txt['stopspammer_title'] = 'Søg efter mere info på `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Enable/Disable MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Vis Linket "mere info" for alle medlemmer';
$txt['stopspammer_show01_sub'] = 'Du kan søge alle eksisterende medlemmer for spambots med et klik';

$txt['stopspammer_faildb'] = 'Hvis forbindelsen ikke kunne oprettes til DB Anti SPAM...';
$txt['stopspammer_fail01'] = 'Vis fejl og stop registreringen';
$txt['stopspammer_fail02'] = 'Tillad Immediate Registration';
$txt['stopspammer_fail03'] = 'lav Member Approval og vis et kontrol ikon';
$txt['stopspammer_faildb1_sub'] = 'Din webhost kan lave fjernforbindelse til databasen';
$txt['stopspammer_faildb2_sub'] = 'Din webhost kunne ikke oprette forbindelsen til databasen, Prøv evt.  igen senere<br />
Hvis problemet fortsætter, så se "Topic of Support" og søg efter hjælp ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Ikke en spambot: Denne bruger findes ikke endnu som spambot i Databasen.';
$txt['stopspammer_leyd02'] = 'Mistænkt: Denne bruger kunne ikke undersøges, prøv igen !';
$txt['stopspammer_leyd03'] = 'Spambot: Se andre aktiviteter af denne bot.';

$txt['in_stop_forum_spam'] = 'på Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Check disse medlemmer';
$txt['spammers_report'] = 'Rapporter disse medlemmer';
$txt['confirm_spammers_checks'] = 'Er du sikker på at du vil markere de valgte medlemmer som spambots ?';
$txt['confirm_spammers_report'] = 'Er du sikker på at du vil indrapportere de valgte medlemmer som spambots i databasen?\n\n Tænk over at når du tilføjer en bruger som spambot i databasen bliver han/hendes oplysninger markeret verden rundt, og han kan ikke bruge andre forummer som er koblet på databasen.';
Title: Re: Stop Spammer
Post by: M-DVD on May 16, 2009, 08:27:54 PM
Thanks OriginalP, zcuba. I have uploaded your translations :D
Title: Re: Stop Spammer
Post by: Filipina on May 16, 2009, 08:35:56 PM
Great MOD and I bet it is getting even more attention now :)

Well I think I know the answer to this but I will ask anyway. Since I have a dating site I have a modified upload avatar on registration option. I am assuming that this is a problem even if I use the Stop Spammer Mod, correct? I mean once the file is uploaded I am toast most likely, you think?
Title: Re: Stop Spammer
Post by: M-DVD on May 16, 2009, 08:56:18 PM
Quote from: Filipina on May 16, 2009, 08:35:56 PM
Great MOD and I bet it is getting even more attention now :)

Well I think I know the answer to this but I will ask anyway. Since I have a dating site I have a modified upload avatar on registration option. I am assuming that this is a problem even if I use the Stop Spammer Mod, correct? I mean once the file is uploaded I am toast most likely, you think?

As far as I know, the hole is only exploitable if the user has access to "something" that shouldn't have access if it is blocked with this MOD.

Until now, all the hackers/spammers involved in recent attacks have been in the DB of SFS, Still, it doesn't mean not there is a "new spammers" that isn't in the DB.

The best is disable this option to upload avatar until the patch is available.
Title: Re: Stop Spammer
Post by: Filipina on May 16, 2009, 09:45:59 PM
thanks M-DVD. Even though leaving this avatar upload off is having a negative effect on my site i guess I will leave it off. Better to be safe than sorry  :)
Title: Re: Stop Spammer
Post by: _Ziggy_ on May 17, 2009, 02:45:13 PM
The Dutch language file has a mistake in this line:

$txt['stopspammer_enable'] = 'MOD Stop Spammer' in/uitschakelen;

I think it should be:

$txt['stopspammer_enable'] = 'MOD Stop Spammer in/uitschakelen';
Title: Re: Stop Spammer
Post by: FragaCampos on May 18, 2009, 11:15:33 AM
Thanks a lot for this great mod.
With the recent attacks to SMF foruns, it is very useful.
Title: Re: Stop Spammer
Post by: Tiribulus on May 18, 2009, 12:06:20 PM
Security mods including this one, were the first I installed when deploying my site and it appears my paranoia was well founded. No forum package, or any other package for that matter, will ever be entirely impervious to every possible attack no matter how well written.
Title: Re: Stop Spammer
Post by: MissyNL on May 19, 2009, 07:04:11 AM
QuoteThere is currently no way to do it.

Remains in red to maintain this "data", but (if it is necesary) I could add the feature to "clean out" a user. (snoopy_virtual time ago suggested me this case)

That would be great!

Also it would be nice to choose how to scan.. now i have several accounts for approval, simply because the name is listed... but they are very common names like Daisy or something... It would be great to have an option to only check for IP and mail adress and not on name...

And it would be nice to have an option to check all members.. since i now have 2000+ members and it will take me ages to scan everyone manual...

But... most of all.. thank you for this wonderfull mod!!! Im shur this will add more safety..
Title: Re: Stop Spammer
Post by: FragaCampos on May 19, 2009, 11:11:43 AM
Yes, an option to sort by the red icon would be great, i have 5000+ users and it's not easy to search through the entire list.
Anyway, it would be just an addon, since the mod works fine.
Title: Re: Stop Spammer
Post by: M-DVD on May 19, 2009, 11:29:21 PM
Quote from: Ziggy on May 17, 2009, 02:45:13 PM
The Dutch language file has a mistake in this line:

$txt['stopspammer_enable'] = 'MOD Stop Spammer' in/uitschakelen;

I think it should be:

$txt['stopspammer_enable'] = 'MOD Stop Spammer in/uitschakelen';

Yep, thanks for fix :D


--

Quote from: FragaCampos on May 18, 2009, 11:15:33 AM
Thanks a lot for this great mod.
With the recent attacks to SMF foruns, it is very useful.

Thanks for comment, I am glad for this MOD has been usefull in this "emergency".

--

Quote from: Tiribulus on May 18, 2009, 12:06:20 PM
Security mods including this one, were the first I installed when deploying my site and it appears my paranoia was well founded. No forum package, or any other package for that matter, will ever be entirely impervious to every possible attack no matter how well written.

Very true :)

PS: Thanks for your comment :D

--

Quote from: MissyNL on May 19, 2009, 07:04:11 AM
QuoteThere is currently no way to do it.

Remains in red to maintain this "data", but (if it is necesary) I could add the feature to "clean out" a user. (snoopy_virtual time ago suggested me this case)
That would be great!

Ok, in the next version I will add this feature.

Quote from: MissyNL on May 19, 2009, 07:04:11 AM
Also it would be nice to choose how to scan.. now i have several accounts for approval, simply because the name is listed... but they are very common names like Daisy or something... It would be great to have an option to only check for IP and mail adress and not on name...

I sorry, I will not make it. I think it would be "work used" for compromises the functionality and security that has the MOD. (Many spammers would can be catched only by the name).

In contrast, one feature of the MOD, is that the administrator can take control of all blocks, so you can check if there are false positive (which in my opinion, is the smallest of the cases).

But, If you don't like check the user name, then you can do this manual change:

Search in $sourcedir/Subs-Members.php
$remoteXML = 'http://www.stopforumspam.com/api?' . ('127.0.0.1' != $check_ip ? "ip={$check_ip}&" : '') . 'username=' . urlencode($check_name) . '&email=' . $check_mail;

Replace by:

$remoteXML = 'http://www.stopforumspam.com/api?' . ('127.0.0.1' != $check_ip ? "ip={$check_ip}&" : '') . '&email=' . $check_mail;

Quote from: MissyNL on May 19, 2009, 07:04:11 AM
And it would be nice to have an option to check all members.. since i now have 2000+ members and it will take me ages to scan everyone manual...

Currently you can do massive check, with one button.

In: Admin > Members > View All Members

Select the users suspects and then make Click in Check Button.

More massive? All the users? It isn't recomendable, the process could fail for timeout.

Quote from: MissyNL on May 19, 2009, 07:04:11 AM
But... most of all.. thank you for this wonderfull mod!!! Im shur this will add more safety..

Your welcome :D

--

Quote from: FragaCampos on May 19, 2009, 11:11:43 AM
Yes, an option to sort by the red icon would be great, i have 5000+ users and it's not easy to search through the entire list.
Anyway, it would be just an addon, since the mod works fine.

Sort by Red Icon could be many work :'( I shouldn't do it for short or medium term.

In contrast, you can found easily the "Red Icon User" in the List:

Admin > Members > Awaiting Approval

:P

Then, this feature I think isn't urgent (or innecesary)

Thanks for your comment :)
Title: Re: Stop Spammer
Post by: MissyNL on May 20, 2009, 10:01:03 AM
oke.. great.. yes.. if you say it that way.. maybe it's then better to leave the namecheck.

I have seen you have updated the mod today... what are the differences?
Title: Re: Stop Spammer
Post by: FragaCampos on May 20, 2009, 10:33:29 AM
Quote from: M-DVD on May 19, 2009, 11:29:21 PM

Sort by Red Icon could be many work :'( I shouldn't do it for short or medium term.

In contrast, you can found easily the "Red Icon User" in the List:

Admin > Members > Awaiting Approval

:P

I was referring to the members that are already registered before the installation of this mod. When i install this mod, does it recognize the spammers in the list of already registered members?
Title: Re: Stop Spammer
Post by: MarioH on May 20, 2009, 10:46:42 AM
Sorry for my English. Google Traductor.




I am trying to install your MOD, but the Apply changes to get this screen.

and then not give me the option to apply changes. Deputy SS to help me.

Thank you.




Estoy intentando instalar tu MOD, sin embargo al Aplicar los cambios llego hasta esta pantalla.

y luego no me da la opcion de instalarlo. Adjunto la SS para que me ayudes.

Gracias.




SMF 2.0 RC1
Title: Re: Stop Spammer
Post by: M-DVD on May 20, 2009, 11:19:17 AM
Quote from: MissyNL on May 20, 2009, 10:01:03 AM
I have seen you have updated the mod today... what are the differences?

Only have updated the languajes.zip, with the Ziggy's fix (http://www.simplemachines.org/community/index.php?topic=283309.msg2064495#msg2064495)

:P

--

Quote from: FragaCampos on May 20, 2009, 10:33:29 AM
Quote from: M-DVD on May 19, 2009, 11:29:21 PM

Sort by Red Icon could be many work :'( I shouldn't do it for short or medium term.

In contrast, you can found easily the "Red Icon User" in the List:

Admin > Members > Awaiting Approval

:P

I was referring to the members that are already registered before the installation of this mod. When i install this mod, does it recognize the spammers in the list of already registered members?

Oh, ok, thanks for do this question.

Don't autorecognize the spammers already registered before install this MOD.

But you can check all the users or only the suspects in:

Admin > Members > View All Members

Then select the users suspects and then make Click in Check Button.

--

Quote from: MarioH on May 20, 2009, 10:46:42 AM
Sorry for my English. Google Traductor.




I am trying to install your MOD, but the Apply changes to get this screen.

and then not give me the option to apply changes. Deputy SS to help me.

Thank you.




Estoy intentando instalar tu MOD, sin embargo al Aplicar los cambios llego hasta esta pantalla.

y luego no me da la opcion de instalarlo. Adjunto la SS para que me ayudes.

Gracias.




SMF 2.0 RC1


This is very strange. I think, is "failure" in the package manager.

Does this happen with other MODs?

Try uploading again Packages.template.php

--

Esto es muy extraño. Me parece una "falla" en el administrador de paquetes.

¿También ocurre eso con otros MODs?

Intenta subir de nuevo el Packages.template.php

Title: Re: Stop Spammer
Post by: naitram on May 21, 2009, 04:41:31 PM
installed this yesterday, so far nothing has been stopped but as soon as i installed it i got



Show unread posts since last visit.
Show new replies to your posts.
There are 4 members awaiting approval.


any idea why it says 4 when none are waititng for approval?
Title: Re: Stop Spammer
Post by: MissyNL on May 21, 2009, 05:17:45 PM
yes.. i have that same problem...
it says 3.. while none are in the list... I have it in a TP block...
Title: Re: Stop Spammer
Post by: M-DVD on May 21, 2009, 09:20:34 PM
Quote from: naitram on May 21, 2009, 04:41:31 PM
installed this yesterday, so far nothing has been stopped but as soon as i installed it i got

Show unread posts since last visit.
Show new replies to your posts.
There are 4 members awaiting approval.

any idea why it says 4 when none are waititng for approval?

Quote from: MissyNL on May 21, 2009, 05:17:45 PM
yes.. i have that same problem...
it says 3.. while none are in the list... I have it in a TP block...


Ok, this seems to be an error in SMF (I think i have seen this in the bug tracker). For some reason this number is increased without having users waiting approval.

You can reset to 0 by following these step. (http://www.simplemachines.org/community/index.php?topic=283309.msg2003629#msg2003629) :)
Title: Re: Stop Spammer
Post by: naitram on May 22, 2009, 08:18:23 AM
having finally caught one the number already reset it self, thanks for the help
Title: Re: Stop Spammer
Post by: MissyNL on May 22, 2009, 09:10:48 AM
thanks :D   worked like a charm!
Title: Re: Stop Spammer
Post by: geminiguy on May 22, 2009, 10:59:46 PM
 Sorry if I might have missed the answer to this question but, will this mod be updated now to the latest 1.1.9?
Title: Re: Stop Spammer
Post by: Gort on May 22, 2009, 11:37:16 PM
Seems to work fine with 1.1.9. Then again, I've only just installed it.

Great mod and many thanks to the mod creator for making it. :)
Title: Re: Stop Spammer
Post by: Poppet34 on May 23, 2009, 03:05:58 AM
Hello, I am trying to get this mod installed.  My boards are 1.1.9 and I have no other mods installed.

I tried to install by using the package manager, but I was not able to do it.  I have never been able to use this feature for some reason.  Anyway....so I did the manual install, updated each of files as directed.

Now the last step is to run the following queries manually on Install_1.php

INSERT IGNORE INTO
{$db_prefix}settings
(variable, value)
VALUES ('stopspammer_count' ,'0'),
('stopspammer_enable','1'),
('stopspammer_show01','1'),
('stopspammer_faildb


I am a bit lost on this step.  I assumed that it was to be done in phpmyadmin, but that didn't work.

Any help would be appreciated.

Thanks
Title: Re: Stop Spammer
Post by: sevacycles on May 23, 2009, 05:37:57 AM
To make sure i understand this. if a member comes up as a spammer and is indeed a spammer. then i would reject him.  and if they arnt i would approve them??
Title: Re: Stop Spammer
Post by: MissyNL on May 23, 2009, 10:19:34 AM
Quote from: sevacycles on May 23, 2009, 05:37:57 AM
To make sure i understand this. if a member comes up as a spammer and is indeed a spammer. then i would reject him.  and if they arnt i would approve them??

your totally correct.... if he is a spammer you can also report him...
Title: Re: Stop Spammer
Post by: BellyDanceDreams on May 23, 2009, 10:46:38 AM
Hello I have changed all the code files but I am at the end of the instructions and I I don't understand how to 'execute install_1.php...
  I have uploaded install_1.php and opened it but it just says

Fatal error: Call to undefined function db_query() in /home/bellydan/public_html/forums/install_1.php on line 9

Or am I doing it wrong?...
Title: Re: Stop Spammer
Post by: BellyDanceDreams on May 23, 2009, 10:52:14 AM
Quote from: Poppet34 on May 23, 2009, 03:05:58 AM
Hello, I am trying to get this mod installed.  My boards are 1.1.9 and I have no other mods installed.

I tried to install by using the package manager, but I was not able to do it.  I have never been able to use this feature for some reason.  Anyway....so I did the manual install, updated each of files as directed.

Now the last step is to run the following queries manually on Install_1.php

INSERT IGNORE INTO
{$db_prefix}settings
(variable, value)
VALUES ('stopspammer_count' ,'0'),
('stopspammer_enable','1'),
('stopspammer_show01','1'),
('stopspammer_faildb


I am a bit lost on this step.  I assumed that it was to be done in phpmyadmin, but that didn't work.

Any help would be appreciated.

Thanks

Oh, I have the same problem, have you figured out what to do?
Title: Re: Stop Spammer
Post by: Poppet34 on May 23, 2009, 12:58:41 PM
Quote from: BellyDanceDreams on May 23, 2009, 10:52:14 AM
Quote from: Poppet34 on May 23, 2009, 03:05:58 AM
Hello, I am trying to get this mod installed.  My boards are 1.1.9 and I have no other mods installed.

I tried to install by using the package manager, but I was not able to do it.  I have never been able to use this feature for some reason.  Anyway....so I did the manual install, updated each of files as directed.

Now the last step is to run the following queries manually on Install_1.php

INSERT IGNORE INTO
{$db_prefix}settings
(variable, value)
VALUES ('stopspammer_count' ,'0'),
('stopspammer_enable','1'),
('stopspammer_show01','1'),
('stopspammer_faildb


I am a bit lost on this step.  I assumed that it was to be done in phpmyadmin, but that didn't work.

Any help would be appreciated.

Thanks

Oh, I have the same problem, have you figured out what to do?

Not yet  :(
Title: Re: Stop Spammer
Post by: M-DVD on May 23, 2009, 04:51:52 PM
Quote from: naitram on May 22, 2009, 08:18:23 AM
having finally caught one the number already reset it self, thanks for the help

Quote from: MissyNL on May 22, 2009, 09:10:48 AM
thanks :D   worked like a charm!

Your welcome :)

--

Quote from: geminiguy on May 22, 2009, 10:59:46 PM
Sorry if I might have missed the answer to this question but, will this mod be updated now to the latest 1.1.9?

Already should work fine for 1.1.X and 2RC1-1

--

Quote from: Gort on May 22, 2009, 11:37:16 PM
Seems to work fine with 1.1.9. Then again, I've only just installed it.

Great mod and many thanks to the mod creator for making it. :)

Thanks for your comment :)

--

Quote from: Poppet34 on May 23, 2009, 03:05:58 AM
Now the last step is to run the following queries manually on Install_1.php

INSERT IGNORE INTO
{$db_prefix}settings
(variable, value)
VALUES ('stopspammer_count' ,'0'),
('stopspammer_enable','1'),
('stopspammer_show01','1'),
('stopspammer_faildb


I am a bit lost on this step.  I assumed that it was to be done in phpmyadmin, but that didn't work.

Quote from: BellyDanceDreams on May 23, 2009, 10:52:14 AM
Oh, I have the same problem, have you figured out what to do?

The package manager, don't shows the entire contents of the php files (I don't know because).

- You should install automatically.

- Or you should do download the file and copy the entire query in phpmyadmin.

- Or edit the install_X.php file and place the beginning

if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
require_once(dirname(__FILE__) . '/SSI.php');
elseif (!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');


And then run it.

--

Quote from: Poppet34 on May 23, 2009, 03:05:58 AM
I tried to install by using the package manager, but I was not able to do it.  I have never been able to use this feature for some reason.

You should solve this problem. It is more convenient automatic installation, and anyway, it is something that apparently doesn't work fine, and everything should work fine.

You can get help about it in this board (http://www.simplemachines.org/community/index.php?board=9.0) :)
Title: Re: Stop Spammer
Post by: Poppet34 on May 23, 2009, 05:25:43 PM
Quote- Or edit the install_X.php file and place the beginning


Code: [Select]
if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
   require_once(dirname(__FILE__) . '/SSI.php');
elseif (!defined('SMF'))
   die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');
And then run it.

--


Quote from: Poppet34 on Today at 03:05:58 AM
I tried to install by using the package manager, but I was not able to do it.  I have never been able to use this feature for some reason.

You should solve this problem. It is more convenient automatic installation, and anyway, it is something that apparently doesn't work fine, and everything should work fine.

You can get help about it in this board 

That worked.  Thanks.

As far as the package manager.  I agree, it would be less of a pain and I will get around to fixing it at some point.  ;D
Title: Re: Stop Spammer
Post by: M-DVD on May 24, 2009, 06:03:59 PM
Quote from: Poppet34 on May 23, 2009, 05:25:43 PM
That worked.  Thanks.

Your welcome :)
Title: Re: Stop Spammer
Post by: GaMeR on May 25, 2009, 09:04:34 AM
This mod is great. Installed without any errors, working nicely.
I translated it, into my language and will post it after some testing.
Title: Re: Stop Spammer
Post by: coledavis on May 25, 2009, 11:06:17 AM
I'm having trouble installing this. I've got it there on 'browse packages' but every time I press 'apply mod', I get an apply mod 'Installation Readme' page up. It is unclear what I have to do now.
Title: Re: Stop Spammer
Post by: M-DVD on May 25, 2009, 11:16:00 AM
Quote from: GaMeR on May 25, 2009, 09:04:34 AM
This mod is great. Installed without any errors, working nicely.
I translated it, into my language and will post it after some testing.

Thanks for your comment :D

Quote from: coledavis on May 25, 2009, 11:06:17 AM
I'm having trouble installing this. I've got it there on 'browse packages' but every time I press 'apply mod', I get an apply mod 'Installation Readme' page up. It is unclear what I have to do now.

Ok.

You should do 'Scroll Down', 'Scroll Down', 'Scroll Down' etc

And press "Install Now" button :)
Title: Re: Stop Spammer
Post by: coledavis on May 25, 2009, 11:23:19 AM
Quote from: M-DVD on May 25, 2009, 11:16:00 AM
Quote from: GaMeR on May 25, 2009, 09:04:34 AM
This mod is great. Installed without any errors, working nicely.
I translated it, into my language and will post it after some testing.

Thanks for your comment :D

Quote from: coledavis on May 25, 2009, 11:06:17 AM
I'm having trouble installing this. I've got it there on 'browse packages' but every time I press 'apply mod', I get an apply mod 'Installation Readme' page up. It is unclear what I have to do now.

Ok.

You should do 'Scroll Down', 'Scroll Down', 'Scroll Down' etc

And press "Install Now" button :)
Thanks!
Title: Re: Stop Spammer
Post by: GaMeR on May 25, 2009, 07:21:06 PM
My mod is just stopped working. After catching 500 spammers (via user list) now I can't run a check on members. I can see 2-3 members are spammers by clicking the magnifier glass but when I select those 3 and press "check these members at SFS database" button, nothing happens. :(

Also I just realized that my user list is all blue icons. No yellow, no red. Only blue and some of them are spammers.

Did I put a lot of work on SFS db? I was checking all my members page by page. ;)
Title: Re: Stop Spammer
Post by: M-DVD on May 25, 2009, 07:32:14 PM
Quote from: coledavis on May 25, 2009, 11:23:19 AM
Thanks!

Your welcome. :)

--

Turkish translation have been added, thanks for GaMeR.

--

Quote from: GaMeR on May 25, 2009, 07:21:06 PM
My mod is just stopped working. After catching 500 spammers (via user list) now I can't run a check on members. I can see 2-3 members are spammers by clicking the magnifier glass but when I select those 3 and press "check these members at SFS database" button, nothing happens. :(

Also I just realized that my user list is all blue icons. No yellow, no red. Only blue and some of them are spammers.

Did I put a lot of work on SFS db? I was checking all my members page by page. ;)

Ok, maybe, you have excedded the limit querys (¡¡5000 querys for day!!).

Stop by today, and continues tomorrow. If you continue today, all will be in blue.

Was highly unlikely that someone over the limit, but now I will do something to display a warning in case it happens :P
Title: Re: Stop Spammer
Post by: GaMeR on May 25, 2009, 07:37:28 PM
Quote from: M-DVD on May 25, 2009, 07:32:14 PM
Ok, maybe, you have excedded the limit querys (¡¡5000 querys for day!!).

Stop by today, and continues tomorrow. If you continue today, all will be in blue.

Was highly unlikely that someone over the limit, but now I will do something to display a warning in case it happens :P

Ok, I will take a rest for a day. I hope it will be ok. :)
Title: Re: Stop Spammer
Post by: ZeUsSaN on May 25, 2009, 09:10:40 PM
██████ russian:
$txt['stopspammer_error'] = 'Ошибка связи с БД Anti Spam. Не удалось подключится.<br />Пожалуйста пробуйте снова  немного позже, или свяжитесь с ВебМастером';
$txt['stopspammer_count'] = 'Спамеры были заблокированы на сегодняшний день';
$txt['stopspammer_title'] = 'Найдите больше информации на Форуме `Stop Spam`';

$txt['stopspammer_enable'] = 'Включить/Выключить Мод Stop Spammer';
$txt['stopspammer_show01'] = 'Показать, ссылку "Больше Информации" для Всех Пользователей';
$txt['stopspammer_show01_sub']= 'Вы можете проверить любого пользователя в любой время, одным простым кликом';

$txt['stopspammer_faildb'] = 'Если произошла ошибка связи с БД Anti Spam...';
$txt['stopspammer_fail01'] = 'Показать Ошибку и Остановить Регистрацию';
$txt['stopspammer_fail02'] = 'Позволить Непосредственно Регистрацию';
$txt['stopspammer_fail03'] = 'Одобрение пользователя и показывать иконку для проверки';
$txt['stopspammer_faildb1_sub'] = 'Ваш хост может сделать удалённое подключение к БД';
$txt['stopspammer_faildb2_sub'] = 'Ваш хост не может сделают удалённое подключение к БД, Попробуйте пождже<br />Если это продолжаются просмотрите Тему Поддержки и поищите ответ среди ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Известных проблем</b></span></a>';

$txt['stopspammer_leyd01'] = 'Not Spammer: Этих данных нет в БД. Но вы можете проверить';
$txt['stopspammer_leyd02'] = 'Подозреваемый: Этот пользователь не проверен. Проверить сейчас';
$txt['stopspammer_leyd03'] = 'Spammers: Посмотрите больше информации деятельности этого спамера';

$txt['in_stop_forum_spam'] = 'В Stop Forum Spam Web(SFS):';
$txt['spammers_checks'] = 'Проверить этих пользователей;
$txt['spammers_report'] = 'Сообщить об этих пользователях;
$txt['confirm_spammers_checks'] = 'Вы уверены, что хотите проверить выбраннх пользователей?';
$txt['confirm_spammers_report'] = 'Вы уверены, что хотите сообщить о выбранных пользователях?\nПодумайте, что, когда вы сообщите про пользователя в SFS его пометят как спамера во всем мире,\nи он/она не сможет использовать любой из форумов, связанных с SFS во всем мире.\n\n Сделайте это, только если вы абсолютно уверены, они спамеры и если по какой-либо причине произошли ошибки,\nрозскажите как можно скорее создателям модификации, чтобы они как можно быстрее исправили ошибку внутри SFS данных.';



██████ ukrainian:   
$txt['stopspammer_error'] = 'Помилка зв\\\'язку з БД Anti Spam. Не вдалося підключиться.<br /> Будь ласка пробуйте знову трохи пізніше, або зв\\\'яжіться з ВебМайстром ';
$txt['stopspammer_count'] = 'Спамери були заблоковані на сьогоднішній день';
$txt['stopspammer_title'] = 'Знайдіть більше інформації на Форумі `Stop Spam`';

$txt['stopspammer_enable'] = 'Увімкнути/Вимкнути Мод Stop Spammer';
$txt['stopspammer_show01'] = 'Показати, посилання "Більше Інформації" для всіх користувачів';
$txt['stopspammer_show01_sub'] = 'Ви можете перевірити будь-якого користувача в будь-який час, одним простим кліком';

$txt['stopspammer_faildb'] = 'Якщо сталася помилка зв\\\'язку з БД Anti Spam ...';
$txt['stopspammer_fail01'] = 'Показати Помилку та Зупинити Реєстрацію';
$txt['stopspammer_fail02'] = 'Дозволити Безпосередньо Реєстрацію';
$txt['stopspammer_fail03'] = 'Рейтинг клієнта користувача і показувати іконку для перевірки';
$txt['stopspammer_faildb1_sub'] = 'Ваш хост може зробити віддалене підключення до БД';
$txt['stopspammer_faildb2_sub'] = 'Ваш хост не може зроблять віддалене підключення до БД, Спробуйте пождже <br /> Якщо це продовжується перегляньте Тему Підтримки та пошукайте відповідь серед ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"> <span class="error"> <b>Відомих проблем</b></span></a>';

$txt['stopspammer_leyd01'] = 'Not Spammer: Цих даних немає в БД. Але ви можете перевірити ';
$txt['stopspammer_leyd02'] = 'Підозрюваний: Цей користувач не перевірений. Перевірити зараз';
$txt['stopspammer_leyd03'] = 'Spammers: Подивіться більше інформації діяльності цього спамера';

$txt['in_stop_forum_spam'] = 'У Stop Forum Spam Web(SFS):';
$txt['spammers_checks'] =' Перевірити цих користувачів;
$txt['spammers_report'] = 'Повідомити про цих користувачів;
$txt['confirm_spammers_checks'] =' Ви впевнені, що хочете перевірити вибраннх користувачів? ';
$txt['confirm_spammers_report'] = 'Ви впевнені, що хочете повідомити про обраних користувачів?\nПодумайте, що, коли ви повідомите про користувача в SFS його Позначити як спамера в усьому світі,\nі він/вона не зможе використати будь-який з форумів , пов'язаних з SFS в усьому світі.\n\nЗробіть це, тільки якщо ви абсолютно впевнені, вони спамери і якщо з якої-небудь причини сталися помилки,\nповідомте якомога швидше розробникам модифікації, щоб вони якомога швидше виправили помилку всередині SFS даних.';
Title: Re: Stop Spammer
Post by: M-DVD on May 26, 2009, 11:05:56 PM
Quote from: GaMeR on May 25, 2009, 07:37:28 PM
Quote from: M-DVD on May 25, 2009, 07:32:14 PM
Ok, maybe, you have excedded the limit querys (¡¡5000 querys for day!!).

Stop by today, and continues tomorrow. If you continue today, all will be in blue.

Was highly unlikely that someone over the limit, but now I will do something to display a warning in case it happens :P

Ok, I will take a rest for a day. I hope it will be ok. :)

Good luck :)

Quote from: ZeUsSaN on May 25, 2009, 09:10:40 PM
██████ russian:

██████ ukrainian:   

Thanks, I have update your translation :)
Title: Re: Stop Spammer
Post by: kitz on May 28, 2009, 09:24:20 AM
Hi M-DVD ( &snoopy_virtual)

Firstly a big thank you for the time and effort that you guys have so far put into this mod which I installed yesterday without any problems and it seems to be working fine so far. :)


Perhaps I may have misunderstood its capabilities so can I ask a question please if what I'm understanding is correct.

I have independantly been using SFS for over a year now, we do get quite a few spammers signing up and they are all reported to SFS - so hopefully this should make things easier for my moderators.  The mods are usually pretty much on the ball and we are often one of the first to report 'new spammers' to the SFS database.

The bit I may be not fully understanding is action to take when a user has signed up and has sucessfully spammed.
Normally what we would do is delete the post, Ban user, then report to SFS.
What I cannot see is an easy way in this instance, in an option to be able to easily or automatically report to SFS when we make a ban that is not already in the SFS database.

I notice that HR appears to have implemented something..  is there any more information on how this can be done please?

or SUGGESTION 

Could this mod be further developed so that either

1) When you look at a users profile there's an easy option there to add to SFS

or

2) when a user is banned an option appears on the ban page to report to SFS.


I've added some mock ups to show examples of what I mean.
Title: Re: Stop Spammer
Post by: BellyDanceDreams on May 30, 2009, 12:51:28 PM
Quote from: M-DVD on May 23, 2009, 04:51:52 PM
Quote from: naitram on May 22, 2009, 08:18:23 AM
having finally caught one the number already reset it self, thanks for the help

Quote from: MissyNL on May 22, 2009, 09:10:48 AM
thanks :D   worked like a charm!

Your welcome :)

--

Quote from: geminiguy on May 22, 2009, 10:59:46 PM
Sorry if I might have missed the answer to this question but, will this mod be updated now to the latest 1.1.9?

Already should work fine for 1.1.X and 2RC1-1

--

Quote from: Gort on May 22, 2009, 11:37:16 PM
Seems to work fine with 1.1.9. Then again, I've only just installed it.

Great mod and many thanks to the mod creator for making it. :)

Thanks for your comment :)

--

Quote from: Poppet34 on May 23, 2009, 03:05:58 AM
Now the last step is to run the following queries manually on Install_1.php

INSERT IGNORE INTO
{$db_prefix}settings
(variable, value)
VALUES ('stopspammer_count' ,'0'),
('stopspammer_enable','1'),
('stopspammer_show01','1'),
('stopspammer_faildb


I am a bit lost on this step.  I assumed that it was to be done in phpmyadmin, but that didn't work.

Quote from: BellyDanceDreams on May 23, 2009, 10:52:14 AM
Oh, I have the same problem, have you figured out what to do?

The package manager, don't shows the entire contents of the php files (I don't know because).

- You should install automatically.

- Or you should do download the file and copy the entire query in phpmyadmin.

- Or edit the install_X.php file and place the beginning

if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
require_once(dirname(__FILE__) . '/SSI.php');
elseif (!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');


And then run it.

--

Quote from: Poppet34 on May 23, 2009, 03:05:58 AM
I tried to install by using the package manager, but I was not able to do it.  I have never been able to use this feature for some reason.

You should solve this problem. It is more convenient automatic installation, and anyway, it is something that apparently doesn't work fine, and everything should work fine.

You can get help about it in this board (http://www.simplemachines.org/community/index.php?board=9.0) :)


Where in the beginning? before the <?php> or after the   global $db_prefix; ?

Also this has seemed have messed up my forums as no one can register through the forums, and when I try logging in it says check my cookies, even though none of my settings have changed
Title: Re: Stop Spammer
Post by: Vampy on May 30, 2009, 09:51:54 PM
Quote from: M-DVD on May 20, 2009, 11:19:17 AM


Don't autorecognize the spammers already registered before install this MOD.



Umm actually on my site it did catch already registered members when I updated the mod :D - that's how i caught my unwelcome and problematic little visitor
Title: Re: Stop Spammer
Post by: fmben on May 31, 2009, 10:40:44 AM
Hi, the following is Simplified Chinese translating.

$txt['stopspammer_error'] = '与 Anti SPAM 数据库通讯错误,链接失败。<br />
请稍候重试,或者联系站长。';
$txt['stopspammer_count'] = '到目前为止 Spammers 已经拦截';
$txt['stopspammer_title'] = '在`Stop Forum Spam`里搜索更多信息';

$txt['stopspammer_enable'] = '开启/关闭 Stop Spammer 插件';
$txt['stopspammer_show01'] = '为所有会员显示"更多信息"链接';
$txt['stopspammer_show01_sub'] = '你可以在任何时间简单单击就检查所有的会员';

$txt['stopspammer_faildb'] = '如果链接 Anti SPAM 数据库失败...';
$txt['stopspammer_fail01'] = '显示错误并停止注册';
$txt['stopspammer_fail02'] = '允许立刻注册';
$txt['stopspammer_fail03'] = '要求会员审核和显示检查链接';
$txt['stopspammer_faildb1_sub'] = '你的主机可以链接到远程数据库';
$txt['stopspammer_faildb2_sub'] = '你的主机不能链接到数据库,请稍候重试<br />
如果一直出现,请看支持页和搜索';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>未知错误</b></span></a>';

$txt['stopspammer_leyd01'] = '非垃圾: 该数据不在数据库里,但是你可以自行检查';
$txt['stopspammer_leyd02'] = '令人怀疑的: 该会员不能检查,立刻检查';
$txt['stopspammer_leyd03'] = '垃圾发送者: 看更多关于该垃圾的信息';

$txt['in_stop_forum_spam'] = '在 Stop Forum Spam 网站:';
$txt['spammers_checks'] = '检查这些会员';
$txt['spammers_report'] = '报告这些会员';
$txt['confirm_spammers_checks'] = '你确认要检查选择的会员?';
$txt['confirm_spammers_report'] = '你确认报告选择的会员?\n\n注意当你报告该会员给 SFS 后,他/她将被全球通告为垃圾发送者\n并且他/她将不能在全球使用链接到 SFS 的论坛。\n\n只有当你非常肯定他们是垃圾发送者的时候才使用本功能,如果你错误的操作了\n尽快通知本插件制作者来更正SFS的数据库。';
Title: Re: Stop Spammer
Post by: fmben on May 31, 2009, 10:46:32 AM
The following is Traditional Chinese translating.

$txt['stopspammer_error'] = '與 Anti SPAM 資料庫通訊錯誤,鏈結失敗。<br />
請稍候重試,或者聯繫站長。';
$txt['stopspammer_count'] = '到目前為止 Spammers 已經攔截';
$txt['stopspammer_title'] = '在`Stop Forum Spam`裏搜索更多資訊';

$txt['stopspammer_enable'] = '開啟/關閉 Stop Spammer 插件';
$txt['stopspammer_show01'] = '為所有會員顯示"更多資訊"鏈結';
$txt['stopspammer_show01_sub'] = '你可以在任何時間簡單單擊就檢查所有的會員';

$txt['stopspammer_faildb'] = '如果鏈結 Anti SPAM 資料庫失敗...';
$txt['stopspammer_fail01'] = '顯示錯誤並停止註冊';
$txt['stopspammer_fail02'] = '允許立刻註冊';
$txt['stopspammer_fail03'] = '要求會員審核和顯示檢查鏈結';
$txt['stopspammer_faildb1_sub'] = '你的主機可以鏈結到遠端資料庫';
$txt['stopspammer_faildb2_sub'] = '你的主機不能鏈結到資料庫,請稍候重試<br />
如果一直出現,請看支持頁和搜索';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>未知錯誤</b></span></a>';

$txt['stopspammer_leyd01'] = '非垃圾: 該資料不在資料庫裏,但是你可以自行檢查';
$txt['stopspammer_leyd02'] = '令人懷疑的: 該會員不能檢查,立刻檢查';
$txt['stopspammer_leyd03'] = '垃圾發送者: 看更多關於該垃圾的資訊';

$txt['in_stop_forum_spam'] = '在 Stop Forum Spam 網站:';
$txt['spammers_checks'] = '檢查這些會員';
$txt['spammers_report'] = '報告這些會員';
$txt['confirm_spammers_checks'] = '你確認要檢查選擇的會員?';
$txt['confirm_spammers_report'] = '你確認報告選擇的會員?\n\n注意當你報告該會員給 SFS 後,他/她將被全球通告為垃圾發送者\n並且他/她將不能在全球使用鏈結到 SFS 的論壇。\n\n只有當你非常肯定他們是垃圾發送者的時候才使用本功能,如果你錯誤的操作了\n儘快通知本插件製作者來更正SFS的資料庫。';
Title: Re: Stop Spammer
Post by: Astra_200 on May 31, 2009, 04:29:14 PM
Hi. For some reason my ftp client decided to update a file by itself when I was not concentrating. The result was I still had a forum but the top half the page was the default theme and the lower half was my custom theme. No idea what happened at all???

Anyway, I keep backups and loaded my files up again, only problem was a couple of mods were missing since the last backup, or so I thought...

Stop Spammer 2.2 was missing from my package manager but when I tried to install it again, it said it was already installed and suddenly appeared in the list.

Problem is, it's not working at all as it was prior to my problems, so my question is, when I tried to uninstall it there was a page full of errors on the package manager saying the mod had not been installed properly so...

Is it safe to uninstall it using the package manager or will I have big problems?

I really like this mod and want it back.
Title: Re: Stop Spammer
Post by: M-DVD on June 01, 2009, 12:00:13 AM
Quote from: kitz on May 28, 2009, 09:24:20 AM
What I cannot see is an easy way in this instance, in an option to be able to easily or automatically report to SFS when we make a ban that is not already in the SFS database.

I notice that HR appears to have implemented something..  is there any more information on how this can be done please?

or SUGGESTION 

Could this mod be further developed so that either

1) When you look at a users profile there's an easy option there to add to SFS

or

2) when a user is banned an option appears on the ban page to report to SFS.


I've added some mock ups to show examples of what I mean.

Thanks for the samples.

1.- Your moderators can ban, but maybe isn't good idea also can report spammer.

2.- About an easy way for report, you could go to: ?action=viewmembers;sa=search, put the name and click "Search".

3.- I can try simplify the "suggestion 2" with a link in the profile, as in your image.

--

Quote from: BellyDanceDreams on May 30, 2009, 12:51:28 PM
Quote from: M-DVD on May 23, 2009, 04:51:52 PM
Quote from: BellyDanceDreams on May 23, 2009, 10:52:14 AM
Oh, I have the same problem, have you figured out what to do?

The package manager, don't shows the entire contents of the php files (I don't know because).

- You should install automatically.

- Or you should do download the file and copy the entire query in phpmyadmin.

- Or edit the install_X.php file and place the beginning

if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
require_once(dirname(__FILE__) . '/SSI.php');
elseif (!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');


And then run it.


Where in the beginning? before the <?php> or after the   global $db_prefix; ?

Also this has seemed have messed up my forums as no one can register through the forums, and when I try logging in it says check my cookies, even though none of my settings have changed

Ok, after <?php :)

--

Quote from: Vampy on May 30, 2009, 09:51:54 PM
Umm actually on my site it did catch already registered members when I updated the mod :D - that's how i caught my unwelcome and problematic little visitor

Perfect xD

--

Quote from: fmben on May 31, 2009, 10:40:44 AM
Hi, the following is Simplified Chinese translating.
The following is Traditional Chinese translating.

Thanks for translate, have been uploaded :D

--

Quote from: Astral2000 on May 31, 2009, 04:29:14 PM
Hi. For some reason my ftp client decided to update a file by itself when I was not concentrating. The result was I still had a forum but the top half the page was the default theme and the lower half was my custom theme. No idea what happened at all???

Anyway, I keep backups and loaded my files up again, only problem was a couple of mods were missing since the last backup, or so I thought...

Stop Spammer 2.2 was missing from my package manager but when I tried to install it again, it said it was already installed and suddenly appeared in the list.

Problem is, it's not working at all as it was prior to my problems, so my question is, when I tried to uninstall it there was a page full of errors on the package manager saying the mod had not been installed properly so...

Is it safe to uninstall it using the package manager or will I have big problems?

I really like this mod and want it back.

You can get more and better help about your problem in SMF Support (http://www.simplemachines.org/community/index.php#c3)

However, you can check manually each file that modifies the MOD, and see "what are missing" and adding manual.
Title: Re: Stop Spammer
Post by: xyxis_fahim on June 01, 2009, 12:04:20 AM
Must have mod, has saved me from hours of manual work to figure out the spammers.

There are more spammer in my forum than legit users per day.

Thanks a lot.
Title: Re: Stop Spammer
Post by: M-DVD on June 01, 2009, 12:54:10 AM
Quote from: xyxis_fahim on June 01, 2009, 12:04:20 AM
Must have mod, has saved me from hours of manual work to figure out the spammers.

There are more spammer in my forum than legit users per day.

Thanks a lot.

Your welcome :D Thanks for your comment
Title: Re: Stop Spammer
Post by: rthrash on June 01, 2009, 08:49:04 AM
Quote from: M-DVD on June 01, 2009, 12:00:13 AM
2.- About an easy way for report, you could go to: ?action=viewmembers;sa=search, put the name and click "Search".

3.- I can try simplify the "suggestion 2" with a link in the profile, as in your image.

That would be quite helpful indeed! Of course visible only for forum admin users.
Title: Re: Stop Spammer
Post by: Robin1989 on June 03, 2009, 05:03:19 PM
hey is there a way to get it to go through and checkk all members as we have about 14500 members and going through it a page at a time selecting and then telling it to check is getting a bit tedious
Title: Re: Stop Spammer
Post by: M-DVD on June 03, 2009, 10:31:11 PM
Quote from: Robin1989 on June 03, 2009, 05:03:19 PM
hey is there a way to get it to go through and checkk all members as we have about 14500 members and going through it a page at a time selecting and then telling it to check is getting a bit tedious

No, sorry.

1.- 'Stop Forum Spam' have a limit query (5000 query for day). If you over the limit all data will be marked blue.

2.- The script can fail for timeout.
Title: Re: Stop Spammer
Post by: Astra_200 on June 06, 2009, 06:54:50 PM
Quote
However, you can check manually each file that modifies the MOD, and see "what are missing" and adding manual.

Took a while but all ok now.

Thanks, Great mod  ;D
Title: Re: Stop Spammer
Post by: coledavis on June 07, 2009, 09:33:40 AM
Excellent mod. It's transformed my SMF 1.1.9 site from a spam-ridden site to something easily weeded of villains held in the 'approval' list.
Title: Re: Stop Spammer
Post by: jossanaijr on June 12, 2009, 01:30:21 PM
Hi,
just installed and first block but I'm having this when trying to get more information:

ERROR

The requested URL could not be retrieved

While trying to retrieve the URL: http://www.stopforumspam.com/search?

The following error was encountered:

Invalid Hostname
Some aspect of the requested URL is incorrect. Possible problems:

Name is unknown
Footprint 4.4/FPMCP
Generated Fri, 12 Jun 2009 17:28:41 GMT by 192.221.110.126 (Footprint 4.4/FPMCP)

?
Title: Re: Stop Spammer
Post by: Astra_200 on June 13, 2009, 06:39:44 AM
Quote from: jossanaijr on June 12, 2009, 01:30:21 PM
Hi,
just installed and first block but I'm having this when trying to get more information:

ERROR

The requested URL could not be retrieved

While trying to retrieve the URL: http://www.stopforumspam.com/search?

The following error was encountered:

Invalid Hostname
Some aspect of the requested URL is incorrect. Possible problems:

Name is unknown
Footprint 4.4/FPMCP
Generated Fri, 12 Jun 2009 17:28:41 GMT by 192.221.110.126 (Footprint 4.4/FPMCP)

?

I have read here that the http://www.stopforumspam.com/search? server can sometimes go down.

Is it still not working?
Title: Re: Stop Spammer
Post by: jossanaijr on June 13, 2009, 08:40:02 AM
Quote from: Astral2000 on June 13, 2009, 06:39:44 AM
Quote from: jossanaijr on June 12, 2009, 01:30:21 PM
Hi,
just installed and first block but I'm having this when trying to get more information:

ERROR

The requested URL could not be retrieved

While trying to retrieve the URL: http://www.stopforumspam.com/search?

The following error was encountered:

Invalid Hostname
Some aspect of the requested URL is incorrect. Possible problems:

Name is unknown
Footprint 4.4/FPMCP
Generated Fri, 12 Jun 2009 17:28:41 GMT by 192.221.110.126 (Footprint 4.4/FPMCP)

?

I have read here that the http://www.stopforumspam.com/search? server can sometimes go down.

Is it still not working?

Yes, it is working fine now.  Thanks.
Title: Re: Stop Spammer
Post by: Spuds on June 15, 2009, 11:15:57 PM
I've had this mod installed for a couple of months now and all seems to be working correctly.  The one question I have is this ... when I now log into my board my header status shows
Hello, Spuds
Show unread posts since last visit.
Show new replies to your posts.
There are 3 members awaiting approval.
Total time logged in:  bla bla bla

when I click on the members awaiting approval link it takes me to the manage members page which then shows "No members currently await approval." so there is a disconnect between the status saying 3 awaiting approval and the approval page which says none. 

If I uninstall the Mod then the status changes and I have no one awaiting approval so the awaiting approval status ($context['unapproved_members'] == 1) appears to be set by the mod and I can't find who the mod thinks needs approval.

Any help is appreciated!
Title: Re: Stop Spammer
Post by: M-DVD on June 16, 2009, 12:09:50 AM
Quote from: Astral2000 on June 06, 2009, 06:54:50 PM
Quote
However, you can check manually each file that modifies the MOD, and see "what are missing" and adding manual.

Took a while but all ok now.

Thanks, Great mod  ;D

Your welcome. Thanks for your comment :)

--

Quote from: coledavis on June 07, 2009, 09:33:40 AM
Excellent mod. It's transformed my SMF 1.1.9 site from a spam-ridden site to something easily weeded of villains held in the 'approval' list.

Thanks you too ;D

--

Quote from: Spuds on June 15, 2009, 11:15:57 PM
I've had this mod installed for a couple of months now and all seems to be working correctly.  The one question I have is this ... when I now log into my board my header status shows
Hello, Spuds
Show unread posts since last visit.
Show new replies to your posts.
There are 3 members awaiting approval.
Total time logged in:  bla bla bla

when I click on the members awaiting approval link it takes me to the manage members page which then shows "No members currently await approval." so there is a disconnect between the status saying 3 awaiting approval and the approval page which says none. 

If I uninstall the Mod then the status changes and I have no one awaiting approval so the awaiting approval status ($context['unapproved_members'] == 1) appears to be set by the mod and I can't find who the mod thinks needs approval.

Any help is appreciated!

I don't know the cause of this disconnect, but is visible with the MOD (uninstalling the MOD, again hidden it).

The solution here.

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

:)
Title: Re: Stop Spammer
Post by: auracounts on June 26, 2009, 01:34:49 AM
I installed this mod and it did not work initially, so I uninstalled it.  Now I have the following code glaring at me like an eyesore from the top of the forums:

Quote
// MOD Stop Spammer $txt['stopspammer_error'] = 'Error with DB Anti SPAM. Connection Failed.'; $txt['stopspammer_count'] = 'Spammers have been blocked'; $txt['stopspammer_title'] = 'Search more info in `Stop Forum Spam`';

I have removed every reference to this package from the databases.  I have restored all the files that were backed up just prior to installing this package.  Can someone please help me and explain why that text is still up there?  I cannot figure out how to remove it.
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on June 26, 2009, 03:44:52 AM
Something was not installed/uninstalled correctly, and if that is showing on the top of the forums as plain text, I'd say check Modifications.yourlanguage.php to find that and remove that. :)
Title: Re: Stop Spammer
Post by: auracounts on June 26, 2009, 01:18:58 PM
That worked!  Thank you.  I was going crazy trying to find the stray text. 
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on June 28, 2009, 03:12:09 PM
Glad I could help ;)
Title: Re: Stop Spammer
Post by: M-DVD on June 29, 2009, 04:32:34 PM
Quote from: LexArma on June 26, 2009, 03:44:52 AM
Something was not installed/uninstalled correctly, and if that is showing on the top of the forums as plain text, I'd say check Modifications.yourlanguage.php to find that and remove that. :)

Thanks for help :)
Title: Re: Stop Spammer
Post by: _simon_ on July 04, 2009, 08:11:03 AM
I'm not using the default template. What do I need to do to get the related text to display? I'm using 2.0 RC1-1

e.g. no text here at the moment:

Title: Re: Stop Spammer
Post by: sepulchre on July 09, 2009, 07:06:33 PM
I installed this mod and then got parse errors on my admin - members page. I'm using a custom theme. Error follows -


Parse error: syntax error, unexpected ',' in .../Themes/default/ManageMembers.template.php on line 92

83: ', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">
84: <td colspan="8">
85: <div style="width: 60%; margin: auto" class="leyend_stopspammer">
86: <img src="' . $settings['images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
87: <img src="' . $settings['images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
88: <img src="' . $settings['images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
89: </div>
90: </td>
91: </tr>

92: ', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">

93: <td colspan="8">
94: <div style="width: 60%; margin: auto" class="leyend_stopspammer">
95: <img src="' . $settings['images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
96: <img src="' . $settings['images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />


Ideally I'd like to fix this and use the mod, if not I'll uninstall it which is what I'm trying to do, but it wont uninstall cleanly and leaves me with the text shown in the attached jpg (found on the admin-member- awaiting approval page), any ideas how to get rid of it?


Edit - managed to clean up the ManageMembers.template.php and sort the problem, but I still can get it to install properly :( Upgarded forum to v2.0rc1.2 and re-installed the mod, all ok now :)
Title: Re: Stop Spammer
Post by: JornB on July 20, 2009, 04:18:38 AM
Works like a charm, I just needed to do some manual labor  ;)

Got it translated into Swedish:
$txt['stopspammer_error'] = 'Kopplingsfel, problem med AntiSpam Databasen.<br />
Försök igen senare eller kontakta ForumAdmin';
$txt['stopspammer_count'] = 'Antal spammare som blockerats fram t.o.m idag';
$txt['stopspammer_title'] = 'Sök mer info på `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Aktivera/Inaktivera MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Visa länken "Mer info" på alla medlemmar';
$txt['stopspammer_show01_sub'] = 'Du kan markera en medlem när som helst med ett enkelt klick';

$txt['stopspammer_faildb'] = 'Om kopplingen falerar med AntiSpam Databasen...';
$txt['stopspammer_fail01'] = 'Visa fel och neka registrering';
$txt['stopspammer_fail02'] = 'Tillåt direkt registrering';
$txt['stopspammer_fail03'] = 'Kontot måste aktiveras och visa ikon';
$txt['stopspammer_faildb1_sub'] = 'Din leverantör kan koppla mot databasen';
$txt['stopspammer_faildb2_sub'] = 'Din leverantör kan inte koppla mot databasen, försök igen senare<br />
Om det fortsätter se support och sök ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Kända problem</b></span></a>';

$txt['stopspammer_leyd01'] = 'Ingen Spammer: Ingen information om användaren i Databasen, men du kan kolla';
$txt['stopspammer_leyd02'] = 'Misstänkt: Användaren kunde inte kollas, bäst du kollar nu';
$txt['stopspammer_leyd03'] = 'Spammer: Se mer info om aktivitet';

$txt['in_stop_forum_spam'] = 'I Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Kolla dessa medlemmarna';
$txt['spammers_report'] = 'Rapportera dessa medlemmar';
$txt['confirm_spammers_checks'] = 'Är du säker att du vill kolla valda medlemmar?';
$txt['confirm_spammers_report'] = 'Är du säker att du vill rapportera valda medlemmar?\n\nTänk på att när du rapportera medlemmar till SFS blir han/hon känd som spammer över hela världen.';
Title: Re: Stop Spammer
Post by: Bancherd on July 20, 2009, 05:05:13 AM
Installed on 1.1.10 without any problems.

I really like the feature where it checks current members against spammers'database, Thanks!  :D
Title: Re: Stop Spammer
Post by: leezard on July 26, 2009, 06:08:47 PM
I have one theme on my forum that I can not get any of the admin options to show up, it works fine on the 4-5 other themes, the theme is called blackday and below is what I'm talking about.

the description of what the icons mean and the other two options on the bottom right do not show up


On the Admin > Registration > Settings page there is also no text for the stop spam options



I'd really like to get this sorted out since this is the most used theme (and my personal fav)

Forum version is SMF 2.0 RC1.2

Title: Re: Stop Spammer
Post by: digit on August 03, 2009, 01:08:57 PM
I just installed this mod and am getting the rror....

2: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments
File: /Sources/Subs-Members.php
Line: 911

http://www.mysite.com/index.php?action=register2

Line 911 of Subs-Members is....

      sendmail($regOptions['email'], $txt['register_subject'], sprintf($txt['register_pending_message'], $realName, $regOptions['username'], $regOptions['password']));

Any idea what's going on?

Thanks in advance.

Title: Re: Stop Spammer
Post by: affbrow on August 09, 2009, 11:53:08 AM
Dear Admin,

I want to submit translate of this mod language in Indonesian, thank you.

$txt['stopspammer_error'] = 'Kesalahan Pada DB Anti SPAM. Tidak Dapat Terhubung.<br />
Silahkan Mencoba Lagi, atau Silahkan Menghubungi WebMaster';
$txt['stopspammer_count'] = 'Para Spammer Yang Berhasil Di Blok Pada Hari';
$txt['stopspammer_title'] = 'Cari Lebih Lanjut Informasi Di `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Aktifkan/Non-Aktifkan MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Tampilkan Link "More Info" Untuk Semua Anggota';
$txt['stopspammer_show01_sub'] = 'Anda Dapat Melakukan Pemeriksaan Terhadap Setiap Anggota, Setiap Waktu Dengan Satu Kali Klik Saja';

$txt['stopspammer_faildb'] = 'Jika Gagal Terhubung Dengan DB Anti SPAM...';
$txt['stopspammer_fail01'] = 'Tampilkan Kesalahan dan Registrasi Dihentikan';
$txt['stopspammer_fail02'] = 'Diperbolehkan Registrasi Cepat';
$txt['stopspammer_fail03'] = 'Anggota Disetujui Dan Tampilkan Ikon';
$txt['stopspammer_faildb1_sub'] = 'Hosting Anda Dapat Melakukan Koneksi Remote Dengan DB';
$txt['stopspammer_faildb2_sub'] = 'Hosting Anda Tidak Dapat Terkoneksi Dengan DB, Silahkan Mencoba Lagi.<br />
Jika Belum Berhasil Juga, Silahkan Lihat Pada Topik Dukungan (Support) Dan Pencarian ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Isu Yang Didapat</b></span></a>';

$txt['stopspammer_leyd01'] = 'Bukan Spammer: Data Tidak Ditemukan Pada DB. Tetapi Anda Dapat Memeriksanya Lagi';
$txt['stopspammer_leyd02'] = 'Dicurigai: Anggota Ini Tidak Dapat Dilakukan Pemeriksaan. Periksa Sekarang';
$txt['stopspammer_leyd03'] = 'Spammers: Lihat Informasi Lainnya Tentang Aktivitas Spammers Ini';

$txt['in_stop_forum_spam'] = 'Di Situs Stop Forum Spam :';
$txt['spammers_checks'] = 'Periksa Para Anggota Ini';
$txt['spammers_report'] = 'Laporkan Para Anggota Ini';
$txt['confirm_spammers_checks'] = 'Apakah Anda Benar-Benar Ingin Memeriksa Para Anggota Yang Telah Anda Pilih Ini?';
$txt['confirm_spammers_report'] = 'Apakah Anda Benar-Benar Ingin Melaporkan Para Anggota Yang Telah Anda Pilih Ini?\n\nPerlu Diketahui Bahwa Ketika Anda Melakukan Pelaporan Seorang Anggota Ke Stop Forum Spam (SFS), Maka Anggota ini Akan Ditandai Sebagai Seorang Spammer Di Seluruh Dunia\nDan Anggota Ini Tidak Akan Dapat Menggunakan Lagi Forum-Forum Yang Terhubung Dengan SFS Sepenjuru Dunia.\n\nLakukan Hal Ini Jika Anda Benar-Benar Yakin Bahwa Anggota Ini Adalah Seorang Spammers, Dan Jika Ternyata Hal Tersebut Salah \nMaka Sesegera Mungkin Laporkan Pada Pembuat Modul Ini Untuk Memeperbaiki Kesalahan Tersebut Pada SFS Database.';
Title: Re: Stop Spammer
Post by: psynx on August 10, 2009, 08:22:17 AM
hello,

i recently installed this mod manually using the parser.

i have problems when going to admin>members

this is the error:

Unknown column 'is_spammer' in 'field list'
File: ..................................../htdocs/Sources/ManageMembers.php
Line: 494

please help me fix this.

i also noticed one file which is the 'install_1.php' that says i have to manually run the file because it should not be able to stand alone? how do i run the file?

sorry but i am still a noob when it comes to coding.

any help will be greatly appreciated. thanks
Title: Re: Stop Spammer
Post by: en_shua on August 13, 2009, 06:33:31 PM
I just installed v2.2 of this mod.  I do not thinkit is working.  When I look at the pending member list, I see the magnifying glass icons.  But, none of these have a red magnifying glass.  I clicked on a few of them, and some have 500+ entries in the spammers database, yet it is not showing on my site.  Any ideas what is wrong?
Title: Re: Stop Spammer
Post by: ceewee on August 25, 2009, 02:53:30 PM
Seems  it's not working anymore?

Title: Re: Stop Spammer
Post by: en_shua on August 25, 2009, 06:17:39 PM
The problem I was having is that I thought it would automatically check all those in the Waiting area who had already submitted registrations.  Nope.  I had to go in the Members List and check them individually.
Title: Re: Stop Spammer
Post by: Oscar Arostegui on August 30, 2009, 06:07:51 PM
Hola vos como estas, fijate que no se por que no puedo instalar el paquete que hicistes, el stop spammer antes si lo agarraba bien pero ahora no se me dice que hay error en la instalación y no me permite nada, que sera??? ayudame amiguin te espero
Title: Re: Stop Spammer
Post by: Duffield1 on September 02, 2009, 06:21:32 AM
I love this modification - we've had problems with spammers, so this seems like a great way of combating them.

I've got SMF 1.1.10 using the DilberMC lightblue theme and it seems to have installed okay.  I copied the icon files over to my Dilber icons, and can now see them well, but at the bottom of the 'Awaiting activation' page, where there are the red, yellow and white icons are, there is no key to show what each one means.

Also, when I go into the Registration Settings page, I have a tickbox, drop down menu (empty) and another tickbox, like on the illustrations, but no explanation of what these are or what options I can select.

In short, it looks like the modification is set up and is working, but I cannot see the labels on each of the settings - it is like having a keyboard where all the letters have been rubbed off the keys!  Any idea of how I can fix this?

Many thanks!
Title: Re: Stop Spammer
Post by: painterforum20 on September 04, 2009, 10:17:46 PM
Man... I can't get this Mod to work. Running SMF 1.1.10
The install says successful but I do not see ANY options or changes in Member Registration settings, no warnings, no changes, no spam blocking... is there an on and off switch for this Mod?
Any help would be appreciated.
Title: Re: Stop Spammer
Post by: rcgearing on September 07, 2009, 03:14:09 PM
Does not block manual spammer registration.


Thank you for writing this MOD! Please don't take this report as a complaint, but rather as an effort to help us get this MOD to work well :)

Installed without errors, but it did not block registration when I tried to register with a username and email from the list of spammers on the stopforumspam website. I am using 1.1.9 with Default Theme.

P.S. I uninstalled this MOD and tried another MOD that uses the same database - Stop Forum Spammer. That other MOD installed and it works - blocks when I try to register with a spammer's email.

Thanks!
Title: Re: Stop Spammer
Post by: sharingsunshine on September 07, 2009, 10:35:34 PM
This is a great mod and I have wanted to learn all I can so I have read the posts in this forum on the Stop Spammer mod. 

However, I haven't been able to find this answer.  It seems to be working fine with the exception of the icon links and color aren't showing up.  I have made sure the icon images are loaded in the default - images - icons folder.  But still they don't show up.  Only I still have this message at the bottom of members - awaiting activation.

0 Spammers have been blocked to date
Icon MoreInfo Not Spammer: This data wasn't in a DB. But you can check
Icon Suspect Suspect: This member couldn't be checked. Check now
Icon Spammer Spammers: See more info of activity of this spammer

Please advise why they aren't showing up?  I am using 1.1.10 using a modification to the default theme.

Thanks,

Randal
Title: Re: Stop Spammer
Post by: Bob Mueller on September 08, 2009, 12:49:40 PM
Has anyone noticed spammers slipping through in the last few days?

Case in point: I got a successful registration notice for someone from IP 94.142.130.88 today. Yet http://www.stopforumspam.com/ipcheck/94.142.130.88 shows 8 hits. The spammer registered using one of the email addresses listed there ([email protected]). There should have been two dings on the SFS check, so the user never should have been registered.

That's not the only one, just the most recent. Seems like I've had 1-2 of those every couple of days recently, but only recently. I've had this mod installed for quite a while, and haven't had people slip through like that.
Title: Re: Stop Spammer
Post by: rcgearing on September 08, 2009, 02:28:47 PM
Quote from: Bob Mueller on September 08, 2009, 12:49:40 PM
Has anyone noticed spammers slipping through in the last few days?

Case in point: I got a successful registration notice for someone from IP 94.142.130.88 today. Yet http://www.stopforumspam.com/ipcheck/94.142.130.88 shows 8 hits. The spammer registered using one of the email addresses listed there ([email protected]). There should have been two dings on the SFS check, so the user never should have been registered.

That's not the only one, just the most recent. Seems like I've had 1-2 of those every couple of days recently, but only recently. I've had this mod installed for quite a while, and haven't had people slip through like that.

Uninstall Stop Spammer and get the Stop Forum Spam - http://custom.simplemachines.org/mods/index.php?mod=1519 - MOD. On my forum http://rcgearing.com/forum and it does not let spammers slip by. Case in point: I tried to register with the email that slipped by on your forum, and it got blocked on mine. It blocked the registration saying "The user asdfsaf with Email [email protected] (IP 68.163.211.172) is a Spam, please contact forum administrator. "
Title: Re: Stop Spammer
Post by: danjam on September 08, 2009, 06:44:33 PM
Just did some quick tests and it seems there's been a slight change to the stopforumspam xml that is returned.

I've just amended it on our forum to fix this, and it seems to be working fine again. So it's just a case of waiting for M-DVD to update the mod :)

(I tried the other mod and while its very good and works flawlessly, I prefer the functionality of this one).
Title: Re: Stop Spammer
Post by: Tamsin on September 09, 2009, 04:03:24 AM
We installed this mod a week ago and it appeared to be working fine. Then since yesterday we've had spammers registering every hour. When we check their e-mail or ip they are actually in your database but somehow they are not being picked up at the point of registration. Could you think why this is happening and suggest what we might do? Thanks.
Title: Re: Stop Spammer
Post by: quatermass on September 09, 2009, 07:08:38 AM
I'm using SMF 1.1.10 (custom theme) and just installed Stop Spammer 2.2 and whilst the Mod icons are in place (after I manually put them into the right place) and I can click upon a icon to check a person.

I find when I select a few and then click on 'Check these Members', the icons or names do NOT change to red. Even though manually checking them shows me they are Spammers!!

Is this Mod broken?

Title: Re: Stop Spammer
Post by: quatermass on September 09, 2009, 07:11:23 AM
Quote from: sharingsunshine on September 07, 2009, 10:35:34 PM
This is a great mod and I have wanted to learn all I can so I have read the posts in this forum on the Stop Spammer mod. 

However, I haven't been able to find this answer.  It seems to be working fine with the exception of the icon links and color aren't showing up.  I have made sure the icon images are loaded in the default - images - icons folder.  But still they don't show up.  Only I still have this message at the bottom of members - awaiting activation.

0 Spammers have been blocked to date
Icon MoreInfo Not Spammer: This data wasn't in a DB. But you can check
Icon Suspect Suspect: This member couldn't be checked. Check now
Icon Spammer Spammers: See more info of activity of this spammer

Please advise why they aren't showing up?  I am using 1.1.10 using a modification to the default theme.

Thanks,

Randal

You've got a custom or non-default theme.
You need to copy the 3 gifs (moreinfo.gif,spammer.gif and suspect.gif) in Themes/Default/images/icons/ into your theme. ie Themes/your_theme_name_here/images/icons/
Title: Re: Stop Spammer
Post by: Bob Mueller on September 09, 2009, 06:05:02 PM
Quote from: danjam on September 08, 2009, 06:44:33 PM
Just did some quick tests and it seems there's been a slight change to the stopforumspam xml that is returned.

I've just amended it on our forum to fix this, and it seems to be working fine again. So it's just a case of waiting for M-DVD to update the mod :)
danjam, thanks for your work, but it appears it may be a while for M-DVD to fix this. Checking his profile shows he hasn't been on in a long time:

Personal Text:    On Hiatus
Date Registered:    March 20, 2008, 09:39:51 AM
Last Active:    July 11, 2009, 01:23:26 AM

Disappointing. I like this mod. Guess I'll give the other one a try for now.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 10, 2009, 07:46:18 AM
Quote from: danjam on September 08, 2009, 06:44:33 PM
Just did some quick tests and it seems there's been a slight change to the stopforumspam xml that is returned.

I've just amended it on our forum to fix this, and it seems to be working fine again. So it's just a case of waiting for M-DVD to update the mod :)

(I tried the other mod and while its very good and works flawlessly, I prefer the functionality of this one).

I think you could have told them exactly how to fix it.  ;)

I have seen also that stopforumspam have changed the xml response and I have been fixing it in my forum as well.

So far I have found one solution: We need to change the function checkDBSpammer.

It is inside the file Sources/Subs-Members.php, at the end of that file.

More precisely look for these lines:


// Procesing XML
preg_match_all('~<type>(\w+)</type>\n<appears>(\w+)</appears>~', $down_ok, $q_is_spammer);


And change them for these ones:


// Procesing XML
preg_match_all('~<type>(\w+)</type>.*\n.*<appears>(\w+)</appears>~', $down_ok, $q_is_spammer);


I suppose there are other possible solutions, but this one works.

This way we can wait untill M-DVD update the mod.
Title: Re: Stop Spammer
Post by: quatermass on September 10, 2009, 12:58:45 PM
What exactly does this fix do?
Title: Re: Stop Spammer
Post by: GadgetNutt on September 10, 2009, 08:57:48 PM
Did I install this at a bad time? I see the author is on a hiatus.

I am experiencing the same issue that some others are having.

I just installed it, and it shows a correct install, but when I go to members,
and test some know spammers from the Stop Forum Spam database,
nothing happens. No change in icons, no red highlights

Is this due to the problem that Bob and Snoopy are talking about?

If any of you users could help, I would be grateful!!

Thanks, Mark
Title: Re: Stop Spammer
Post by: quatermass on September 12, 2009, 02:38:11 AM
Hi GadgetNutt,

You and me are in the same boat.

It seems to work though it doesn't display coloured icons.
I can search by clicking on individual fields to see if members are spammers. But the selected members option doesn't appear to work.

It looks like we're on our own....  :(
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 12, 2009, 05:07:07 AM
To quatermass and GadgetNutt:

YES.

Just a few days ago there was a change in the way stopforumspam processes the XML response to the queries.

And NO.

You are not on your own in this.

I have been working with M-DVD in this mod since he started it and I can give you a hand while he is away.

I already have given you a manual solution. As I said a few days ago you just need to change one line in a source file.

Anyway, just in case you are not confident enough editing php files, I have done a full package of the mod (version 2.3) with this line already changed for you.

The only thing you need to do is to un-install any version you have already, download this new version and install it.

I have already checked it in 10 different forums and it works perfect.

The only problem is I cannot access the mod's main page to upload this new version (only M-DVD can do that) so I have put it just now in my own server and it will be available there untill M-DVD answer the emails I have sent him.

In the mean time you can download this new version from here:

http://www.snoopyvirtualstudio.com/descargas/temp/StopSpammer_v2_3.zip





Modified by Snoopy on 28/09/2009:

I have erased that version from my server as M-DVD has already updated it in the mod's main page.
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on September 12, 2009, 10:14:50 AM
Quote from: snoopy_virtual on September 10, 2009, 07:46:18 AM
It is inside the file Sources/Subs-Members.php, at the end of that file.

More precisely look for these lines:


// Procesing XML
preg_match_all('~<type>(\w+)</type>\n<appears>(\w+)</appears>~', $down_ok, $q_is_spammer);


And change them for these ones:


// Procesing XML
preg_match_all('~<type>(\w+)</type>.*\n.*<appears>(\w+)</appears>~', $down_ok, $q_is_spammer);


I suppose there are other possible solutions, but this one works.

This way we can wait untill M-DVD update the mod.
Thanks for this snoopy_virtual, seems to work ;)
Title: Re: Stop Spammer
Post by: FragaCampos on September 12, 2009, 11:26:48 AM
Yup! Thanks snoopy_virtual, it works!
Title: Re: Stop Spammer
Post by: sharingsunshine on September 12, 2009, 11:44:56 AM
Hello,

I loaded your zip file and I really appreciate your taking the time to do it.  However, I still don't have any graphics showing on the member page at the bottom.

I have put the 3 gifs in the proper place.  Does anything need a specific permisision to make the gifs and colors show up?

Randal
Title: Re: Stop Spammer
Post by: koobs on September 12, 2009, 06:36:06 PM
snoopy_virtual,
the mod you have made appears to work on keeping new spammers from registering but when checking existing members i am still getting nothing for known spammers
cheers,
koobs
Title: Re: Stop Spammer
Post by: quatermass on September 13, 2009, 03:34:58 AM
Quote from: koobs on September 12, 2009, 06:36:06 PM
snoopy_virtual,
the mod you have made appears to work on keeping new spammers from registering but when checking existing members i am still getting nothing for known spammers
cheers,
koobs

Me too.
Exactly the same situation.

Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on September 13, 2009, 05:17:24 AM
Checking existing members through the admin memberlist seems to work just like it used to for me.
If a spammer is recognised, he is added to the awaiting activation list.
Title: Re: Stop Spammer
Post by: koobs on September 13, 2009, 06:34:22 AM
Sure? Mine does nothing with obvious spammers. Recent fresh install of everything and this mod is first one I applied. Like I said haven't had any new spammers since snoopy_virtuals' change and have '97 spammer blocked to date'... but cant do anything about existing members...
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on September 13, 2009, 06:37:23 AM
Quote from: koobs on September 13, 2009, 06:34:22 AM
Sure?
I'm sure it works for me - can't be sure it works for everyone though. I haven't had time or a reason to test too thoroughly.

EDIT: Actually I tested this further - and it doesn't seem to work a 100% after all.
When I tested this earlier it seemed to work, but now it didn't catch an already identified spammer in my member list. ::)
Title: Re: Stop Spammer
Post by: quatermass on September 13, 2009, 04:15:19 PM
So let's sum up?

This Mod is no longer working 100% and appears to be unsupported?

Title: Re: Stop Spammer
Post by: Bob Mueller on September 13, 2009, 05:06:35 PM
I made snoopy_virtual's edit, and the mod now seems to be working again. When I checked my member list, it appeared as though nothing happened, because the "Awaiting Approval" link didn't come up. However when I clicked "Awaiting Activation," the "Awaiting Approval" link did pop onto the bar, so it seems to be working on this end.

Checking members found another 30-35 known spammers who had slipped through, or been added to the SFS database since they were approved as members.

I think it's working for now.
Title: Re: Stop Spammer
Post by: catfished on September 13, 2009, 05:51:12 PM
I just found this thread and I really don't have time to read through 13 pages so maybe I'm missing something obvious. My stop spammer mod which I have been recommending to everyone on here has totally stopped working. A spammer from any and or all spam lists can sign right up and post. It no longer puts anyone in the waiting for approval list.

This is happening on all four SMF forums that I admin. It was working fine on all of them and then it suddenly quit working about 3 or 4 days ago. It's as if the spammers found a way to bypass it. >:( :'( :'( It was so nice to have control of these $#@$%%# spammers but it didn't last long. :(
Title: Re: Stop Spammer
Post by: chrishicks on September 13, 2009, 06:00:45 PM
catfished, try this:

Quote from: snoopy_virtual on September 10, 2009, 07:46:18 AM

I think you could have told them exactly how to fix it.  ;)

I have seen also that stopforumspam have changed the xml response and I have been fixing it in my forum as well.

So far I have found one solution: We need to change the function checkDBSpammer.

It is inside the file Sources/Subs-Members.php, at the end of that file.

More precisely look for these lines:


// Procesing XML
preg_match_all('~<type>(\w+)</type>\n<appears>(\w+)</appears>~', $down_ok, $q_is_spammer);


And change them for these ones:


// Procesing XML
preg_match_all('~<type>(\w+)</type>.*\n.*<appears>(\w+)</appears>~', $down_ok, $q_is_spammer);


I suppose there are other possible solutions, but this one works.

This way we can wait untill M-DVD update the mod.

I just did the same not 15min. ago and I had a known spammer in my member list that we kept because the name amused a few people. After I did the fix I checked that member and it took a few but it moved the account to awaiting approval so it does work. Hope that helps
Title: Re: Stop Spammer
Post by: catfished on September 13, 2009, 06:38:04 PM
Quote from: chrishicks on September 13, 2009, 06:00:45 PM
catfished, try this:

Quote from: snoopy_virtual on September 10, 2009, 07:46:18 AM

I think you could have told them exactly how to fix it.  ;)

I have seen also that stopforumspam have changed the xml response and I have been fixing it in my forum as well.

So far I have found one solution: We need to change the function checkDBSpammer.

It is inside the file Sources/Subs-Members.php, at the end of that file.

More precisely look for these lines:


// Procesing XML
preg_match_all('~<type>(\w+)</type>\n<appears>(\w+)</appears>~', $down_ok, $q_is_spammer);


And change them for these ones:


// Procesing XML
preg_match_all('~<type>(\w+)</type>.*\n.*<appears>(\w+)</appears>~', $down_ok, $q_is_spammer);


I suppose there are other possible solutions, but this one works.

This way we can wait untill M-DVD update the mod.

I just did the same not 15min. ago and I had a known spammer in my member list that we kept because the name amused a few people. After I did the fix I checked that member and it took a few but it moved the account to awaiting approval so it does work. Hope that helps

Thanks chrishicks, I noticed that but wasn't sure about it. I just tried it on my biggest forum so we'll see what happens.
Title: Re: Stop Spammer
Post by: GadgetNutt on September 13, 2009, 07:02:01 PM
So is the file that Snoop put up the most current with all the fixes to date?

http://www.snoopyvirtualstudio.com/descargas/temp/StopSpammer_v2_3.zip (ftp://http://www.snoopyvirtualstudio.com/descargas/temp/StopSpammer_v2_3.zip)

If so I will try it now.

Thanks, Mark
Title: Re: Stop Spammer
Post by: catfished on September 13, 2009, 07:53:47 PM
Quote from: catfished on September 13, 2009, 06:38:04 PM
Thanks chrishicks, I noticed that but wasn't sure about it. I just tried it on my biggest forum so we'll see what happens.

OK I tested it by registering as a known spammer and it asked for admin approval so it's evidently working again. I hope registering as a spammer using my regular internet IP number didn't put me on a spam list. I simply rejected the registration, I certainly didn't report it.

I'll do the same to my other 1.1.0 forums but one of them is version 2.0 RC2, is it an identical file overwrite for 2.0?
Title: Re: Stop Spammer
Post by: danjam on September 14, 2009, 03:33:18 AM
Quote from: Bob Mueller on September 09, 2009, 06:05:02 PMdanjam, thanks for your work, but it appears it may be a while for M-DVD to fix this. Checking his profile shows he hasn't been on in a long time:

Quote from: snoopy_virtual on September 10, 2009, 07:46:18 AMI think you could have told them exactly how to fix it.  ;)

Yes I could, but I prefer to leave this stuff to the mod creator. If I had realised M-DVD wasn't available I would have done so, sorry :(

Thanks for the 2.3 update snoopy_virtual, working 100% on several installs here :)
Title: Re: Stop Spammer
Post by: quatermass on September 14, 2009, 04:35:12 AM
Quote from: Bob Mueller on September 13, 2009, 05:06:35 PM
I made snoopy_virtual's edit, and the mod now seems to be working again. When I checked my member list, it appeared as though nothing happened, because the "Awaiting Approval" link didn't come up. However when I clicked "Awaiting Activation," the "Awaiting Approval" link did pop onto the bar, so it seems to be working on this end.

Checking members found another 30-35 known spammers who had slipped through, or been added to the SFS database since they were approved as members.

I think it's working for now.

No it's not. Well not 100%.

Yes, it detects a spammer if they try to register. It puts them in the 'waiting for approval'
Yes, it lists the member in red in this 'waiting for approval' section.

But it doesn't check your existing members if you select a few or a whole page.


P.S.
Personally I'd like to see Stop Spammer icon listed in the "View the profile of <member>" section.

Title: Re: Stop Spammer
Post by: snoopy_virtual on September 14, 2009, 09:31:18 AM
Quote from: catfished on September 13, 2009, 07:53:47 PM
...

I'll do the same to my other 1.1.0 forums but one of them is version 2.0 RC2, is it an identical file overwrite for 2.0?

If you do it manually you need to do exactly the same change for 2.0 RC2

If you install it using the new package I have put in my server (version 2.3) the fix is already done either for 1.0 or 2.0




Quote from: danjam on September 14, 2009, 03:33:18 AM
Quote from: snoopy_virtual on September 10, 2009, 07:46:18 AMI think you could have told them exactly how to fix it.  ;)

Yes I could, but I prefer to leave this stuff to the mod creator. If I had realised M-DVD wasn't available I would have done so, sorry :(

I was just joking. Didn't you see the smilie?  ;)

Quote from: danjam on September 14, 2009, 03:33:18 AM
Thanks for the 2.3 update snoopy_virtual, working 100% on several installs here :)

No problem.

I needed to do it anyway for myself, as I use this mod in 10 different forums.
Title: Re: Stop Spammer
Post by: GadgetNutt on September 14, 2009, 07:43:52 PM
snoopy_virtual,



is the version 2.3 download you refer to on your website the most current fix or must I do a manual install?

Thanks, Mark

Title: Re: Stop Spammer
Post by: danneh3826 on September 15, 2009, 08:57:39 AM
doesn't work. spammers still getting through.

i know why, the regex in the code isn't kicking in, and therefore thinking everything is fine. i've got a fix which i'm testing and i'll upload/paste the mods i've made if it works.
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on September 15, 2009, 09:03:41 AM
For those running 2.0 - it might be wise to empty your cache after making the changes suggested, in order for them to take effect ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 15, 2009, 09:45:21 AM
Quote from: GadgetNutt on September 14, 2009, 07:43:52 PM
is the version 2.3 download you refer to on your website the most current fix or must I do a manual install?

Version 2.3 is the most current and it has all the needed fixes done.

If you install that one you don't need to do any manual thing unless, of course, you are using a template with any of these files inside:

ManageMembers.template.php
Register.template.php
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 15, 2009, 09:48:15 AM
Quote from: danneh3826 on September 15, 2009, 08:57:39 AM
doesn't work. spammers still getting through.

i know why, the regex in the code isn't kicking in, and therefore thinking everything is fine. i've got a fix which i'm testing and i'll upload/paste the mods i've made if it works.

I don't understand what you mean.

I have installed it in 10 different forums, 9 of them with SMF 1.1.10 and another one with SMF 2.0 RC1.2 and it works for me.

I will wait until you upload your fixes to see if I understand what you mean.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 15, 2009, 09:49:53 AM
Quote from: LexArma on September 15, 2009, 09:03:41 AM
For those running 2.0 - it might be wise to empty your cache after making the changes suggested, in order for them to take effect ;)

Good idea.

I forgot to tell them that.
Title: Re: Stop Spammer
Post by: Bob Mueller on September 15, 2009, 10:16:48 AM
Quote from: quatermass on September 14, 2009, 04:35:12 AM
Quote from: Bob Mueller on September 13, 2009, 05:06:35 PM

I think it's working for now.

No it's not. Well not 100%.

Yes, it detects a spammer if they try to register. It puts them in the 'waiting for approval'
Yes, it lists the member in red in this 'waiting for approval' section.

But it doesn't check your existing members if you select a few or a whole page.
It does on my end. I've been able to prune an extra 20-30 spammers who slipped through.
Title: Re: Stop Spammer
Post by: catfished on September 15, 2009, 11:39:16 AM
It's working fine since I made the manual file changes. It's catching spammers every time.
Title: Re: Stop Spammer
Post by: GadgetNutt on September 16, 2009, 12:51:12 AM
Got it working i think, but I have a question.
What emails are sent out?
I can't find them to determine what they say.
I am talking about the accept or reject emails.

Thanks, Mark

Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on September 16, 2009, 12:52:56 AM
As far as I know, they are the same e-mails that are used in the Core SMF setup, in case you have turned on admin approval. The actual e-mails you can find in the language strings, or just test registration to get SMF send the e-mails to you ;)
Title: Re: Stop Spammer
Post by: GadgetNutt on September 16, 2009, 06:29:23 PM
2 more questions.

If I wanted to edit the emails being sent out, where would I find the text?

I noticed that the under view all members, there is no red highlighting of spammers,
but they are being transferred to waiting approval. Is this what it is supposed to do?

Thanks
Title: Re: Stop Spammer
Post by: quatermass on September 17, 2009, 07:46:16 AM
Quote from: GadgetNutt on September 16, 2009, 06:29:23 PM


I noticed that the under view all members, there is no red highlighting of spammers,
but they are being transferred to waiting approval. Is this what it is supposed to do?

Thanks

Yes it is suppose to. But it is broken.

Perhaps the CSS that highlights the line to red is clashing with another similar name used on our web sites?
Title: Re: Stop Spammer
Post by: falldown on September 18, 2009, 04:43:36 PM
Works fine on SMF 1.1.9, no problems at all, everything's back to normal after a simple uninstall and installation of Stop Spammer 2.3.

Thanks snoopy_virtual, excellent work!  :D
Title: Re: Stop Spammer
Post by: GadgetNutt on September 23, 2009, 02:43:34 AM
Anyone know when M-DVD will be back to put the finishing touches on this?

In the mean time Kudos to snoopy_virtual, excellent work!

Mark
Title: Re: Stop Spammer
Post by: Astra_200 on September 23, 2009, 06:07:05 PM
Tested before 2.3 mod with known spammers name. After 2.3 same test and spammer was stopped waiting approval.

Removed 2.2 and instaled 2.3 with no problems at all.

Thanks snoopy_virtual for mod and thanks to poster who spotted the problem.
Title: Re: Stop Spammer
Post by: quatermass on September 24, 2009, 11:58:01 AM
Quote from: Astral2000 on September 23, 2009, 06:07:05 PM
Tested before 2.3 mod with known spammers name. After 2.3 same test and spammer was stopped waiting approval.

Removed 2.2 and instaled 2.3 with no problems at all.

Thanks snoopy_virtual for mod and thanks to poster who spotted the problem.

Can you let us know if it highlights a user with a known spammer's name when you test your users?

It doesn't in my version with the latest fix.
Title: Re: Stop Spammer
Post by: chrishicks on September 24, 2009, 03:16:24 PM
I did the manual edit posted earlier. I tested it with a known registered spammer on my forum and it changed the username from the normal blue font I use to red. It works for me.
Title: Re: Stop Spammer
Post by: quatermass on September 24, 2009, 06:08:35 PM
Well unfortunately it doesn't on our web site.

I suspect a CSS name clash perhaps?
We embed the SMT forum within a MediaWiki page.

See http://www.theaquariumwiki.com/forum/

I guess I'll have to live with it as it appears to work detecting Spammers who try to Register . :-)

Title: Re: Stop Spammer
Post by: snoopy_virtual on September 25, 2009, 06:56:38 AM
Quote from: quatermass on September 24, 2009, 06:08:35 PM
Well unfortunately it doesn't on our web site.

I suspect a CSS name clash perhaps?
We embed the SMT forum within a MediaWiki page.

See http://www.theaquariumwiki.com/forum/

I guess I'll have to live with it as it appears to work detecting Spammers who try to Register . :-)

It doesn't look like a CSS clash to me.

When a spammer is detected, this mod writes all his details (name, email and IP) with the color defined in the class error inside the CSS.

I have been checking your forum and I can see that in the CSS file of your Theme ( http://www.theaquariumwiki.com/forum/Themes/thefishwiki/style.css ) you haven't got a "class error" defined, but anyway you have it inside the file  http://www.theaquariumwiki.com/skins/monobook/main.css which I suppose belongs to the MediaWiki where you have your forum embeded:


.error {
color: red;
font-size: larger;
}


Of course, I can see your site only from a visitor's point of view. Maybe when you are inside your "Admin" zone this monobook/main.css file is not available.

Just in case, you can add this anywhere inside your Themes/thefishwiki/style.css file:


.error {
color: red;
}


Anyway, as I said before, I don't think this is the problem.

It seems that you haven't install the mod properly.

Let me see:

A month ago, before all this problems about the fix I have done, when you had version 2.2, was it working properly?

If it was and you have only uninstalled version 2.2 and installed my new version 2.3 I don't understand it at all.

The fix I have done only changes a small line inside a Source file and it has nothing to do with CSS classes.

But there is another option:

If version 2.2 was not working properly for you then the explanation is that you haven't installed it properly.

I haven't got enough information to see exactly what you have done wrong. I'll wait for your answers, but in the mean time, just another question:

Take a look inside your Theme's folder (thefishwiki).

Can you see inside it any of these two files?


If the answer is yes I know where is the problem. If the answer is no I will need to continue thinking about it.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 25, 2009, 07:29:52 AM
Quote from: GadgetNutt on September 23, 2009, 02:43:34 AM
Anyone know when M-DVD will be back to put the finishing touches on this?
...

As I said before I even sent him an email, but he didn't answer it yet, so no idea when (if ever) he will be back.




Quote from: GadgetNutt on September 23, 2009, 02:43:34 AM
...
In the mean time Kudos to snoopy_virtual, excellent work!
...

Thank you.

And the same goes to everybody else congratulating me. I suppose you'll understand if I don't answer all of you one by one.  ;D




Anyway, I'm sorry if I'm not answering all the questions you are asking here fast enough, but I'm very busy at the moment with a new anti-spammers mod I'm doing.

This new anti-spammers mod is called MOD httpBL.

It's a lot more powerful than MOD Stop Spammer but it's completely compatible with it.

I got both mods already installed together in 10 different forums and I am delighted with the results.

I sent this new mod a week ago to the Customization Team, but apparently there is a long queue of mods waiting for approval, so you won't see it inside the Mod Site for a few weeks yet.

Anyway, if anybody wants to check it and give me some feedback to help me improve it, I am writing a tutorial about the way it works, with instructions to download it from my own server and to install it:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpbl
Title: Re: Stop Spammer
Post by: quatermass on September 25, 2009, 08:07:05 AM
Thank you very much for your time and trouble, I really do appreciate it. :-))

I installed thw 2.2 Mod a few weeks ago and then read about the wee fix you did and added it.
So if that is all what "2.3" is, then I have 2.3. :-)


    * ManageMembers.template.php
    * Register.template.php

Inside my theme thefishwiki, I do not have these two files.
Should I have?

(I added the .error class into the thefishwiki/style.css just in case.)

I added manually a known spammer account and as before if I look in the  'Awaiting Approval (1) ' there is the spammer all lit up as before. That bit works with the mod you did.

I enclose a small screenshot of the Jollygirls spammer after I ticked the right-hand box and then 'check these members'.

The other one is from the awaiting approval window with the spammer all lit up.


Title: Re: Stop Spammer
Post by: quatermass on September 25, 2009, 08:10:22 AM
Quote from: snoopy_virtual on September 25, 2009, 07:29:52 AM

Anyway, I'm sorry if I'm not answering all the questions you are asking here fast enough, but I'm very busy at the moment with a new anti-spammers mod I'm doing.

This new anti-spammers mod is called MOD httpBL.

It's a lot more powerful than MOD Stop Spammer but it's completely compatible with it.

I got both mods already installed together in 10 different forums and I am delighted with the results.


What does it do?
You didn't mention why we'd want to use it. :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 25, 2009, 09:18:26 AM
Quote from: quatermass on September 25, 2009, 08:10:22 AM
Quote from: snoopy_virtual on September 25, 2009, 07:29:52 AM

Anyway, I'm sorry if I'm not answering all the questions you are asking here fast enough, but I'm very busy at the moment with a new anti-spammers mod I'm doing.

This new anti-spammers mod is called MOD httpBL.

It's a lot more powerful than MOD Stop Spammer but it's completely compatible with it.

I got both mods already installed together in 10 different forums and I am delighted with the results.


What does it do?
You didn't mention why we'd want to use it. :)

Read the tutorial.

It's very long to resume it here.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 25, 2009, 09:56:59 AM
Quote from: quatermass on September 25, 2009, 08:07:05 AM
    * ManageMembers.template.php
    * Register.template.php

Inside my theme thefishwiki, I do not have these two files.
Should I have?

No. Very few custom themes have these files inside them.

When SMF needs a template file always looks first inside your custom theme's folder. If it's not there then uses the one inside your default theme's folder.

Every time you install a mod, it only modifies the files inside the default theme's folder and this mod only modifies these 2 files, so if you had any one of them in your custom theme's folder you should have modify them manually, but that's not your case.




Quote from: quatermass on September 25, 2009, 08:07:05 AM
(I added the .error class into the thefishwiki/style.css just in case.)

And I suppose it hasn't sort the problem.




Quote from: quatermass on September 25, 2009, 08:07:05 AM
I enclose a small screenshot of the Jollygirls spammer after I ticked the right-hand box and then 'check these members'.

The other one is from the awaiting approval window with the spammer all lit up.

As I can see, it changes to red only in the "Awaiting Approval" list, but it doesn't do it in the "View all members" list.

The modifications for these 2 lists are both of them done inside the file Themes/default/ManageMembers.template.php so if the mod has made one of the changes properly should have done the another one as well.

Try this:

Title: Re: Stop Spammer
Post by: M-DVD on September 27, 2009, 08:11:21 PM
MOD Stop Spammer v2.3
=================


New features:

How do I upgrade?

=======================================

Características Nuevas:

¿Como actualizar?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 28, 2009, 10:51:08 AM
Hi M-DVD.

Nice to see you're back.

I think the issue about the 5000 querys per day limit you are talking about is related to something we talked ages ago:

You are using just one API key for all of you, so there are a lot of people doing querys through the same API key.

Maybe you should consider again the small modification I told you I am using so every one can use their own API key instead.
Title: Re: Stop Spammer
Post by: M-DVD on September 28, 2009, 12:44:28 PM
Quote from: snoopy_virtual on September 28, 2009, 10:51:08 AM
Hi M-DVD.

Nice to see you're back.

I think the issue about the 5000 querys per day limit you are talking about is related to something we talked ages ago:

You are using just one API key for all of you, so there are a lot of people doing querys through the same API key.

Maybe you should consider again the small modification I told you I am using so every one can use their own API key instead.

Thanks for help while I was on hiatus :D

And not, the API key only is necessary for report, not for check.

The limit in query is for check (example (http://www.stopforumspam.com/api?username=MariFoogwoogy)), and this limit works per IP host (who make the remote check).
Title: Re: Stop Spammer
Post by: Astra_200 on September 28, 2009, 06:15:37 PM
Quote from: quatermass on September 24, 2009, 11:58:01 AM
Quote from: Astral2000 on September 23, 2009, 06:07:05 PM
Tested before 2.3 mod with known spammers name. After 2.3 same test and spammer was stopped waiting approval.

Removed 2.2 and instaled 2.3 with no problems at all.

Thanks snoopy_virtual for mod and thanks to poster who spotted the problem.

Can you let us know if it highlights a user with a known spammer's name when you test your users?

It doesn't in my version with the latest fix.

Hi quatermass.

Sorry for the late reply. I did try registering with a known spammers name and it was picked up after the update.

The spammer's user name was highlighted in red in members list and spammer was held waiting for approval too.

I am running SMF 2.0 RC1.2 and a custom theme, Hope that helps.
Title: Re: Stop Spammer
Post by: Eclipse16V on September 29, 2009, 12:58:20 AM
Here is it in German:

$txt['stopspammer_error'] = 'Fehler mit der DB Anti SPAM. Verbindungsfehler.<br />Bitte versuche es sp&auml;ter oder kontaktiere den Webmaster';
$txt['stopspammer_count'] = 'Spam User wurden geblockt';
$txt['stopspammer_title'] = 'Suche mehr Infos bei Stop Forum Spam';
$txt['stopspammer_enable'] = 'Ein-/Ausschalten des Stop Spammer MODs';
$txt['stopspammer_show01'] = 'Zeige den "Mehr Infos" Link bei allen Usern';
$txt['stopspammer_show01_sub'] = 'Du kannst jeden User zu jeder Zeit ganz einfach mit einem Klick &uuml;berpr&uuml;fen.';
$txt['stopspammer_faildb'] = 'Wenn die Verbindung mit der DB von Anti SPAM fehlschl&auml;gt...';
$txt['stopspammer_fail01'] = 'Zeige Fehler und Anmeldung abbrechen';
$txt['stopspammer_fail02'] = 'Erlaube immer die Registration';
$txt['stopspammer_fail03'] = 'User erlauben aber Icon zum pr&uuml;fen anzeigen';
$txt['stopspammer_faildb1_sub'] = 'Dein Host kann eine neue Verbindung zur DB herstellen';
$txt['stopspammer_faildb2_sub'] = 'Dein Host kann keine neue Verbindung zur DB herstellen. Bitte versuche es sp&auml;ter noch einmal.<br />Sollte die immer noch nicht gehen, siehe im Support Thema nach und suche ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Fehler gefunden</b></span></a>';
$txt['stopspammer_leyd01'] = 'Kein Spam User: Diese Daten sind nicht in der Spam DB.';
$txt['stopspammer_leyd02'] = 'Unbekannt: Diese Daten konnten nicht gepr&uuml;ft werden.';
$txt['stopspammer_leyd03'] = 'Spam User: Diese Daten sind in der Spam DB verhanden!!!';
$txt['stopspammer_profilecheck'] = 'User &uuml;berpr&uuml;fen';
$txt['stopspammer_limitexceded'] = 'Du hast das Pr&uuml;flimit f&uuml;r diesen Tag schon erreicht (5000 API Anfagen pro Tag).<br />Du musst warten und es morgen nocheinmal probieren.';
$txt['in_stop_forum_spam'] = 'In Stop Forum Spam Web:';
$txt['spammers_checks'] = 'User &uuml;berpr&uuml;fen';
$txt['spammers_report'] = 'User melden';
$txt['confirm_spammers_checks'] = 'Bist Du sicher, dass Du die gew&auml;hlten User pr&uuml;fen m&ouml;schtest?';
$txt['confirm_spammers_report'] = 'Bist Du sicher, dass Du die gew&auml;hlten User melden willst?\n\nDenk daran das gemeldete User später bei SFS als Spammer auf der ganzen Welt makiert sind und sich somit in kein Forum mit SFS anmelden können.\n\nBitte nutze diese Funktion nur wenn Du dir ganz sicher bist.';
Title: Re: Stop Spammer
Post by: flutter on September 29, 2009, 11:59:59 AM
Thank you.  This mod is great and it confirmed a lot of profiles I suspected as spammers without me having to search them all out individually.  Initially they all came up as clean when I applied the mod, but I ticked the box and did a check and half of the ones suspected showed in red and had a history of spamming.

Well done on this one
Title: Re: Stop Spammer - DUTCH
Post by: boudie on September 30, 2009, 04:28:21 AM
Here is the new complete Dutch translation.
Quote//   MOD Stop Spammer - Translation by Laurens73 and boudie

$txt['stopspammer_error'] = 'Fout in de Anti SPAM database. Verbinding is mislukt.<br />
Probeer het later nog eens, of neem contact op met de beheerder';
$txt['stopspammer_count'] = 'Spammers zijn tot volgende data geblokkeerd';
$txt['stopspammer_title'] = 'Zoek meer info in `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'MOD Stop Spammer in/uitschakelen';
$txt['stopspammer_show01'] = 'Link "More Info" tonen voor alle leden';
$txt['stopspammer_show01_sub'] = 'Je kunt op elk moment elk lid controleren met een simpele muisklik';

$txt['stopspammer_faildb'] = 'Indien de verbinding mislukt met de database van Anti SPAM...';
$txt['stopspammer_fail01'] = 'Fout tonen en registratie stoppen';
$txt['stopspammer_fail02'] = 'Directe registratie toestaan';
$txt['stopspammer_fail03'] = 'Lid goedkeuren an icoon tonen ter controle';
$txt['stopspammer_faildb1_sub'] = 'Je host kan een verbinding maken met de database';
$txt['stopspammer_faildb2_sub'] = 'Je host kan geen verbinding maken met de database. Probeer het later nog eens.<br />
Indien dit aanhoudt, kijk dan bij ondersteuning en zoeken ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?P=3a793817999b1d750a910970866950d3&topic=283309.new#post_issues"><span class="error"><b>Bekende gevallen</b></span></a>';

$txt['stopspammer_leyd01'] = 'Geen Spammer: Deze gegevens stonden niet in de database, maar je kunt dit controleren';
$txt['stopspammer_leyd02'] = 'Verdacht: Dit lid kon niet worden gecontroleerd. Nu controleren';
$txt['stopspammer_leyd03'] = 'Spammers: Kijk voor meer info over de activiteiten van deze spammers';

$txt['in_stop_forum_spam'] = 'In het Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Controleer deze leden';
$txt['spammers_report'] = 'Rapporteer deze leden';
$txt['confirm_spammers_checks'] = 'Ben je er zeker van deze leden te controleren?';
$txt['confirm_spammers_report'] = 'Weet je zeker dat je deze leden wilt rapporteren?\n\nDenk goed na voordat je een lid rapporteert aan SFS hij/zij wordt gemarkeerd als spammer over de gehele wereld\nen kan bij geen enkel verbonden forum met SFS wereldwijd meer registreren of posten.\n\nDoe dit alleen indien je volledig zeker bent dat ze spammers zijn en mocht je je vergissen, meld dit dan zo snel mogelijk aan de orginele auteur van deze mod om deze fout binnen de SFS database te herstellen.';

$txt['stopspammer_profilecheck'] = 'Controleer dit lid';
$txt['stopspammer_limitexceded'] = 'Je hebt de check limit overschreden (max 5000 API queries per dag).<br />Wacht tot morgen om nieuwe checks uit te voeren.';]]></add>
      </operation>
   </file>
   <file name="$languagedir/Modifications.dutch-utf8.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
//   MOD Stop Spammer - Translation by Laurens73
$txt['stopspammer_error'] = 'Fout in de Anti SPAM database. Verbinding is mislukt.<br />
Probeer het later nog eens, of neem contact op met de beheerder';
$txt['stopspammer_count'] = 'Spammers zijn tot volgende data geblokkeerd';
$txt['stopspammer_title'] = 'Zoek meer info in `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'MOD Stop Spammer in/uitschakelen';
$txt['stopspammer_show01'] = 'Link "More Info" tonen voor alle leden';
$txt['stopspammer_show01_sub'] = 'Je kunt op elk moment elk lid controleren met een simpele muisklik';

$txt['stopspammer_faildb'] = 'Indien de verbinding mislukt met de database van Anti SPAM...';
$txt['stopspammer_fail01'] = 'Fout tonen en registratie stoppen';
$txt['stopspammer_fail02'] = 'Directe registratie toestaan';
$txt['stopspammer_fail03'] = 'Lid goedkeuren an icoon tonen ter controle';
$txt['stopspammer_faildb1_sub'] = 'Je host kan een verbinding maken met de database';
$txt['stopspammer_faildb2_sub'] = 'Je host kan geen verbinding maken met de database. Probeer het later nog eens.<br />
Indien dit aanhoudt, kijk dan bij ondersteuning en zoeken ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?P=3a793817999b1d750a910970866950d3&topic=283309.new#post_issues"><span class="error"><b>Bekende gevallen</b></span></a>';

$txt['stopspammer_leyd01'] = 'Geen Spammer: Deze gegevens stonden niet in de database, maar je kunt dit controleren';
$txt['stopspammer_leyd02'] = 'Verdacht: Dit lid kon niet worden gecontroleerd. Nu controleren';
$txt['stopspammer_leyd03'] = 'Spammers: Kijk voor meer info over de activiteiten van deze spammers';

$txt['in_stop_forum_spam'] = 'In het Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Controleer deze leden';
$txt['spammers_report'] = 'Rapporteer deze leden';
$txt['confirm_spammers_checks'] = 'Ben je er zeker van deze leden te controleren?';
$txt['confirm_spammers_report'] = 'Weet je zeker dat je deze leden wilt rapporteren?\n\nDenk goed na voordat je een lid rapporteert aan SFS hij/zij wordt gemarkeerd als spammer over de gehele wereld\nen kan bij geen enkel verbonden forum met SFS wereldwijd meer registreren of posten.\n\nDoe dit alleen indien je volledig zeker bent dat ze spammers zijn en mocht je je vergissen, meld dit dan zo snel mogelijk aan de orginele auteur van deze mod om deze fout binnen de SFS database te herstellen.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 30, 2009, 06:49:42 AM
Quote from: M-DVD on September 28, 2009, 12:44:28 PM
Thanks for help while I was on hiatus :D

And not, the API key only is necessary for report, not for check.

The limit in query is for check (example (http://www.stopforumspam.com/api?username=MariFoogwoogy)), and this limit works per IP host (who make the remote check).

It's OK then.

A limit of 5000 querys a day per IP host is big enough.
Title: Re: Stop Spammer
Post by: FragaCampos on September 30, 2009, 09:18:24 AM
Thanks a lot for the update!

Here's my small contribution with the portuguese translation:

// MOD Stop Spammer
$txt['stopspammer_error'] = 'Erro com BD Anti SPAM. Falha na liga&ccedil;&atilde;o.<br />
Por favor tente novamente mais tarde, ou contacte o WebMaster';
$txt['stopspammer_count'] = 'Spammers bloqueados at&eacute; hoje';
$txt['stopspammer_title'] = 'Pesquisar por mais informa&ccedil;&atilde;o em `Impedir Spam no F&oacute;rum`';

$txt['stopspammer_enable'] = 'Activar/Desactivar MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Mostrar link "Mais Info" para Todos os Membros';
$txt['stopspammer_show01_sub'] = 'Pode analisar qualquer membro a qualquer altura com apenas um clique';

$txt['stopspammer_faildb'] = 'Se a liga&ccedil;&atilde;o com a BD Anti SPAM falhar:';
$txt['stopspammer_fail01'] = 'Mostrar Erro e Impedir Registo';
$txt['stopspammer_fail02'] = 'Permitir Registo Imediato';
$txt['stopspammer_fail03'] = 'Aprova&ccedil;&atilde;o de Membro e mostrar &iacute;cone para an&aacute;lise';
$txt['stopspammer_faildb1_sub'] = 'O seu host pode fazer liga&ccedil;&otilde;es remotas &agrave; BD';
$txt['stopspammer_faildb2_sub'] = 'O seu host n&atilde;o conseguiu estabelecer liga&ccedil;&atilde;o &agrave; BD, tente novamente mais tarde<br />
Se o problema persistit veja o T&oacute;pico de Apoio e pesquisa ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'N&atilde;o &eacute; Spammer: estes dados n&atilde;o estavam numa BD. Mas pode averiguar.';
$txt['stopspammer_leyd02'] = 'Suspeito: Este membro n&atilde;o p&ocirc;de ser averiguado. Averiguar agora.';
$txt['stopspammer_leyd03'] = 'Spammers: Veja mais informa&ccedil;&atilde;o sobre a actividade deste spammer.';

$txt['stopspammer_profilecheck'] = 'Verifique este utilizador';
$txt['stopspammer_limitexceded'] = 'Excedeu o limite de verifica&ccedil;&atilde;o (5000 API queries por dia).<br />Dever&aacute; esperar por amanh&atilde; para tentar novamente.';

$txt['in_stop_forum_spam'] = 'No Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Averigue estes Membros';
$txt['spammers_report'] = 'Reporte estes Membros';
$txt['confirm_spammers_checks'] = 'Tem a certeza que quer averiguar os membros seleccionados?';
$txt['confirm_spammers_report'] = 'Tem a certeza que quer reportar os membros seleccionados??\n\nN&atilde;o se esque&ccedil;a que quando reporta um membro ao SFS ele/ela fica marcado como spammer em todo o mundo\ne ele/ola n&atilde;o poder&aacute; usar nenhum dos f&oacute;runs ligados &agrave; SFS por toda a Internet.\n\nFa&ccedil;a-o apenas se tivere certeza absoluta que s&atilde;o spammers e se por qualquer motivo você cometer um erro\ncomunique o mais rapidamente poss&iacute;vel o autor do mod para que ele possa corrigir o erro na base de dados da SFS.';
Title: Re: Stop Spammer
Post by: FragaCampos on September 30, 2009, 09:27:41 AM
Me again.

I had to unistall the mod, because when i try to register a new user i receive the following error:

QuoteFatal error: Cannot redeclare checkdbspammer() (previously declared in public_html/Sources/Subs-Members.php:1136) in public_html/Sources/StopSpammer.php on line 58


can anyone tell me why this happens?
Title: Re: Stop Spammer
Post by: DragonKith on September 30, 2009, 10:58:08 AM
I have been getting spammers like every day registering on my board there was a time i had like 20 to 30 spammers registered on my board and this is with Stop Spammer install on my board.Is there going to be a new version of Stop Spammer coming out soon
Title: Re: Stop Spammer
Post by: catfished on September 30, 2009, 01:59:45 PM
Quote from: DragonKith on September 30, 2009, 10:58:08 AM
I have been getting spammers like every day registering on my board there was a time i had like 20 to 30 spammers registered on my board and this is with Stop Spammer install on my board.Is there going to be a new version of Stop Spammer coming out soon

If you uninstalled version 2.2 and installed version 2.3 it should work just fine.
Title: Re: Stop Spammer
Post by: Tamsin on October 01, 2009, 06:25:01 AM
2.2 was working fine after snoopy_virtual's fix cured some malfunctioning. I have now installed 2.3 and nobody can register any more. Any ideas?
Title: Re: Stop Spammer
Post by: FragaCampos on October 01, 2009, 08:07:34 PM
Quote from: Tamsin on October 01, 2009, 06:25:01 AM
2.2 was working fine after snoopy_virtual's fix cured some malfunctioning. I have now installed 2.3 and nobody can register any more. Any ideas?


Maybe you're having the same problem (http://www.simplemachines.org/community/index.php?topic=283309.msg2284109#msg2284109) as me?
Title: Re: Stop Spammer
Post by: tbk22 on October 03, 2009, 06:09:21 AM
Great Mod !

It helped me a lot
Title: Re: Stop Spammer
Post by: R.Bourne on October 03, 2009, 04:37:46 PM
2.2 was working fine and the connection to DB was always working fine.

With 2.3 , the DB is NOT available no matter what!

Worst, when I select one or more members to "check", every single member of my forum becomes YELLOW including me myself as ADMIN. That means, someone else has to go and APPROVE the administrator!

Yes, I thought I killed my forum forever but luckily accessed the site MySQL database and changed the value from 3 to 1 for myself (ADMIN!!!) so I can access my own site. And finally, approve all members.

This is crazy and very very dangerous MOD.


UPDATE 1: I installed this MOD "cURL fetch_web_data" (http://custom.simplemachines.org/mods/index.php?mod=1569) and now the connection is available (Green). I am confused as why 2.2 was able to connect to spam DB without this MOD.

UPDATE 2: Now, when I select a single member to check, it gives me this message: "You have exceded the check limiting (5000 API queries per day).
You should wait from tomorrow for check again." which is much better. At least, it doesn't make me approve myself first as Admin!

NOTE: QA is one of the most important process but seems like is not being followed. Example, the bold part above ;)
Title: Re: Stop Spammer
Post by: M-DVD on October 05, 2009, 01:20:57 AM
Quote from: FragaCampos on September 30, 2009, 09:27:41 AM
Me again.

I had to unistall the mod, because when i try to register a new user i receive the following error:

QuoteFatal error: Cannot redeclare checkdbspammer() (previously declared in public_html/Sources/Subs-Members.php:1136) in public_html/Sources/StopSpammer.php on line 58

can anyone tell me why this happens?

The uninstalling the previous version wasn't complete.

You should look in the file Subs-members.php and deleted the changes

--

Quote from: catfished on September 30, 2009, 01:59:45 PM
Quote from: DragonKith on September 30, 2009, 10:58:08 AM
I have been getting spammers like every day registering on my board there was a time i had like 20 to 30 spammers registered on my board and this is with Stop Spammer install on my board.Is there going to be a new version of Stop Spammer coming out soon

If you uninstalled version 2.2 and installed version 2.3 it should work just fine.

Yes, thanks for help :)

--

Quote from: Tamsin on October 01, 2009, 06:25:01 AM
2.2 was working fine after snoopy_virtual's fix cured some malfunctioning. I have now installed 2.3 and nobody can register any more. Any ideas?

Try unistall and reinstall the new version and tell me.

--

Quote from: R.Bourne on October 03, 2009, 04:37:46 PM
Worst, when I select one or more members to "check", every single member of my forum becomes YELLOW including me myself as ADMIN. That means, someone else has to go and APPROVE the administrator!

Yes, because the DB is not available. Then all member that you are checking, becomes yellow.

Quote from: R.Bourne on October 03, 2009, 04:37:46 PM
UPDATE 1: I installed this MOD "cURL fetch_web_data" (http://custom.simplemachines.org/mods/index.php?mod=1569) and now the connection is available (Green). I am confused as why 2.2 was able to connect to spam DB without this MOD.

UPDATE 2: Now, when I select a single member to check, it gives me this message: "You have exceded the check limiting (5000 API queries per day).
You should wait from tomorrow for check again." which is much better. At least, it doesn't make me approve myself first as Admin!

I don't know why you can't check fine.

Do you still have these limits to check members?

Quote from: R.Bourne on October 03, 2009, 04:37:46 PM
NOTE: QA is one of the most important process but seems like is not being followed. Example, the bold part above ;)

Sorry my bad english :-[

--

Quote from: Eclipse16V on September 29, 2009, 12:58:20 AM
Here is it in German:

Quote from: boudie on September 30, 2009, 04:28:21 AM
Here is the new complete Dutch translation.

Quote from: FragaCampos on September 30, 2009, 09:18:24 AM
Thanks a lot for the update!

Here's my small contribution with the portuguese translation:

Quote from: cat11 on September 29, 2009, 05:21:34 AM
Hi
Ok so I've translated it:

Many thanks, yours translations have been uploaded :)

--

Quote from: flutter on September 29, 2009, 11:59:59 AM
Thank you.  This mod is great and it confirmed a lot of profiles I suspected as spammers without me having to search them all out individually.  Initially they all came up as clean when I applied the mod, but I ticked the box and did a check and half of the ones suspected showed in red and had a history of spamming.

Well done on this one

Quote from: tbk22 on October 03, 2009, 06:09:21 AM
Great Mod !

It helped me a lot

Thanks for comment :)
Title: Re: Stop Spammer
Post by: R.Bourne on October 05, 2009, 02:01:52 AM
M-DVD, your English is perfect. And, I didn't mean to be disrespectful :(


Back to your code, it seems like everything is working fine. No more complain from me ;)

Thank you again for a great and so useful MOD.
Title: Re: Stop Spammer
Post by: SiL on October 05, 2009, 11:00:37 AM
Not working as expected - installed in test forum (apparently successfully). No status change on indicator gifs in view all members even though looking up a couple of existing addresses showed an entry in the SFS site.

Went to SFS to register API so I could try listing a spam address on SFS - that first part went OK, BUT the second half (trying to register on SFS forum) instead had the opposite effect of marking my IP & other details as a spammer....  WTF!!!! (no, my IP address is not blacklisted)

Maybe this mod + SFS still needs some work .  I wonder if SFS is using the honeypot... hmmm
Title: Re: Stop Spammer
Post by: rthrash on October 05, 2009, 01:40:58 PM
I've got a problem with the latest update on my deployment. I've had to revert the templates on Register.php and ManageMembers.php. In a localhost deployment everything works fine on a fresh install, but when transferring the templates over via FTP (the auto-installer doesn't work), I get blank pages on step 2 of registration and any time I try to view the member list. Any ideas?
Title: Re: Stop Spammer
Post by: Xerendipity on October 05, 2009, 08:17:15 PM
Thanks for this mod.  One question though ... once installed, am I supposed to see an updated list under Ban List, or it is working more in the background?
Title: Re: Stop Spammer
Post by: SiL on October 06, 2009, 12:34:38 AM
Aha!

tip for users / installers....  to be able to list and check the existing member groups, you need to have the permission to delete accounts, otherwise the checkbox on the far right for each member in the memberlist does not appear, and you can't select a group of members to run the check.

Makes it a bit of challenge for admins as to what permissions they may wish to delegate to moderators - with distributed forum administration you may want to take some of the load off key admins and pass it to moderators. Snoopy/M-DVD would it make more sense to have a set permission such as "Spammer control" that could specifically be controlled through the permissions groupings?

Another suggestion - ability to sort by a "suspect spammer" column in the view all members listing - it will take a while to get through 5000+ members on a forum one page at a time (and a true "check all members" function would be handy too - the top select button seems to only select the visible page of members.)

and be careful what username you use if you decide to register at SFS.  if you have a short username that is a substring of any known spammer usernames, you may get accidentally listed  ;-)
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 06, 2009, 10:33:21 AM
Quote from: Xerendipity on October 05, 2009, 08:17:15 PM
Thanks for this mod.  One question though ... once installed, am I supposed to see an updated list under Ban List, or it is working more in the background?

You don't need to update the ban list.

This is done automatically in stopforumspam.com and the mod check always the updated list every time it connects to that page.
Title: Re: Stop Spammer
Post by: FragaCampos on October 06, 2009, 10:37:58 AM
Quote from: M-DVD on October 05, 2009, 01:20:57 AM


The uninstalling the previous version wasn't complete.
You should look in the file Subs-members.php and deleted the changes

Thank you very much! It was exactly that ;D
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 06, 2009, 11:01:39 AM
Quote from: SiL on October 06, 2009, 12:34:38 AM
... Snoopy/M-DVD would it make more sense to have a set permission such as "Spammer control" that could specifically be controlled through the permissions groupings?

A very interesting idea.

I will wait to see if M-DVD uses it for his mod.

If he doesn't want to use it I may use it in my own version of the mod.

Quote from: SiL on October 06, 2009, 12:34:38 AM
Another suggestion - ability to sort by a "suspect spammer" column in the view all members listing - it will take a while to get through 5000+ members on a forum one page at a time (and a true "check all members" function would be handy too - the top select button seems to only select the visible page of members.)

Well...

This can be useful, but I don't think I'll use it.

What I do in all the forums I administer when I check the users is to order them by ID.

This way I can go to the last page and I can see together all the latest members of the forum.

It's a little more complicated at the beginning, when you have just installed the mod and you have a lot of members to check, but after a while, you just need to check the latest members, and viewing them by ID number you have all of them at the end of the list.

Quote from: SiL on October 06, 2009, 12:34:38 AM
and be careful what username you use if you decide to register at SFS.  if you have a short username that is a substring of any known spammer usernames, you may get accidentally listed  ;-)

Yes, that is why in my own version of the mod I have a special mark when the mod detect somebody with only the username marked as spammer and a button to leave it just as suspicious or to mark him as non-spammer once you are sure about him.

I told M-DVD to use this idea for his mod, but he said it will be too complicated for most users, because then you need to modify too many files and it's not so easy to install the mod and he prefers to leave it simple.
Title: Re: Stop Spammer
Post by: GadgetNutt on October 06, 2009, 08:26:57 PM
First off I want to comment on how pleased I am with this mod. :) It has made my life a lot easier by keeping the spammers at bay.

A loud and grateful THANKS to M-DVD and snoopy_virtual for all your efforts, and a job well done.

I guess I have been lucky, or just careful, but all the mods, updates, and installs have gone quite well for me.
With each fix, all has worked out as promised, and I would like to encourage those that have had a buga boo or 2, to keep trying.

This mod is worth the effort! ;D

With that said, I have a question:
It appears that when someone signs up, those that need checking through StopForumSpam are marked correctly to check,
But I have notice that lately I have not been notified on the home page that I have someone waiting to be activated.
I know this was working before. I have 2 users waiting, and it is not showing up on my main page? Any ideas?

Thanks, Mark
Title: Re: Stop Spammer
Post by: M-DVD on October 06, 2009, 10:24:10 PM
Quote from: Xerendipity on October 05, 2009, 08:17:15 PM
Thanks for this mod.  One question though ... once installed, am I supposed to see an updated list under Ban List, or it is working more in the background?

If there are spammers who have been caught in the register, you will see in the list of members waiting for approval.

For members already registered, you can check from the List of Members in the ACP (or from their profile), then select the checkbox and click on the 'Check button'.

But if you mean about update the Spammer's DB (black list), it is the answer

Quote from: snoopy_virtual on October 06, 2009, 10:33:21 AM
You don't need to update the ban list.

This is done automatically in stopforumspam.com and the mod check always the updated list every time it connects to that page.

--

Quote from: rthrash on October 05, 2009, 01:40:58 PM
I've got a problem with the latest update on my deployment. I've had to revert the templates on Register.php and ManageMembers.php. In a localhost deployment everything works fine on a fresh install, but when transferring the templates over via FTP (the auto-installer doesn't work), I get blank pages on step 2 of registration and any time I try to view the member list. Any ideas?

Try unistall, and reinstall. (try install automatically)

Have you enabled the fsockopen function?

--

Quote from: SiL on October 06, 2009, 12:34:38 AM
Aha!

tip for users / installers....  to be able to list and check the existing member groups, you need to have the permission to delete accounts, otherwise the checkbox on the far right for each member in the memberlist does not appear, and you can't select a group of members to run the check.

Sorry my bad. I will fix it.

Only you will need the 'moderate_forum' permission, ie, the same permission for see the Member List in the ACP. Maybe, I will add other permssion.

Thanks for report.

Quote from: SiL on October 06, 2009, 12:34:38 AM
Another suggestion - ability to sort by a "suspect spammer" column in the view all members listing - it will take a while to get through 5000+ members on a forum one page at a time (and a true "check all members" function would be handy too - the top select button seems to only select the visible page of members.)

The best is this tactic

Quote from: snoopy_virtual on October 06, 2009, 11:01:39 AM

Well...

This can be useful, but I don't think I'll use it.

What I do in all the forums I administer when I check the users is to order them by ID.

This way I can go to the last page and I can see together all the latest members of the forum.

It's a little more complicated at the beginning, when you have just installed the mod and you have a lot of members to check, but after a while, you just need to check the latest members, and viewing them by ID number you have all of them at the end of the list.

Also, you can look the List of Member Waiting Approvation. In this list are all 'suspect spammer'.

--

Quote from: R.Bourne on October 05, 2009, 02:01:52 AM
M-DVD, your English is perfect. And, I didn't mean to be disrespectful :(


Back to your code, it seems like everything is working fine. No more complain from me ;)

Thank you again for a great and so useful MOD.

No problem :), thanks for comment.

--

Quote from: GadgetNutt on October 06, 2009, 08:26:57 PM
First off I want to comment on how pleased I am with this mod. :) It has made my life a lot easier by keeping the spammers at bay.

A loud and grateful THANKS to M-DVD and snoopy_virtual for all your efforts, and a job well done.

I guess I have been lucky, or just careful, but all the mods, updates, and installs have gone quite well for me.
With each fix, all has worked out as promised, and I would like to encourage those that have had a buga boo or 2, to keep trying.

This mod is worth the effort! ;D

With that said, I have a question:
It appears that when someone signs up, those that need checking through StopForumSpam are marked correctly to check,
But I have notice that lately I have not been notified on the home page that I have someone waiting to be activated.
I know this was working before. I have 2 users waiting, and it is not showing up on my main page? Any ideas?

Thanks, Mark

Thanks for your comment.

Try this tip:
http://www.simplemachines.org/community/index.php?topic=283309.msg1930362#msg1930362

I don't know, but some themes don't have this link ::)


--

Quote from: FragaCampos on October 06, 2009, 10:37:58 AM
Quote from: M-DVD on October 05, 2009, 01:20:57 AM


The uninstalling the previous version wasn't complete.
You should look in the file Subs-members.php and deleted the changes

Thank you very much! It was exactly that ;D

You're welcome :)
Title: Re: Stop Spammer
Post by: SiL on October 06, 2009, 11:18:38 PM
Hmm, the contents of the latest 2.3 update when checked with textwrangler with a previous download
show no differences?   (last file update date still 27 Sep 09?)

? did the update, "not update" on smf.org?
Title: Re: Stop Spammer
Post by: shadowravenhawk on October 08, 2009, 01:11:51 AM
I'm trying to install v.23 on SMF 1.1.5 and the instructions say to make changes on theme default managemembers.template.php and source managemembers.php and what it says to look for isn't there. It also says to make changes to theme default languagemod.english-utf8 and there is no such page.
Title: Re: Stop Spammer
Post by: SiL on October 08, 2009, 09:25:44 AM
Quote from: M-DVD on October 06, 2009, 10:24:10 PM

The best is this tactic

Quote from: snoopy_virtual on October 06, 2009, 11:01:39 AM

Well...

This can be useful, but I don't think I'll use it.

What I do in all the forums I administer when I check the users is to order them by ID.

This way I can go to the last page and I can see together all the latest members of the forum.

It's a little more complicated at the beginning, when you have just installed the mod and you have a lot of members to check, but after a while, you just need to check the latest members, and viewing them by ID number you have all of them at the end of the list.

Also, you can look the List of Member Waiting Approvation. In this list are all 'suspect spammer'.


Yes, I had already worked out the reverse sort by ID.  But I may choose to search by (reverse ID AND less than 5 posts AND last seen more than 30 days) which will narrow down the hiding spots for dormant spammers who create accounts and lie low. They are the ones that are hiding on your member list - even without this Mod, the active spammers would have announced their presence and been detected/banned as they usually can't help themselves if they are trying to sell imitation shoes or other such items.

Many forums have lots of inactive accounts, and I'd say there's quite a few like me who start looking for mods like this after a forum has been active for some time.  So there can be quite a lot (1000+) members to be checked. And as I said, a page at a time is very, very painstaking.

For instance, the function for checking SMF forums for errors has the option to act on all errors of the same type, across multiple pages.  So how easy would it be to add this type of function to the member checking page?  whatever options one has chosen, whether a straightforward "view all members" or a special search using some criteria (like above), however many pages of results are found, a select option is available that will apply the SFS search across the whole of the found list of results, not just the first page.

Once the majority of members have been checked efficiently and speedily by the first bulk search, the method suggested by snoopy can be used for the remainder.

Title: Re: Stop Spammer
Post by: renzosan on October 08, 2009, 07:12:45 PM
Hello,

I've already read a lot of information, but I can't solve this problem. Could you help me please?

When I installed the package (apply mod), I got this error:
"Fatal error: packageinstall() [function.require]: Failed opening required '/usr/home/artig708/public_html/foro/Packages/temp/install_1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/artig708/public_html/foro/Sources/Packages.php on line 556"

Then, when I try to install the package again, I can't because I have an error message saying that I can't write on the "Packages" directory.
I have backup of everything, but I didn't do anything yet because I am not sure if my files were changed or why is this error.

I am using a Kani_119 theme, I have installed SMF in a subdirectory (/foro).

Thank you in advance.
Title: Re: Stop Spammer
Post by: renzosan on October 09, 2009, 12:48:14 PM
I've solved the problem.

1.- Create directory '/temp' inside of packages and change CHMOD to 777.
2.- Change CHMOD to 777 of some files:
- /Themes/default/ManageMembers.template.php
   - /Themes/default/Register.template.php
   - /Sources/ManageRegistration.php
   - /Sources/ManageMembers.php
   - /Sources/Register.php
   - /Sources/Subs.php
   - /Sources/Subs-Members.php
   - /Sources/Profile.php
   - /Themes/default/languages/Modifications.english.php
   - /Themes/default/languages/Modifications.english-utf8.php
   - /Themes/default/languages/Modifications.english_british-utf8.php
   - /Themes/default/languages/Modifications.spanish_es-utf8.php
   - /Themes/default/languages/Modifications.spanish_latin-utf8.php

3.- Apply mod.
4. Copy 'StopSpammer.php' to /Sources.
5. Copy 3 png's to /Themes/default/images/icons
Title: Re: Stop Spammer
Post by: M-DVD on October 14, 2009, 10:59:28 PM
Quote from: SiL on October 06, 2009, 11:18:38 PM
Hmm, the contents of the latest 2.3 update when checked with textwrangler with a previous download
show no differences?   (last file update date still 27 Sep 09?)

? did the update, "not update" on smf.org?

I don't upgrade this MOD from the 27th September 2009
The 05th October 2009 I upgraded the language_full.zip

--

Quote from: shadowravenhawk on October 08, 2009, 01:11:51 AM
I'm trying to install v.23 on SMF 1.1.5 and the instructions say to make changes on theme default managemembers.template.php and source managemembers.php and what it says to look for isn't there. It also says to make changes to theme default languagemod.english-utf8 and there is no such page.

1.- install_1.xml?

2.- language/modification.english-utf8 is optional. If you not have this file, then ignore it.

--

Quote from: SiL on October 08, 2009, 09:25:44 AM
Yes, I had already worked out the reverse sort by ID.  But I may choose to search by (reverse ID AND less than 5 posts AND last seen more than 30 days) which will narrow down the hiding spots for dormant spammers who create accounts and lie low. They are the ones that are hiding on your member list - even without this Mod, the active spammers would have announced their presence and been detected/banned as they usually can't help themselves if they are trying to sell imitation shoes or other such items.

Many forums have lots of inactive accounts, and I'd say there's quite a few like me who start looking for mods like this after a forum has been active for some time.  So there can be quite a lot (1000+) members to be checked. And as I said, a page at a time is very, very painstaking.

For instance, the function for checking SMF forums for errors has the option to act on all errors of the same type, across multiple pages.  So how easy would it be to add this type of function to the member checking page?  whatever options one has chosen, whether a straightforward "view all members" or a special search using some criteria (like above), however many pages of results are found, a select option is available that will apply the SFS search across the whole of the found list of results, not just the first page.

Once the majority of members have been checked efficiently and speedily by the first bulk search, the method suggested by snoopy can be used for the remainder.

Ok, I will think about it. But currently do not have much time to do it.

--

Quote from: renzosan on October 09, 2009, 12:48:14 PM
I've solved the problem.

1.- Create directory '/temp' inside of packages and change CHMOD to 777.
2.- Change CHMOD to 777 of some files:
- /Themes/default/ManageMembers.template.php
   - /Themes/default/Register.template.php
   - /Sources/ManageRegistration.php
   - /Sources/ManageMembers.php
   - /Sources/Register.php
   - /Sources/Subs.php
   - /Sources/Subs-Members.php
   - /Sources/Profile.php
   - /Themes/default/languages/Modifications.english.php
   - /Themes/default/languages/Modifications.english-utf8.php
   - /Themes/default/languages/Modifications.english_british-utf8.php
   - /Themes/default/languages/Modifications.spanish_es-utf8.php
   - /Themes/default/languages/Modifications.spanish_latin-utf8.php

3.- Apply mod.
4. Copy 'StopSpammer.php' to /Sources.
5. Copy 3 png's to /Themes/default/images/icons

Good :D
Title: Re: Stop Spammer
Post by: SiL on October 19, 2009, 02:43:49 AM
Hi M-DVD

found a way around the initial setup for now (needs appropriate level of admin access).

Reset the parameter for the number of members that can be viewed on a page (temporarily) to a larger number than 30 - {SMF will go up to 999} and select the "select all" when running the spam check.

{Edited now I follow the binary weighting of spammers}

will make suggestion in new post....

An easy way to clear the flag "is_spammer" in the db may also be a useful addition.

thanks
Title: Re: Stop Spammer
Post by: G_D_I on October 25, 2009, 03:56:46 AM
You having an error in Russian translate and in Ukrainian too. In these files are absent the closing quotes in last two lines in Russian and Ukrainian.
For example for Russian:
Current translate $txt['confirm_spammers_checks'] = 'Вы уверены, что хотите проверить выбраннх пользователей?;
$txt['confirm_spammers_report'] = 'Вы уверены, что хотите сообщить о выбранных пользователях?\nПодумайте, что, когда вы сообщите про пользователя в SFS его пометят как спамера во всем мире,\nи он/она не сможет использовать любой из форумов, связанных с SFS во всем мире.\n\n Сделайте это, только если вы абсолютно уверены, они спамеры и если по какой-либо причине произошли ошибки,\nрозскажите как можно скорее создателям модификации, чтобы они как можно быстрее исправили ошибку внутри SFS данных.;

Must be replaced $txt['confirm_spammers_checks'] = 'Вы уверены, что хотите проверить выбраннх пользователей?';
$txt['confirm_spammers_report'] = 'Вы уверены, что хотите сообщить о выбранных пользователях?\nПодумайте, что, когда вы сообщите про пользователя в SFS его пометят как спамера во всем мире,\nи он/она не сможет использовать любой из форумов, связанных с SFS во всем мире.\n\n Сделайте это, только если вы абсолютно уверены, они спамеры и если по какой-либо причине произошли ошибки,\nрозскажите как можно скорее создателям модификации, чтобы они как можно быстрее исправили ошибку внутри SFS данных.';


This is the Russian translate for Stop Spammer v 2.3 in attachment file.
Title: Re: Stop Spammer
Post by: SiL on October 26, 2009, 01:09:01 AM
SPAMMER CHECKING

I think I understand it a bit better now...

I noticed a number of false positives based on username only - legitimate members may be using the same username as a spammer, but of course with a different ip address and email address.
Because of dynamic IP assignment the same can be true for IP address hits.
The spam check weights the detection flag as

email address = 4
username = 2
ipaddress = 1

Doing a quick check with an offline mirror of a forum database for 300-400 entries threw up
a number of false positives - these were almost always username only or ip address only.

So my thinking is the boundary between a false positive and a real positive spammer is the value "3" . If the "is_spammer" value is 1 or 2, this is a warn, but no action required (registration allowed).  Any "is_spammer" value of 3 or higher is placed in the waiting list.

& how would this be useful? 

My suggestion would be to have a checkbox, maybe call it "strict" or "catch all" - if this is checked, an "is_spammer" value between 1 and 7 will satisfy the spammer criteria and user will be placed on waiting list to be checked/approved (this is how I understand the mod to currently work).   however...
If the "catch all" checkbox is NOT checked, only spammers with an "is_spammer" value between 3 and 7 will be put on the waiting list.
Those users who are unlucky enough to have a common username shared with a spammer, but otherwise legitimate will be allowed through as normal.

And to extend this option... to modify the Manage.members & Manage.members.template so that a quick search for users with a spammer value of 1 to 2 (warn) and 3 to 7 (spammer) can be done - (i've started to have a play with these files but my php coding is primitive, so it is just a bit of trial and error to get it right)
This way one can review the member database for alerts of users to watch. 

The underlying idea is so that legitimate users are not disadvantaged, and the admin/mod only has to go and approve/disapprove the obvious catches - in the end I think that this minor change would reduce the amount of checking and approval that a mod/admin would need to do, as it will get it right 95% of the time.

And if there was a false positive registered on the SFS site, which marked a legitimate user as a spammer (could happen), it would be nice to have an option to clear the "is_spammer" value - in the members view perhaps?
Title: Re: Stop Spammer
Post by: andsim on October 29, 2009, 10:41:29 AM
help me i cant insall stop spammer v2.3
i error message
While trying to retrieve the URL: http://www.andsimforum.org/index.php?

The following error was encountered:
Zero Sized Reply

Squid did not receive any data for this request.

Your cache administrator is webmaster.
Title: Re: Stop Spammer
Post by: jrosesr on October 30, 2009, 10:31:50 AM
Thank you catfished that work for me.

John

[http]www.boostherbs.com[/http]
Title: Re: Stop Spammer
Post by: Sudhakar Arjunan on November 01, 2009, 02:44:28 PM
Excellent Mod and wonderful instructions.

Installed and will spend time in analyzing the members on 255 pages of around 12000 members in my forum.

Thanks to the mod Author.
Title: Re: Stop Spammer
Post by: Trampasj on November 10, 2009, 12:31:09 PM
M-DVD ..
Hola cariño tu podrias ayudarme con este mod

Fatal error: Cannot redeclare sprintfspamer() (previously declared in /home/mundopix/public_html/pixelmaniacs/forum/Sources/Load.php(1731) : eval()'d code:527) in /home/mundopix/public_html/pixelmaniacs/forum/Sources/Load.php(1731) : eval()'d code on line 553

Tengo este fatal error cuando instale el StopSpammer en mi archivo de Load.php
Estuve mirando pero no doy con el problema os inserto la parte del error lineas..
Muchas gracias amore espero vuestra ayuda :-[

Linea 527
// Registered user.... just the groups in $user_info['groups'].
else
$user_info['query_see_board'] = '(FIND_IN_SET(' . implode(', b.memberGroups) OR FIND_IN_SET(', $user_info['groups']) . ', b.memberGroups))';
}


Linea 553

// !!! SLOW?
if (!empty($topic))
$temp = cache_get_data('topic_board-' . $topic, 120);
else
$temp = cache_get_data('board-' . $board, 120);

if (!empty($temp))
{
$board_info = $temp;
$board = $board_info['id'];
}
}

if (empty($temp))
{
$request = db_query("
SELECT
c.ID_CAT, b.name AS bname, b.description, b.numTopics, b.memberGroups,
b.ID_PARENT, c.name AS cname, IFNULL(mem.ID_MEMBER, 0) AS ID_MODERATOR,
mem.realName" . (!empty($topic) ? ", b.ID_BOARD" : '') . ", b.childLevel,
b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts
FROM ({$db_prefix}boards AS b" . (!empty($topic) ? ", {$db_prefix}topics AS t" : '') . ")
LEFT JOIN {$db_prefix}categories AS c ON (c.ID_CAT = b.ID_CAT)
LEFT JOIN {$db_prefix}moderators AS mods ON (mods.ID_BOARD = " . (empty($topic) ? $board : 't.ID_BOARD') . ")
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = mods.ID_MEMBER)
WHERE b.ID_BOARD = " . (empty($topic) ? $board : "t.ID_BOARD
AND t.ID_TOPIC = $topic"), __FILE__, __LINE__);


Muchas gracias  :-*
Title: Re: Stop Spammer
Post by: erlend_sh on November 12, 2009, 12:19:27 AM
I can't see anyone having commented on this yet, but there seems to be a duplicate mod called Stop Forum Spam (http://custom.simplemachines.org/mods/index.php?mod=1519), that I assume does exactly the same thing as this mod? It would be great if the two of you could get together and maintain just one mod in unison.
Title: Re: Stop Spammer
Post by: TurtleKicker on November 12, 2009, 04:28:10 PM
Any chance for an RC2 version? I use this on 1.1.10 and would hate to lose protection when I upgrade to SMF2. Thanks!
Title: Re: Stop Spammer
Post by: anewhobby on November 20, 2009, 01:04:42 AM
Quote from: sremick on November 12, 2009, 04:28:10 PM
Any chance for an RC2 version? I use this on 1.1.10 and would hate to lose protection when I upgrade to SMF2. Thanks!

DITTO
Title: Re: Stop Spammer
Post by: Eclipse16V on November 20, 2009, 03:19:50 AM
Quote from: anewhobby on November 20, 2009, 01:04:42 AM
Quote from: sremick on November 12, 2009, 04:28:10 PM
Any chance for an RC2 version? I use this on 1.1.10 and would hate to lose protection when I upgrade to SMF2. Thanks!

DITTO

DITTO 2
Title: Re: Stop Spammer
Post by: DirtRider on November 20, 2009, 03:33:29 AM
Quote from: Eclipse16V on November 20, 2009, 03:19:50 AM
Quote from: anewhobby on November 20, 2009, 01:04:42 AM
Quote from: sremick on November 12, 2009, 04:28:10 PM
Any chance for an RC2 version? I use this on 1.1.10 and would hate to lose protection when I upgrade to SMF2. Thanks!

DITTO

DITTO 2

DITTO 3  ;D
Title: Re: Stop Spammer
Post by: Eclipse16V on November 24, 2009, 07:49:34 AM
Please update it for SMF 2.0 RC2

Thx
Title: Re: Stop Spammer
Post by: Chaos Dragon on November 28, 2009, 02:45:12 PM
Quote from: DirtRider on November 20, 2009, 03:33:29 AM
Quote from: Eclipse16V on November 20, 2009, 03:19:50 AM
Quote from: anewhobby on November 20, 2009, 01:04:42 AM
Quote from: sremick on November 12, 2009, 04:28:10 PM
Any chance for an RC2 version? I use this on 1.1.10 and would hate to lose protection when I upgrade to SMF2. Thanks!

DITTO

DITTO 2

DITTO 3  ;D

Ditto 4 Love this mod and would really like to be able to use it for RC2
Title: Re: Stop Spammer
Post by: nzbutterfly on November 29, 2009, 05:28:02 AM
Hi,

I really like the idea of this mod, but have trouble understanding the bottom 2 sections on the "Code" & "File Operations".

Firstly, the "File" part on "install_*.php, I just don't have such a file or know where it needs creating? Also the code quoted below seems half-missing?
QuoteINSERT IGNORE INTO
{$db_prefix}settings
(variable, value)
VALUES   ('stopspammer_count' ,'0'),
('stopspammer_enable','1'),
('stopspammer_show01','1'),
('stopspammer_faildb

Secondly, the "File Operations" part. The download/parse page dosen't have any of the 4 files mentioned. I have managed to obtain the gif's, but not the file named "StopSpammer.php". Could this code be posted to just copy & paste please?

I have read most of this forum & googled the subject to the point I have got no new results. I see serveral people have asked similar questions before & the answer is to automatically install, but on selecting any version of the mod & SMF I just get a manual version. Hence I ask the two questions above. I wondered if there was a website issue, but after trying IE6, FF2 & FF3.5 I don't think that's the case.

Looking forward to your reply,
Robert.
Title: Re: Stop Spammer
Post by: nzbutterfly on November 30, 2009, 04:29:17 AM
Sussed it out, I was missing th every subtle link for the zip file - amazing what a nights sleep does.
Title: Re: Stop Spammer
Post by: perplexed on November 30, 2009, 10:05:13 AM
I would like this updated too but the author hasn't been online here since Oct 15th. :(
Title: Re: Stop Spammer
Post by: ferrix on December 03, 2009, 12:18:57 AM
Hello,
I noticed the "check this user" page is broken after I upgraded from 1.1.10 to 1.1.11

I love this plugin though, thanks for making it!
Title: Re: Stop Spammer
Post by: Nerd3D on December 03, 2009, 10:56:35 PM
When I click Check This User I get Unsupported operand at line 247 which is

$_POST += addslashes__recursive(@unserialize($search_params));

SMF 1.1.11
Title: Re: Stop Spammer
Post by: FragaCampos on December 07, 2009, 09:18:20 AM
Yup, me too...

Fatal error: Unsupported operand types in Sources/ManageMembers.php on line 247
Title: Re: Stop Spammer
Post by: Deadairdave on December 08, 2009, 11:35:34 AM
Quote from: Chaos Dragon on November 28, 2009, 02:45:12 PM
Quote from: DirtRider on November 20, 2009, 03:33:29 AM
Quote from: Eclipse16V on November 20, 2009, 03:19:50 AM
Quote from: anewhobby on November 20, 2009, 01:04:42 AM
Quote from: sremick on November 12, 2009, 04:28:10 PM
Any chance for an RC2 version? I use this on 1.1.10 and would hate to lose protection when I upgrade to SMF2. Thanks!

DITTO

DITTO 2

DITTO 3  ;D

Ditto 4 Love this mod and would really like to be able to use it for RC2

...and Ditto 5.

Just bitten the bullet and upgraded to RC2, then searched for updates on all my mods/portal.  'Stop Spammer' is the only mod I couldn't install due to no update!  Any news if this is going to be updated, as I'm feeling a little vulnerable without it?!!

Dave.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 10, 2009, 06:33:39 AM
This is an answer to all the people who has been reporting errors in this mod when you updated SMF either to 1.1.11 or RC2:

Deadairdave, FragaCampos, Nerd3D, etc, etc, etc.

The problem (as I suppose you already know) is that the mod's author (M-DVD) has been too busy lately with other things and has not been able to update the mod as fast as it was needed.

I suppose all of you can forgive him for that, because (even if you don't believe it) there are other things in life apart from SMF  ;D but I have always thought it is a pity that a great mod as this one couldn't be used because it was not updated.

I don't know you, but I really need this mod working properly, because I remember how bad it was when all my forums were full of spammers.

Actually that was the reason why I started doing my own anti-spam mod more than a year ago and I only stopped working in it because I found out that M-DVD had already released his own mod, so I preferred to work together with him to have just one great anti-spam mod instead of 2 medium ones.

For that reason, a couple of times during the last year, when an update has been needed and M-DVD was not available I had released my own minor versions and put them in my own server as a temporary solution so all of us could still continue using the mod.

But, as I say, this is not a real solution as it's not very good to have different versions of the same mod in different servers every time an update is needed, so this time, instead of doing again the same and releasing another temporary version in my server, I have contacted M-DVD to find a more permanent solution.

Well. I have good news for you:

M-DVD has answered me back and has proposed to put my name in the mod's official page as a co-author.

This way I will be able to add new packages every time an update is needed.

Of course he will be able to release new versions as well if he wants to, because, as I said before there are other things in life apart from SMF and maybe one day he will notice a fix needed and I will be too busy with other things to see it fast enough.  ;)

Anyway, apparently, in the near future M-DVD is going to be still too busy with other things so I am going to be the one updating the mod an answering your questions here until further notice.




Going back to the present updates, I have the new version 2.4 almost ready and I will upload it to the mod's official page as soon as I finish with all the tests needed and M-DVD put my name there so I have the necessary permissions to upload packages to it.

So I hope tomorrow or even just in a few hours you will have the new version ready.

Cheers everybody
Title: Re: Stop Spammer
Post by: Deadairdave on December 10, 2009, 09:26:37 AM
Thanks for the swift reply Snoopy!  8)

Yep, like you and M-DVD, I have a life outside of the internet, mainly involving working for a large international company, receiving peanuts and enduring daft hours, but hey, that's life; and I enjoy the work!

May I suggest something as I checked this before posting my questions above.  On the Stop forum spam website, the SMF mod is listed as M-DVD and redirects directly to the SMF mod page (his mod).  If you're co-updating it, can I make a suggestion to inform SFS, so that people don't end up scratching their heads, and trawling through this site for info.

By far, it's the best spam mod I've come across to date; and have used it since its creation, so look forward to any future developments by yourself or M-DVD.

Dave.
Title: Re: Stop Spammer
Post by: FragaCampos on December 10, 2009, 10:15:33 AM
Thank you snoopy_virtual, for your explanation and patience to us all  :)
It's nice to see this great mod has two people working on it so that all our forums can be more secure.  8)

Keep up the good work!
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 10, 2009, 12:49:45 PM
Quote from: Deadairdave on December 10, 2009, 09:26:37 AM
...
May I suggest something as I checked this before posting my questions above.  On the Stop forum spam website, the SMF mod is listed as M-DVD and redirects directly to the SMF mod page (his mod).  If you're co-updating it, can I make a suggestion to inform SFS, so that people don't end up scratching their heads, and trawling through this site for info.
...

Well, that's the idea.

Just now, apart from coming here to this post every now and then to see how it's going, I have also my own version of this mod in my own forum and I publish there updates every time I think they are needed.

As soon as M-DVD writes my name in the SMF mod page as co-author all the links will go to only one place and all the updates will be only there and every thing will be easier for every body.

Anyway, M-DVD told me that a couple of days ago, but I can see in his profile he was connected yesterday doing something inside SMF but he hasn't put me as co-author yet.

I suppose he forgot about it as he has too many mods to update to the new versions and too many things to think about or maybe he hasn't read yet my messages telling him that this update is urgent, so anyway, as I already have the new version finished for this mod and I know there are a lot of people waiting for this important update I have decided to publish a temporary version again in my own server.

As I did before, this temporary version will be available in my server only until the final new version is released here.

If any of you is interested, you can find it here. (http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.0)
Title: Re: Stop Spammer
Post by: Nerd3D on December 11, 2009, 02:56:17 AM
Where do we put in our API key from the SFS web site?
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 11, 2009, 04:58:51 AM
You don't need an API key really if you don't want one.

The API key is a kind of password they give you in the web www.stopforumspam.com so you can check spammers in your web site and you can control all the information about the spammers you have reported to them.

M-DVD asked for an API key more than a year ago and he registered that API key in the name of something like "SMF anti-spam team" or something like that.

That's the API key you have been using all this time by default.

The only reason really to have your own API key is because if you ever make a mistake and report as spammer some innocent guy using the default StopSpammer API key, to correct that mistake you will need to contact M-DVD and he will need to log into www.stopforumspam.com using his username and password there to correct that mistake. And the problem is M-DVD has not been available lately.

If you have your own API key, if you ever make a mistake you can correct that mistake yourself.

If you want to have your own API key you just need to go to www.stopforumspam.com, register in their forum and ask them for one.

Then, once you have it, you enter your forum, navigate to "Admin" => "Registration" => "Settings" and you will find there at the bottom a text input box with the default StopSpammer API key. Just write down there your own one instead and "Save".

But as I said before, if you think all that is too complicated or if you are sure you are not going to make mistakes like that or simple you don't bother about it, just leave there the default one.

Anyway if you write a wrong API key and you have problems with the mod, you can always go back to the default API key very easy:

Just go again to "Admin" => "Registration" => "Settings" and clear whatever you have written in the API key box.

If you leave this box blank and save the configuration again, you will see how the old default key appears again.
Title: Re: Stop Spammer
Post by: Nerd3D on December 11, 2009, 07:23:32 AM
Now I know I'm doing something wrong. I don't have the box to enter the API key. I have the Enable/Disable check box, a drop down for what to do if the DB can't be reached and an option for the "More Info" link.  That's all.

In packages it shows 2.3 installed and it seems to be working. Is this a feature that was added in 2.3.3?
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 11, 2009, 07:31:48 AM
Quote from: Nerd3D on December 11, 2009, 07:23:32 AM
Is this a feature that was added in 2.3.3?

Yes
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 11, 2009, 08:43:22 AM
Quote from: Nerd3D on December 11, 2009, 07:23:32 AM
In packages it shows 2.3 installed and it seems to be working.

Version 2.3 seems to be working properly with SMF 1.1.11, but it's not.

There are a few things, like for example the link to check users from their profile page which you yourself (and a few more people) reported a few days ago, and a few other minor things not working properly.

That's exactly all the kinds of things I have sorted in version 2.3.3 so it works OK with 1.1.11

Apart from making it compatible also with SMF 2.0 RC2

The feature to change the API key if you want is something I have been using in my own version of the mod for a long time (as everybody who has download it from my site before knows). The only thing I have change in it now is that in my old version of the mod, if you didn't have an API key, the mod wouldn't work at all, and now if you don't have one it defaults to the old one M-DVD registered for the SMF anti-spam team.

Actually, a year ago there were a lot more differences between M-DVD's version of the mod and my own one, but as we are usually in contact and share our ideas he has been changing his mod taking some of my ideas and I have been doing the same with his ideas, so lately the only difference between both mods was really this feature about the API key.

His point of view was that I cannot force anybody to register in one site to ask for a key if they don't want to (or don't know how), and my point of view was that I don't want to use anybody else's key. I want to have my own one so I can control my mistakes.

At the end of the day I have decided that we are both right and that's why I have added it in a way that you can use your own key if you want or use the default one.

I haven't talked yet about this feature with M-DVD (it's very difficult to talk with somebody who is not here  ;)  ) but I hope that whenever he comes back again and read all this (and all the PMs I have sent to him) he will agree with me.

This way both versions (M-DVD's and mine) are now exactly the same. Or at least they will be as soon as I can access the SMF mod's page and convert my version 2.3.3 in just one unified version 2.4 or until M-DVD takes the ideas of the changes I have done in version 2.3.3 and publish himself his new version 2.4
Title: Re: Stop Spammer
Post by: Nerd3D on December 11, 2009, 10:15:57 AM
Ah I see. I've updated to 2.3.3 and thank you so much for helping with this great mod. Without your help my forums would be overrun with spam.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 11, 2009, 10:51:09 AM
Quote from: Nerd3D on December 11, 2009, 10:15:57 AM
Ah I see. I've updated to 2.3.3 and thank you so much for helping with this great mod. Without your help my forums would be overrun with spam.

You are welcome.

I actually have another anti-spam mod ("MOD httpBL") compatible with this one but using another different database and I have both of them installed in all my forums.

If you have too many spammers I will recommend you to install both mods. You will see a big difference.

You can read the tutorial and download it from here:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpbl

I tried to publish that one as well in SMF, but they told me it is too complicated to install for a normal person, so they ask me to do another version easier to install.

I don't think it is too complicated to install it and anyway that's why I wrote a tutorial as big as that for the mod explaining every step you need to do, but anyway the people here in SMF are not going to publish it if I don't make it easier so that's exactly what I'm doing just now, MOD httpBL version 2

Anyway I don't know when I will have this easier version finished. I've been working on it now a few months in my spare time and every time I sort a problem I find 3 more, so maybe it will be still a long time until it's finished.

So anyway you should take a look at the tutorial I wrote for MOD httpBL version 1 and try to install it if you don't think it's so complicated.

If I ever finish version 2 I will announce it here.
Title: Re: Stop Spammer
Post by: Nerd3D on December 11, 2009, 07:58:14 PM
That's a cool mod. I did something like that except site wide ( I have a gallery too ) We were getting raped by harvester robots. I have honey pots all over the site, every page actually. Designed to be invisible and unclickable by humans, they are irresistible to a robot. Once tripped their IP is added to a local black list. That list does a .htaccess ban on their IP address. They are totally locked out of the site forever. I catch about 10 a day.

Mine is truly hard to install though. It's based on this Bad Bot CGI Script (http://www.webmasterworld.com/forum13/1823.htm) I've made a lot of tweaks to make it blend into my site. Parts of it have been changed to php but the base is still CGI.

When I get time I'll see if I can make your mod work for my entire site because I should be sharing my black list data. Thanks again!
Title: Re: Stop Spammer
Post by: bdewong on December 12, 2009, 03:33:42 PM
I don't know if this was just a bug for me but I had difficulty installing on RC2. What I did to fix my problem was to change
$smcFunc['db_add_column'](
'members',
array (
'name' => 'is_spammer',
'type' => 'TINYINT',
'size' => '3',
'null' => '', // NOT NULL
'default' => '0',
'auto' => '',
'',
'',
)
);


to

$smcFunc['db_add_column'](
'{db_prefix}members',
array (
'name' => 'is_spammer',
'type' => 'TINYINT',
'size' => '3',
'null' => '', // NOT NULL
'default' => '0',
'auto' => ''
)
);


and in the install2.xml changed

array(
'position' => 'below_table_data',
'value' => '
<div style="float:left">


to


array(
'position' => 'below_table_data',
'value' => '
<div class="floatleft">
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 12, 2009, 03:47:07 PM
Yes, these are 2 of the bugs we have sorted en the new version 2.3.3

Apart from a few more.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 14, 2009, 10:56:58 AM
Quote from: Nerd3D on December 11, 2009, 07:58:14 PM
That's a cool mod. I did something like that except site wide ( I have a gallery too ) We were getting raped by harvester robots. I have honey pots all over the site, every page actually. Designed to be invisible and unclickable by humans, they are irresistible to a robot. Once tripped their IP is added to a local black list. That list does a .htaccess ban on their IP address. They are totally locked out of the site forever. I catch about 10 a day.

Mine is truly hard to install though. It's based on this Bad Bot CGI Script (http://www.webmasterworld.com/forum13/1823.htm) I've made a lot of tweaks to make it blend into my site. Parts of it have been changed to php but the base is still CGI.

When I get time I'll see if I can make your mod work for my entire site because I should be sharing my black list data. Thanks again!

I was going to answer you here, but then I realized we shouldn't be mixing opinions about MOD httpBL inside a post about MOD Stop Spammer, so I have answered you here instead:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=297.0
Title: Re: Stop Spammer
Post by: M-DVD on December 15, 2009, 10:03:16 AM
Hi

snoopy_virtual (co-author) has made the fixs for SMF 2RC2 and others. Soon he will be attaching the new version, that will have the fixs.  :)
Title: Re: Stop Spammer
Post by: Nerd3D on December 15, 2009, 08:31:46 PM
OK, here's a feature request. Can we have on the prefs page check boxes for which fields to test. All my false positives are user name only. Can we in the mean time is there a not-too-complicated way to set this up. So it only checks IP and Email.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 15, 2009, 10:15:50 PM
I have found a small mistake in the last temporary version 2.3.3 I had done, so I have released a new version 2.3.4

In this new version 2.3.4 it have been fixed all the bugs we have been talking about lately and it has also a new feature: You can use now your own API key if you want, or (if you haven't got one) leave it blank and the mod will use the default one.

As I still have no access to the mod's official page I have put it again in my own forum:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.0

Quote from: Nerd3D on December 15, 2009, 08:31:46 PM
OK, here's a feature request. Can we have on the prefs page check boxes for which fields to test. All my false positives are user name only. Can we in the mean time is there a not-too-complicated way to set this up. So it only checks IP and Email.

It looks like a great idea, and I don't think it's very complicated.

As I still have a few days left until I have access to the official page to upload  the final version 2.4 there, I can try to modify my temporary version to add also this feature in it.

I will tell you how it goes.
Title: Re: Stop Spammer
Post by: Tiribulus on December 15, 2009, 11:29:41 PM
Just letting you know you have a deprecated "ereg" which shows up on line 303 of my ManageRegistration.php file:

'stopspammer_faildb' => ereg('[0-2]', $_POST['stopspammer_faildb']) ? $_POST['stopspammer_faildb'] : '0',

Actually it was already in M-DVD's code. Everything else seems to be good,
Thanks

BTW, near as I can tell, in this case simply changing ereg to preg_match seems to work. Stopspammer works and I get no errors after that.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 16, 2009, 09:15:46 PM
Quote from: Tiribulus on December 15, 2009, 11:29:41 PM
Just letting you know you have a deprecated "ereg" which shows up on line 303 of my ManageRegistration.php file:

'stopspammer_faildb' => ereg('[0-2]', $_POST['stopspammer_faildb']) ? $_POST['stopspammer_faildb'] : '0',

Actually it was already in M-DVD's code. Everything else seems to be good,
Thanks

BTW, near as I can tell, in this case simply changing ereg to preg_match seems to work. Stopspammer works and I get no errors after that.

You are right. I haven't seen that one.

I'll change it.

Thanks.
Title: Re: Stop Spammer
Post by: Tiribulus on December 16, 2009, 09:36:11 PM
No trouble, thank YOU for continuing work on this mod. Here's a zinger. The are you human mod also has an ereg which for me was a few lines below the one for this mod. Never gave an error until yesterday when I installed your version of stopspammer and then both deprecation errors showed up in my log. How weird is that? I'm sure it's something with my machine, but thought it was interesting.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 17, 2009, 04:35:31 PM
Link updated again today in my server to version 2.3.5 to sort the small bug reported by Tiribulus and to add the new feature requested by Nerd3D.

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.0

Quote from: Tiribulus on December 16, 2009, 09:36:11 PM
No trouble, thank YOU for continuing work on this mod. Here's a zinger. The are you human mod also has an ereg which for me was a few lines below the one for this mod. Never gave an error until yesterday when I installed your version of stopspammer and then both deprecation errors showed up in my log. How weird is that? I'm sure it's something with my machine, but thought it was interesting.

The function ereg() has been deprecated from PHP 5.3.0 onwards but it still works if you have in your server an older version of PHP.

I suppose your server admin must have updated PHP last week to a newer version.  ;)
Title: Re: Stop Spammer
Post by: Leemy on December 17, 2009, 05:57:31 PM
I have the current version of this. It has caught some users.  A user registered today and posted some really offensive spam. He was from IP 195.24.76.208 which is a registered Stop Forum Spam problem IP (http://www.stopforumspam.com/ipcheck/195.24.76.208). SO why didnt it work???
Title: Re: Stop Spammer
Post by: Nerd3D on December 18, 2009, 02:31:20 AM
Wow that was quick! Thanks Snoopy. Installed and seems to be running fine in 1.11.11
Title: Re: Stop Spammer
Post by: Nerd3D on December 18, 2009, 02:34:58 AM
Quote from: Leemy on December 17, 2009, 05:57:31 PM
I have the current version of this. It has caught some users.  A user registered today and posted some really offensive spam. He was from IP 195.24.76.208 which is a registered Stop Forum Spam problem IP (http://www.stopforumspam.com/ipcheck/195.24.76.208). SO why didnt it work???
Just guessing but maybe the SFS data base was not accessible when he registered.I believe the defaunt action is to let them register if the db is down.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 19, 2009, 06:06:44 AM
Quote from: Nerd3D on December 18, 2009, 02:34:58 AM
Quote from: Leemy on December 17, 2009, 05:57:31 PM
I have the current version of this. It has caught some users.  A user registered today and posted some really offensive spam. He was from IP 195.24.76.208 which is a registered Stop Forum Spam problem IP (http://www.stopforumspam.com/ipcheck/195.24.76.208). SO why didnt it work???
Just guessing but maybe the SFS data base was not accessible when he registered.I believe the defaunt action is to let them register if the db is down.

No.

The default action when there is no connection with the DB is to leave the member NOT approved but with a yellow color, so you will remember to check that user later.

What version of SMF are you using?

And what version of mod StopSpammer?

Remember that the current version for mod StopSpammer is 2.3.5
Title: Re: Stop Spammer
Post by: darubillah on December 20, 2009, 07:18:22 AM
could you please update MOD Stop Spammer v2.3 for SMF v2.0 RC2
Title: Re: Stop Spammer
Post by: spiros on December 20, 2009, 07:45:49 PM
Quote from: darubillah on December 20, 2009, 07:18:22 AM
could you please update MOD Stop Spammer v2.3 for SMF v2.0 RC2

Yep, that would be nice :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 21, 2009, 04:50:29 AM
Quote from: spiros on December 20, 2009, 07:45:49 PM
Quote from: darubillah on December 20, 2009, 07:18:22 AM
could you please update MOD Stop Spammer v2.3 for SMF v2.0 RC2

Yep, that would be nice :)

That's exactly what we have been doing lately and that's why we have now version 2.3.5

Please read the latest posts:

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

From that one onward.
Title: Re: Stop Spammer
Post by: spiros on December 21, 2009, 08:59:30 AM
Thanks for your kind reply; I can only see 2.3 on the mod page, is that meant to be 2.3.5?
Title: Re: Stop Spammer
Post by: Nerd3D on December 21, 2009, 12:45:47 PM
I may have encountered a bug in the 2.3.5 version on 1.1.11. On the settings page in Admin>Registration>Settings. The drop down box always shows "Stop Registration and Display Error" I set it to "Member Approval and Yellow icon" and hit [save]. When I come back it set to the "Stop Registration" setting. This appears to be the "stopspammer_faildb" value in the settings table and it's not getting updated when I save the settings.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 22, 2009, 04:35:24 AM
Quote from: spiros on December 21, 2009, 08:59:30 AM
Thanks for your kind reply; I can only see 2.3 on the mod page, is that meant to be 2.3.5?

Please read the latest posts:

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

From that one onward.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 22, 2009, 06:31:44 AM
Quote from: Nerd3D on December 21, 2009, 12:45:47 PM
I may have encountered a bug in the 2.3.5 version on 1.1.11. On the settings page in Admin>Registration>Settings. The drop down box always shows "Stop Registration and Display Error" I set it to "Member Approval and Yellow icon" and hit [save]. When I come back it set to the "Stop Registration" setting. This appears to be the "stopspammer_faildb" value in the settings table and it's not getting updated when I save the settings.

Yes there was a bug. My mistake, sorry.

The problem was when I changed the deprecated function ereg() to preg_match()

Both functions are very similar but they don't work exactly the same.

I have corrected this bug and published a new version 2.3.6 in my server:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.0

Thanks mate.
Title: Re: Stop Spammer
Post by: Nerd3D on December 22, 2009, 01:12:01 PM
Groovy, fixed with your latest patch. I've poked it every way I can think and I can't seem to break it now. (I'm really good at breaking things too!)
Title: Re: Stop Spammer
Post by: SiL on December 25, 2009, 09:20:06 AM
Quote from: snoopy_virtual on December 15, 2009, 10:15:50 PM

Quote from: Nerd3D on December 15, 2009, 08:31:46 PM
OK, here's a feature request. Can we have on the prefs page check boxes for which fields to test. All my false positives are user name only. Can we in the mean time is there a not-too-complicated way to set this up. So it only checks IP and Email.

It looks like a great idea, and I don't think it's very complicated.

As I still have a few days left until I have access to the official page to upload  the final version 2.4 there, I can try to modify my temporary version to add also this feature in it.

I will tell you how it goes.

If I can point you to an extract from my previous request (http://www.simplemachines.org/community/index.php?topic=283309.msg2327827#msg2327827) in October, and it is connected with the false positive issue - it is a suggestion for a slightly modified version of Nerd3D's request

Quote from: SiL on October 26, 2009, 01:09:01 AM
I noticed a number of false positives based on username only - legitimate members may be using the same username as a spammer, but of course with a different ip address and email address.
Because of dynamic IP assignment the same can be true for IP address hits.
The spam check weights the detection flag as

email address = 4
username = 2
ipaddress = 1

Doing a quick check with an offline mirror of a forum database for 300-400 entries threw up
a number of false positives - these were almost always username only or ip address only.

So my thinking is the boundary between a false positive and a real positive spammer is the value "3" . If the "is_spammer" value is 1 {ip address - e.g. dynamic} or 2 {common username}, this is a warn, but no action required (registration allowed).  Any "is_spammer" value of 3 or higher is placed in the waiting list.

& how would this be useful? 

My suggestion would be to have a checkbox, maybe call it "strict" or "catch all" - if this is checked, an "is_spammer" value between 1 and 7 will satisfy the spammer criteria and user will be placed on waiting list to be checked/approved (this is how I understand the mod to currently work).
  however...

If the "catch all" checkbox is NOT checked, only spammers with an "is_spammer" value between 3 and 7 will be put on the waiting list.  Those users who are unlucky enough to have a common username shared with a spammer, but otherwise legitimate will be allowed through as normal.

{see original post (http://www.simplemachines.org/community/index.php?topic=283309.msg2327827#msg2327827) for remainder of suggestion}
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 26, 2009, 10:31:59 AM
Quote from: SiL on December 25, 2009, 09:20:06 AM

...

If I can point you to an extract from my previous request (http://www.simplemachines.org/community/index.php?topic=283309.msg2327827#msg2327827) in October, and it is connected with the false positive issue - it is a suggestion for a slightly modified version of Nerd3D's request

...

etc etc


You are right SiL.

I remember when you did that suggestion last October.

The problem was at that time I was too busy with other things and M-DVD was doing this mod on his own. I didn't even have time enough to read properly all your suggestions and just did a mental note to study them later.

Now that it's the other way round (with M-DVD too busy with other things and me updating the mod on my own) I need to check again the full post to see if I have missed any more clever suggestions.




Going back to the false positive issue, I haven't seen yet in my forums any false positive due to IP, but of course they are possible, so I think we should take into consideration your solution as well.

The way I have done it just now following Nerd3D's suggestion (with 3 check-boxes to turn on and off the options to check username, email and IP) is not perfect, because if you turn off the option to check all IPs, you will open the door to your forum to a lot of spammers, but with your solution (let them in only if the IP was in the spammers DB but the username and email wasn't) I think it will be better.

I am not sure anyway if we can have both solutions at the same time or if we need to choose only one of them.

I will try to see if there is a way to put inside the mod's configuration both improvements, so everybody will be able to choose whatever works better for every particular forum.

If that's not possible and we can have only one of them, I think your solution is slightly better, but of course, before I can be sure about that, I need to see them working with real forums.
Title: Re: Stop Spammer
Post by: SiL on December 28, 2009, 04:49:17 AM
Quote from: snoopy_virtual on December 26, 2009, 10:31:59 AM

I will try to see if there is a way to put inside the mod's configuration both improvements, so everybody will be able to choose whatever works better for every particular forum.

If that's not possible and we can have only one of them, I think your solution is slightly better, but of course, before I can be sure about that, I need to see them working with real forums.

thankyou - your efforts are appreciated worldwide, I am sure   :)
Title: Re: Stop Spammer
Post by: KensonPlays on December 31, 2009, 09:35:21 PM
ERROR INSTALLING!: (IMAGE)

**OOPS: forgot it isn't supporting SMF 2.0RC2 yet!! (embarrassed)**
Title: Re: Stop Spammer
Post by: BigBrother on January 02, 2010, 04:10:38 PM
Hi All!

Sorry for the stupid question, but how the heck do you install this mod? lol!

Thanks a ton in advance!
Title: Re: Stop Spammer
Post by: haircut on January 04, 2010, 03:25:27 AM
Looks like everyone except BibBrother and I have been able to install Stop Spammer.  I see the file edits and some install php files, but I do not see any information about installation.

Do I edit the files as shown and then execute the install php files?

Thanks for any advice.
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on January 04, 2010, 04:14:58 AM
Mods are installed through the package manager in your SMF Admin area. ;)

Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)
Title: Re: Stop Spammer
Post by: haircut on January 04, 2010, 02:12:54 PM
Thanks!  That should get me started. 
Title: Re: Stop Spammer
Post by: catfished on January 05, 2010, 03:15:39 PM
It sure would be great if it worked with 2.0 RC2. I really miss having it for my forums. :( :'( :'(
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 06, 2010, 05:34:26 AM
Quote from: Kcmartz on December 31, 2009, 09:35:21 PM
ERROR INSTALLING!: (IMAGE)

**OOPS: forgot it isn't supporting SMF 2.0RC2 yet!! (embarrassed)**

Quote from: catfished on January 05, 2010, 03:15:39 PM
It sure would be great if it worked with 2.0 RC2. I really miss having it for my forums. :( :'( :'(

The current version of mod Stop Spammer 2.3.6 works in SMF 2.0 RC2.

Please read these:

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

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

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

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

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

http://www.simplemachines.org/community/index.php?topic=283309.msg2416537#msg2416537
Title: Re: Stop Spammer
Post by: catfished on January 06, 2010, 10:55:55 PM
Quote from: snoopy_virtual on January 06, 2010, 05:34:26 AM
Quote from: Kcmartz on December 31, 2009, 09:35:21 PM
ERROR INSTALLING!: (IMAGE)

**OOPS: forgot it isn't supporting SMF 2.0RC2 yet!! (embarrassed)**

Quote from: catfished on January 05, 2010, 03:15:39 PM
It sure would be great if it worked with 2.0 RC2. I really miss having it for my forums. :( :'( :'(

The current version of mod Stop Spammer 2.3.6 works in SMF 2.0 RC2.

Please read these:

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

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

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

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

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

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

Thanks but I can't find it in the mods section, only this:
Mod Name:
    Stop Spammer
Created By:
    M-DVD
Type:
    Spam Prevention
First Created:
    December 05, 2008, 09:06:41 PM
Last Modified:
    December 11, 2009, 05:17:20 PM
Latest Version:
    2.3
Compatible With:
    1.1.7, 1.1.8, 1.1.9, 1.1.10, 2.0 Beta 4, 2.0 RC1, 2.0 RC1-1, 2.0 RC1.2

I tried to install it several times on a couple of SMF 2.0 RC2 forums but it gave errors saying it wasn't compatible with my version (SMF 2.0 RC2)
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 07, 2010, 06:29:20 AM
If you follow all the links I gave you and read those messages you will see that M-DVD has not been working in this mod for the last few months and I have been working on it instead. You will also see that the actual mod is not here in SMF but in my own server.

The version 2.3 that you are trying to install from the "official" page is dated 27th September 2009 and it's not compatible with SMF 1.1.11 and SMF 2.0 RC2.

The actual version 2.3.6 dated 22nd December 2009 is here instead:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.0

As soon as the SMF Customization Team give me the permissions needed to upload files to the official section for this mod here in SMF, I will put it here too, but unfortunately they are too busy and haven't answered yet.
Title: Re: Stop Spammer
Post by: catfished on January 07, 2010, 11:58:50 AM
OK Snoopy, thanks. I downloaded it and installed it on one of my test forums.
Title: Re: Stop Spammer
Post by: KensonPlays on January 07, 2010, 01:19:59 PM
Thanks, so far it works! (tested it with a member who has never logged in...
Title: Re: Stop Spammer
Post by: ~DS~ on January 07, 2010, 03:10:58 PM
Perfect thank you.
Title: Re: Stop Spammer
Post by: butchs on January 08, 2010, 11:25:33 PM
2.3.6 is giving me a little trouble in "admin/members" for 2.0 RC2.  The table is going off the right hand side of the screen.  It looks like you are using <table> where you should be using a <div>.  It should be easily fixed if you compare it with the original code.
Title: Re: Stop Spammer
Post by: catfished on January 09, 2010, 11:10:58 AM
Quote from: butchs on January 08, 2010, 11:25:33 PM
2.3.6 is giving me a little trouble in "admin/members" for 2.0 RC2.  The table is going off the right hand side of the screen.  It looks like you are using <table> where you should be using a <div>.  It should be easily fixed if you compare it with the original code.

Yeah, you're right, I hadn't noticed that but it's not a big deal to me, I just have to do a little side scroll.
Title: Re: Stop Spammer
Post by: Emmerich on January 17, 2010, 05:23:39 PM
Hello!

First of all I want to thank you for this mod, it saved me from clicking 4809 times (as it reports) to remove the spam accounts.  :)
Still, is there an option or can you make something in order to be able to block the registration of a member who's IP is not logged solely based on the email address? I mean like in the screenshot attached below

As you can see, the account hasn't been blocked because the IP isn't logged. Still, that email address is marked as spam in the stopforumspam database. So, if the mod could check separately the email address it could "see" that it's a spam account and it could block the registration.

Thank you!
Title: Re: Stop Spammer
Post by: pollyx on January 24, 2010, 01:16:23 PM
I am using Stop Spammer 2.3.6 for several weeks now and it works just great. Thank you so much!!!
Title: Re: Stop Spammer
Post by: Hatari on January 25, 2010, 04:48:41 PM
Hi Lovely MOD.

I have been using Stop Forum Spam for some time. Is it possible to put my own API into the software.

Thanks

:) Found it, line 74 in StopSpammer.php &api_key=

Very nice MOD

Many thanks
Title: Re: Stop Spammer
Post by: DimOK on January 26, 2010, 03:33:55 AM
Is it possible to add similar IP checks for guests posts too (not only registrations), and put post to moderation, if guests ip is found in spam base?

I have forum opened for guests posting, and few trolls make my live very hard, it would be great if posts from guests with 'bad' ip won't appear immediately, but went to a moderator, so he can easily approve/delete them all at once.

Thank you!
Title: Re: Stop Spammer
Post by: berkens on January 27, 2010, 04:32:24 PM
Hi,

I just installed Stop Spammer 2.3.6 in SMF 1.1.11 .

In the SMF logfile I see the following errors:

8: Undefined index: stopspammer_leyd03
Bestand: /mnt/web7/11/81/51982581/htdocs/forum/Themes/default/ManageMembers.template.php (admin_browse sub template - eval?)
Regel: 404

And:

Undefined index: stopspammer_leyd02
Undefined index: stopspammer_leyd01
Undefined index: stopspammer_count
Undefined index: stopspammer_title
Undefined index: confirm_spammers_report

Etcetera.

It looks like the installation did not add the required datafields in the SQL database.

How can I fix this?

Greetings, Ben...
Title: Re: Stop Spammer
Post by: giveaway365.com on January 28, 2010, 12:57:21 PM
http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.0

The above link seems not to be working. where can I download Stop Spammer 2.3.6?
Title: Re: Stop Spammer
Post by: Nerd3D on January 28, 2010, 07:32:27 PM
The link is working for me. Maybe it was down when you were trying.
Title: Re: Stop Spammer
Post by: giveaway365.com on January 28, 2010, 11:13:27 PM
Thanks it work. I restarted router.

But in the admin forum it gives me this error:
8: Undefined index: types
File: /home/content/g/i/v/xxx/html/Sources/ManageMembers.php
Line: 381
Title: Re: Stop Spammer
Post by: giveaway365.com on January 29, 2010, 01:33:15 AM
I am using ver 2.3.6
I have discovered new bug. After a spammer registers, the member count is reduced to the actual good members. I have to reset count from forum maintaince to get real stats. can this be fixed?
Title: Re: Stop Spammer
Post by: giveaway365.com on January 29, 2010, 10:47:27 AM
Line number 381 is:
$_POST['types'][$param_name] = '=';
Title: Re: Stop Spammer
Post by: giveaway365.com on January 31, 2010, 02:05:44 AM
This error comes exactly when a spammer registers and is caught as a spammer and pending for an approval.
Title: Re: Stop Spammer
Post by: rocksteady on January 31, 2010, 03:36:47 PM
Snoopy, I hope you get maintenance rights to this mod ASAP, this one is priceless :)
Title: Re: Stop Spammer
Post by: giveaway365.com on February 02, 2010, 02:49:54 AM
Big bug..
I as admin just tried to check a member as it was yellow. And I got stuck as it made all members yellow and now as a admin I cannot login as I need approval.

What to do?
Title: Re: Stop Spammer
Post by: giveaway365.com on February 02, 2010, 05:23:26 AM
some how managed to rectify the database and set is spam,er value to 1 from 3

But this is a bug and you should not allow the mod to check the user name admin
Title: Stop spammer question
Post by: EL34xyz on February 03, 2010, 07:07:06 AM
SMF1.1.11
I love the mod. Have been using it for a year or more.
I am the admin and I have to approve all membersships to the forum

I had two spammers try and register this morning.
Both emails and IP's were listed in the database.
The user names were not listed because they just made them up.

I followed the link to the Stop Fourm spam site on both spammers and saw that they both had used the same email and IP many times, they had just created 50 or more new user names.

I know you can report a member as a spammer, but I don't see a way to report these non members and their new user names as spammers in SMF ??
Title: Re: Stop Spammer
Post by: lc62003 on February 03, 2010, 10:09:34 AM
I haven't done this myself, but the way I understand it.....

You can register with the Stop Spam site at which time you'll be given and API key.  Take that key and paste into the box in the admin area on your forum.  Then you can report spammers.    ;)

Someone please correct me if that's wrong.... :)
Title: Re: Stop Spammer
Post by: EL34xyz on February 03, 2010, 10:13:33 AM
Yes, I can report members as spammers already in SMF

This is only if they are already a member.
What I am talking about is being able to report a new user name of a known spammer on the Member awaiting approval screen

See the screen shot I posted above?
That is the members awaiting approval screen
those two spammers are known spammers that are trying to join my forum with a new user name that has not been identified as a known spammer user name
Both those spammers had 25 or so user names on their Stop forum spam profile page.
Title: Re: Stop Spammer
Post by: giveaway365.com on February 04, 2010, 02:49:56 AM
if a member is not checked because there was a database connection error , it will be marked yellow.
The admin after some times tries to check that yellow member. But there seems to be an database problem still existing. Then comes the big BUG.
When the admin tries to check the yellow member, all the members including admin is turned yellow.

Then admin cannot login.
I hope  the maker of the mod understands what I am trying to say.
Only option left is to manually go to database and change admin settings back to normal.
Title: Re: Stop Spammer
Post by: Tamsin on February 04, 2010, 05:24:28 AM
When deleting a spammer flagged red, it somehow turned all other members to 'unchecked'  blocking everyone out, including the admin. We've had to reset the admin account in the db, log in and approve all the existing members to restore the forum.

This has happened twice in two days and we are thinking of unplugging this mod. Has anyone else had a similar problem? Can anyone suggest a cure?
Title: Re: Stop Spammer
Post by: Nerd3D on February 04, 2010, 05:57:45 AM
I can say I'm not having the same problems as Tamsin and givaway365 and having. I check my pending members daily. I check the yellow ones and then delete all the spammers. Every day no problem. I'm on 1.1.11 and it's fairly stock.
Title: Re: Stop Spammer
Post by: EL34xyz on February 04, 2010, 06:24:45 AM
The  Stop Forum Spam site has been down since yesterday
http://www.stopforumspam.com/

Anyone know what's up with that?

Attack on the site by spammers???
Title: Re: Stop Spammer
Post by: Tamsin on February 04, 2010, 06:28:19 AM
Hi givaway365. You and I seem to be suffering from the same bug. Mine is v2.3. What's yours? I'm thinking we should uninstall this mod but we get so many spammers registering every day and the mod does successfully flag them all. I just don't dare deleting them in case it goes wobbly again!
Title: Re: Stop Spammer
Post by: Nerd3D on February 04, 2010, 06:35:11 AM
@EL34xyz: The site is up for me. Maybe a routing problem between you and them. BUT I did have several "Yellow" registrations. Maybe they were down earlier.
Title: Re: Stop Spammer
Post by: EL34xyz on February 04, 2010, 07:14:20 AM
The forum server still cannot check the spammer database.

I cannot browse http://www.stopforumspam.com

All other browsing is fine, nothing is wrong with the internet connection or the server.

Did you browse to the actual site to see if it was up?
http://www.stopforumspam.com
Title: Re: Stop Spammer
Post by: Nerd3D on February 04, 2010, 08:17:54 AM
Yup and 5 minutes ago I got a spammer red flagged so the DB connection is working too.
Title: Re: Stop Spammer
Post by: EL34xyz on February 04, 2010, 08:51:03 AM
Edit: Ok, I called a buddy and had him go to the stopforumspam site and he was able to get there.
I figured something must be wrong with my cache files.
I deleted all my temp IE8 files and now I can browse the site.
All is good to go now

Title: Re: Stop Spammer
Post by: KensonPlays on February 04, 2010, 11:51:31 AM
Quote from: Tamsin on February 04, 2010, 05:24:28 AM
When deleting a spammer flagged red, it somehow turned all other members to 'unchecked'  blocking everyone out, including the admin. We've had to reset the admin account in the db, log in and approve all the existing members to restore the forum.

This has happened twice in two days and we are thinking of unplugging this mod. Has anyone else had a similar problem? Can anyone suggest a cure?
I've checked and have not gotten this yet...
Title: Re: Stop Spammer
Post by: EL34xyz on February 04, 2010, 12:38:48 PM
I have not had the mod check all the members either.
I did have this happen though.

After running the spam check on all my members, I deleted the ones that came up RED with IP and Email addresses.
Right after I deleted them, a bunch of new members popped up in the members awaiting approval screen.
All these members were flagged as spammers.

Not one of these people had actually just registered.
I just checked them all and then rejected them as members.
Anyone ever see this happen?
Title: Re: Stop Spammer
Post by: Tamsin on February 04, 2010, 01:06:08 PM
Hmmm... I have disabled Stop Spammer now because it has become so unstable. Have changed the registration method to member approval and am checking each one manually for the time being. It's a shame though because I liked this mod very much. I've also installed zbblock but don't know yet how effective it is.
Title: Re: Stop Spammer
Post by: CrankyOldguy on February 04, 2010, 01:17:13 PM
OK, I'm officially UNHAPPY with this mod and it ought to be marked DANGEROUS.  Any site owner that doesn't know how to write a SQL command could easily shoot themselves in the foot with it and lock EVERYONE out of their forum.  Trust me, I just did it.

I'm pretty sure the sequence of events was that I'd clicked the new "Check this member" link in the profile and then hit the CHECK THESE MEMBERS button in the Admin panel MANAGE MEMBERS area without clicking the check box next to the name.  I *think* that's all I did.  Whatever happened, it set ALL MEMBERS to unactivated and SPAMMER.  The is_activated field went from 1 to 3 FOR FREAKING EVERYONE INCLUDING OWNER AND ADMINS, and the is_spammer field went from 0 to 8, again FOR EVERYONE.

Lucky for me, I *do* know how to do a SQL search and replace.  In phpMyAdmin, do:

UPDATE smf_members SET is_activated = REPLACE(is_activated,'3','1');
and
UPDATE smf_members SET is_spammer = REPLACE(is_spammer,'8','0');

and Voilà, your forum is now UNSCREWED.

Folks, this is absolutely UNACCEPTABLE BEHAVIOR for a mod... NOTHING should ever do a global deactivation of ALL MEMBERS, including the Admins.  How in the heck am I supposed to log in and activate myself when I'm deactivated and can't log in????

Sorry, with 22 pages of comments on this mod I'm not sure if someone else has already seen this horribly aberrant behavior.  I'm running the 2.3.6 version on an SMF 1.1.11 forum, and as soon as I finish writing this warning I'm going to hunt down that CHECK THESE MEMBERS button and delete it!

edit: yeah, I see several others noticed this as I was writing my rant.  O:)

BTW, the owners of www.stopforumspam.com have been having problems with GoDaddy.  The idiots at GoDaddy deleted all of their DNS data for no apparent reason yesterday, so you may get connection errors as the new DNS entries ripple around the Internet route tables.
Title: Re: Stop Spammer
Post by: Tamsin on February 04, 2010, 01:29:43 PM
Join the club!
Title: Re: Stop Spammer
Post by: EL34xyz on February 04, 2010, 02:11:18 PM
I wonder if these issues are just with the most recent version?

I have had this mod installed for a year or more without anything as horrible as was described above.
I just installed the most recent version a few days ago and now after reading thus, I am worried.  :(

Title: Re: Stop Spammer
Post by: KensonPlays on February 04, 2010, 02:32:03 PM
Be worried!
Title: Re: Stop Spammer
Post by: EL34xyz on February 04, 2010, 02:55:06 PM
Ok, something does not add up.
This mod has been out for a long time and I have used it for a long time.
How come just now these issues are popping up?

"Be Worried" does not really explain much of anything.
Title: Re: Stop Spammer
Post by: Sabre™ on February 04, 2010, 02:58:41 PM
Quote from: CrankyOldguy on February 04, 2010, 01:17:13 PM
BTW, the owners of www.stopforumspam.com have been having problems with GoDaddy.  The idiots at GoDaddy deleted all of their DNS data for no apparent reason yesterday, so you may get connection errors as the new DNS entries ripple around the Internet route tables.
Title: Re: Stop Spammer
Post by: CrankyOldguy on February 04, 2010, 03:05:36 PM
Sabre, that info is direct from the users forum at StopForumSpam, it's an announcement there apologizing for the connection errors.  I managed to get in yesterday, but I'm having route issues again today and can't log in there again.

edit: here's a copy of the whole announcement thread from the StopForumSpam forums:

(http://i45.tinypic.com/242bci0.jpg)
Title: Re: Stop Spammer
Post by: KensonPlays on February 04, 2010, 03:28:45 PM
Quote from: Sabre™ on February 04, 2010, 02:58:41 PM
Quote from: CrankyOldguy on February 04, 2010, 01:17:13 PM
BTW, the owners of www.stopforumspam.com have been having problems with GoDaddy.  The idiots at GoDaddy deleted all of their DNS data for no apparent reason yesterday, so you may get connection errors as the new DNS entries ripple around the Internet route tables.

Darn GoDaddy!!!!!!!!!!! You suk!
Title: Re: Stop Spammer
Post by: Nerd3D on February 04, 2010, 09:29:06 PM
Hurm, there's more to this. I just tried repeatedly to hit this bug. Checked several members and clicked [Check these members]. Worked perfectly. I tried a whole page of members. still no problem. Then I tried not checking any boxes and hitting [Check these Members] . Again, no problems.

Could this be somehow related to the problems Go-Daddy caused earlier, screwing up their DNS?

Stop Spammer 2.3.6 in SMF 1.1.11
Title: Re: Stop Spammer
Post by: butchs on February 04, 2010, 10:41:35 PM
I have 2.3.6 and SMF 2.0 RC 2 and have not had issues.  Though no new members joined the days the problem happened.

I looked at the code and there seems to be a check that is supposed to post an error if the server is not there.  Maybe it needs to check before and after a search to confirm a steady connection?
Title: Re: Stop Spammer
Post by: CrankyOldguy on February 05, 2010, 01:09:23 AM
Quote from: Nerd3D on February 04, 2010, 09:29:06 PM
Hurm, there's more to this. I just tried repeatedly to hit this bug. <snip>. Again, no problems.

Could this be somehow related to the problems Go-Daddy caused earlier, screwing up their DNS?

Quite probable... here's someone else at the StopForumSpam that had the same issue I did, around the same time:

QuoteWhew, what a relief!!!
Like many others, I thought you were under a DOS attack and co-incidentally I was locked out of the forum I administer saying that my account had not been approved. I am using SMF forum prg with a Mod that refers to here for all new members and I was in the process of checking for further details when my forum went down.
It appears that I must have been connected just when the balloon went up and the site went down. It took me 6 hours to get back in but I learnt a lot more about MySQL so it wasn't all bad.
Keep up the good fight!!!

(from later on in that same thread I posted above)

I suppose the way to test it realistically would be to set up something that mimics the SFS server and then make it go wonky, or edit the URL to the server in StopSpammer.php to something that won't resolve like XYZZY1.org.

Here's the chunk of code in that PHP file that I'll bet money went crazy and deactivated everyone, starting at line 72:
foreach ($members_data as $row)
{
if ($report)
fetch_web_data('http://www.stopforumspam.com/add', 'username=' . $row['member_name'] . '&ip_addr=' . $row['member_ip'] . '&email=' . $row['email_address'] . '&api_key=' . (!empty($modSettings['stopspammer_api_key']) ? $modSettings['stopspammer_api_key'] : 'U4Ty3g7fFJ1VXj'));

if ($is_spammer = checkDBSpammer($row['member_ip'], $row['member_name'], $row['email_address']))
updateMemberData($row['id_member'], array('is_activated' => 3, 'is_spammer' => $is_spammer));
if ($row['is_spammer'] != $is_spammer)
++$modSettings['stopspammer_count'];
}


I'll look further, but in the event of a connection error, it appears that checkDBSpammer function went berserk and decided that no connection meant everyone was a spammer.  A little more ERROR CHECKING, PLEASE!!!

Maybe it's merely that the first line isn't being qualified with ONLY the 'checked' members in that list,
foreach ($members_data as $row)
looks like it's going to go through the whole freakin' database.  BUG.

edit: yep, it's missing the check to see whether it should perform the DB update on only the checked members.  Here's the similar section from ManageMembers.php for when you want to DELETE one or multiple members:
// Are we performing a delete?
if (isset($_POST['delete_members']) && !empty($_POST['delete']) && allowedTo('profile_remove_any'))
{
checkSession();

// Clean the input.
foreach ($_POST['delete'] as $key => $value)
$_POST['delete'][$key] = (int) $value;

// Delete all the selected members.
require_once($sourcedir . '/Subs-Members.php');
deleteMembers($_POST['delete']);

Notice any difference?  The chunk in StopSpammer.php isn't testing for "did they CHECK anything?"


In addition, I'm fully with (whoever mentioned it earlier) that the REPORT THESE MEMBERS  function needs to be in the MEMBERS AWAITING APPROVAL as well... I don't want to have to APPROVE a spambot just so I can report it.  Maybe change that last option from REJECT AND SEND MAIL to REJECT AND REPORT TO SFS, as I have ZERO interest in sending mail to a spambot to tell it to pound sand, and it's a worthless exercise.
Title: Re: Stop Spammer
Post by: Tamsin on February 05, 2010, 04:51:06 AM
After reading the last few messages here it's reminded me that now when I go to Registration/Settings I see the following under Enable/Disable MOD Stop Spammer:

If the Connection Fail with DB Anti SPAM...:
Your host couldn't make connection to the DB, Try again later
If it continue see Topic of Support and search Known Issues

This I am sure wasn't there before I started having these problems.
Title: Re: Stop Spammer
Post by: EL34xyz on February 05, 2010, 08:08:10 AM
How come the Mod author has not posted any info regarding these recent postings?
Title: Re: Stop Spammer
Post by: giveaway365.com on February 05, 2010, 11:34:42 AM
Quote from: Tamsin on February 04, 2010, 06:28:19 AM
Hi givaway365. You and I seem to be suffering from the same bug. Mine is v2.3. What's yours? I'm thinking we should uninstall this mod but we get so many spammers registering every day and the mod does successfully flag them all. I just don't dare deleting them in case it goes wobbly again!

Tasmin I am using 2.3.6 latest unofficial version on smf 1.1.11.
I also get lot of spams from Russia, I dont know whats they want to achive ! >:(
Title: Re: Stop Spammer
Post by: giveaway365.com on February 05, 2010, 11:41:30 AM
i am actually uninstalled this mod because if there is a database connection problem, all members are deactivated including admins
Title: Re: Stop Spammer
Post by: JWilliamson on February 05, 2010, 01:13:47 PM
Quote from: CrankyOldguy on February 04, 2010, 01:17:13 PM
OK, I'm officially UNHAPPY with this mod and it ought to be marked DANGEROUS.  Any site owner that doesn't know how to write a SQL command could easily shoot themselves in the foot with it and lock EVERYONE out of their forum.  Trust me, I just did it.

I'm pretty sure the sequence of events was that I'd clicked the new "Check this member" link in the profile and then hit the CHECK THESE MEMBERS button in the Admin panel MANAGE MEMBERS area without clicking the check box next to the name.  I *think* that's all I did.  Whatever happened, it set ALL MEMBERS to unactivated and SPAMMER.  The is_activated field went from 1 to 3 FOR FREAKING EVERYONE INCLUDING OWNER AND ADMINS, and the is_spammer field went from 0 to 8, again FOR EVERYONE.

Lucky for me, I *do* know how to do a SQL search and replace.  In phpMyAdmin, do:

UPDATE smf_members SET is_activated = REPLACE(is_activated,'3','1');
and
UPDATE smf_members SET is_spammer = REPLACE(is_spammer,'8','0');

and Voilà, your forum is now UNSCREWED.

Folks, this is absolutely UNACCEPTABLE BEHAVIOR for a mod... NOTHING should ever do a global deactivation of ALL MEMBERS, including the Admins.  How in the heck am I supposed to log in and activate myself when I'm deactivated and can't log in????

Sorry, with 22 pages of comments on this mod I'm not sure if someone else has already seen this horribly aberrant behavior.  I'm running the 2.3.6 version on an SMF 1.1.11 forum, and as soon as I finish writing this warning I'm going to hunt down that CHECK THESE MEMBERS button and delete it!

edit: yeah, I see several others noticed this as I was writing my rant.  O:)

BTW, the owners of www.stopforumspam.com have been having problems with GoDaddy.  The idiots at GoDaddy deleted all of their DNS data for no apparent reason yesterday, so you may get connection errors as the new DNS entries ripple around the Internet route tables.

Thank you for posting this.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 05, 2010, 02:38:17 PM
Quote from: EL34xyz on February 05, 2010, 08:08:10 AM
How come the Mod author has not posted any info regarding these recent postings?

The Mod author, M-DVD, has not been coming to SMF for more than 3 months already.

Last December (2 months ago) I told him I wouldn't mind to be responsible for updating the mod when needed, because anyway I have been working with M-DVD developing this mod since he started it 2 years ago and I think I know every line of code in it.

The problem is, to do this properly, I need to have access to the mod's main page, to upload new files when needed, to change the FAQs when needed, etc.

As far as I know, M-DVD asked SMF's Customization Team on the 6th of December to add my name in the mod's main page as a co-author.

A month later, the 4TH of January, I sent a PM myself to SMF's Customization Team asking them what was happening about that.

I didn't have any answers yet about it.

That's the reason why I have not been answering here a lot of questions lately, because I was fed up answering ten times the same questions and I thought it would be easier just to wait until I get access to the mod's main page and I will just add all these questions and answers to the FAQ.

Anyway this is not happening and I don't know why.

If any of you knows anybody inside the SMF's Customization Team could you please send them a PM asking them please to look into this ridiculous situation?

I don't see any point of having a mod here out of date.

The version 2.3 you can find in the mod's main page is too old and out of date.

The mod's owner (the only one with access to that page) has not been coming to this forum for 3 months and (as far as he told me the last time I talked with him) he is too busy with his work and has no intentions of coming back here for some months or even years.

The actual updated version of this mod 2.3.6 (at least the version working properly until a couple of days ago) is not in SMF site but in my personal server.

As I said before I think all this is ridiculous and somebody should sort it out as soon as possible.




Now, going to the big problem some of you are having.

I only learn about it a few minutes ago.

Usually I check all my forums every day for spammers using this mod (I administer 10 of them) and I have been doing that for the last 2 years.

The problem is I have been too busy with a very urgent work the last 3 days and (because every thing was running so smooth anyway) I didn't check any forum during these 3 days.

I was so concentrated with my work that I didn't even checked my email as well.

Just a few minutes ago I went to check the forums and I have the nasty surprise. The first 2 forums I checked every body went suddenly to no activated ( is_activated = 3 ) and suspicious spammer ( is_spammer = 8 ). Even me.

My first thought was maybe I had a hacker attack, but then I came here and found out a lot of you with the same problem.

OK, I'll start working on a solution just now. Luckily I see a few of you have been already thinking about it and posting here possible solutions.




And, by the way, if anybody with enough knowledge of PHP and MySQL want to give me a hand I will really appreciate it.

The more brains working in a problem the fastest we get a solution.




And by the way again, ff any of you knows anybody inside the SMF's Customization Team don't forget to please send them a PM asking them to look into this ridiculous situation.

Thanks.
Title: Re: Stop Spammer
Post by: EL34xyz on February 05, 2010, 02:45:25 PM
That'a mighty nice of you snoop.
This mod is actually worth keeping.
It has served me quite well for a year or so.

I hate to see one man software efforts because you are screwed if that one guy decides to put the code on the back burner.
I own a few pieces of software that I love, but are now abandonware.

Thanks, for your effort snoop
Title: Re: Stop Spammer
Post by: KensonPlays on February 05, 2010, 02:52:04 PM
EL34xyz, I agree with you completely!
Title: Re: Stop Spammer
Post by: quatermass on February 05, 2010, 04:25:15 PM
Can I suggest that you rename this Mod slightly, create a brand new Mod page with you as the Author and post in the new board the reason for the rename.

This will get over all the problems of waiting for someone else to do something which will probably never happen.

Then if need-be alter the Mod so that it checks that the www.stopforumspam.com site is up and running before the Mod does any checking.

This Mod is too important to lose and this latest possible bug will have seriously damaged any future user of it taking it seriously unless this issue is resolved. :)

Title: Re: Stop Spammer
Post by: Sabre™ on February 05, 2010, 04:53:58 PM
LOL
You cannot just take somebodies mod, rename it and then re submit it to the public! lmfao
If anybody wishes to take over another persons mod, they need to make contact with the author/owner of the mod/code.

Quote from: snoopy_virtual on February 05, 2010, 02:38:17 PM
The Mod author, M-DVD, has not been coming to SMF for more than 3 months already.

M-DVD
Last Active: January 28, 2010, 02:56:10 AM
Title: Re: Stop Spammer
Post by: quatermass on February 05, 2010, 05:57:04 PM
Of course you can.
If the second owner has proof they have permission to take over, then it just happens.

We do this all the time on Yahoo Groups. The owner goes AFK and so we have to set up a new group.
If the SMF forum admins are not listening to the new owner and his request, why aren't they?
Title: Re: Stop Spammer
Post by: Sabre™ on February 05, 2010, 06:34:01 PM
Quote from: quatermass on February 05, 2010, 05:57:04 PM
... they have permission to take over

Being a 'co-owner' doesn't mean you have the right to redistribute somebody elses work in another thread, which is what You have suggested.
A co-owner may update it, That is all, unless otherwise stated.
Please gain a little knowledge into the area before you reply with uneducated statements such as 'Of course you can.'  This isn't Yahoo Groups.
Now if M-DVD has given FULL ownership of this mod to another, then that is another thing...
I have seen no evidence of this
Title: Re: Stop Spammer
Post by: CrankyOldguy on February 05, 2010, 06:39:43 PM
I'm not a programmer... maybe we can get some help here?  I've localized the problem, but I may not be able to fix it elegantly.
         
There are indeed 2 bugs with the current code.  When you are looking at members, it's walking the entire forum member list instead of only the 'checked' members.  That will be uglier to figure out & modify, although the example DELETE MEMBER code in ManageMembers.php should be a useful guide.  The problem area in the code starts at line 70 in StopSpammer.php.  That REALLY needs to be fixed, as I presume even when it's working 'properly' that it's hitting the SFS database with hundreds or thousands of requests that weren't intended.  Let's not do a DOS attack of them ourselves, K? ;)

The second bug is that the checkDBSpammer function is using the three options of "what to do when a database connection fails" DURING REGISTRATION to modify a member's 'spammer status' when you are just looking at them in the Admin panel MANAGE MEMBERS area.  Those options are working fine during registration, but I don't want it to mark someone as SPAMMER while looking at the MANAGE MEMBER list merely because the database is offline.  That should always return the DATABASE CONNECTION ERROR message and then abort further processing.  Maybe an easy way to correct that is to add an IS_REGISTRATION variable to what's passed to the routine, and use that to do a RETURN 0; right after the failed connection test?  The problem is that lines 38-42 of StopSpammer.php are really only intended for REGISTRATION, and not for viewing the members.

Personally, I even if there is NOT an error with the DB connection, I don't want it to automatically de-activate someone because their username appears in the SFS database.  The chance of a name false-positive is fairly good, and I don't expect a LOOK AT THIS EXISTING MEMBER to suddenly de-activate them until I say so.
         
The problem where it wipes out all members only occurs if you have "If the Connection Fail with Anti SPAM DB" Admin panel setting set to "Member Approval and show yellow icon to check later"; the other two options do NOT cause an overwrite of the member database.  You can simulate a database connection error by changing the stopforumspam.com URL in line 28 of StopSpammer.php to anything that won't resolve, like xyzzy1.org  I've verified it, and can duplicate it repeatably.

Of course, DON'T simulate a connect error if you do not know how to quickly change all of your members back to ACTIVATED. ;)  In phpMyAdmin, hit the SQL tab and enter the following:
UPDATE smf_members SET is_activated = REPLACE(is_activated,'3','1');
and then
UPDATE smf_members SET is_spammer = REPLACE(is_spammer,'8','0');


Can we stay on topic here, and not get into Robert's Rules of Order for Yahoo Groups?  Pretty please?   We'll get it fixed quicker if we don't hare off on wild unrelated tangents.
Title: Re: Stop Spammer
Post by: lc62003 on February 06, 2010, 07:50:10 PM
A nice feature that could be added to this would be if IPs could be checked in the who's online list.   8)  That way admins could know when spammers are viewing the forum.  Just a thought.   :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 07, 2010, 04:41:01 AM
Please, as CrankyOldguy was saying yesterday, don't ask for any new features and try to concentrate all our efforts in the big bug discovered a few days ago. We can talk again about new features and any other topic once we sort this yellow bug.

By the way, I have starting calling it "the yellow bug" because once it attacks you all your member list is just pure yellow everywhere.

I have set a few test forums and I am doing a lot of tests there to try to find the solution, but it will save me some time if anybody can answer me these questions:




As far as I can see here: http://www.simplemachines.org/community/index.php?topic=283309.msg2487164#msg2487164 Tamsin reported he got the yellow bug using StopSpammer version 2.3

Is that right or is it just a typo?

I mean, I would understand a newbie using an old version, but Tamsin is a Charter Member and I thought he knew version 2.3 has been obsolete since December 2009




More questions:

Anybody has seen this yellow bug using a version older than 2.3?

I can check that myself just installing a lot of different versions in a test forum, but it will save me time if anybody can answer that.

Knowing exactly when this bug started and knowing (as I know) what lines have been added or modified in each version can give me a clue about where the problem can be.




Another one:

Anybody has seen it using SMF 2.0 RC2?

I am not really worry just now about SMF 2.0 anyway, because nobody in his right mind will use an RC program for an important site, but I suppose that eventually, when I find the mistake in the mod for SMF 1.1.11 I will need to check it for SMF 2.0 as well.

And it can even be another clue.




By the way, in the test forums I have created to study this bug, I am continuously repeating inside them the conditions where the yellow bug occurs, trying to find exactly in what point the mod goes mad.

Every time this happens the forum blocks itself and I need to sort it if I want to continue using it.

The first time I went inside the DB and sort it manually, using a SQL line similar to the one CrankyOldguy has pointed out a few times, but after that I did a file to automatize all the process with just one click so I can continue with the tests easily.

If anybody want that file, as I still have no access to the mod's main page, I have put it in my server with all the rest of the files concerning this mod:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.msg1263#msg1263

It is very useful if you got the yellow bug and you want to sort your forum with just one click.




I want to thank as well all the people who have been making suggestions about where the mistake can be. Either here in this forum or in my own forum.

Anyway I have been checking all those suggestions and the mistake is not in any of them, so please, continue thinking and sending suggestions until we find it.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 07, 2010, 10:34:19 AM
OK, as nobody was answering my questions, I have done the tests myself and now I can tell you for sure that the yellow bug didn't affect version 2.2 but it affects version 2.3

It means it started from version 2.3 onwards, so it must be in the few lines M-DVD and myself added or modified last September.

I have seen also that the yellow bug affects as well SMF 2.0 if you are using mod StopSpammer from 2.3 onward.

Of course, if you are using StopSpammer 2.3 you must be using SMF 2.0 RC1, because StopSpammer 2.3 is not compatible with RC2 and StopSpammer from 2.3.1 onward are only compatible with SMF 2.0 RC2

Anyway it affects all the versions of mod StopSpammer from 2.3 to 2.3.6

So it means I have just now the bug surrounded and it can only be in a few lines of code.

I suppose it won't take me too long now to find it.

(I hope)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 07, 2010, 11:51:19 AM
Quote from: Sabre™ on February 05, 2010, 04:53:58 PM
...

Quote from: snoopy_virtual on February 05, 2010, 02:38:17 PM
The Mod author, M-DVD, has not been coming to SMF for more than 3 months already.

M-DVD
Last Active: January 28, 2010, 02:56:10 AM

Hi Sabre,

I didn't really wanted to answer to that until I sort the problem with the yellow bug, but, as I have been already working on it for too many hours (I don't even remember when was the last time I slept) and I think I should take a small break, I'm going to use this break to give you just a few small facts.

If you check inside M-DVD's profile and you check his posts you can see that he has been a very active member of SMF from the 12th of August 2007 until the 15th of October 2009 and he has published in that time 1651 posts.

But from the 15th of October 2009 he hasn't been coming here. Only sometimes (maybe once every 2 months) just to see a couple of things and check his PMs, but from that day until today he has just written one post.

This one:

Quote from: M-DVD on December 15, 2009, 10:03:16 AM
Hi

snoopy_virtual (co-author) has made the fixs for SMF 2RC2 and others. Soon he will be attaching the new version, that will have the fixs.  :)

That was his last post in SMF.

Actually, I still keep a copy of the PM M-DVD sent me on the 7th of December 2009 telling me that, as he wasn't going to be available any more, and I knew all the lines in the code of this mod as well as him, because we have talked hundred of times about every small change in them, he wanted to give me full ownership of this mod.

He was just worried because maybe it will mean a lot more work for me and he knows I already have too many things to do.

I also keep a copy of the PM I sent him back answering him I didn't want to take his name from the mod. It was actually me who suggested that a co-ownership will be better even if he is not coming back for a few years. This way he will always have a door open if his life changes and he has time to work here again.

And in that same PM I told him that anyway this is not going to be more work for me because I am always trying to make this mod work as good as possible, because without this mod I will need to close all my forums.

Of course the only way you have to check if I am telling the truth is sending a PM to M-DVD and asking him.

If you do that, you just need to be patient, as M-DVD only checks his PMs once every 2 or 3 months.  ;)




Anyway.

Enough of talking about things that doesn't really matter and back to work.

This fu... yellow bug is going to die soon.
Title: Re: Stop Spammer
Post by: Nerd3D on February 07, 2010, 12:07:16 PM
Hands Snoopy a can of Jolt cola and a nuclear powered bug zapper.  You efforts are really appreciated.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 07, 2010, 01:15:27 PM
Quote from: Nerd3D on February 07, 2010, 12:07:16 PM
Hands Snoopy a can of Jolt cola and a nuclear powered bug zapper.  You efforts are really appreciated.

That's exactly what I was needing. As soon as you gave me the nuclear powered bug zapper I found the bast... I mean, the bug.  ;D

It's not a joke.

Well, it's only half a joke.  :)

I have found it.

I have already published version 2.3.7 without the yellow bug.

Anyway, as I have seen that a lot of people don't read the changelog that is always included with every update, because I have seen people talking about things wrong inside their template files, I am going to copy it here as well:




QuoteVersion 1.0 (http://www.simplemachines.org/community/index.php?topic=283309.msg1859411#msg1859411) - 31th December 2008
   o Initial release
   o Can Block the Registry of Spammer in your Forum
   o Will be checked their data (nickname, IP and mail) in SFS DB
   o If match any data, the user is inactive Waiting for Approval
   o You can set enabled the Inmediate Registration with this MOD
   o Also, it keeps a record number of all Spammers Blocked
   o Compatible with SMF 1.1.X & SMF 2b-RC
Version 2.0 (http://www.simplemachines.org/community/index.php?topic=283309.msg1920829#msg1920829) - 08th February 2009
   + You can enable and disable this MOD with a click
   + The MOD automatically test your host for conection remote
   + You can choose the action if the connection fails
   + Your user will have three states (blue, yellow & red)
   + You can check any data in SFS Web, with a click
   + You can check all data of many members with a click
   + You can report many members with a simple click
   !  Fixed issue with membername and error in conection
   ?  Unistall & Update. It's not necessary to re-edit the template files
Version 2.1 (http://www.simplemachines.org/community/index.php?topic=283309.msg1920829#msg1920829) - 08th February 2009
   !  Fixed typo bug in the function checkreportMembers
   ?  Unistall & Update. It's not necessary to re-edit the template files
Version 2.2 (http://www.simplemachines.org/community/index.php?topic=283309.msg1930572#msg1930572) - 13th February 2009
   !  Fix issue in Registration from ACP
   ?  Unistall & Update. It's not necessary to re-edit the template files
Version 2.3 (http://www.simplemachines.org/community/index.php?topic=283309.msg2279605#msg2279605) - 27th September 2009
   * Changes in the Code
   * Regex repaired (the API XML SFS's was changed)
   * If the member is approved is showed in blue
   + You can go to check & report a member via his profile
   + If the API limit query is exceded, you will be notified
   ?  Unistall & Update. It's not necessary to re-edit the template files
Version 2.3.7 - 7th February 2010
   * Changes in the Code to make the mod compatible with 1.1.11 and 2.0 RC2
   * Some minor changes in english language files
   + You can use now your own API key if you want
   + You can now decide if the mod will check or not the username, email and IP
   + 7 new strings in language files
   !  Fixed the yellow bug
   !  Fixed issue with utf-8 spanish language files
   !  Fixed some minor bugs
   ?  Unistall & Update. It's not necessary to re-edit the template files
       unless you have in your template folder the file
       ManageMembers.template.php or Register.template.php

QuoteLegend

oFeature
*Change
+Added
-Eliminated
!Bug Fixed
?How to Update

As you can see in the changelog, you need to check your "Theme" folder to see if your particular Theme has any of these files:

ManageMembers.template.php or Register.template.php

From version 2.3 to version 2.3.7 I have done changes in both files and the installer will update only the files inside your "default Theme" folder.

If your particular Theme has any of those 2 files you will need to do the changes manually.

Anyway this is only if you are updating from version 2.3 to version 2.3.7

From version 2.3.6 to 2.3.7 you won't need that, just uninstall the old one and install the new one.




As always, this new version is in my server:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.0




By the way Nerd, thanks for the nuclear powered bug zapper.

I am going to use it just now in borderlands to see how it goes.  ;D
Title: Re: Stop Spammer
Post by: giveaway365.com on February 07, 2010, 11:41:40 PM
Yes ! thanks snoopy .. I will try to install it tonight !!
Last week I discovered a yellow bug and its fixed today itself !...

Thanks !!
Title: Re: Stop Spammer
Post by: Nerd3D on February 07, 2010, 11:50:45 PM
Installed and seems happy in my 1.1.11. Snoopy ROCKS!
Title: Re: Stop Spammer
Post by: giveaway365.com on February 08, 2010, 02:08:22 AM
Snoopy there is one more small bug... the member count count bug.

As soon as a new spammer registers and marked as a spammer and is awaiting approval, the member count is reduced to the real good members. I was using 2.3.6 version on smf 1.1.11 . I have not yet tested on 2.3.7.

The member count should be a total of non approved & approved member.

The manual work around I do is the recount posts in admin maintenance.
Title: Re: Stop Spammer
Post by: kicky on February 08, 2010, 07:21:17 AM
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 Spammer
Post by: mbreber on February 08, 2010, 11:29:21 AM
Hi, I installed this mod in my SMF 1.1.11 and I´m using Cratian language.

I have changed my Themes/default/languages/Modifications.croatian-utf8.php and translated but I see there´s a lo more of text:

Quote
    $txt['stopspammer_error'] = 'Error with DB Anti SPAM. Connection Failed.<br />
    Please try again later, or Contact with the WebMaster';
    $txt['stopspammer_count'] = 'Spammers have been blocked to date';
    $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 Member';
    $txt['stopspammer_show01_sub'] = 'You can check any member at any time with one simple click';

    $txt['stopspammer_faildb'] = 'If the Connection Fail with DB Anti SPAM...';
    $txt['stopspammer_fail01'] = 'Show Error and Stop Registration';
    $txt['stopspammer_fail02'] = 'Allow Immediate Registration';
    $txt['stopspammer_fail03'] = 'Member Approval and show icon for check';
    $txt['stopspammer_faildb1_sub'] = 'Your host can make remote connection to the DB';
    $txt['stopspammer_faildb2_sub'] = 'Your host couldn\'t make connection to the DB, Try again later<br />
    If it continue see Topic of Support and search ';
    $txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

    $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'] = 'Spammers: See more info of activity of this spammers';

    $txt['stopspammer_profilecheck'] = 'Check this member';
    $txt['stopspammer_limitexceded'] = 'You have exceded the check limiting (5000 API queries per day).<br />
    You should wait from tomorrow for 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\n
    Think that when you report a member to SFS he/she is marked as spammer all over the world\n
    and he/she won\\\'t be able to use any of the forums connected to SFS around the world.\n\n
    Do it only if you are completely sure they are spammers and if by any chance you make a mistake\n
    tell as soon as possible the mod\\\'s creator to correct the mistake inside the SFS database.';


Where should I put this text. In what language .php file?
Please help!!!
Title: Re: Stop Spammer
Post by: giveaway365.com on February 08, 2010, 11:52:13 AM
Installed the mod... seems to work fine atleast with me... waiting for some spammers now ;)

Also will check on member count bug , if it still exists  on 2.3.7 with smf 1.1.11
Using my own API key and username unticked.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 11:56:09 AM
Quote from: giveaway365.com on February 08, 2010, 02:08:22 AM
Snoopy there is one more small bug... the member count count bug.

As soon as a new spammer registers and marked as a spammer and is awaiting approval, the member count is reduced to the real good members. I was using 2.3.6 version on smf 1.1.11 . I have not yet tested on 2.3.7.

The member count should be a total of non approved & approved member.

The manual work around I do is the recount posts in admin maintenance.

This bug has been there since the first version 1.0 of the mod.

Once of this days we need to sort it.

The problem is that it's also very very difficult to find where it is.

I have tried to find it thousands of times and cannot.

But, as it seems also very harmless and there is always a lot of more important things to do I always say "ok, Ill try again another day".
Title: Re: Stop Spammer
Post by: giveaway365.com on February 08, 2010, 11:57:02 AM
the count bug still exists.. even if an good member registers the count is reduced...
Title: Re: Stop Spammer
Post by: giveaway365.com on February 08, 2010, 12:00:32 PM
can you have just execute this query after every check:
http://www.xyz.com/index.php?action=boardrecount

this will automatically recount and make counts normal?
Title: Re: Stop Spammer
Post by: giveaway365.com on February 08, 2010, 12:05:21 PM
this is the error when a spammer registers:
8: Undefined index: types
File: /home/content/g/i/v/xxx/html/Sources/ManageMembers.php
Line: 381

line 381 is :
if (empty($range_trans[$_POST['types'][$param_name]]))
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 12:06:34 PM
Quote from: kicky on February 08, 2010, 07:21:17 AM
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

The function spammercheck() doesn't belong to this mod.

Are you sure you have copied the error statement properly?
Title: Re: Stop Spammer
Post by: EL34xyz on February 08, 2010, 12:11:52 PM
Snoop, I installed the 2.3.7  and something strange just happened.

After the install, I went to my members page and started checking all the members for possible spammers.

I had a bunch that had some spammer names that were flagged RED
The members were not spammers, they just had a name that was on the list.

I left the forum and then came back later.
All of the Red spammer names in my forum members list were now on the members waiting for approval page???

These were old members that have been members for a long time.
they were not new registrations waiting to join the forum.

I rejected the whole list of Red names.

Why are these members showing up on the "waiting for registration" Page????.

SMF 1.1.11
I am the admin and I must approve all new members.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 12:18:06 PM
Quote from: mbreber on February 08, 2010, 11:29:21 AM
Hi, I installed this mod in my SMF 1.1.11 and I´m using Cratian language.

I have changed my Themes/default/languages/Modifications.croatian-utf8.php and translated but I see there´s a lo more of text:

....

Where should I put this text. In what language .php file?
Please help!!!

All the english text goes to Themes/default/languages/Modifications.english.php

As you can see in the changelog, from 2.3 to 2.3.7 I have added 7 new lines of text. (I have also change a little the old lines to correct a few mistakes).

When you install 2.3.7 all these new lines go automatically to that Modifications.english.php file. Check that they are there.

If they are not there you have made a mistake installing it.

Compare anyway your english and croatian files to see if you have these new 7 lines missing in your croatian file and (if so) translate them and send them to me if you don't mind, so I can add them too to the full language package.

Thanks
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 12:21:17 PM
Quote from: giveaway365.com on February 08, 2010, 12:00:32 PM
can you have just execute this query after every check:
http://www.xyz.com/index.php?action=boardrecount

this will automatically recount and make counts normal?

That's an idea.

It's not a perfect solution, but it will work.

If I don't find another better solution I will use that one for the next update.

Thanks
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 12:36:04 PM
Quote from: giveaway365.com on February 08, 2010, 12:05:21 PM
this is the error when a spammer registers:
8: Undefined index: types
File: /home/content/g/i/v/xxx/html/Sources/ManageMembers.php
Line: 381

line 381 is :
if (empty($range_trans[$_POST['types'][$param_name]]))

This is a different thing. It has nothing to do with the count bug.

Anyway this is not dangerous, just a pain in the .. thingy because every time you look in your error log it's full of them and this minor errors don't let you see the important ones.

The problem is I haven't defined the index types because it's not one of my indexes. It belongs to the main SMF program and (as far as I know) I am not using it. At least not on porpoise. Somehow it has slip inside my code.

<thinking myself>
     (maybe trough the base64_encode(serialize()) thing)
</thinking myself>

Anyway, even if this is not a dangerous bug, it's very annoying so it's the next one in the agenda, and actually this is the bug I was trying to sort when all the problem about the yellow bug started, and I only left it waiting because the another one was a lot more important.
Title: Re: Stop Spammer
Post by: EL34xyz on February 08, 2010, 01:08:13 PM
Snoop,
I am able to duplicate a serious bug that changes and existing member is_activated  from #1 to #3 in the data base

Admin/members/View all members.
Check the box that selects all members on that page.
Hit the button at the bottom of the page to check all these members in the stop forum spam data base.

Any members that get any sort of RED flag gets changed from member status #1 to awaiting membership #3 in the data base.

Stop spammer does this on it's own.

Now, every member that had some sort of RED flag shows up on the Waiting for membership page and is no longer a member.
The members that Stop Spammer flags are not spammers, they may have all or part of their Username that shows up in the data base, that does not mean they are spammers.

I just rejected a bunch of existing members because I was not sure why they all were showing up as members awating approval.
Now they are all gone and will have to re-register.

Please try and duplicate this.
You will have to find an existing member that gets a user name RED flagged
They will then have their is-activated status changed from #1 to #3 in the SMF database

SMF 1.1.11
Stop spam 2.3.7
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 01:15:10 PM
Quote from: EL34xyz on February 08, 2010, 12:11:52 PM
Snoop, I installed the 2.3.7  and something strange just happened.

After the install, I went to my members page and started checking all the members for possible spammers.

I had a bunch that had some spammer names that were flagged RED
The members were not spammers, they just had a name that was on the list.

...


This is one of the effects of the yellow bug. The mod, sometimes, was checking all the members of your forum when you just wanted to check one or a few.

I will suggest you do this:


The program will check now only theirs IP and theirs email and won't bother with usernames, so you will be sure everything is OK.

If the program catches somebody because their email you are sure it's a spammer.

If it catches somebody because their IP can be 3 options:


So if your program catches as spammer somebody you are sure is a legal person, just because the IP, you should tell them so they can scan the computer looking for trojans (or just restart the router and get another IP).

If you are interested in this subject, I have written a lot about it.

For example:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=297.msg1230#msg1230

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpbl

etc.
Title: Re: Stop Spammer
Post by: EL34xyz on February 08, 2010, 01:19:10 PM
Snoop, 2.3.7 installed correctly without any files being flagged.

I assumed you had fixed all that yellow bug stuff in the new 2.3.7 release

Are you saying there is another mod I have to apply to the current mod???

Title: Re: Stop Spammer
Post by: kicky on February 08, 2010, 01:27:29 PM
Quote from: snoopy_virtual on February 08, 2010, 12:06:34 PM
Quote from: kicky on February 08, 2010, 07:21:17 AM
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

The function spammercheck() doesn't belong to this mod.

Are you sure you have copied the error statement properly?

Ups sorry......
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 01:43:07 PM
Quote from: EL34xyz on February 08, 2010, 01:19:10 PM
Snoop, 2.3.7 installed correctly without any files being flagged.

I assumed you had fixed all that yellow bug stuff in the new 2.3.7 release

Are you saying there is another mod I have to apply to the current mod???

Yes, I have fixed all that yellow bug stuff in the new 2.3.7 release.

But this only means that the mod is not going to get crazy again and check members you didn't want to check.

But if last week your forum went crazy (as all my forums did) because you had a version of the mod with that mistake (any version between 2.3 and 2.3.6) then maybe you still have in your database some wrong values.

I think I said it very clear here:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.msg1264#msg1264

If your forum went mad with the yellow bug, you need to clean it first before installing the new version 2.3.7

Or maybe you just went to my site and downloaded the new version without noticing the big red warning sign saying "Read this first before downloading this version"?

Some forums went mad and some didn't. Some people have updated to 2.3.7 from 2.3.6, others have updated from 2.3, others have just installed it from scratch, etc. I needed to take all these possibilities into consideration, and that's why I put the "medicine" to clean the forums in a separate file (yellow_bug.php) so everybody could use it only if needed.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 02:20:13 PM
Quote from: kicky on February 08, 2010, 01:27:29 PM
Quote from: snoopy_virtual on February 08, 2010, 12:06:34 PM
Quote from: kicky on February 08, 2010, 07:21:17 AM
Hi, I installed this mod in my SMF 1.1.11

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

The function spammercheck() doesn't belong to this mod.

Are you sure you have copied the error statement properly?

Ups sorry......

Don't worry.

In part this is actually my fault. Well, my fault an also the rest of the people doing anti-spammer mods for SMF.

We should get in touch and either do only a big good mod for every different existing spammer database or at least be sure that all the mods are compatible.

Actually this is the reason why I started working with M-DVD.

When I met him, I was doing my first anti-spammer mod and he had already published his first version 1.0 of this mod, so what I did was, instead of continue working in my mod on my own, I contacted him, join his ideas with mine and we worked together to do version 2.0 of this one.

Just now, the only 2 anti-spammer mods fully compatible with each other (as far as I know) are the 2 mods I have in all my forums: This mod StopSpammer and the other mod I am doing, mod httpBL.

Every one works with a different spammer database:

Mod StopSpammer works with Stop Forum Spam's database and mod httpBL with Project Honey Pot's database.

And they are compatible just because I am doing both of them, but I haven't checked the rest of the anti-spammer mods available yet.

As I said, it's my fault. The problem is the day only have 24 hours. Sometimes I wish it had 40 at least.
Title: Re: Stop Spammer
Post by: mbreber on February 08, 2010, 02:20:45 PM
Quote from: snoopy_virtual on February 08, 2010, 12:18:06 PM
Quote from: mbreber on February 08, 2010, 11:29:21 AM
Hi, I installed this mod in my SMF 1.1.11 and I´m using Cratian language.

I have changed my Themes/default/languages/Modifications.croatian-utf8.php and translated but I see there´s a lo more of text:

....

Where should I put this text. In what language .php file?
Please help!!!

All the english text goes to Themes/default/languages/Modifications.english.php

As you can see in the changelog, from 2.3 to 2.3.7 I have added 7 new lines of text. (I have also change a little the old lines to correct a few mistakes).

When you install 2.3.7 all these new lines go automatically to that Modifications.english.php file. Check that they are there.

If they are not there you have made a mistake installing it.

Compare anyway your english and croatian files to see if you have these new 7 lines missing in your croatian file and (if so) translate them and send them to me if you don't mind, so I can add them too to the full language package.

Thanks

In Modifications.english.php I only have this lines:

//   MOD Stop Spammer
$txt['stopspammer_error'] = 'Error with DB Anti SPAM. Connection Failed.';
$txt['stopspammer_count'] = 'Spammers have been blocked';
$txt['stopspammer_title'] = 'Search more info in `Stop Forum Spam`';
Title: Re: Stop Spammer
Post by: madfitz on February 08, 2010, 02:24:14 PM
The mod here states version is 2.3 not 2.3.7?

http://custom.simplemachines.org/mods/index.php?mod=1547
Title: Re: Stop Spammer
Post by: mbreber on February 08, 2010, 02:30:07 PM
OK, it was a wrong version.
Let me know your email for translation in PM
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 02:39:36 PM
Quote from: mbreber on February 08, 2010, 02:30:07 PM
OK, it was a wrong version.
Let me know your email for translation in PM

You have 3 options:

- Just publish the new lines already translated here so if there is another Croatian guy reading this can use them straight away

- Send me them in a PM

- Send me an email  info [at] snoopyvirtualstudio [dot] com

Anyone of them would do
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 02:41:50 PM
Quote from: madfitz on February 08, 2010, 02:24:14 PM
The mod here states version is 2.3 not 2.3.7?

http://custom.simplemachines.org/mods/index.php?mod=1547

Please read a little of what we have been saying here lately before you say something like that.

Version 2.3 have been obsolete since December 2009
Title: Re: Stop Spammer
Post by: EL34xyz on February 08, 2010, 02:47:16 PM
QuoteYes, I have fixed all that yellow bug stuff in the new 2.3.7 release.

But this only means that the mod is not going to get crazy again and check members you didn't want to check.

But if last week your forum went crazy (as all my forums did) because you had a version of the mod with that mistake (any version between 2.3 and 2.3.6) then maybe you still have in your database some wrong values.

Well, my forum did not go crazy last week.
Exactly what is the yellow bug download doing???
Is it modifying the SMF code??
Title: Re: Stop Spammer
Post by: madfitz on February 08, 2010, 02:57:54 PM
Quote from: madfitz on February 08, 2010, 02:24:14 PM
The mod here states version is 2.3 not 2.3.7?

http://custom.simplemachines.org/mods/index.php?mod=1547
Quote from: snoopy_virtual on February 08, 2010, 02:41:50 PM
Quote from: madfitz on February 08, 2010, 02:24:14 PM
The mod here states version is 2.3 not 2.3.7?

http://custom.simplemachines.org/mods/index.php?mod=1547

Please read a little of what we have been saying here lately before you say something like that.

Version 2.3 have been obsolete since December 2009

Yeah, obsolete, nice... my point is the mod download page STILL says v2.3. THAT is confusing when you keep talking about 2.3.7 being the latest and greatest.

Put simply: can't you update the info on the download page to clearly state v2.3.7 ?
Title: Re: Stop Spammer
Post by: EL34xyz on February 08, 2010, 03:06:33 PM
Ok,
My forum did not go crazy last week as some people here reported.
Your Yellow bug.php file reports no yellow bug found.
See the screen shot

I uninstalled all previous versions of Stop Spammer and then installed 2.3.7.
It 2.3.7 installed perfectly without any file flag errors

My post at reply #568 still stands.
I can reproduce this error exactly every time.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 03:32:04 PM
Quote from: madfitz on February 08, 2010, 02:57:54 PM
...
Put simply: can't you update the info on the download page to clearly state v2.3.7 ?

No I cannot.

Please read these:

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

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

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

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

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

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

Or this one:

Quote from: snoopy_virtual on February 05, 2010, 02:38:17 PM
...
The Mod author, M-DVD, has not been coming to SMF for more than 3 months already.

Last December (2 months ago) I told him I wouldn't mind to be responsible for updating the mod when needed, because anyway I have been working with M-DVD developing this mod since he started it 2 years ago and I think I know every line of code in it.

The problem is, to do this properly, I need to have access to the mod's main page, to upload new files when needed, to change the FAQs when needed, etc.

As far as I know, M-DVD asked SMF's Customization Team on the 6th of December to add my name in the mod's main page as a co-author.

A month later, the 4TH of January, I sent a PM myself to SMF's Customization Team asking them what was happening about that.

I didn't have any answers yet about it.

That's the reason why I have not been answering here a lot of questions lately, because I was fed up answering ten times the same questions and I thought it would be easier just to wait until I get access to the mod's main page and I will just add all these questions and answers to the FAQ.

Anyway this is not happening and I don't know why.

If any of you knows anybody inside the SMF's Customization Team could you please send them a PM asking them please to look into this ridiculous situation?

I don't see any point of having a mod here out of date.

The version 2.3 you can find in the mod's main page is too old and out of date.

The mod's owner (the only one with access to that page) has not been coming to this forum for 3 months and (as far as he told me the last time I talked with him) he is too busy with his work and has no intentions of coming back here for some months or even years.

The actual updated version of this mod 2.3.6 (at least the version working properly until a couple of days ago) is not in SMF site but in my personal server.

As I said before I think all this is ridiculous and somebody should sort it out as soon as possible.
...

etc etc etc
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 03:38:02 PM
Quote from: EL34xyz on February 08, 2010, 03:06:33 PM
...
My post at reply #568 still stands.
I can reproduce this error exactly every time.

I suppose you mean reply #468

Did you read my reply #469?

More to the point, Did you do this?:

Quote from: snoopy_virtual on February 08, 2010, 01:15:10 PM
...


  • Go to your Admin => Registration => Settings and inside the StopSpammer settings un-tick the option "Check their username:". Leave the another 2 options on though, "Check their email:" and "Check their IP:"

...
Title: Re: Stop Spammer
Post by: busterone on February 08, 2010, 03:39:50 PM
Good job snoopy.  :)
Hopefully they will get it fixed so you v=can update the page here soon. I referred several to your site and the update until such time.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 03:45:48 PM
Quote from: busterone on February 08, 2010, 03:39:50 PM
Good job snoopy.  :)
Hopefully they will get it fixed so you v=can update the page here soon. I referred several to your site and the update until such time.

Thanks.

Keep the good work.  ;)
Title: Re: Stop Spammer
Post by: EL34xyz on February 08, 2010, 03:57:30 PM
Listen Snoop,
I am not trying to be difficult, but why would I want to do this???

QuoteGo to your Admin => Registration => Settings and inside the StopSpammer settings un-tick the option "Check their username:". Leave the another 2 options on though, "Check their email:" and "Check their IP:"

I want Stop Spammer to check user name, Ip and email adress against the stop forum spam data base.

Why do you want to turn off one of the spam checks????
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 03:59:30 PM
Quote from: EL34xyz on February 08, 2010, 03:06:33 PM
Ok,
My forum did not go crazy last week as some people here reported.
Your Yellow bug.php file reports no yellow bug found.
See the screen shot
...

Sorry, when I answered you a minute ago (reply #483) I haven´t seen the screen shot attached.

I can read very clear in it this sentences:

Quote
We haven't found the yellow bug, as not all your forum members are suspicious off beeing spammers. Anyway we have found some of them in your DB

.... 

If this is because you had the yellow bug

....

click the button "Apply medicine"

....


Ok, you didn't had the same symptoms of the yellow bug other people had, but you had some.

If I were you I will press the button.

Still I would do the rest of the things I was recommending you in my reply #469, as this one was just the first one of them.

And I would do them in the order I was suggesting.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 04:05:13 PM
Quote from: EL34xyz on February 08, 2010, 03:57:30 PM
Listen Snoop,
I am not trying to be difficult, but why would I want to do this???

QuoteGo to your Admin => Registration => Settings and inside the StopSpammer settings un-tick the option "Check their username:". Leave the another 2 options on though, "Check their email:" and "Check their IP:"

I want Stop Spammer to check user name, Ip and email adress against the stop forum spam data base.

Why do you want to turn off one of the spam checks????

My goodness me!

Is you who is telling me you are having problems because a lot of your forum members are legal people (not spammers) and every time you check them the mod is marking them red as spammers.

If you don't want the mod to check them as spammers, either turn off the option checking usernames or don't check the members you know are good ones.

I was telling you what I would do to be sure that all your database is clean.

After that it's up to you the way you want to leave the settings for any new members from now on.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 07:39:59 PM
Since M-DVD left SMF forum and I started updating this mod on my own I have added 7 new lines already to the language file, so all the languages in the language_full.zip package were incomplete.

As nobody was sending me any new translations, the language_full.zip package in the mod's official page was up-to-date, but this has change today, because mbreber has send me the full translation into Croatian, so I have updated the language_full.zip.

As I still haven't got access to the mod's official page I have put it in my server with the rest of the files concerning this mod:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=296.0

This is the updated list of languages in this package:





QuoteLanguages (normal & utf-8)

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin


  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)


  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024)
  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Portuguese_Portugal by candidosa2 (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_Brazilian by candidosa2 (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)
  • Indonesian by Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119) & Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete

If you can complete the incomplete languages or add a new one please tell me either here or in my forum.

Thanks

Cheers 
Title: Re: Stop Spammer
Post by: EL34xyz on February 08, 2010, 08:18:22 PM
QuoteMy goodness me!
Is you who is telling me you are having problems because a lot of your forum members are legal people (not spammers) and every time you check them the mod is marking them red as spammers.

Ok, there is something wrong here, you should be more careful with your comments.
Try to follow along with this and please read everything carefully.
If you really want to test this, please do the following.
If you do not want to test this, then can someone else please test this bug for Snoop.

Log out as admin on your forum
Register a new member as a
The user name is a, just lower case a

Now log back in as admin
The mod will check the database and flag a as a spammer

Do you think a is really a spammer?

This happens with many user names, many user names are flagged as spammers when they are not spammers. Their name is part of another name, etc.
The name Madison is flagged as a spammer and I have a long time forum member with the user name Madison who is not a spammer!!!!

As admin, approve a as a new member
Now a is a member of the forum
Find the admin member page that a is on
Check a and have the mod check a in the spam forum data base to see if they are a spammer
a is now flagged as a spammer and not a member anymore
a was a legit member, not a spammer and now a is not a member anymore

The smf data base has been changed from 1, a legit member to 3 a member waiting to be approved as a member.

Snoop, I respect that you are trying to fix this mod, but I feel your comments are out of line and that you have not even bothered to try and reproduce the bug I have documented.
Title: Re: Stop Spammer
Post by: EL34xyz on February 08, 2010, 08:31:35 PM
Here's a couple screen shots to go along with what I said in my post above

Madison is a friend of mine.
He is not a spammer
But guess what, he is in the spam database.
His user name is part of many other user names that have the word Madison as part of the user name.
Do you see that madison is also part of madisonsmith and holly madison?????

I do not want to turn off or stop checking for user names, because the mod does find real user names that are spammers. This is something I look at in the Spam forum database and decide if the spammer is legit or not

I need user name, IP address and email to be checked.
I do not need the Stop spam mod to flag Madison and delete him as a member!!
Title: Re: Stop Spammer
Post by: butchs on February 08, 2010, 09:41:10 PM
Relax dude, the guy lives in Spain.  He is doing a great job trying to understand us
and help.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 10:09:55 PM
Quote from: butchs on February 08, 2010, 09:41:10 PM
Relax dude, the guy lives in Spain.  He is doing a great job trying to understand us
and help.

;D ;D ;D

Yes I live in Spain, but I have vampire live.

Actually I am writing the answer, but is coming a little long, as I am trying to explain every thing as best as I can.

Will be just a few more minutes
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 10:57:29 PM
@EL34xyz

First of all I want to apologize for the way I talk.

This always give me problems with my students when they just met me. Usually the first year they are too scare to ask me questions, but after the first year, when they realize that I am not angry all the time but this is only the way I talk, they relax and then they just don't pay any heed to my shoutings and swearings and ironic comments.

I know I loose my temper too often, but that's the way I have always been and I don't think now that I'm 53 I can change that.

Anyway, sorry about that. I will try to keep it to the point. (As much as I can, at least.)




Now.

I understood what you were saying since the first time.

What I have been trying to tell you is that this is not a bug.

That's the way the mod is intended to work.

I think is you who don't understand how the mod works.

Let's see if I can explain it better:

Everytime a new member try to register or everytime you check an existing member the mod does exactly the same:

It takes the username, the IP and the email of the member trying to register (or the member you are checking) and compare them with the database inside the Stop Forum Spam servers. If any of the 3 things (doesn't matter which one of the 3) is already in SFS database it changes the value of is_activated to 3 (waiting for approval) and change the value of is_spammer to a number from 1 to 7, depending on which ones of the 3 things where already in the database.

I have no control at all over SFS servers or the way they build theirs database. In SFS I am just a normal member and the only thing I can do there is give them my opinion about how they should run their database, but I cannot force them to change it if they don't want.

I also think is wrong to have all these normal usernames stored as spammers, but as I said I cannot change that.

Even the IPs can also give you some wrong positives, as I was saying in reply #469

Quote from: snoopy_virtual on February 08, 2010, 01:15:10 PM
...
If it catches somebody because their IP can be 3 options:


  • It's a spammer.
  • It's a legal guy but the computer has a trojan and it's part of a botnet sending spam without the owner knowledge.
  • It's a legal guy but he has a dynamic IP (the ones changing every time  you restart your router) and today he has an IP which uses to belong to a spammer.

So if your program catches as spammer somebody you are sure is a legal person, just because the IP, you should tell them so they can scan the computer looking for trojans (or just restart the router and get another IP).

If you are interested in this subject, I have written a lot about it.

For example:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=297.msg1230#msg1230

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpbl

etc.

That's why I like better the way they deal with the IP problem in Project Honey Pot than how they do it in SFS. (That's why in all my forums I have 2 anti-spam programs, this one checking SFS and mod httpBL checking PHP and I always recommend everybody to do the same).

The only thing sure is the email.

If the email is in SFS database you can be 99% sure that guy is a spammer. (I leave 1% out just in case, because I suppose one of this days spammers will start using legal people email addresses and then we will have a real problem to differentiate them).

Anyway, going back to my main line of argumentation, I was saying I cannot change SFS database. We already had many times this argument about the usernames inside SFS forum and a lot of people ask them to erase from the database common usernames as the one you were saying (Madison) and many others.

I can understand they having in the database names like:

britney_spears_nude
free_viagra
etc

(Don't laugh, this 2 and many others with similar names had try to register in one of my forums)

But I don't understand why they keep names as Jimmy, Margarita, etc.

They say it's for practical reasons. Everyday a lot of new names are added to the database and they cannot have somebody checking every 2 minutes to erase the normal ones. And they say that anyway who is going to mark the line between what is a normal name and what is not. And they say etc etc.

So we just need to accept that they are not going to change that and that's it. Theirs database is not 100% perfect, but still it's one of the best anti-spam webs I know and my forums work a lot better with this mod.

Then, the only thing I can control is not the way SFS works, but the way this mod works and that's what I am doing..

We already had this argument about the false positives before a lot of times. Not only false positives due to username, but also the ones due to IP.

I don't know if you have read the full 25 pages of this post, but I have done it several times and I can give you a lot of examples of different opinions about it.

I could even send you copies of the PMs I sent to M-DVD and his replies talking about this since I started working with him more than a year ago. The problem is if I put all these copies together it will be a lot longer than this post. And anyway they are in spanish.

M-DVD's opinion was to keep the mod as simple as possible and he always said it was up to every admin to study every new catch the mod does and to decide if they will allow the new one inside the forum (approve it) or not (reject it).

One year ago I was doing just that.

Every day I was checking one by one every new catch.

The problem is I administer 10 different forums, and every one was catching every day around 10 spammers.

That's more or less a 100 to check every day. Too many.

That's why I started doing my other anti-spam mod using PHP database (when I say PHP I mean Project Honey Pot).

Now I only have to check 5 new spammers every day (counting all the forums together) and that's a lot easier to do, because the another one using PHP is fully automatic and you don't need to check anything. It even report itself new spammers and all, so you just need to install it and forget about it.

But I'm diverging again from the subject. Let's go back to the username false positive problem.

As I was saying, you can see if you read the post a lot of different options about it.

A month ago I added to the mod a possible solution that wasn't there in earlier versions:

If you are having too many false positives due to usernames or IPs you can go to the mod settings and tell the mod don't check any one of them you want.

Whatever the case I wouldn't recommend nobody to turn off the "check email" option. (For the reasons I stated above).

There is another possible solution another friend suggested (I haven't forgotten about you SiL) I still would like to try because I think is even better, but I haven't had time enough with all this problem with the yellow bug and all the writing I'm doing here lately.

Then now, trying to put it easier.

I understand you don't want to turn off the option to check usernames. I have it off in most of my forums because my experience tells me in all my forums all the false positives I had where due to usernames.

And anyway I don't really mind when a spammer register in one of my forums.

With the other anti-spam mod (the httpBL) usually it just goes as far as registering, but to actually be able to say something in one of the posts is almost impossible. They get caught in one of the honey pots sooner or later.

No one of them have been able to do it yet.

I suppose you have seen on top of my forum a sign encouraging them to try.  ;D

(By the way, if anyone of you want to copy that picture for your own forum it's not copyrighted. It's copylefted. Even more, if you don't know how to put it in your forum to reflect the actual number of spammers caught by your mod, let me know and I will write a tutorial about it. Even more, you can see in my forum I have it in english and in spanish. If anyone of you wants to translate it to another language just let me know and I can send you the PSD file with all the layers ready to modify with Photoshop.)

I am diverging again.

Back to the point.

Then, as I was saying, if you don't want to turn that option off, then you need to remember that everytime a new guy try to register in your forum or everytime you check an existing member, the mod is going to check if the username is in SFS database. And if it's there, it's going put him "under approval" (is_active = 3) and it's going to change the value of is_spammer to a value different from 0

So, again:

If you know that Madison is a good guy and you don't want to mark him as spammer, don't check him with the option to check usernames on.

If you want me to take Madison's name from SFS sorry but I cannot do that.

Any other suggestions?

Ken what I mean?

Slange var 
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2010, 11:12:06 PM
Quote from: EL34xyz on February 08, 2010, 08:31:35 PM
...
His user name is part of many other user names that have the word Madison as part of the user name.
...

I forgot to tell you:

The mod checks if the exact username, the exact IP or the exact email address are in the database.

No just part of it.
Title: Re: Stop Spammer
Post by: giveaway365.com on February 09, 2010, 06:54:08 AM
smf has uploaded the 2.3.7 version... is this the same file which is on snoppy's server.. or do I need to get the smf's server and install it?
Title: Re: Stop Spammer
Post by: giveaway365.com on February 09, 2010, 07:03:10 AM
The one which I installed from snoppy's server yesterday says :
Ad Managment      2.3.6.1

Actually it was suppose to be 2.3.7 and zip file also was 2.3.7

What to do?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2010, 07:06:23 AM
Quote from: giveaway365.com on February 09, 2010, 06:54:08 AM
smf has uploaded the 2.3.7 version... is this the same file which is on snoppy's server.. or do I need to get the smf's server and install it?

yes, that's mine

Quote from: giveaway365.com on February 09, 2010, 07:03:10 AM
The one which I installed from snoppy's server yesterday says :
Ad Managment      2.3.6.1

Actually it was suppose to be 2.3.7 and zip file also was 2.3.7

What to do?

Ad Management have nothing to do with Stop Spammer
Title: Re: Stop Spammer
Post by: giveaway365.com on February 09, 2010, 07:07:49 AM
oops sorry... just saw 2.3.6 and got confused...

so its the same file !!
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2010, 07:22:08 AM
Yes, I just upload it a few minutes ago.

Look at the top of the page and you will see my name as co-author

AT LAST
Title: Re: Stop Spammer
Post by: EL34xyz on February 09, 2010, 07:28:21 AM
Snoop,
I don't care about false positives, you are missing the whole gist of how this bug operates.
And yes partial names are reported if that name is part of another name
That does not matter, this is the bug below.

This spam mod deletes the false positives members
The spam mod should not delete these false positive members automatically!

The is_activated status in the SMF database is changed from 1 to a 3 on these false positive members.

Do you understand this now????
Look at this screen shot



Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2010, 07:44:55 AM
Quote from: EL34xyz on February 09, 2010, 07:28:21 AM
Snoop,
I don't care about false positives, you are missing the whole gist of how this bug operates.
And yes partial names are reported if that name is part of another name
That does not matter, this is the bug below.

This spam mod deletes the false positives members
The spam mod should not delete these false positive members automatically!

The is_activated status in the SMF database is changed from 1 to a 3 on these false positive members.

Do you understand this now????
Look at this screen shot

Yes I understand and this is not a bug.

I have it in my forums all the time.

I have a girl named Margarita in one of them. I know the girl and I know she is not a spammer.

The username Margarita is in SFS database.

If I make a mistake and I check this girl in my forum, her is_activated status in the SMF database is changed from 1 to a 3, so she passes to the "Waiting for approval" list.

That is what is called a false positive.

But the program doesn't delete her. I just need to go to the "Waiting for approval" list and approve her again.

If your mod is deleting them you must have something really wrong there.

Are you sure you have installed it properly?
Title: Re: Stop Spammer
Post by: EL34xyz on February 09, 2010, 07:50:46 AM
Moving a member from 1 to 3 is deleting their member status.
They are no longer a member.
They are pottential applicants awaiting membership status.

The mod should not automatically do this to my members

When I check all my members, this mod will catch at least 50 or more false positive members.

The admin should be able to view these false positives and then make a decision.

The mod should check them in the database only and not change their status.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2010, 08:01:25 AM
Please I beg everybody in this forum:

Is there anybody with better language skills than me willing to try and talk with EL34xyz to see if there is a possibility?

I think I cannot continue with this any longer. Sorry.
Title: Re: Stop Spammer
Post by: EL34xyz on February 09, 2010, 08:07:41 AM
Look, it's really very simple.
When checking all the members on my forum in the spam database.

The mod should not automatically change their member status to a non member status on all these false positive members.

This is a huge hassle for the admins of large forums that have a lot of members.
Why should I have to go and correct this situation every time I do a full membership check against the spam data base?
The admin should have the option to remove these false positives.
Title: Re: Stop Spammer
Post by: Tamsin on February 09, 2010, 08:26:25 AM
Snoopy you are a hero. Really appreciate your work. And yes, I was a bit behind with updates but have caught up with the latest version now.

Let me have a go...

EL34xyz. Why are you checking every member all the time? The point of having this mod is so they are automatically screened before they become members, no? If you check an existing member with a common name eg john, andy, etc, chances are that he or she will be picked up by the mod as a potential spammer because these names have all been used by a real spammer at one point or another. But the mod DOES NOT DELETE that member. All you need to do is go into Awaiting approval section and manually approve him. Simple!
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2010, 08:34:56 AM
Thanks

Let's see now
Title: Re: Stop Spammer
Post by: EL34xyz on February 09, 2010, 09:01:37 AM
QuoteEL34xyz. Why are you checking every member all the time?

I am not checking members all the time.

I have had members join the forum, and then at some later date they are on the spam data base.
They were not on the spam data base at the time they joined.
Do you understand how that can happen?

I may only do a all members check once a month or more to catch latent spammers.
Title: Re: Stop Spammer
Post by: Tamsin on February 09, 2010, 09:13:35 AM
OK then all you have to do is go to Registration/Settings/ and uncheck 'Check their username' so the spammers that have sneaked into your forum can be picked up on their e-mail and/or IP only, leaving innocent Johns and Emmas.
Title: Re: Stop Spammer
Post by: EL34xyz on February 09, 2010, 09:39:58 AM
Why should I have to do that for 50+ false positive members every time I do a complete member check?

Look, it's just a difference of opinion.

I believe the mod should check the spam data base
The mod should report the results of the soam check.
The Admin then makes a decision on what to do with those members.


I don't believe that the mod should automatically remove membership status on legitimate members, just because their user name comes up as a false positive.
I don't want to stop checking user names in the spam database because that is just as valuable as the IP address and the email address check.

Again, it's just a difference of opinions here.
The Admin should be in charge of removing members, not the mod.
Title: Re: Stop Spammer
Post by: Nerd3D on February 09, 2010, 09:55:03 AM
Snoopy, glad to see they finally got you access to the mod's main page.

I love the mod the way it is. I don't need to check and recheck my members all the time. I only kick an established member if they actually do spam. If their name comes up in a black list after they are registered and they aren't spamming me I don't really care.
Title: Re: Stop Spammer
Post by: busterone on February 09, 2010, 10:05:36 AM
Snoopy, you did a fantastic job explaining the mod. I am glad they have you on the page as co-author now. Thanks for all the hard work. This mod has been a fantastic resource for me since it's creation.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2010, 10:51:32 AM
MOD Stop Spammer v2.3.7
===================


New co-author

New features:

How do I upgrade?

=======================================

Nuevo coautor

Características Nuevas:

¿Como actualizar?
Title: Re: Stop Spammer
Post by: EL34xyz on February 09, 2010, 10:53:51 AM
Well at least there is one other person that believes the mod should not be automatically making admin decisions.
reply #446 by Cranky old guy

QuotePersonally, I even if there is NOT an error with the DB connection, I don't want it to automatically de-activate someone because their username appears in the SFS database.  The chance of a name false-positive is fairly good, and I don't expect a LOOK AT THIS EXISTING MEMBER to suddenly de-activate them until I say so.

The mod will stay the way it is until enough users decide they want full control of their membership data base.

As I said, it's just an oppinion and oppinions are like Arsehales.
Everyone's got one, but yours stinks.  ;D
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2010, 10:56:17 AM
Quote from: Nerd3D on February 09, 2010, 09:55:03 AM
Snoopy, glad to see they finally got you access to the mod's main page.

I love the mod the way it is. I don't need to check and recheck my members all the time. I only kick an established member if they actually do spam. If their name comes up in a black list after they are registered and they aren't spamming me I don't really care.

Quote from: busterone on February 09, 2010, 10:05:36 AM
Snoopy, you did a fantastic job explaining the mod. I am glad they have you on the page as co-author now. Thanks for all the hard work. This mod has been a fantastic resource for me since it's creation.

Thanks

I do what I can.
Title: Re: Stop Spammer
Post by: smartdeviceresource on February 09, 2010, 09:36:55 PM
snoopy_virtual Gracia para 2.3.7 :D
I just uninstalled 2.3.6 installed 2.3.7 and it works great (I attempted Registration with a red email from the stopforumspam site and it did as it should :) )

SMF 2.0 RC 2

However one question, Package manager did not see this update, is that because I happened upon the topic today, before my package manager was able to see the new version, did SMF forget (or just has yet to) to add the update to the (i'm guessing it's an) XML file with the latest versions? or is this a bug and many users may not see the update, which for many (though not me, as I didn't have yellowbug) relieves them of a serious bug.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 09, 2010, 10:19:04 PM
Quote from: smartdeviceresource on February 09, 2010, 09:36:55 PM
snoopy_virtual Gracia para 2.3.7 :D
I just uninstalled 2.3.6 installed 2.3.7 and it works great (I attempted Registration with a red email from the stopforumspam site and it did as it should :) )

SMF 2.0 RC 2

However one question, Package manager did not see this update, is that because I happened upon the topic today, before my package manager was able to see the new version, did SMF forget (or just has yet to) to add the update to the (i'm guessing it's an) XML file with the latest versions? or is this a bug and many users may not see the update, which for many (though not me, as I didn't have yellowbug) relieves them of a serious bug.

Well I am not really sure about that.

For the last 2 months the official version here in SMF (2.3) was out of date but I couldn't update it as only M-DVD has the necessary permissions for that and he was not available.

So for the last 2 months the updated version has been only in my server and only since yesterday (when SMF Customization Team granted me the necessary permissions) this has been updated here as well.

Version 2.3.6 has never been here (I suppose you downloaded it from my site) so it wasn't in the system, so maybe that's why you never saw a warning telling you there was an updated version.

Or maybe I forgot to tick something to make the system knows that this a very important update.

You see. This is the first time I control a mod from the official page on my own, and I still haven't got a lot of experience about that. I have been reading hundreds of pages in the "Customizing SMF" section of the forum and I think I did it properly, but cannot be 100% sure.

The only thing I saw when I was uploading here this new version was a question asking me if I wanted to "Notify Subscribed users of updates? " and of course I ticked it yes.

I really hope everybody with version 2.3 can see it though and they update as soon as possible, as this bug was really horrible.

Just 2 things:

Title: Re: Stop Spammer
Post by: giveaway365.com on February 10, 2010, 04:15:51 AM
I got an message saying to update...


Mod Update Notification for Stop Spammer‏
From:    Simple Machines Community Forum ([email protected])
Sent:    09 February 2010 16:54PM
To:    [email protected]
Hello giveaway365.com,

The customization, Stop Spammer, has been updated on the customize site. The latest version is now, 2.3.7.
You can check this out by following the below link:
http://custom.simplemachines.org/mods/index.php?mod=1547

Note, you are receiving this notification from a subscription to the customization for updates. You can remove this notification by visiting the mod link above and unsubscribing to notifications for this customization.

The description of this customization is as follows:
MOD Stop Spammer v2.3.7
==================


     

     
     
     
     


    * Authors:
M-DVD
       
      and snoopy_virtual
       
     

    * Version:
2.3.7

    * Release:
7th February 2010

    * Languages:



     

    * Compatible With:
SMF 1.1.1 - 1.1.11
      SMF 2 RC2

     
     
     
     

       
     
Comment this Mod
       
     

       
     
My MODs
       
     

       
     
Images
       
     

       
     
Help support my MODs
       
     
     

     

    * ChangeLog (#post_changelog)
(#post_changelog)

          o Read FAQ
             

      Features:

          o With this MOD you can Block the Registry of Spammers in your Forum.

          o When registering a user, it will compare their data (nickname, IP and mail) with the "Stop Forum Spam" DB.
            If it match any data, then the user is leaved inactive 'Waiting for Approval'.
            Admin > Members > Awaiting Approval

          o You can leave the 'Inmediate Registration' enabled for all users (so you don't disturb them),
            but if a Spammer is detected it will apply 'Register Approval' automatically.

          o Also you can check all data of many members (already registred) automatically with a simple click, selecting them in the list...
            Admin > Members > View All Members

          o And report new Spammers and increase the DB, with a simple click.

          o It keeps a record of the number of all Spammers Blocked to date, you can enable and disable this MOD and more
             

      Thanks to 'Stop Forum Spam' for your DB and APIs.

      Thanks to WhatsTheRent
       
      and KahneFan
       
      for idea.

      Thanks to snoopy_virtual
       
      for his big help, ideas, test, report and fixed errors.
       
      Etc Etc
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 10, 2010, 04:25:41 AM
Yes.

That's wonderful.

It means everybody interested in the mod knows now about the update.

Great.

Thanks for telling us.
Title: Re: Stop Spammer
Post by: madfitz on February 10, 2010, 11:15:02 AM
I visited by board earlier and saw the message on the board header '1 APPROVE' so I followed the link and found a spammer caught by the mod - thank you!

Problem: After rejecting the spammer account the board header still says '1 APPROVE' and I can't remove this message. Any ideas how to reset this?
Title: Re: Stop Spammer
Post by: busterone on February 10, 2010, 11:45:01 AM
in forum maintenance - recount all forum totals and statistics should clear it.
Title: Re: Stop Spammer
Post by: madfitz on February 10, 2010, 12:15:37 PM
Quote from: busterone on February 10, 2010, 11:45:01 AM
in forum maintenance - recount all forum totals and statistics should clear it.

Thanks for the suggestion. Just tried it but the message is still there :(
Title: Re: Stop Spammer
Post by: Snogmarr on February 10, 2010, 12:17:07 PM
Delete the message?
Title: Re: Stop Spammer
Post by: madfitz on February 10, 2010, 12:25:43 PM
Quote from: xnathansxdadx on February 10, 2010, 12:17:07 PM
Delete the message?

It's not something you can delete. It's a link that appears in the header (up there with 'show new replies' etc) when a spammer is placed in the approval queue. The link takes you to the admin page to deal with the approvals. There are no queued members (I dealt with them) but the link is still in the header.
Title: Re: Stop Spammer
Post by: FragaCampos on February 10, 2010, 01:50:19 PM
I already had this problem.
I solved it registering another account with the same data and then deleted it from the awaiting approval page.
Title: Re: Stop Spammer
Post by: madfitz on February 10, 2010, 02:00:02 PM
Quote from: FragaCampos on February 10, 2010, 01:50:19 PM
I already had this problem.
I solved it registering another account with the same data and then deleted it from the awaiting approval page.

Thanks, that works.

Strange thing is I deleted the spammer from that page in the first place.
Title: Re: Stop Spammer
Post by: FragaCampos on February 10, 2010, 02:39:34 PM
Glad i could help.


I just installed the latest version of this awesome mod.
It's working flawlessly on a heavily modded forum.

Thanks for all your hard work and for keeping this alive!
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 10, 2010, 06:04:58 PM
Quote from: FragaCampos on February 10, 2010, 02:39:34 PM
Glad i could help.


I just installed the latest version of this awesome mod.
It's working flawlessly on a heavily modded forum.

Thanks for all your hard work and for keeping this alive!

By the way.

I want to contact all the people who helped with the translations. and you did the Portuguese and Brazilian.

Any chance of translating the new lines?

Thanks 
Title: Re: Stop Spammer
Post by: FragaCampos on February 10, 2010, 06:14:08 PM
My pleasure. Here goes the entire Portuguese translation:

// MOD Stop Spammer
$txt['stopspammer_error'] = 'Erro com a BD Anti SPAM. Liga&ccedil;&atilde;o falhada.<br />
Por favor, tente novamente mais tarde ou contacte o webmaster';
$txt['stopspammer_count'] = 'Spammers bloqueados at&eacute; hoje';
$txt['stopspammer_title'] = 'Pesquisar por mais informa&ccedil;&atilde;o em `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Activar/Desactivar o MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Mostrar o link "Mais Info" para todos os membros';
$txt['stopspammer_show01_sub'] = 'Pode verificar qualquer membro a qualquer altura com um simples clique';

$txt['stopspammer_faildb'] = 'Se a liga&ccedil;&atilde;o &agrave; BD Anti Spam falhar...';
$txt['stopspammer_fail01'] = 'Mostrar erro e impedir o registo';
$txt['stopspammer_fail02'] = 'Permitir registo imediato';
$txt['stopspammer_fail03'] = 'Aprovar membro e mostrar o &iacute;cone amarelo para analisar mais tarde';
$txt['stopspammer_faildb1_sub'] = 'O seu servidor pode fazer liga&ccedil;&otilde;es remotas &agrave; BD';
$txt['stopspammer_faildb2_sub'] = 'O seu servidor n&atilde;o conseguiu efectuar a liga&ccedil;&atilde;o &agrave; BD. Tente novamente mais tarde.<br />
Se o erro persistir, visite o T&oacute;pico de Ajuda e pesquise ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Problemas Conhecidos</b></span></a>';

$txt['stopspammer_leyd01'] = 'N&atilde;o &eacute; spammer: Estes dados n&atilde;o estavam na BD, mas pode verificar.';
$txt['stopspammer_leyd02'] = 'Suspeito: Este membro n&atilde;o p&ocirc;de ser verificado. Verifique agora.';
$txt['stopspammer_leyd03'] = 'Spammer: Veja mais informa&ccedil;&atilde;o da actividade deste spammer.';

$txt['stopspammer_profilecheck'] = 'Verificar este membro';
$txt['stopspammer_limitexceded'] = 'Excedeu o limite de verifica&ccedil;&otilde;es (5000 pesquisas por dia com chave API).<br />Tem de esperar at&eacute; amanh&atilde; para verificar novamente.';

$txt['in_stop_forum_spam'] = 'Em Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Verificar estes membros';
$txt['spammers_report'] = 'Denunciar estes membros';
$txt['confirm_spammers_checks'] = 'Tem a certeza que quer verificar os membros seleccionados?';
$txt['confirm_spammers_report'] = 'Tem a certeza que quer denunciar os membros seleccionados?\n\nN&atilde;o se esque&ccedil;a que quando denunciar um membro ao SFS ele fica marcado como spammer por todo o mundo\ne n&atilde;o ser&aacute; capaz de usar nenhum dos f&oacute;runs ligados ao SFS.\n\nFa&ccedil;a-o apenas se tiver a certeza de que ele &eacute; um spammer! Se por acaso tiver cometido um erro\nentre em contacto assim que poss&iacute;vel com o autor do mod para corrigir o erro na BD do SFS.';

$txt['stopspammer_api_key'] = 'A sua chave API';
$txt['stopspammer_api_key_sub'] = 'Se quiser usar a sua pr&oacute;pria chave API tem de ir primeiro a <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> para pedir uma e coloc&aacute;-la aqui. Se n&atilde;o tiver uma chave API, deixe em branco e o mod usar&aacute; a chave API padr&atilde;o.';

$txt['stopspammer_check_sub1'] = '<br />Se o MOD Stop Spammer estiver activado, sempre que analisar um membro:';
$txt['stopspammer_check_name'] = 'Analisar o seu username';
$txt['stopspammer_check_mail'] = 'Analisar o seu e-mail';
$txt['stopspammer_check_ip'] = 'Analisar o seu IP';
$txt['stopspammer_check_sub2'] = 'Por defeito, sempre que analisar um membro com o MOD Stop Spammer, este ir&aacute; analisar o username, email e IP. Se receber demasiados falsos positivos devido aos usernames, pode desactivar essa op&ccedil;&atilde;o. N&atilde;o se recomenda a desactiva&ccedil;&atilde;o das outras duas op&ccedil;&otilde;es (verificar o email e IP) a n&atilde;o ser que saiba o que est&aacute; a fazer.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 10, 2010, 06:46:36 PM
Quote from: FragaCampos on February 10, 2010, 06:14:08 PM
My pleasure. Here goes the entire Portuguese translation:


Muito obrigado  ;)

I will put it in the full package later today.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 11, 2010, 01:09:25 AM
Updated language_full.zip with the new lines translated to Portuguese by FragaCampos.

The languages in this package are now:





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin


  • Portuguese_Portugal by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_Brazilian by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)
Missing 7 lines:

  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
  • Polish by cat11 (http://www.simplemachines.org/community/index.php?action=profile;u=177573)
Missing 9 lines:

  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024)
  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Indonesian by Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete
Title: Re: Stop Spammer
Post by: Cutter65 on February 11, 2010, 08:06:00 AM
First off great job Snoop keeping this very needed mod up and improved!  ;D

My question is would it be possible to get the latest version of this mod made compatible to SMF 2.0 RC1.2? I'm one of the few that have never updated to RC2.  :( I just have modified my site so much that I don't want to deal with trying to get all the mods back working after the upgrade.

Right now I'm running  Stop Spammer 2.3 and all is working fine. I just would like to be able to select whether or not it searches for the user names. Maybe you could show me what to manually edit in the 2.3 files to add that option.

Thanks!
Cutter
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 11, 2010, 08:55:26 AM
Quote from: Cutter65 on February 11, 2010, 08:06:00 AM
First off great job Snoop keeping this very needed mod up and improved!  ;D

My question is would it be possible to get the latest version of this mod made compatible to SMF 2.0 RC1.2? I'm one of the few that have never updated to RC2.  :( I just have modified my site so much that I don't want to deal with trying to get all the mods back working after the upgrade.

Right now I'm running  Stop Spammer 2.3 and all is working fine. I just would like to be able to select whether or not it searches for the user names. Maybe you could show me what to manually edit in the 2.3 files to add that option.

Thanks!
Cutter

Uf

It's not just a couple of things to change, it's a lot of them.

Anyway, What are you doing using an RC program for a site?

RC versions, beta versions and all that are only for test purposes and nobody uses them for anything important until the program reaches the stable version.

Also that's the reason why usually between one RC version and the next are normally a lot of differences. People test things in them to see how they go and they only release the stable version when they have tested everything. And then normally the stable version have the best of every beta version.

Once it's stable the changes usually are only minor ones and any mod working for a stable version normally will continue working without a problem even if the main program have a few updates.

But with beta versions you need to change a lot of things in every mod every time they change from a beta version to the next.

Conclusion: What I would do if I were you will be to change everything to SMF 1.1.11 and wait until SMF 2.0 reaches the stable version.

Anyway I suppose you are going to answer me that, now that the damage is already done, you will prefer to keep RC 1.2 and wait there for 2.0 stable.

Of course that's up to you, but as I say I wouldn't do it.

Let's see what we can do now.

One thing is sure. I am not going to do a version for an obsolete version as RC 1.2

For a start I will need to create a new forum with RC 1.2 to test if the new mod was working in it or not, because all my forums are 1.1.11 except one (that I use for tests) which is RC2, and I am not going to take that one back to RC1.2.

Too much work for a program that almost nobody uses. (You must be the only one).

The only thing I can do is to try at least to find an easy way to sort the "yellow bug" for you.

The version 2.3 had a lot of mistakes that we have been sorting here in the last 3 months, but as far as I can remember most of them were small ones. Mostly annoying things, but not dangerous ones.

If I am not wrong the only dangerous mistake is the yellow bug, but this one is really catastrophic. If you check even just one member with that version 2.3 and in that moment there is no connection with the stopforumspam web, the forum will block itself and nobody (no even the admin) will be able to log in again.

So we need to sort at least that bug for sure.

I will take a look at the code of SMF 2.0 RC 1.2 to see if I can find an easy way to sort your problem and I will post it here when I find it.

In the mean time maybe it will be better if you uninstall the mod just in case until I find a solution for that.

And don't you ever use a beta version again!!  :-*
Title: Re: Stop Spammer
Post by: Cutter65 on February 11, 2010, 09:26:46 AM
Thank you Snoop for all the info! I did as you recommended and uninstalled the mod.

Cutter
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 11, 2010, 09:34:35 AM
@Cutter65

You have been lucky. The solution was easy.

Take the file StopSpammer_v2_3_for_RC1.2.zip attached and unzip it.

Inside you will find 3 folders:


Inside each folder you will see just one file.

The 3 files have exactly the same name StopSpammer.php but the code inside them is different. Be sure you don't mix them.

If I had tried to do a button for you so you can turn the option to check for usernames on and off it would have been too complicated, but I hope this way is easy enough for you.

If you don't want to get the yellow bug and you don't want the mod to check usernames, just take the file inside the folder without_yellow_bug_no_check_usernames and put it in your forum inside the Sources folder, overwriting the file StopSpammer.php you must have already there.

If some time later you want the mod to check again usernames, upload the other one.

The original file is there just in case I have made a mistake and something goes wrong in your forum, because (as I said before) I couldn't test these files.

If something goes wrong upload the original file and tell me what is the error.

And if nothing goes wrong and everything works as expected tell me as well. I would like to know.

Good luck.  ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 11, 2010, 09:37:29 AM
God.

A lot of people say I am like Einstein. Not because I am a genius (that I am) but because I forget everything.

I explained everything you needed to know and forgot to attach the f*** file.  ;D

OK

Here it is.
Title: Re: Stop Spammer
Post by: Cutter65 on February 11, 2010, 10:06:46 AM
I reinstalled the mod and replaced the StopSpammer.php with the
without_yellow_bug_no_check_usernames one.

I registered a new account with a name that was in the database and all worked ok!  ;D

Thank you very much for your help!  ;D

Cutter
Title: Re: Stop Spammer
Post by: busterone on February 11, 2010, 10:07:45 AM
I was away and didn't see the request on RC1.2. Glad you sorted the rc1.2 question. I have a site on SMF rc1.2 , and have been using version 2.3 with no issues and no yellow bug symptoms.
I even tested 2.3.7 on a test site of rc1.2. It also works with a lot of manual editing, but many people are intimidated with all that editing. I haven't upgraded to RC2 because a couple of necessary mods that are not ready. I feel confident that 2.3 will suffice until I do upgrade the forum.  :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 11, 2010, 10:17:48 AM
Quote from: busterone on February 11, 2010, 10:07:45 AM
I was away and didn't see the request on RC1.2. Glad you sorted the rc1.2 question. I have a site on SMF rc1.2 , and have been using version 2.3 with no issues and no yellow bug symptoms.
I even tested 2.3.7 on a test site of rc1.2. It also works with a lot of manual editing, but many people are intimidated with all that editing. I haven't upgraded to RC2 because a couple of necessary mods that are not ready. I feel confident that 2.3 will suffice until I do upgrade the forum.  :)

As I said before the really dangerous thing was the yellow bug.

The rest is more or less cosmetic things.

Al least with these files you can use now 2.3 in RC1.2 without fear.

And it's also a easier way to turn on and off the check usernames until you upgrade.

I'm glad it's going to be useful for somebody else.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 12, 2010, 03:28:06 AM
Added a Road map to the main page.

From now on, before you ask for a new feature or report a bug, you can check if it's already in the cue waiting to be done:




Quote
Things to do in the near future: (12th February 2010)


!Try to sort the "false positive" problem with SiL solution. (see reply #324 here) (http://www.simplemachines.org/community/index.php?topic=283309.msg2327827#msg2327827) It looks promising.

+Add the buttons to "Check" and "Report" members also to the pages "Waiting for approval" and "Waiting for activation".

!Sort the bug with the "Undefined index: types" reported many times.

!Sort the bug about the members count reported also many times. The main page is still telling you there are members waiting for approval even after you have approved or deleted all of them.

*Modify the FAQ written by M-DVD 2 years ago. Delete obsolete ones and add new ones.

*Find a way to complete the incomplete translations.


QuoteLegend

*Feature to be Changed
+Feature to be Added
-Feature to be Eliminated
!Bug to be Fixed

This also will make things a lot easier for me, because I can see all of them together in one place and decide which one is more urgent. By the way, I have order them already in the list, so the first ones in there are the ones I'm going to do first.

Please check if I have forgotten anything in that list.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 12, 2010, 07:51:51 AM
I have finished the version 2.0 of my other anti-spammer MOD httpBL.

I have talked to you a few times about it and I know some of you are using version 1.0 so, if you are, it would be better if you upgrade to this new version.

I have sent it to the Customization Team and it's in the cue waiting for approval, but, as I know they are always too busy, maybe it will be weeks or even months before you see it here in SMF, so I have published it as well in my site just in case you are interested:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=306.0

The main difference between this new 2.0 version with the old 1.0 is that this one is a lot easier to install.

Actually that was the reason why the Customization Team rejected my first version, because they said you should be a computer guru to install that version (almost impossible for a normal user) and told me they were not going to put it back in the cue for approval until it was easier to install.

Well, all that's done and of course, now that it's fully integrated inside the SMF program, it has a brand new user interface to control the configuration of the mod, another interface to see the log with all the spammers stopped by the mod, etc, etc.

Here is the full change log of the mod so far:




Quote
Version 1.0 (http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpbl) - 17th August 2009

  oInitial release
  oCan be installed in any PHP page, not only SMF
  oCan block any spammer from viewing your site
  oIt checks IP in Project Honey Pot DB
  oIf match, the visitor is redirected to the "warning.php" page
  oKeeps a log of "IPs stopped" in a text file in your server
  oCompatible with any PHP program, so it's compatible with all SMF versions
Version 2.0 (http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=306.0) - 11th February 2010

  -Eliminated compatibility with other programs, making it now exclusive for SMF
  +Added a powerful install script which now does everything for you with just one click
  +Added an easy-to-use configuration interface to control the mod
  -Eliminated the text file log, too difficult to find and read
  +Added a log table in the database
  +Added a view-log interface to see the information stored in it
  ?Unistall old version and install new one
  ?Need to edit manually 2 small things in index.template.php if you are not using the default one

QuoteLegend

oFeature
*Change
+Added
-Eliminated
!Bug Fixed
?How to Update

I really recommend everybody to have both mods together to stop spammers.

I have them in all my forums and I am really happy with how they work together.
Title: Re: Stop Spammer
Post by: Bugo on February 12, 2010, 08:59:42 AM
Russian translation:

// MOD Stop Spammer
$txt['stopspammer_error'] = 'Ошибка связи с базой данных анти-спама.<br />
Пожалуйста, попробуйте вновь чуть позже, или свяжитесь с веб-мастером';
$txt['stopspammer_count'] = 'Заблокированные спамеры на текущий день';
$txt['stopspammer_title'] = 'Ищите дополнительную информацию на форуме разработчиков';

$txt['stopspammer_enable'] = 'Включить/Выключить мод Stop Spammer';
$txt['stopspammer_show01'] = 'Показывать ссылку "Подробней..." всем пользователям';
$txt['stopspammer_show01_sub'] = 'Можно проверить любого пользователя в любое время одним кликом';

$txt['stopspammer_faildb'] = 'В случае ошибки связи с базой данных анти-спама...';
$txt['stopspammer_fail01'] = 'Показать ошибку и остановить регистрацию';
$txt['stopspammer_fail02'] = 'Разрешить немедленную регистрацию';
$txt['stopspammer_fail03'] = 'Одобрить пользователя и показывать жёлтую иконку для проверки позднее';
$txt['stopspammer_faildb1_sub'] = 'Ваш хост может произвести удалённое подключение к БД';
$txt['stopspammer_faildb2_sub'] = 'Ваш хост не может произвести удалённое подключение к БД. Попробуйте позже.<br />
Если эта ошибка повторяется, найдите тему ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b> ("Известные проблемы")</span></a> на форуме поддержки';

$txt['stopspammer_leyd01'] = 'Не спаммер: этих данных нет в базе данных. Но можно проверить';
$txt['stopspammer_leyd02'] = 'Подозреваемый: этот пользователь не проверен. Проверить сейчас';
$txt['stopspammer_leyd03'] = 'Спаммер: посмотрите дополнительные сведения об активности этого спаммера';

$txt['stopspammer_profilecheck'] = 'Проверка пользователя';
$txt['stopspammer_limitexceded'] = 'Проверочный лимит исчерпан (5000 API запросов в день).<br />Вы должны подождать до завтра, чтобы проверить снова.';

$txt['in_stop_forum_spam'] = 'В Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Проверить этих пользователей';
$txt['spammers_report'] = 'Сообщить об этих пользователях';
$txt['confirm_spammers_checks'] = 'Вы действительно хотите проверить выбранных пользователей?';
$txt['confirm_spammers_report'] = 'Вы действительно хотите сообщить о выбранных пользователях?\n\nЕсли Вы сделаете это, они станут известны всему миру в качестве спаммеров и не смогут использовать другие форумы, защищённые SFS (во всём мире).\n\nПоэтому Вы должны быть твёрдо уверены, что они спаммеры. И если по какой-то причине Вы ошибетесь, Вам придётся\nкак можно быстрее сообщить создателю мода о необходимости внести коррективы в базу данных SFS.';

$txt['stopspammer_api_key'] = 'Ваш API ключ';
$txt['stopspammer_api_key_sub'] = 'Если хотите получить собственный API ключ, зайдите на сайт <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> для регистрации, а потом укажите ключ здесь. Если Вы пока не получили ключ, оставьте поле пустым. Тогда будет использоваться ключ по умолчанию.';

$txt['stopspammer_check_sub1'] = '<br />Проверка пользователей (при активации мода Stop Spammer):';
$txt['stopspammer_check_name'] = 'По их никам';
$txt['stopspammer_check_mail'] = 'По их адресам электронной почты';
$txt['stopspammer_check_ip'] = 'По их IP';
$txt['stopspammer_check_sub2'] = 'По умолчанию мод Stop Spammer каждый раз проверяет имена, email и IP пользователей. Если Вы получаете слишком много ложных срабатываний, можно отключить эту функцию. Не рекомендуем отключать другие 2 функции (для проверки email и IP), пока Вы не знаете, что делать.';
Title: Re: Stop Spammer
Post by: butchs on February 12, 2010, 10:09:25 AM
A nice future feature will be to add a check for a new user to confirm their email address via "Register Approval" and move them into the "Awaiting Approval" folder.  This will be good if you have a suspected spammer that is not on the list.  No big deal...
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 12, 2010, 03:49:57 PM
Quote from: Bugo on February 12, 2010, 08:59:42 AM
Russian translation:
...

Спасибо - Thanks

I will add it in a minute to the full language package.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 12, 2010, 03:54:57 PM
Quote from: butchs on February 12, 2010, 10:09:25 AM
A nice future feature will be to add a check for a new user to confirm their email address via "Register Approval" and move them into the "Awaiting Approval" folder.  This will be good if you have a suspected spammer that is not on the list.  No big deal...

Don't really understand what you mean with "confirm their email address via Register Approval".

Could you explain it a little more?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 12, 2010, 04:46:05 PM
Full language package updated with the new Russian translation thanks to Bugo:





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin


  • Portuguese_Portugal by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_Brazilian by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774) & Bugo (http://www.simplemachines.org/community/index.php?action=profile;u=229017)
Missing 7 lines:

  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
  • Polish by cat11 (http://www.simplemachines.org/community/index.php?action=profile;u=177573)
Missing 9 lines:

  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024)
  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Indonesian by Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete
Title: Re: Stop Spammer
Post by: M-DVD on February 12, 2010, 08:33:49 PM
Hi snoopy_virtual, congrats :D
Title: Re: Stop Spammer
Post by: ~DS~ on February 12, 2010, 09:33:52 PM
Quote from: M-DVD on February 12, 2010, 08:33:49 PM
Hi snoopy_virtual, congrats :D
O_O you are back...
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 12, 2010, 09:46:21 PM
Quote from: Dismal Shadow on February 12, 2010, 09:33:52 PM
Quote from: M-DVD on February 12, 2010, 08:33:49 PM
Hi snoopy_virtual, congrats :D
O_O you are back...

HAHAHA

Yes he's back

I just got 5 PM from him in the last 10 minutes, answering lot's of things.

But he's going to be here just a few days I think.

Let's see if I can make him stay some more.  ;)
Title: Re: Stop Spammer
Post by: butchs on February 13, 2010, 08:23:28 AM
Quote from: snoopy_virtual on February 12, 2010, 03:54:57 PM
Quote from: butchs on February 12, 2010, 10:09:25 AM
A nice future feature will be to add a check for a new user to confirm their email address via "Register Approval" and move them into the "Awaiting Approval" folder.  This will be good if you have a suspected spammer that is not on the list.  No big deal...

Don't really understand what you mean with "confirm their email address via Register Approval".

Could you explain it a little more?

I had a user log in this week.  The very first thing he did was to post an advertisement link.  I checked him with stop spam and he was ok.  I researched his email and IP address and found out that it belonged to a California location.  The Ad he posted said he was local in NYC.

He may be a possible spammer so it would be nice to have a check mark in the members list to force him to confirm his email address just like you do with members that are marked as spammers.  In other words add the option to allow possible spammers be verified manually.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 13, 2010, 08:25:03 PM
@butchs

OK, I think I understand you now.

I suppose you have your forum with the option "Immediate Registration", so you don't know if the email address of your members is valid or not, and you want some way to be able to ask only suspicious users to confirm it, after they are already registered.

I think this shouldn't be done inside this mod though, as it will make it too complicated.

This should be a mod on it's own (compatible with this one of course) as it will be useful not only for people with this mod, but also for people with other security mods.

You can check the list of mods available just now to see if there is already a mod doing that, and if there isn't, tell me and I can put it on my list of "mods to do in a near future", as I think it's interesting.

Or you can ask for it in the forum "Mod Requests (http://www.simplemachines.org/community/index.php?board=79.0)" to see if anybody else is interested.

----========<{}>=========----

Anyway I'm going to tell you how I deal with this kind of situations, as I already had a lot of them.

All my forums are in Member Activation mode, so I'm always sure all the member's emails are theirs and they are valid.

I have also added a line to the "Agreement text" telling them spam is not allowed and anybody doing any kind of advertising will be kick out and his IP, email and username added to the "known spammers" database.

Well. Actually I only do that in serious forums. In less serious forums I actually encourage them to do as much spam as possible, as I need to test if my anti-spam programs are working properly and I need to built up that database with IPs, emails and usernames of spammers.  ;D  (Always joking... sorry, it's the way I am)

One way or the other they need to agree to that when they register (it's not my fault if they don't read what they are agreeing to) so everytime I see somebody advertising anything I just report them with the mod and kick them out.

Anyway, your idea is interesting, because I have problems with some forums where all the members are too young.

Usually, young and inexperienced members only use hotmail addresses (the worst kind of email I have ever seen) and you know hotmail normally reject the activation emails or send them to the spam folder, and a lot of people never check that folder.

In forums with more experienced people I haven't got that problem as they use better email systems, but this mod you are suggesting could be useful for the kind of forums I was saying above.

----========<{}>=========----

Anyway, my list of "mods to do in a near future" is not too long:
If you see I finish all these things and I don't start your request, remember me, as I tend to forget things. (No, I haven't got Alzheimer. It doesn't matter I am already 53, I had the same problem when I started University back in 1973)  :D

Cheers
Title: Re: Stop Spammer
Post by: Eclipse16V on February 14, 2010, 07:17:03 AM
Here the german update

// Stop Spammer MOD
$txt['stopspammer_error'] = 'Fehler mit der DB Anti SPAM. Verbindungsfehler.<br />Bitte versuche es später oder kontaktiere den Webmaster';
$txt['stopspammer_count'] = 'Spam User wurden geblockt';
$txt['stopspammer_title'] = 'Suche mehr Infos bei Stop Forum Spam';
$txt['stopspammer_enable'] = 'Ein-/Ausschalten des Stop Spammer MODs';
$txt['stopspammer_show01'] = 'Zeige den "Mehr Infos" Link bei allen Usern';
$txt['stopspammer_show01_sub'] = 'Du kannst jeden User zu jeder Zeit ganz einfach mit einem Klick überprüfen.';
$txt['stopspammer_faildb'] = 'Wenn die Verbindung mit der DB von Anti SPAM fehlschlägt...';
$txt['stopspammer_fail01'] = 'Zeige Fehler und Anmeldung abbrechen';
$txt['stopspammer_fail02'] = 'Erlaube immer die Registration';
$txt['stopspammer_fail03'] = 'User erlauben aber Icon zum prüfen anzeigen';
$txt['stopspammer_faildb1_sub'] = 'Dein Host kann eine neue Verbindung zur DB herstellen';
$txt['stopspammer_faildb2_sub'] = 'Dein Host kann keine neue Verbindung zur DB herstellen. Bitte versuche es später noch einmal.<br />Sollte die immer noch nicht gehen, siehe im Support Thema nach und suche ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Fehler gefunden</b></span></a>';
$txt['stopspammer_leyd01'] = 'Kein Spam User: Diese Daten sind nicht in der Spam DB.';
$txt['stopspammer_leyd02'] = 'Unbekannt: Diese Daten konnten nicht geprüft werden.';
$txt['stopspammer_leyd03'] = 'Spam User: Diese Daten sind in der Spam DB verhanden!!!';
$txt['stopspammer_profilecheck'] = 'User überprüfen';
$txt['stopspammer_limitexceded'] = 'Du hast das Prüflimit für diesen Tag schon erreicht (5000 API Anfagen pro Tag).<br />Du musst warten und es morgen nocheinmal probieren.';
$txt['in_stop_forum_spam'] = 'In Stop Forum Spam Web:';
$txt['spammers_checks'] = 'User überprüfen';
$txt['spammers_report'] = 'User melden';
$txt['confirm_spammers_checks'] = 'Bist Du sicher, dass Du die gewählten User prüfen möchtest?';
$txt['confirm_spammers_report'] = 'Bist Du sicher, dass Du die gewählten User melden willst?\n\nDenk daran das gemeldete User später bei SFS als Spammer auf der ganzen Welt makiert sind und sich somit in kein Forum mit SFS anmelden können.\n\nBitte nutze diese Funktion nur wenn Du dir ganz sicher bist.';
$txt['stopspammer_api_key'] = 'Dein API Schlüssel';
$txt['stopspammer_api_key_sub'] = 'Wenn Du deinen eigenen API Key verwenden möchtest, musst Du erst auf die Homepage von <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> und dich dort anmelden. Wenn Du keinen eigenen API Key hast, lasse dieses Feld bitte leer um einen API Key automatisch zu bekommen.';
$txt['stopspammer_check_sub1'] = 'Wenn aktiviert, werden immer die User geprüft.';
$txt['stopspammer_check_name'] = 'Überprüfe Usernamen';
$txt['stopspammer_check_mail'] = 'Überprüfe E-Mail Adressen';
$txt['stopspammer_check_ip'] = 'Überprüfe IP Adressen';
$txt['stopspammer_check_sub2'] = 'Normalerweise sollten alle 3 Optionen wie Username, E-Mail und IP aktiviert sein. Wenn Du aber zu viele Meldungen bekommst kannst Du auch die ein oder andere Überprüfung deaktivieren. Dies wird aber nicht empfohlen.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 14, 2010, 09:36:52 AM
Full language package updated with the new German translation.

Danke Eclipse16V





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin

  • Portuguese_Portugal by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_Brazilian by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774) & Bugo (http://www.simplemachines.org/community/index.php?action=profile;u=229017)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
Missing 7 lines:

  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)
  • Polish by cat11 (http://www.simplemachines.org/community/index.php?action=profile;u=177573)
Missing 9 lines:

  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024)
  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Indonesian by Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete
Title: Re: Stop Spammer
Post by: butchs on February 14, 2010, 09:22:03 PM
Quote from: snoopy_virtual on February 13, 2010, 08:25:03 PM
Or you can ask for it in the forum "Mod Requests" to see if anybody else is interested.

Don't sweat it dude.  It was just a suggestion.  I can work around it.
:)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 15, 2010, 12:25:11 AM
Full language package updated with the new Dutch translation.

Hartelijk dank Laurens73





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin


  • Portuguese_Portugal by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_Brazilian by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774) & Bugo (http://www.simplemachines.org/community/index.php?action=profile;u=229017)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)

Missing 7 lines:

  • Polish by cat11 (http://www.simplemachines.org/community/index.php?action=profile;u=177573)

Missing 9 lines:

  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024)
  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Indonesian by Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete
Title: Re: Stop Spammer
Post by: Chas Large on February 16, 2010, 07:59:06 AM
Thanks for the updated version. Here's a comment that may be of use to other users. If you have the Join Reason mod installed first, then this mod will fail to install on only one item, the Subs-Members.php second edit.

To overcome this, install the mod anyway then manually edit Subs-Members.php and add the "mem.is_spammer," to the end of the line

mem.id_member, mem.member_name, mem.real_name, mem.location, mem.email_address, mem.icq, mem.aim, mem.yim, mem.msn, mem.member_ip, mem.member_ip2, mem.last_login, mem.join_reason,

This mod then works OK.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 16, 2010, 08:16:52 AM
Quote from: Chas Large on February 16, 2010, 07:59:06 AM
Thanks for the updated version. Here's a comment that may be of use to other users. If you have the Join Reason mod installed first, then this mod will fail to install on only one item, the Subs-Members.php second edit.

To overcome this, install the mod anyway then manually edit Subs-Members.php and add the "mem.is_spammer," to the end of the line

mem.id_member, mem.member_name, mem.real_name, mem.location, mem.email_address, mem.icq, mem.aim, mem.yim, mem.msn, mem.member_ip, mem.member_ip2, mem.last_login, mem.join_reason,

This mod then works OK.

Thanks for the advice.

I tried to do it compatible with as many other mods I could, but there are so many that's almost impossible.  ;D

By the way. Have you tried yet my other anti-spam mod?

I finished yesterday version 2.1 with a few more features and compatible also with 1.1.11 and RC2

It's still in the queue waiting to be approved by the Customization Team though, so I have put it in the mean time on my site as always:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=306.0

Cheers
Title: Re: Stop Spammer
Post by: butchs on February 16, 2010, 09:12:49 AM
Looks interesting!!!   :)  Can you use it without installing a honeypot on your forum?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 16, 2010, 09:23:09 AM
Quote from: butchs on February 16, 2010, 09:12:49 AM
Looks interesting!!!   :)  Can you use it without installing a honeypot on your forum?

No

I am just now writing a tutorial explaining everything about this mod:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2

Have a look.
Title: Re: Stop Spammer
Post by: butchs on February 16, 2010, 09:46:14 AM
I translated it in babblefish and WOW!  It does not look easy to do but the system looks strong.  I am going to give it a try!  Nice work...   O:)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 16, 2010, 09:52:17 AM
Quote from: butchs on February 16, 2010, 09:46:14 AM
I translated it in babblefish and WOW!  It does not look easy to do but the system looks strong.  I am going to give it a try!  Nice work...   O:)

You read the spanish version?

I'm doing it in english as well

Find the button saying "Choose your language"
Title: Re: Stop Spammer
Post by: butchs on February 16, 2010, 11:29:14 AM
I translated the spanish version.  Besides I know a little from my days in Miami.

I found one simple error in the files.  You need to add "?>" to the end of all php files that start with "<?php ".  I made the changes in my installation.

Installation complete.  Some questions:
1.  I installed the "httpbl" folder and its contents in the same folder as the smf folder (root directory).  Is this the correct location?
2.  Some of the information in the  "httpbl_configuration.php" file seemed redundant vs the data in the mod.  I assume this is no issue?
3.  Not sure if it is working or not.  Will like to know how to test it?
:)


Title: Re: Stop Spammer
Post by: snoopy_virtual on February 16, 2010, 11:49:10 AM
Quote from: butchs on February 16, 2010, 11:29:14 AM
...
I found one simple error in the files.  You need to add "?>" to the end of all php files that start with "<?php ".  I made the changes in my installation.
...

No

If you read the official PHP manual from php.net they actually say that you should leave all your PHP files without the ending ?>

Actually the files with the mistake are the rest of them.

Quote from: butchs on February 16, 2010, 11:29:14 AM
...
Installation complete.  Some questions:
1.  I installed the "httpbl" folder and its contents in the same folder as the smf folder (root directory).  Is this the correct location?
2.  Some of the information in the  "httpbl_configuration.php" file seemed redundant vs the data in the mod.  I assume this is no issue?
3.  Not sure if it is working or not.  Will like to know how to test it?
:)

What "httpbl" folder or "httpbl_configuration.php" file are you talking about?

That was on the version 1.0 I did a year ago.

You need to install the new version 2.1 that I finished yesterday.

It is here:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=306.0

And the tutorial for that version is not finished yet, but I have started it here:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2

I suppose it will be finished tonight or tomorrow.

And be sure you read the english version.

Almost all my pages are in both languages.
Title: Re: Stop Spammer
Post by: butchs on February 16, 2010, 12:45:20 PM
"And be sure you read the english version."  Where is the fun in that?   :P
Title: Re: Stop Spammer
Post by: butchs on February 16, 2010, 06:24:17 PM
Running for five(5) hours now and two spammers were rejected.  The mod works great!!!   ;D
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 17, 2010, 02:19:30 AM
Quote from: butchs on February 16, 2010, 06:24:17 PM
Running for five(5) hours now and two spammers were rejected.  The mod works great!!!   ;D

Glad to hear it.

In one of my forums is rejecting one every couple of ours (see screenshot)

Anyway the Customization Team had just pointed out 2 small problems in my code and I am going to correct them and release a new version 2.2 ASAP

I will keep you informed.
Title: Re: Stop Spammer
Post by: madfitz on February 17, 2010, 04:26:47 AM
Hi snoopy. I installed the honey pot mod but the log isn't working as expected.

The date and time are showing but all the other columns (IP, Th. L., L. B. A., S., H., C. and Page) are blank.

Any idea what I did wrong?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 17, 2010, 05:59:50 AM
Quote from: madfitz on February 17, 2010, 04:26:47 AM
Hi snoopy. I installed the honey pot mod but the log isn't working as expected.

The date and time are showing but all the other columns (IP, Th. L., L. B. A., S., H., C. and Page) are blank.

Any idea what I did wrong?

We are talking too much about mod httpBL here, and this post should be kept only for mod Stop Spammer.

Once the Customization Team approve that mod there will be a proper place to do it, but in the mean time that's why I opened a section in my own forum for questions and answers about mod httpBL. This one:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&board=30.0

You can see there is some important information there about it as I have been already answering questions, and by the way, I have also answered your question there with the name "the log isn't working".

Cheers
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 17, 2010, 05:51:16 PM
Hopefully this will be the last time we talk about mod httpBL here in this post.

It has been already approved by SMF and you can find it now here:

http://custom.simplemachines.org/mods/index.php?mod=2155

So now it has its own support forum. Any questions about it please go to:

http://www.simplemachines.org/community/index.php?topic=366399.0

Thanks
Title: Re: Stop Spammer
Post by: Exsharaen on February 18, 2010, 06:55:46 AM
I've updated the Indonesian translation to include the missing 9 lines as PM-ed to snoopy_virtual:

// MOD Stop Spammer
$txt['stopspammer_error'] = 'Kesalahan dengan basis data Anti SPAM. Hubungan gagal.<br />
Silakan coba lagi nanti, atau hubungi Webmaster.';
$txt['stopspammer_count'] = 'Spammer yang diblokir sampai sekarang';
$txt['stopspammer_title'] = 'Cari info lebih banyak di `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Nyalakan/Matikan MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Tampilkan tautan "Info lebih banyak" untuk semua anggota';
$txt['stopspammer_show01_sub'] = 'Anda dapat memeriksa anggota manapun kapanpun dengan satu klik saja.';

$txt['stopspammer_faildb'] = 'Jika hubungan ke basis data Anti SPAM gagal...';
$txt['stopspammer_fail01'] = 'Tunjukkan pesan kesalahan dan batalkan pendaftaran';
$txt['stopspammer_fail02'] = 'Izinkan Pendaftaran Langsung';
$txt['stopspammer_fail03'] = 'Persetujuan Anggota dan tampilkan ikon untuk periksa';
$txt['stopspammer_faildb1_sub'] = 'Inang Anda dapat membuat hubungan remote ke basis data';
$txt['stopspammer_faildb2_sub'] = 'Inang Anda tidak dapat terkoneksi ke basis data, coba lagi nanti.<br />
Jika ini berlanjut, lihat Topik Dukungan (Support Topic) dan cari ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues (Masalah yang Diketahui)</b></span></a>';

$txt['stopspammer_leyd01'] = 'Bukan Spammer: Data tidak ada pada basis data, namun bisa Anda periksa.';
$txt['stopspammer_leyd02'] = 'Dicurigai: Anggota ini tidak dapat diperiksa. Periksa sekarang.';
$txt['stopspammer_leyd03'] = 'Spammer: Lihat info lebih banyak tentang aktivitas spammer ini.';

$txt['stopspammer_profilecheck'] = 'Periksa anggota ini';
$txt['stopspammer_limitexceded'] = 'Anda sudah melampaui batas pemeriksaan (5000 kueri API tiap hari).<br />Silakan tunggu hingga besok untuk memeriksa kembali.';

$txt['in_stop_forum_spam'] = 'Pada situs Stop Forum Spam:';
$txt['spammers_checks'] = 'Periksa anggota-anggota ini';
$txt['spammers_report'] = 'Laporkan anggota-anggota ini';
$txt['confirm_spammers_checks'] = 'Anda yakin mau memeriksa anggota terpilih?';
$txt['confirm_spammers_report'] = 'Anda yakin mau melaporkan anggota terpilih?\n\nIngat bahwa saat Anda melaporkan anggota ini ke Stop Forum Spam, ia akan ditandai sebagai spammer di seluruh dunia\ndan ia tidak akan dapat menggunakan forum yang terhubung ke Stop Forum Spam di seluruh penjuru dunia.\n\nLakukan hanya jika Anda benar-benar yakin mereka spammer, dan jika ternyata Anda keliru mengidentifikasi,\nhubungi pembuat mod ini sesegera mungkin untuk membetulkan kesalahan dalam basis data Stop Forum Spam.';

$txt['stopspammer_api_key'] = 'Kunci API Anda';
$txt['stopspammer_api_key_sub'] = 'Jika Anda ingin menggunakan kunci API Anda sendiri, silakan kunjungi <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> untuk mendapatkan kunci API, kemudian tuliskan di sini. Jika Anda tidak memiliki kunci API, biarkan isian ini kosong dan mod ini akan menggunakan kunci API dasar.';

$txt['stopspammer_check_sub1'] = '<br />Jika MOD Stop Spammer dinyalakan, tiap kali memeriksa anggota:';
$txt['stopspammer_check_name'] = 'Periksa nama pengguna';
$txt['stopspammer_check_mail'] = 'Periksa alamat email';
$txt['stopspammer_check_ip'] = 'Periksa IP';
$txt['stopspammer_check_sub2'] = 'Pada dasarnya, tiap kali Anda memeriksa anggota dengan MOD Stop Spammer, mod ini akan mengecek nama pengguna, alamat email, dan IP. Jika Anda mendapat terlalu banyak peringatan keliru karena nama pengguna, Anda bisa mematikan pilihan tersebut. Kami tidak menyarankan untuk mematikan 2 pilihan lainnya (periksa alamat email dan IP) kecuali Anda benar-benar yakin dengan pilihan Anda.';


EDIT:

By the way, I found some typos in the English...

Quote$txt['stopspammer_limitexceded'] = 'You have exceded the check limit (5000 API queries per day).<br />You should wait until tomorrow to check again.';
Mustn't it be exceeded?

Quote$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.';
recommend?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 18, 2010, 07:06:47 AM
Thanks Exsharaen

I will update the language package in a minute.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 18, 2010, 08:06:23 AM
Full language package updated with the new Indonesian translation.

Terima kasih Exsharaen





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin


  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)
  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119) and Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Portuguese_Brazilian by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_Portugal by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774) & Bugo (http://www.simplemachines.org/community/index.php?action=profile;u=229017)

Missing 7 lines:

  • Polish by cat11 (http://www.simplemachines.org/community/index.php?action=profile;u=177573)

Missing 9 lines:

  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024)
  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)

   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete
Title: Re: Stop Spammer
Post by: Robert A. Rosenberg on February 19, 2010, 02:02:18 AM
Quote from: butchs on February 13, 2010, 08:23:28 AM


I had a user log in this week.  The very first thing he did was to post an advertisement link.  I checked him with stop spam and he was ok.  I researched his email and IP address and found out that it belonged to a California location.  The Ad he posted said he was local in NYC.

He may be a possible spammer so it would be nice to have a check mark in the members list to force him to confirm his email address just like you do with members that are marked as spammers.  In other words add the option to allow possible spammers be verified manually.

Just to play devil's advocate on him possibly being a spammer due to the NYC vs. CA mismatch. The email might be from a CA ISP that he belongs to (I have number of email accounts that are hosted all over the US). The IPN is a separate issue since that is showing his current connection's gateway. Mine can change when I am on the road (as opposed to being at home) or on vacation. Not an absolute indication of being a spammer but there can be innocent explanations.
Title: Re: Stop Spammer
Post by: Emmerich on February 19, 2010, 05:30:28 AM
Hi!

I have a problem with spam accounts which don't have the IP logged. Because of that Stop Spammer can't check the IPs and they pass registration.
Is there any method to prevent registering accounts which don't have the IP logged? Or can you add some optional rule for this in a new version of Stop Spammer?

Thanks!
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 19, 2010, 06:03:56 AM
Quote from: Emmerich on February 19, 2010, 05:30:28 AM
Hi!

I have a problem with spam accounts which don't have the IP logged. Because of that Stop Spammer can't check the IPs and they pass registration.
Is there any method to prevent registering accounts which don't have the IP logged? Or can you add some optional rule for this in a new version of Stop Spammer?

Thanks!

We have the same problem with mod httpBL.

In both mods I have used the same method SMF uses to find the visitor's IP, the normal $_SERVER['REMOTE_ADDR']

When we discovered this problem in mod httpBL I tried more ways of looking for the IP

You can find the full conversation started here:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=309.0

And continued here:

http://www.simplemachines.org/community/index.php?topic=366399.0

As I have never yet had any visitor with hiding IP I don't know if this have worked. I am still waiting for the results of the people testing it.

If it works I will add this too to mod Stop Spammer as well
Title: Re: Stop Spammer
Post by: butchs on February 19, 2010, 06:50:31 AM
I do not think deviating from SMF's visitors IP system is the best solution.  If you use Bad Behavior (http://www.bad-behavior.ioerror.us/blog/)'s http:BL features and database logging that spammer should get caught!
:o
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 19, 2010, 07:05:26 AM
Quote from: butchs on February 19, 2010, 06:50:31 AM
I do not think deviating from SMF's visitors IP system is the best solution.  If you use Bad Behavior (http://www.bad-behavior.ioerror.us/blog/)'s http:BL features and database logging that spammer should get caught!
:o

Yes, I saw the PM you sent me about Bad Behavior, but didn't had time yet to check how they do it.

Looks really interesting. Need to check it ASAP. Thanks
Title: Re: Stop Spammer
Post by: Robert A. Rosenberg on February 19, 2010, 11:15:58 PM
In Reply #324 there was a discussion of the False Positive problem where a non-Spammer is being flagged just due to having  the same name as a spammer (in my case UserID Dave). I may be confusing the suggested fix in that reply with one from another message but in any case, I would like to suggest a possible solution (or support the one I think I remember). My fix is to add a field to the flags that highlight the name, email address, and IPN entries that says for THAT Field of an entry to ignore the match. In my case, for the user who is falsely having his userid made a red icon, be able to reset it to OK and say to not flag him again until there is an actual match on the email and/or IPN. Note that this is NOT referencing the global switch to not check a filed for ALL users but just a setting in the user's entry to say to ignore the field.

Thank You.
Title: Re: Stop Spammer
Post by: lc62003 on February 20, 2010, 12:08:41 AM
Quote from: Robert A. Rosenberg on February 19, 2010, 11:15:58 PM
In Reply #324 there was a discussion of the False Positive problem where a non-Spammer is being flagged just due to having  the same name as a spammer (in my case UserID Dave). I may be confusing the suggested fix in that reply with one from another message but in any case, I would like to suggest a possible solution (or support the one I think I remember). My fix is to add a field to the flags that highlight the name, email address, and IPN entries that says for THAT Field of an entry to ignore the match. In my case, for the user who is falsely having his userid made a red icon, be able to reset it to OK and say to not flag him again until there is an actual match on the email and/or IPN. Note that this is NOT referencing the global switch to not check a filed for ALL users but just a setting in the user's entry to say to ignore the field.

Thank You.

You can already turn off/on 'check username'.   ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 20, 2010, 09:41:26 AM
Quote from: lc62003 on February 20, 2010, 12:08:41 AM
You can already turn off/on 'check username'.   ;)

I don't think That's what Robert is saying.

Note this:

Quote from: Robert A. Rosenberg on February 19, 2010, 11:15:58 PM
...
My fix is to add a field to the flags that highlight the name, email address, and IPN entries that says for THAT Field of an entry to ignore the match.
...
Note that this is NOT referencing the global switch to not check a filed for ALL users but just a setting in the user's entry to say to ignore the field.
...

It could be done (complicated but possible) but I don't think it will be practical.

You are saying:

Quote from: Robert A. Rosenberg on February 19, 2010, 11:15:58 PM
...
not flag him again until there is an actual match on the email and/or IPN.
...

OK, but how can I tell the program to check again that user every now and then to see if the email or the IP are changing from good to bad?

Just now the program only check users automatically when they try to register. They are not checked again unless you do it manually. To change that I will need to change almost all the way the program works.

The more practical solution I can see, taking into consideration every suggestion and my experience using the program in a lot of different forums for almost 2 years now is this:

I have set-up in all the forums a special group of members called "Suspicious".

Every user I put manually in that group have very few options available.

For star, doesn't matter the settings for the rest of the Member-groups, the people of the group "Suspicious" cannot see the profile of any other member (as I have done also with the "Visitors" and with the people who haven't publish any post yet).

That way they will never be able to see the email address of anybody else in the forum while they are either "Visitors", "Newbies" or "Suspicious". (To avoid "Harvester" robots).

On top of that, the people on the group "Suspicious" have the limit of posts they can publish and PM they can send set to a maximum of 1 or 2 (depending on the forum).

Apart from publishing one post and send one PM they can do almost nothing else.

In my group of "Newbies" (people who have not publish yet but I don't think they are suspicious) I don't put any limit on that. (Just they cannot see other profiles).

That way, everytime I see people stopped by the mod who I'm not sure if they are legal or not I approve them but put them in the group "Suspicious" manually and send them a PM saying "Welcome here, etc ...".

Once they have published their first post or they have answered my PM, I can tell in a second if they are normal people or spammers and put them where they should be.

Then my idea is to add a few things into the settings page of the mod to do this as automatic as possible.

I will add a question in the settings asking you if you have a group of "Suspicious" members and (if so) which one is. (And if not, suggesting you to do it).

Then the mod, when checking somebody can say (as SiL was suggesting in reply #324):


I will need to add too (apart from the list you already have of people "Waiting for approval", etc) another list of "Suspicious guys", so you can have them all together and can check them more often until you decide where they belong.

Still I need to consider some other few things, but just now that's the way I'm planning to do next version.

What do you think about it?
Title: Re: Stop Spammer
Post by: butchs on February 20, 2010, 12:23:51 PM
Why not just make a "white list"  (I have seen that mentioned for "bad-behavior").  A simple way may to enter the info in another tab and have the mod exclude the white listed members or IP addresses?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 20, 2010, 12:50:21 PM
Yes, the white list is another idea, but the suspicious members cannot go into the white list.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 20, 2010, 12:52:58 PM
Anyway, I never liked "white" or "black" lists too much.

Better explained here:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=297.msg1230#msg1230
Title: Re: Stop Spammer
Post by: Robert A. Rosenberg on February 20, 2010, 01:06:23 PM
Quote from: snoopy_virtual on February 20, 2010, 09:41:26 AM
Quote from: lc62003 on February 20, 2010, 12:08:41 AM
You can already turn off/on 'check username'.   ;)

I don't think That's what Robert is saying.

Note this:

Quote from: Robert A. Rosenberg on February 19, 2010, 11:15:58 PM
...
My fix is to add a field to the flags that highlight the name, email address, and IPN entries that says for THAT Field of an entry to ignore the match.
...
Note that this is NOT referencing the global switch to not check a filed for ALL users but just a setting in the user's entry to say to ignore the field.
...

It could be done (complicated but possible) but I don't think it will be practical.

You are saying:

Quote from: Robert A. Rosenberg on February 19, 2010, 11:15:58 PM
...
not flag him again until there is an actual match on the email and/or IPN.
...

OK, but how can I tell the program to check again that user every now and then to see if the email or the IP are changing from good to bad?

Just now the program only check users automatically when they try to register. They are not checked again unless you do it manually. To change that I will need to change almost all the way the program works.

As you mentioned, I specifically excluded the use of the Global "Check User" switch since it would affect ALL users not only the one I was talking about. The idea is that when the user registers and gets the false positive, you can set a switch that so that if the user is checked again (see below) the user field was not be checked (or will be assumed to be a non-match). You state "It could be done (complicated but possible) but I don't think it will be practical". I do not see the complexity. You get the results back and at the point where you want to alter the icon, check a flag for that field in the user's record to see if it is set (which would trigger not showing the red icon). I have not looked at the code to see how practical this method would be so I am just raising the issue.

As to your comment about the effort to keep rechecking, I was only thinking of the manual check scenario and was not asking for an automated after the registration recheck (I am aware of how complex and time consuming this type of recheck would be). This would allow manual proactive rechecks of users who were not known spammers at registration and have not yet spammed to your forum but are now known to be rogue (ie: Would be flagged if they were attempting to register now).

Once they spam and thus out themself, you could do a manual check of them and if not on the list, report them. My flag would allow a manual scan of all the users (in batches) to see if anyone is now flagged and proactively remove them if you want before they spam you while ignoring the known invalid match during the rescan. This would allow the administrator on request to revalidate the members just like is suggested when you first activate the mod to find those spammers who registered on your board before activation of the mod.
Title: Re: Stop Spammer
Post by: Robert A. Rosenberg on February 20, 2010, 01:26:22 PM
Quote from: snoopy_virtual on February 20, 2010, 12:52:58 PM
Anyway, I never liked "white" or "black" lists too much.

Better explained here:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=297.msg1230#msg1230

One other reason that you did not mention (but only alluded to) for not permanently banning an IPN is that it might belong to a public computer (or a proxy) which services multiple users. If a spammer went to their local library or Internet Cafe (either wired or open WiFi) and spammed from there, the IPN associated with that connection would be banned. Black Lists can be too granular to handle this type of situation (they are predicated on every IPN being statically assigned or mass banning all IPNs  that are assigned via DHCP).
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 20, 2010, 01:37:18 PM
@Robert A. Rosenberg

OK, I think I understand now exactly what you mean.

Yes, it's a good idea and I will take it into consideration in the next version.

Anyway when I said it's complicated I was thinking in doing it all automatically.

The way you are actually saying is still complicated but not so much.

===============

One thing I will never understand is why somebody would want to register in a forum and not say a word.

These people always look suspicious to me.

I can understand somebody coming to my forum with a problem, talk about it, get it sorted and then maybe he never says a word for 3 years. Only lawyers and politicians talk when they have nothing to say. But registering in a forum and never say a word at all. What for?

===============

Quote from: Robert A. Rosenberg on February 20, 2010, 01:26:22 PM
...
One other reason that you did not mention (but only alluded to) for not permanently banning an IPN is that it might belong to a public computer (or a proxy)
...

Agree.
Title: Re: Stop Spammer
Post by: Wizzlefits on February 20, 2010, 01:58:41 PM
Having a brain freeze today trying explain this, so please see the attached image for a couple suggestions.
Thanks!
Title: Re: Stop Spammer
Post by: Robert A. Rosenberg on February 20, 2010, 03:21:58 PM
Quote from: snoopy_virtual on February 20, 2010, 01:37:18 PM
@Robert A. Rosenberg

OK, I think I understand now exactly what you mean.

Yes, it's a good idea and I will take it into consideration in the next version.

Anyway when I said it's complicated I was thinking in doing it all automatically.

The way you are actually saying is still complicated but not so much.

===============

One thing I will never understand is why somebody would want to register in a forum and not say a word.

These people always look suspicious to me.

I can understand somebody coming to my forum with a problem, talk about it, get it sorted and then maybe he never says a word for 3 years. Only lawyers and politicians talk when they have nothing to say. But registering in a forum and never say a word at all. What for?

===============

Quote from: Robert A. Rosenberg on February 20, 2010, 01:26:22 PM
...
One other reason that you did not mention (but only alluded to) for not permanently banning an IPN is that it might belong to a public computer (or a proxy)
...

Agree.

The register and not talk case would include a forum that requires registration to view (Guest Access restricted). Also, in some cases the user wants to lurk to get the information but has no extra input to add. Not posting is, in my opinion, in-and-of-itself an indication of something suspicious.

I'd be surprised if the majority of users to this forum post to it. In many cases, they are here to see the information and not necessarily to ask questions. I know of a number of boards I am on that are primarily information distribution/reference sites with most of the users viewing/lurking since they do not need/want to offer any input.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 22, 2010, 05:03:30 AM
Quote from: Wizzlefits on February 20, 2010, 01:58:41 PM
Having a brain freeze today trying explain this, so please see the attached image for a couple suggestions.
Thanks!

Is that a mod you already have installed or did you do it playing with the picture?

That's more or less what I had in mind, but if it's already done would save me lots of hours.

And if you did it playing with the picture congrats and thanks. It helps me to clarify my ideas and I can use it as a point to start from.

Quote from: Robert A. Rosenberg on February 20, 2010, 03:21:58 PM
...
The register and not talk case would include a forum that requires registration to view (Guest Access restricted). Also, in some cases the user wants to lurk to get the information but has no extra input to add. Not posting is, in my opinion, in-and-of-itself an indication of something suspicious.

I'd be surprised if the majority of users to this forum post to it. In many cases, they are here to see the information and not necessarily to ask questions. I know of a number of boards I am on that are primarily information distribution/reference sites with most of the users viewing/lurking since they do not need/want to offer any input.
...

Of course that is an exception, and it's the only case I can understand somebody registering and not talking.

I was talking about forums like mine, where everybody can see al the info and you need to register only if you have a computer problem and want to ask for help.


Quote from: snoopy_virtual on February 20, 2010, 01:37:18 PM
Quote from: Robert A. Rosenberg on February 20, 2010, 01:26:22 PM
...
One other reason that you did not mention (but only alluded to) for not permanently banning an IPN is that it might belong to a public computer (or a proxy)
...

Agree.

Thinking again about this, I don't agree.

All the spammers we get now-a-days in our forums are robots, not humans, and robots don't use cybers.

Unless of course, one of the computers in the cyber is infected with a trojan and part of a botnet.
Title: Re: Stop Spammer
Post by: Wizzlefits on February 22, 2010, 11:05:57 AM
Quote
Is that a mod you already have installed or did you do it playing with the picture?

That's more or less what I had in mind, but if it's already done would save me lots of hours.

And if you did it playing with the picture congrats and thanks. It helps me to clarify my ideas and I can use it as a point to start from.

Just played with the html. I WISH I could code like that!

It just seems a bit more logical to be able to move members from one group to another in batches rather than having to do it one by one.
And making the Admin exempt from any kind of action, checking-reporting etc., will prevent the accidental listing of the owners IP as a spammer. Like I did!  :-[
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 22, 2010, 11:13:08 AM
The admin is exempt from long time ago.

You accidentally reported your IP using this mod?

When was that? What version were you using?

Apart from that, Have you seen what I did with CrawlTrack? Check new posts in my forum.
Title: Re: Stop Spammer
Post by: Wizzlefits on February 22, 2010, 05:38:13 PM
It wasn't the "admin" account but a test account with the same ip as the admin which got the ip listed as bad & the test account deactivated. Not to mention the chewing I got from my wife, who was using it at the time and was promptly booted off the site. (That was funny)
Title: Re: Stop Spammer
Post by: kizer on February 23, 2010, 01:06:22 PM
Looks like http://www.stopforumspam.com is down today. Caught my first spammer today. Of course the site didn't connect so I couldn't do it automatically, but I did a search for the users name and sure enough I found the user talking gibborish on a few other sites and in his signature hes pimping his site.
Title: Re: Stop Spammer
Post by: kizer on February 23, 2010, 01:14:47 PM
I have a question and I apologize if its already been asked.

I had a member join today and it said "waiting approval". I clicked on his name and the site it was checking against appeared to be down. I looked at his email address and its a known email site and from my experience I've not had any spam from it.

My choices where delete, Activiate and email, Activate.

Does this system bypass the activation via email so they have to click on the URL to perform the email validation? If so I personally do not like that because it removes one step that I belive should be performed. I'm hoping my approval is only the step before the email and verification.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 23, 2010, 01:15:34 PM
Quote from: kizer on February 23, 2010, 01:06:22 PM
Looks like http://www.stopforumspam.com is down today. Caught my first spammer today. Of course the site didn't connect so I couldn't do it automatically, but I did a search for the users name and sure enough I found the user talking gibborish on a few other sites and in his signature hes pimping his site.

That's strange, I have seen their site OK all day.

I caught 3 spammers automatically today and even needed to enter their site a few times and I had no problem.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 23, 2010, 01:38:36 PM
Quote from: kizer on February 23, 2010, 01:14:47 PM
I have a question and I apologize if its already been asked.

I had a member join today and it said "waiting approval". I clicked on his name and the site it was checking against appeared to be down. I looked at his email address and its a known email site and from my experience I've not had any spam from it.

My choices where delete, Activiate and email, Activate.

Does this system bypass the activation via email so they have to click on the URL to perform the email validation? If so I personally do not like that because it removes one step that I belive should be performed. I'm hoping my approval is only the step before the email and verification.

I have in most of my forums the email validation option. Only in a couple of them I let them enter without validating their email.

If you have this email validation option as well, when normal users (not in the spammers database) try to register, they need to validate their email, so the forum sends them a validation email, but if the mod finds the email address in the spammers database there is no need to do that.

Why would you want to send an email to a known spammer?

They are robots. They don't read emails. The only thing they are going to get from the email is the email address it's coming from (sometimes if you are not careful that's the admin email address) to add it to their own DB and send spam later to that address.

So, it doesn't matter if you ask the rest of your users to validate your email. The mod take this known spammer and put it in the approval list until you delete it without sending it any email at all.

With the email, if the mod find it in the spammers DB, there is no problem and everybody here agree with that (as far as I know).

The problem is if the mod finds either the IP or the username in the DB. That's what we have been talking about in this post a lot of times and still we are not very sure what to do. (See previous answers)

Just now, the mod takes the safest option. Put them in the approval list as well and let you decide what to do with them.
Title: Re: Stop Spammer
Post by: kizer on February 23, 2010, 01:51:26 PM
Quote from: snoopy_virtual on February 23, 2010, 01:15:34 PM
Quote from: kizer on February 23, 2010, 01:06:22 PM
Looks like http://www.stopforumspam.com is down today. Caught my first spammer today. Of course the site didn't connect so I couldn't do it automatically, but I did a search for the users name and sure enough I found the user talking gibborish on a few other sites and in his signature hes pimping his site.

I caught 3 spammers automatically today and even needed to enter their site a few times and I had no problem.

This is what I'm getting when I try to access their site.

Forbidden
You don't have permission to access / on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2 Server at www.stopforumspam.com Port 80

Wow, this is odd. My work email account is giving me a Forbidden 500 error message, but I just tried it on my phone and it seems to work. I wonder if somehow it doesn't like my work connection.

My biggest fear was when I asked you about the email problem was I thought their server was done and it wasn't checking. I had two members that it was asking me to approve.
1) was highlighted in red on all three checks and I figured it would of automatically did away with him.
2) was all white and I approved, but I'm guessing it was because the member hadn't verified their own account yet via email. Now I feel really silly.  :o

Its a really cool mod and I guess I just need to get used to it
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 23, 2010, 02:03:39 PM
BTW, I just checked the options I have when somebody is "Waiting for approval" and mine are different than yours.

I got these options:

- Approve
- Approve and send email
- Approve and Require Activation
- Reject
- Reject and send email

So when the mod stops somebody and I'm sure is a spammer I choose "Reject" but if I think is a legal user I choose "Approve and Require Activation".

I don't understand why you only get 3 options.
Title: Re: Stop Spammer
Post by: smartdeviceresource on February 23, 2010, 02:19:27 PM
Host must have it blocked cause it opens fine for me
Title: Re: Stop Spammer
Post by: Leemy on March 05, 2010, 07:01:11 PM
My install on 2.0 RC2 failed on the ManageMembers.php entry. Couldnt find the text. I have a pretty standard 2.0, it doesnt say floatclass it says floatstyle... what should i do?
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 05, 2010, 07:09:31 PM
Are you sure you are installing the latest 2.3.7 version of the mod ?

That was one of the things I changed when SMF went from RC1.2 to RC2 and that's also why the mod is not compatible any more with RC1.2
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 05, 2010, 07:30:06 PM
I have just checked the original files from SMF of their version 2.0 RC2 and inside the ManageMembers.php on line number 1040 it says:


<div class="floatleft">


Check if you file ManageMembers.php have this at the top:


/**********************************************************************************
* ManageMembers.php                                                               *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 2.0 RC2                                         *


If it is not the original file from version SMF 2.0 RC2 you did something wrong when installing SMF or updating it to this version.
Title: Re: Stop Spammer
Post by: giveaway365.com on March 05, 2010, 10:52:56 PM
Sir,
This error come often in my error log.
8: Undefined index: types
File: /home/content/g/i/v/giveaway365/html/Sources/ManageMembers.php
Line: 381
Line 381 = if (empty($range_trans[$_POST['types'][$param_name]]))

Also I have lots of spammers ... like 33 error pages filled with this error every day:
Your account is still awaiting admin approval.

Title: Re: Stop Spammer
Post by: kizer on March 06, 2010, 11:02:44 PM
I'm by no means saying this mod did it, but I seem to be having a problem with Subscriptions. I know subscriptions worked before I installed a few mods so I'm trying to eliminate mods that might of caused it. When I get a Subscription it now just gets stuck on Sending Payment.

Is anybody else having that issue with this Mod? If nobody is then I'll have to keep working my list. ;)
Title: Re: Stop Spammer
Post by: kizer on March 07, 2010, 02:43:09 AM
My problem what ever is wasn't this. I basically loaded up a fresh install and this is not breaking my subscriptions.
Title: Re: Stop Spammer
Post by: MultiformeIngegno on March 09, 2010, 08:52:32 AM
Has someone tested this with RC3..?
Thanks! ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 09, 2010, 09:07:57 AM
Quote from: giveaway365.com on March 05, 2010, 10:52:56 PM
Sir,
This error come often in my error log.
8: Undefined index: types
File: /home/content/g/i/v/giveaway365/html/Sources/ManageMembers.php
Line: 381
Line 381 = if (empty($range_trans[$_POST['types'][$param_name]]))

You have already reported that error many times and it's already in the cue to be sorted as soon as I have time (check the road map) but is not an important one, you can ignore it.

Quote from: giveaway365.com on March 05, 2010, 10:52:56 PM
Also I have lots of spammers ... like 33 error pages filled with this error every day:
Your account is still awaiting admin approval.

I also get a lot of spammers on my sites. That's why I started working with M-DVD almost 2 years ago in this mod and last August did as well mod httpBL.

At least now I see them but they cannot do any harm.

Anyway mod httpBL always catch them before mod Stop Spammer because it works as a first filter, so if you are getting too many with mod Stop Spammer maybe you have not configured properly mod httpBL.

Check the diagram Wizzle did yesterday about how both mods work together and you would understand what I mean.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 09, 2010, 09:14:34 AM
Quote from: kizer on March 06, 2010, 11:02:44 PM
I'm by no means saying this mod did it, but I seem to be having a problem with Subscriptions. I know subscriptions worked before I installed a few mods so I'm trying to eliminate mods that might of caused it. When I get a Subscription it now just gets stuck on Sending Payment.

Is anybody else having that issue with this Mod? If nobody is then I'll have to keep working my list. ;)

You are talking about the new Subscription system in SMF 2.0?

As all my forums are 1.1.11 and only have a SMF 2 RC2 for testing purposes I haven't use that option yet.

I will write on the road map that I need to check that, to be sure this mod is not interfering with Subscriptions, as I forgot to check it.

Anyway if you find out this mod is the one doing it before I have time to check it tell me and I will sort it ASAP.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 09, 2010, 09:16:24 AM
Quote from: MultiformeIngegno on March 09, 2010, 08:52:32 AM
Has someone tested this with RC3..?
Thanks! ;)

That's another thing I need to check.

If anyone do it before I have time to do it myself, please tell me to save me some time.

Thanks.
Title: Re: Stop Spammer
Post by: MultiformeIngegno on March 09, 2010, 11:13:07 AM
Quote from: snoopy_virtual on March 09, 2010, 09:16:24 AM
If anyone do it before I have time to do it myself, please tell me to save me some time.
Tested on RC3, all seems to work properly (no errors during installation)! ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 09, 2010, 11:30:57 AM
Quote from: MultiformeIngegno on March 09, 2010, 11:13:07 AM
Quote from: snoopy_virtual on March 09, 2010, 09:16:24 AM
If anyone do it before I have time to do it myself, please tell me to save me some time.
Tested on RC3, all seems to work properly (no errors during installation)! ;)

That's great. It means I don't need to do a new version again.  ;D

When SMF went from RC1.2 to RC2 the changes were so much that I needed to make it compatible with one or the other. Impossible to make a version compatible with both.
Title: Re: Stop Spammer
Post by: smartdeviceresource on March 09, 2010, 03:54:35 PM
Quote from: MultiformeIngegno on March 09, 2010, 11:13:07 AM
Quote from: snoopy_virtual on March 09, 2010, 09:16:24 AM
If anyone do it before I have time to do it myself, please tell me to save me some time.
Tested on RC3, all seems to work properly (no errors during installation)! ;)
Thank you for testing this :) WOO HOO RC3 I'm coming :)
Title: Re: Stop Spammer
Post by: kizer on March 10, 2010, 02:55:52 PM
Quote from: snoopy_virtual on March 09, 2010, 09:14:34 AM
Quote from: kizer on March 06, 2010, 11:02:44 PM
I'm by no means saying this mod did it, but I seem to be having a problem with Subscriptions. I know subscriptions worked before I installed a few mods so I'm trying to eliminate mods that might of caused it. When I get a Subscription it now just gets stuck on Sending Payment.

Is anybody else having that issue with this Mod? If nobody is then I'll have to keep working my list. ;)

You are talking about the new Subscription system in SMF 2.0?

As all my forums are 1.1.11 and only have a SMF 2 RC2 for testing purposes I haven't use that option yet.

I will write on the road map that I need to check that, to be sure this mod is not interfering with Subscriptions, as I forgot to check it.

Anyway if you find out this mod is the one doing it before I have time to check it tell me and I will sort it ASAP.

Please do not spend anytime on looking into Subscription in 2.0. I apparently had something wrong on my end. ;)
Title: Re: Stop Spammer
Post by: adamluz on March 10, 2010, 09:25:33 PM
I'm trying to install this mod and my package manager keeps asking me to download index.php everytime I click apply mod. This is the only mod that is doing it. All others install fine. I'm on SMF 1.1.11

Any ideas whats going on?
Screen Cap:
Title: Re: Stop Spammer
Post by: giveaway365.com on March 10, 2010, 11:37:58 PM
i m also on 1.1.11 and not faced any such problem....
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 11, 2010, 09:01:07 AM
Quote from: adamluz on March 10, 2010, 09:25:33 PM
I'm trying to install this mod and my package manager keeps asking me to download index.php everytime I click apply mod. This is the only mod that is doing it. All others install fine. I'm on SMF 1.1.11

Any ideas whats going on?

I get sometimes this problem too, but not only when trying to install a new mod, but also sometimes when trying to open any PHP page. Doesn't matter if that page belongs to a forum or not.

I have discovered this always happens to me when the server is very busy. Apparently, if there are too many people at the same time using the server resources, it make a mistake and tries to open the file index.php instead of executing it.

So what I do, when this happens inside a page it's not mine, is to wait a few minutes and try again.

If it's in one of my pages, I go to my cPanel and check the server load. If it's too high, I wait until it cools down a bit and try again.

Please remember most of the mods you can find in SMF are just "cosmetic" ones, just changing one or 2 small things in your forum so you can see a new small ornament somewhere, but this one is actually a full anti-spammers program, with a lot of modifications in your forum files.

So to be able to install this mod you are going to need a lot of your server resources while installing it.

Maybe a solution will be to check at what time your site is not busy at all so you can be sure you are on your own on the server, or to leave your server in "Maintenance Mode" while installing or something like it.

Try any of them and tell me if it's any use.
Title: Re: Stop Spammer
Post by: andyholt on March 11, 2010, 11:01:32 AM
I'm having problems since a failed install of Stopspammer. When trying to access the members list I get the following error

Call to undefined function: sprintfspamer() in /home/learning/public_html/geoforum/Sources/Load.php(1733) : eval()'d code on line 54 

I've tried re-running the upgrade package as I'm on version 1.1.11 replacing all of the files in sources including load.php but I still have the problem. Can you offer any advice to help me get my frrum back?

Any advice would be greatly appreciated.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 11, 2010, 04:12:27 PM
Quote from: andyholt on March 11, 2010, 11:01:32 AM
I'm having problems since a failed install of Stopspammer. When trying to access the members list I get the following error

Call to undefined function: sprintfspamer() in /home/learning/public_html/geoforum/Sources/Load.php(1733) : eval()'d code on line 54 

I've tried re-running the upgrade package as I'm on version 1.1.11 replacing all of the files in sources including load.php but I still have the problem. Can you offer any advice to help me get my frrum back?

Any advice would be greatly appreciated.

The function sprintfspamer() is not called from the file /Sources/Load.php but from the file:

Themes/default/ManageMembers.template.php

Get that file from the original SMF 1.1.11 package and overwrite the one you have.




Anyway, if you tried to install this mod and you had an error you should have asked here.

Everytime somebody tell me what error they have trying to install it I always tell them what to do to be able to install it properly.
Title: Re: Stop Spammer
Post by: andyholt on March 12, 2010, 03:09:42 AM
Thanks snoopy - that's sorted the problem out.
Title: Re: Stop Spammer
Post by: chase78 on March 13, 2010, 01:58:47 AM
Hi,

After uninstalling Stop Spammer I cannot view members.

---
At the Members link under the Admin panel, at View all Members, Awaiting Approval and Awaiting Activation, I get this error:

Fatal error: Call to undefined function sprintfspamer() in /home/singthai/public_html/forums/Sources/Load.php(1738) : eval()'d code on line 54

---

I was told to look into ManageMembers.template.php and found

   if (empty($context['members']))
      echo '
         <tr class="windowbg2">
            <td colspan="6" align="center">', $context['browse_type'] == 'approve' ? $txt['admin_browse_no_members_approval'] : $txt['admin_browse_no_members_activate'], '</td>
         </tr>';
   else
   {
      foreach ($context['members'] as $member)
         echo '
         <tr>
            <td class="windowbg2" width="5%">', $member['id'], '</td>
            <td class="windowbg2">
               ', sprintfspamer($member, $member['href'], 'username', 2), '
            </td>
            <td class="windowbg">
               ', sprintfspamer($member, 'mailto:' . $member['email'], 'email', 3), '
            </td>
            <td class="windowbg2">
               ', sprintfspamer($member, $scripturl . '?action=trackip;searchip=' . $member['ip'], 'ip', 1), '
            </td>
            <td class="windowbg">', $member['dateRegistered'], '</td>
            <td class="windowbg" width="5%">
               <input type="checkbox" value="', $member['id'], '" name="todoAction[]" class="check" />
            </td>
         </tr>';

      echo '
         ', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">
            <td align="center" colspan="6">' . $modSettings['stopspammer_count'] . ' ' . $txt['stopspammer_count'] . '</td>
         </tr>
         <tr class="titlebg">
            <td colspan="6">
               <div style="width: 60%; margin: auto" class="leyend_stopspammer">
                  <img src="' . $settings['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
                  <img src="' . $settings['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
                  <img src="' . $settings['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
               </div>
            </td>
         </tr>'), '

Any thoughts on how to reverse the changes?

I tried parsing the Stop Spammer mod page for changes to version 1.1.11 but there is no parsing to see the changes made.

Thanks!
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 14, 2010, 08:57:24 AM
Quote from: chase78 on March 13, 2010, 01:58:47 AM
Hi,

After uninstalling Stop Spammer I cannot view members.

---
At the Members link under the Admin panel, at View all Members, Awaiting Approval and Awaiting Activation, I get this error:

Fatal error: Call to undefined function sprintfspamer() in /home/singthai/public_html/forums/Sources/Load.php(1738) : eval()'d code on line 54

---

I was told to look into ManageMembers.template.php and found

... etc ...

Any thoughts on how to reverse the changes?

I tried parsing the Stop Spammer mod page for changes to version 1.1.11 but there is no parsing to see the changes made.

Thanks!

The list of all the changes you need to do to reverse the installation manually is too long and depend on exactly what version of the mod you had installed.

So, first of all a few questions:

What version of the mod you had installed?

The file ManageMembers.template.php you are talking about is the one inside your /Themes/default/ folder or inside /Themes/your_particular_template/ folder?

Normally when you uninstall this mod all the needed changes inside the /Themes/default/ folder are automatic and you get a warning error message if they cannot be completed.

Did you get any warning error messages during uninstall?




If you answer those 3 questions I can give you the full list of changes the mod did when you installed it. Anyway, you can find that list if you open the files:
package-info.xml
languages.xml
install_1.xml
install_1.php
inside the mod's zip file you installed.

Of course, if the file giving you problems is just /Themes/default/ManageMembers.template.php the fastest solution will be to get the original one from the SMF 1.1.11 packages and overwrite the one you have now, but you cannot do that if you have any other mod which may have change that file as well, because this other mod will stop working.




Thinking about it I just realized the list of changes is so long that it will be a lot more quicker for me to do them myself than trying to write them here, so another solution will be to send me your ManageMembers.template.php file by email and I will clean it myself and send it back to you.

In case you cannot see my address in my profile it's: info at snoopyvirtualstudio dot com

Whatever you decide I'll wait for your answer.
Title: Re: Stop Spammer
Post by: Eclipse16V on March 15, 2010, 01:38:17 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 15, 2010, 04:23:12 PM
Quote from: Eclipse16V on March 15, 2010, 01:38:17 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks

Sorry, I thought somebody said it was already compatible with RC3.

But if it's not, I will try to update it as soon as I have some spare time.
Title: Re: Stop Spammer
Post by: ~DS~ on March 15, 2010, 04:25:34 PM
Quote from: snoopy_virtual on March 15, 2010, 04:23:12 PM
Quote from: Eclipse16V on March 15, 2010, 01:38:17 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks

Sorry, I thought somebody said it was already compatible with RC3.

But if it's not, I will try to update it as soon as I have some spare time.
Don't mind him, he's spamming
http://www.simplemachines.org/community/index.php?topic=370906.0
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 15, 2010, 06:15:14 PM
Quote from: busterone on March 15, 2010, 05:51:49 PM
^^ no worries on the Stop Spammer mod anyway snoopy, it works just fine on RC3.  :)

I knew somebody had said that.

Thanks mate.
Title: Re: Stop Spammer
Post by: chase78 on March 16, 2010, 10:10:53 PM
Quote from: snoopy_virtual on March 14, 2010, 08:57:24 AM

Thinking about it I just realized the list of changes is so long that it will be a lot more quicker for me to do them myself than trying to write them here, so another solution will be to send me your ManageMembers.template.php file by email and I will clean it myself and send it back to you.

In case you cannot see my address in my profile it's: info at snoopyvirtualstudio dot com

Whatever you decide I'll wait for your answer.

Thank you Snoopy Virtual!

I will send you when am at home on the weekend.
Btw nice avatar image.

Thank you for your help!~!~!  8) :) ;)
Title: Re: Stop Spammer
Post by: KensonPlays on March 17, 2010, 11:44:29 AM
Once this is updated to officially support RC3, I will be one mod closer to updating!
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 17, 2010, 02:08:13 PM
Quote from: chase78 on March 16, 2010, 10:10:53 PM
...
I will send you when am at home on the weekend.
...

File sent back already cleaned.

Cheers.
Title: Re: Stop Spammer
Post by: flapjack on March 17, 2010, 04:58:37 PM
both polish translations for the latest revision
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 17, 2010, 05:15:43 PM
Thanks for the translation flapjack. I will add it to the full languages package as soon as I can.

Title: Re: Stop Spammer
Post by: flapjack on March 17, 2010, 05:18:08 PM
sorry for the confusion, I've deleted two already, couldnt upload, maybe it's because my poor connection
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 17, 2010, 05:22:02 PM
It happens sometimes when you upload a file.

The file is uploaded correctly but your browser don't refresh properly and you think is not uploaded.  ;)

Thanks again.
Title: Re: Stop Spammer
Post by: Vincent Volmer on March 24, 2010, 08:18:01 AM
Hello,

Is this mod updated for SMF2.0RC3?

Thanks,
Vincent
Title: Re: Stop Spammer
Post by: Robert A. Rosenberg on March 24, 2010, 11:15:02 AM
I think that there was a statement up-thread that no change was needed since one of the users had installed it on RC3 and it worked.
Title: Re: Stop Spammer
Post by: Vincent Volmer on March 24, 2010, 11:48:06 AM
Hmmm okay, I installed with emulated RC2.

Works fine as far as I can see.

Thanks,
Vincent
Title: Re: Stop Spammer
Post by: fortexg on March 26, 2010, 06:52:29 AM
Hi, I am new to SMF and need help cleaning a spam-ridden forum.
I was naive in thinking out-of-the-box SMF has some spam protection, which now I know it does not.
I installed my first form about 3 months back and it now has 3600+ users, almost all of them spammers.
I manually deleted the users with most posts/threads (top spammer had ~5000 posts).
The problem is, the bulk "Delete Member" option in "View all members" only deletes the user, not the posts/topics. In order to also delete the posts, you need to manually select each member to view their profile, then select the delete member and delete topics/posts option. After deleting about 50 or so members + posts, I figured to delete the 3000+ spammers this way would take several full-time days of clicking, and this is nonsense.

Anyway, I installed the stop spammer 2.3.7., hoping It has the "bulk delete members + posts/topics" option, but I only found the "delete members" button, which still only deletes members, but not also their posts/topics. And once you delete a member, there seems to be no way to get rid of the posts also (except manually post-by-post).

So, my question is: can "bulk delete members + posts/topics" be done in SMF - either through Stop Spam or otherwise?
If not, could this feature please be added to Stop Spam?

Thanks.
F
Title: Could you add cache please?
Post by: fortexg on March 31, 2010, 04:40:30 AM
Hi, using Stop spam for a few days I hit the 5000 API queries/day limit on stopforumspam.com.

A discussion on their forum suggested cache should be used in applications accessing the spammer database.

Would you please consider adding cache for spammers data to your mod?

Thanks.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 31, 2010, 07:03:26 AM
@ fortexg

Those 2 suggestions are useful. I will see what can I do about them.

Anyway, the first suggestion (adding something for "bulk delete members + posts/topics") maybe would be better to do it with a separate mod.

I mean: I think it's better if we keep this mod as simple as possible, so it's compatible with as many other mods as possible and almost everybody can use it. To add an option as powerful as this one I will need to change too many lines of code inside SMF and it will not be compatible with a lot of other mods.

The good news is this change you are suggesting won't need to be used all the time, but only the first time you clean a forum, so my idea will be to do a new mod just to clean a forum (with this option to "bulk delete") and then (once the forum is already cleaned) you will be able to use the original mod StopSpammer normally.

This way, the people who cannot use the mod for bulk cleaning a forum (because it's not compatible with other mods they are using) will be able to continue using mod StopSpammer and clean the forums manually, as we have been doing until now.




The second suggestion about adding spammers data to the cache is a lot more interesting, so I think I will implement this one first as soon as I have some time.

Thanks for the idea.
Title: Re: Stop Spammer
Post by: giveaway365.com on March 31, 2010, 08:07:34 AM
yeah nice ideas !!
Title: Re: Stop Spammer
Post by: butchs on March 31, 2010, 09:00:34 AM
Quote from: snoopy_virtual on March 31, 2010, 07:03:26 AM
The second suggestion about adding spammers data to the cache is a lot more interesting, so I think I will implement this one first as soon as I have some time.

You can use the code I showed you at your site from the iphone mod to implement a cache delay.
Title: Re: Stop Spammer
Post by: subcor on March 31, 2010, 02:10:49 PM
Hi!

I made a Hungarian translation. I don't know what to do with it so I just copy it here:

$txt['stopspammer_error'] = 'Hiba történt az Anti SPAM adatbázishoz való kapcsolódáskor.<br />
Kérem próbálja később, vagy vegye fel a kapcsolatot a webmesterrel';
$txt['stopspammer_count'] = 'Ezidáig blokkolt spammerek';
$txt['stopspammer_title'] = 'További tájékoztató keresése a `Stop Forum Spam`-ban';

$txt['stopspammer_enable'] = 'Stop Spammer MOD bekapcsolása/kikapcsolása';
$txt['stopspammer_show01'] = '"További információ" hivatkozás megjelenítése minden felhasználónak';
$txt['stopspammer_show01_sub'] = 'Egyetlen kattintással bármelyik felhasználót le lehet ellenőrizni';

$txt['stopspammer_faildb'] = 'Ha a kapcsolatfelvétel sikertelen az Anti SPAM adatbázissal...';
$txt['stopspammer_fail01'] = 'Hibaüzenet megjelenítése és regisztrációs megállítása';
$txt['stopspammer_fail02'] = 'Azonnali regisztráció engedélyezése';
$txt['stopspammer_fail03'] = 'Member Approval and show icon for check';
$txt['stopspammer_faildb1_sub'] = 'A szolgáltatója képes távoli kapcsolatot létesíteni a adatbázissal';
$txt['stopspammer_faildb2_sub'] = 'A szolgáltatója nem tudott távoli kapcsolatot létesíteni a adatbázissal, próbálkozzon később<br />
Ha a hiba továbbra is fennáll nézzen körül a támogatási topikban ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Nem spammer: Ez az adat nem szerepelt a adatbázisban, de ellenőrizheti';
$txt['stopspammer_leyd02'] = 'Gyanús: Ezt a felhasználót nem sikerült ellenőrizni. Újraellenőrzés';
$txt['stopspammer_leyd03'] = 'Spammerek: Nézze meg ezen spammerek részletes leírását a tevékenységükről';

$txt['stopspammer_profilecheck'] = 'Ezen felhasználó ellenőrzése';
$txt['stopspammer_limitexceded'] = 'Meghaladta az ellenőrzési korlátot (5000 API lekérdezés naponta).<br />
Várjon holnapig és próbálja újra.';

$txt['in_stop_forum_spam'] = 'Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Ezen felhasználók ellenőrzése';
$txt['spammers_report'] = 'Ezen felhasználók bejelentése';
$txt['confirm_spammers_checks'] = 'Biztosan ellenőrizni kívánja a kijelölt felhasználókat?';
$txt['confirm_spammers_report'] = 'Biztosan jelenteni kívánja a kijelölt felhasználókat?\n\n
Vegye figyelembe, hogy ha bejelent egy felhasználót az SFS felé, akkor spammerként fog szerepelni az egész világon\n
és nem tud majd semmilyen SFS-hez kapcsolódó fórumokra regisztrálni.\n\n
Csak akkor jelentse, ha teljesen biztos affelől, hogy spammer az illető.\n
Amennyiben tévedés történt, kérem jelezze a mod készítőjének, hogy javítsa az SFS adatbázisában a hibát.';
Title: Re: Stop Spammer
Post by: Vincent Volmer on April 06, 2010, 10:41:54 AM
Hello,

After installing on RC3 (emulated RC2) I get some errors in the log, all errors are the same:

URL http://digiscrap.nl/index.php?action=profile;u=1
8: Undefined index: stopspammer_profilecheck
File: ../Sources/Profile.php
Line: 357


The text string: $txt['stopspammer_profilecheck'] = 'Controleer dit lid'; is present in Modifications.dutch.php

For the rest all is working fine!!

Vincent

Title: Re: Stop Spammer
Post by: EdwinK on April 07, 2010, 05:53:46 PM
I hope a RC3 version will be ready soonish.
Title: Re: Stop Spammer
Post by: Skoen on April 13, 2010, 12:02:37 AM
Hi.
I've made a Norwegian translation.
Here it is:

Quote
$txt['stopspammer_error'] = 'Feil ved Anti SPAM DB. Tilkobling feilet.<br />
Prøv igjen senere eller kontakt webmaster';
$txt['stopspammer_count'] = 'Blokkerte spammere frem til i dag';
$txt['stopspammer_title'] = 'F&aring; mer informasjon hos `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Aktiver/Deaktiver MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Vis link "Mer info" til alle medlemmer';
$txt['stopspammer_show01_sub'] = 'Du kan velge medlemmer ved &aring; klikke en gang p&aring; de';

$txt['stopspammer_faildb'] = 'Dersom tilkoblingen feiler til Anti SPAM DB...';
$txt['stopspammer_fail01'] = 'Vis feilmelding og stopp registering';
$txt['stopspammer_fail02'] = 'Tillat &oslash;yeblikkelig registrering';
$txt['stopspammer_fail03'] = 'Medlemmer m&aring; godkjennes og vis gult ikon for en senere sjekk';
$txt['stopspammer_faildb1_sub'] = 'Din vert kan koble eksternt til databasen';
$txt['stopspammer_faildb2_sub'] = 'Din vert klarte ikke &aring; koble til databasen. Pr&oslash;v igjen senere.<br />
Dersom denne feilen ikke l&oslash;ses, sjekk Supportemne og s&oslash;k ';
Title: Re: Stop Spammer
Post by: Vincent Volmer on April 13, 2010, 12:53:36 AM
Quote from: Vincent Volmer on April 06, 2010, 10:41:54 AM
Hello,

After installing on RC3 (emulated RC2) I get some errors in the log, all errors are the same:

URL http://digiscrap.nl/index.php?action=profile;u=1
8: Undefined index: stopspammer_profilecheck
File: ../Sources/Profile.php
Line: 357


The text string: $txt['stopspammer_profilecheck'] = 'Controleer dit lid'; is present in Modifications.dutch.php

For the rest all is working fine!!

Vincent



Error is gone after removing the SimpleSEF mod. With Pretty URLs all is working fine!

VIncent
Title: Re: Stop Spammer
Post by: Storman™ on April 13, 2010, 02:58:11 PM
Hi

Just installed this mod and it's pretty impressive so far, however I've got two issues:

1. Getting an error message as below in the Forum Error log:

8: Undefined index: types
File: /var/www/vhosts/mysite.com/httpdocs/forum/Sources/ManageMembers.php
Line: 381


2. Secondly, I've had a few rouge registrations that are listed at stopforumspam.com etc. However, the mod doesn't seem to pick them up at the registration stage. If I manually check the user then it picks them up no problem and highlights them accordingly. Am I missing something here ?

Using SMF 1.1.11

Cheers  ;)
Title: Re: Stop Spammer
Post by: EcF on April 14, 2010, 05:42:12 PM
I installed Stop Spammer, and a few things happened:

1. I tried to Check Member and got an error page
2. I clicked the "Members" link and got this
Fatal error: require_once() [function.require]: Failed opening required '/home/ecfhq/public_html/forums/Sources/StopSpammer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ecfhq/public_html/forums/Sources/ManageMembers.php on line 95

So I tried uninstalling the mod and it still gives me the message.

Can anyone help please?


I reinstalled it and got this message:

Template Parse Error!
There was a problem loading the /Themes/default/ManageMembers.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected ',' in .../Themes/default/ManageMembers.template.php on line 92

83:          ', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">
84:             <td colspan="8">
85:                <div style="margin: auto" class="leyend_stopspammer">
86:                   <img src="' . $settings['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
87:                   <img src="' . $settings['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
88:                   <img src="' . $settings['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
89:                </div>
90:             </td>
91:          </tr>

92:          ', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">

93:             <td colspan="8">
94:                <div style="margin: auto" class="leyend_stopspammer">
95:                   <img src="' . $settings['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
96:                   <img src="' . $settings['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />

Title: Re: Stop Spammer
Post by: Wizzlefits on April 14, 2010, 08:21:57 PM
EcF...
It looks like the script was doubled and not in it's entirety. Or just corrupt.

Anyway it should look like this....

else
echo '
<td class="windowbg"></td>';
echo '
</tr>';
}
echo '
', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">
<td colspan="8">
<div style="margin: auto" class="leyend_stopspammer">
<img src="' . $settings['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
<img src="' . $settings['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
<img src="' . $settings['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
</div>
</td>
</tr>
<tr>
<td class="windowbg2" align="right" colspan="8">
<label>' . $txt['in_stop_forum_spam'] . '</label>
<input type="submit" name="spammers_checks" value="' . $txt['spammers_checks'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_checks'] . '\');" />
<input type="submit" name="spammers_report" value="' . $txt['spammers_report'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_report'] . '\');" />
</td>
</tr>'), '
<tr>
<td class="windowbg2" align="right" colspan="8">', $context['can_delete_members'] ? '
<input type="submit" name="delete_members" value="' . $txt[608] . '" onclick="return confirm(\'' . $txt['confirm_delete_members'] . '\');" />' : '', '
<input type="hidden" name="sc" value="', $context['session_id'], '" />
<input type="hidden" name="sort" value="', $context['sort_by'], '" />
<input type="hidden" name="start" value="', $context['start'], '" />', $context['sort_direction'] == 'up' ? '
<input type="hidden" name="desc" value="1" />' : '', '
</td>
</tr>';
}
echo '
</table>
</form>';
}

function template_search_members()


I copied a few extra lines 76 to 114 so you can see the whole thing, in case something else is missing in that area.
Title: Re: Stop Spammer
Post by: flutter on April 14, 2010, 08:31:05 PM
Just wondering.  There is a feature to remind members when they have not activated, the choice is remind and sen email and when you delete it's delete and send email.  What do these emails say?  Where do I find them and can I edit them?
Title: Re: Stop Spammer
Post by: Wizzlefits on April 14, 2010, 08:58:40 PM
Quote from: flutter on April 14, 2010, 08:31:05 PM
Just wondering.  There is a feature to remind members when they have not activated, the choice is remind and sen email and when you delete it's delete and send email.  What do these emails say?  Where do I find them and can I edit them?

You can find it in "Themes/default/languages/ManageMembers.english.php" down at the bottom.
Title: Re: Stop Spammer
Post by: EcF on April 14, 2010, 09:14:19 PM
where should I place this script?
Title: Re: Stop Spammer
Post by: Wizzlefits on April 14, 2010, 09:25:26 PM
Quote from: EcF on April 14, 2010, 09:14:19 PM
where should I place this script?

Attached is the whole file.
Title: Re: Stop Spammer
Post by: EcF on April 14, 2010, 10:04:29 PM
I'm sorry, do I place this in the Sources folder and remove the template name or what? Thanks for your help.
Title: Re: Stop Spammer
Post by: EcF on April 14, 2010, 10:14:30 PM
I get this message: Unable to load the 'main' template.
Title: Re: Stop Spammer
Post by: Wizzlefits on April 14, 2010, 10:26:56 PM
Quote from: EcF on April 14, 2010, 10:04:29 PM
I'm sorry, do I place this in the Sources folder and remove the template name or what? Thanks for your help.

Just replace the one in "Themes/default/ManageMembers.template.php" with the one attached above.
Leave Sources/ManageMembers.php alone.
The problem is messed up code in "Themes/default/ManageMembers.template.php".
Simply put....
Sources/ManageMembers.php can not read the corrupt code in "Themes/default/ManageMembers.template.php"

Hope that makes sense. or is that cents? LOL!
Title: Re: Stop Spammer
Post by: EcF on April 15, 2010, 09:30:53 AM
Thanks..
Title: Re: Stop Spammer
Post by: Storman™ on April 15, 2010, 12:48:47 PM
QuoteSecondly, I've had a few rouge registrations that are listed at stopforumspam.com etc. However, the mod doesn't seem to pick them up at the registration stage. If I manually check the user then it picks them up no problem and highlights them accordingly. Am I missing something here ?

Just wondered if anyone has any info on my question above. As mentioned, it doesn't seem to pick up dodgy members at the registration stage. yet if I run a "check" they are highlighted. Just wondered if I've missed understood how it works ? I thought it would pick them up at the registration stage and then mark them "for approval" ? That doesn't seem to be happening...  ???
Title: Re: Stop Spammer
Post by: Robert A. Rosenberg on April 17, 2010, 03:04:36 PM
Quote from: Storman on April 15, 2010, 12:48:47 PM
QuoteSecondly, I've had a few rouge registrations that are listed at stopforumspam.com etc. However, the mod doesn't seem to pick them up at the registration stage. If I manually check the user then it picks them up no problem and highlights them accordingly. Am I missing something here ?

Just wondered if anyone has any info on my question above. As mentioned, it doesn't seem to pick up dodgy members at the registration stage. yet if I run a "check" they are highlighted. Just wondered if I've missed understood how it works ? I thought it would pick them up at the registration stage and then mark them "for approval" ? That doesn't seem to be happening...  ???


While I can not help you with the issue of why the rogue user is not caught at registration time yet is immediately caught if you then select it for a recheck, this does raise an issue where I have with a feature I would like to see.

There are times when if I do the check at registration (or a recheck) I get a false positive on something like Username. In my case, I have a Dave where I get a Red Icon for the entry although the Email Address and IPN is not flagged.

It would be useful, if when I get an entry like this if I could flag it to say "Ignore this match on this field for this entry." This would still check the IPN and Email Address but NOT the Username for the entry on a recheck. Right now, the entry loses its authorization and must have it reissued.

Addition of this feature would allow periodical rechecks to catch entries that were OK at registration but went rogue after that (ie: Was not in the database at registration but now are). This would, I assume, require an additional flag for the entry which would be inspected at check time (if an entry is going to be marked bad) so this match can be overridden and the entry is left as good.
Title: Re: Stop Spammer
Post by: smartdeviceresource on April 19, 2010, 07:10:18 PM
My guess is that they got through reg and then were flagged, because they were not in the SFS database until just then.  Check the date next to the users name at http://www.stopforumspam.com/ and I bet the date is later than there signup
Title: Re: Stop Spammer
Post by: Wizzlefits on April 19, 2010, 08:18:34 PM
Quote from: smartdeviceresource on April 19, 2010, 07:10:18 PM
My guess is that they got through reg and then were flagged, because they were not in the SFS database until just then.  Check the date next to the users name at http://www.stopforumspam.com/ and I bet the date is later than there signup

This is very true!
I've had several that slip through (like just now) and when checking SFS database there was only 2 entries, which were reported after they had registered at my site.

@Robert,
My suggestion would be to turn off the user name check. The email and IP seem to work just fine, for me anyway. Spammers seem to very their user and email but really aren't to good at changing their IP.
Title: Re: Stop Spammer
Post by: GadgetGeek on April 20, 2010, 12:08:14 PM

Duhhhhh..   I just reported and deleted a friend of mine's wife's logon..    How do I undo it?

[email protected]

.
Title: Re: Stop Spammer
Post by: Wizzlefits on April 20, 2010, 03:43:27 PM
Quote from: GadgetGeek on April 20, 2010, 12:08:14 PM

Duhhhhh..   I just reported and deleted a friend of mine's wife's logon..    How do I undo it?

[email protected]

.

Log in at SFS http://www.stopforumspam.com/forum (http://www.stopforumspam.com/forum) Then click on "My Spammers" and on the right you will see the reported spammers country flag then a icon to "delete/remove" that entry.

Don't feel bad! I did the same thing to MY wife's account! It wasn't a pretty sight.  :o
Title: Re: Stop Spammer
Post by: Storman™ on May 02, 2010, 09:45:13 AM
QuoteIt would be useful, if when I get an entry like this if I could flag it to say "Ignore this match on this field for this entry." This would still check the IPN and Email Address but NOT the Username for the entry on a recheck. Right now, the entry loses its authorization and must have it reissued.

Addition of this feature would allow periodical rechecks to catch entries that were OK at registration but went rogue after that (ie: Was not in the database at registration but now are). This would, I assume, require an additional flag for the entry which would be inspected at check time (if an entry is going to be marked bad) so this match can be overridden and the entry is left as good.

Agree with Robert's suggestion above, that would be really useful.

Overall though, brilliant mod when used in conjunction with mod httpBL - the two work brilliantly together !

I was  getting a sunstantial number of spam registrations every day. These mods have stopped them in their tracks but overall the actual number has decresed substantially. It's almost as if my site has been removed from someones list and the've gone elsewhere  :D
Title: Re: Stop Spammer
Post by: Wizzlefits on May 02, 2010, 11:48:48 AM
Quote from: Storman on May 02, 2010, 09:45:13 AM
QuoteIt would be useful, if when I get an entry like this if I could flag it to say "Ignore this match on this field for this entry." This would still check the IPN and Email Address but NOT the Username for the entry on a recheck. Right now, the entry loses its authorization and must have it reissued.

Addition of this feature would allow periodical rechecks to catch entries that were OK at registration but went rogue after that (ie: Was not in the database at registration but now are). This would, I assume, require an additional flag for the entry which would be inspected at check time (if an entry is going to be marked bad) so this match can be overridden and the entry is left as good.

Agree with Robert's suggestion above, that would be really useful.

Overall though, brilliant mod when used in conjunction with mod httpBL - the two work brilliantly together !

I was  getting a sunstantial number of spam registrations every day. These mods have stopped them in their tracks but overall the actual number has decresed substantially. It's almost as if my site has been removed from someones list and the've gone elsewhere  :D

A simple solution it to uncheck the "Check their username" setting.
A spammer may use 20, 30 or more different username and email combinations but only 1 or 2 IPs.
In other words, checking the IP is will catch the most with the least amount of false positives.

Hope that makes sence! I need more coffeeeee!  :P
Title: Re: Stop Spammer
Post by: Wizzlefits on May 02, 2010, 12:14:20 PM
QuoteIt's almost as if my site has been removed from someones list and the've gone elsewhere  :D

There are lists.
I happened to find one located in China. It was a photo blog that had several hundred links hidden in the source code. One of them pointed to my registration page.  >:(
Title: Re: Stop Spammer
Post by: butchs on May 02, 2010, 03:07:41 PM
Block china in your htaccess file!

Dp something like this list (http://community.smfhelper.info/index.php/topic,5136.msg47437.html#msg47437) for your htaccess file.

Title: Re: Stop Spammer
Post by: Storman™ on May 03, 2010, 05:42:38 AM
QuoteBlock china in your htaccess file!

I know we are going off topic but I've blocked several countries in my htaccess - works great !

Title: Re: Stop Spammer
Post by: giveaway365.com on May 03, 2010, 06:26:12 AM
best is to deny ip (or range) in cpanel !
Title: Re: Stop Spammer
Post by: Nunyafb on May 05, 2010, 06:32:54 PM
I installed Stop Spammer last week and have been really enjoying its features.  Today however I ran into a small problem.  I clicked on the "you have one member awaiting approval" as usual, went to the member page to find no one on the list and the message, "No members currently await approval".    Any help on this would be appreciated.
Title: Re: Stop Spammer
Post by: FragaCampos on May 05, 2010, 09:11:56 PM
Check if there's someone waiting for account deletion approval.
Title: Re: Stop Spammer
Post by: Nunyafb on May 06, 2010, 12:27:51 AM
Thanks for your help.  There doesn't appear to be anyone awaiting deletion approval.  Earlier today after finding someone posting here about a similar problem, one of the members suggested removing any anti spam mods.  After trying this,  the member awaiting approval message disappeared.   Thinking I'd solved the problem, I re-installed Stop Spammer and the message returned.  I've also tried doing a recount of all forum totals and statistics without results. 
Title: Re: Stop Spammer
Post by: Wizzlefits on May 06, 2010, 07:46:02 AM
Quote from: Nunyafb on May 06, 2010, 12:27:51 AM
Thanks for your help.  There doesn't appear to be anyone awaiting deletion approval.  Earlier today after finding someone posting here about a similar problem, one of the members suggested removing any anti spam mods.  After trying this,  the member awaiting approval message disappeared.   Thinking I'd solved the problem, I re-installed Stop Spammer and the message returned.  I've also tried doing a recount of all forum totals and statistics without results.

This is a known bug. See page 1 of this thread (bottom of first post)
Quote!   Sort the bug about the members count  reported also many times.
The main page is still telling you there are members waiting for approval even after
you have approved or deleted all of them.

the work around for now is to approve the waiting members (spammer or not) then go to the member list, sort them by ID, makes it easier to find the latest joiners, then you can check, report and or delete them from there. This will get rid of the false member waiting message.
Title: Re: Stop Spammer
Post by: Nunyafb on May 06, 2010, 10:43:11 AM
Just tried the workaround.  The message is gone.  Thanks for the help!
Title: Re: Stop Spammer
Post by: Wizzlefits on May 06, 2010, 04:24:53 PM
No prob.
I've used the work around so much I forgot it was a bug. LOL!
Title: Re: Stop Spammer
Post by: ZeUsSaN on May 07, 2010, 06:56:43 PM
||||||

Quote
$txt['stopspammer_error'] = 'Помилка зв\\\'язку з БД Anti Spam. Не вдалося підключиться.<br /> Будь ласка пробуйте знову трохи пізніше, або зв\\\'яжіться з ВебМайстром ';
$txt['stopspammer_count'] = 'Спамери були заблоковані на сьогоднішній день';
$txt['stopspammer_title'] = 'Знайдіть більше інформації на Форумі `Stop Spam`';

$txt['stopspammer_enable'] = 'Увімкнути/Вимкнути Мод Stop Spammer';
$txt['stopspammer_show01'] = 'Показати, посилання "Більше Інформації" для всіх користувачів';
$txt['stopspammer_show01_sub'] = 'Ви можете перевірити будь-якого користувача в будь-який час, одним простим кліком';

$txt['stopspammer_faildb'] = 'Якщо сталася помилка зв\\\'язку з БД Anti Spam ...';
$txt['stopspammer_fail01'] = 'Показати Помилку та Зупинити Реєстрацію';
$txt['stopspammer_fail02'] = 'Дозволити Безпосередньо Реєстрацію';
$txt['stopspammer_fail03'] = 'Рейтинг клієнта користувача і показувати іконку для перевірки';
$txt['stopspammer_faildb1_sub'] = 'Ваш хост може зробити віддалене підключення до БД';
$txt['stopspammer_faildb2_sub'] = 'Ваш хост не може зроблять віддалене підключення до БД, Спробуйте пождже <br /> Якщо це продовжується перегляньте Тему Підтримки та пошукайте відповідь серед ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"> <span class="error"> <b>Відомих проблем</b></span></a>';

$txt['stopspammer_leyd01'] = 'Not Spammer: Цих даних немає в БД. Але ви можете перевірити ';
$txt['stopspammer_leyd02'] = 'Підозрюваний: Цей користувач не перевірений. Перевірити зараз';
$txt['stopspammer_leyd03'] = 'Spammers: Подивіться більше інформації діяльності цього спамера';

$txt['in_stop_forum_spam'] = 'У Stop Forum Spam Web(SFS):';
$txt['spammers_checks'] =' Перевірити цих користувачів;
$txt['spammers_report'] = 'Повідомити про цих користувачів;
$txt['confirm_spammers_checks'] =' Ви впевнені, що хочете перевірити вибраннх користувачів? ';
$txt['confirm_spammers_report'] = 'Ви впевнені, що хочете повідомити про обраних користувачів?\nПодумайте, що, коли ви повідомите про користувача в SFS його Позначити як спамера в усьому світі,\nі він/вона не зможе використати будь-який з форумів , пов'язаних з SFS в усьому світі.\n\nЗробіть це, тільки якщо ви абсолютно впевнені, вони спамери і якщо з якої-небудь причини сталися помилки,\nповідомте якомога швидше розробникам модифікації, щоб вони якомога швидше виправили помилку всередині SFS даних.';

$txt['stopspammer_profilecheck'] = 'Перевірити цього користувача';
$txt['stopspammer_limitexceded'] = 'Ви перевищили ліміт перевірок (5000 API запитів на день). Ви повинні почекати до завтра, щоб перевірити ще раз.';

$txt['stopspammer_api_key'] = 'Ваш ключ API';
$txt['stopspammer_api_key_sub'] = 'Якщо ви хочете використовувати власний ключ API необхідно спочатку перейти до <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a>, щоб зареєструватися, отримати і написати його тут. Якщо у вас немає ключа залиште поле порожнім і модифыкація буде використовувати API ключ за замовчуванням.';

$txt['stopspammer_check_sub1'] = '<br />Якщо модифікація увімкнена, користувачів перевіряють увесь час:';
$txt['stopspammer_check_name'] = 'Перевірити ім\\\'я користувача';
$txt['stopspammer_check_mail'] = 'Перевірити email';
$txt['stopspammer_check_ip'] = 'Перевірити IP';
$txt['stopspammer_check_sub2'] = 'За замовчуванням кожен раз, коли ви перевіряете користувачів за допомогою MOD Stop Spammer він буде перевіряти їх ім\\\'я користувача, адресу електронної пошти та IP. Якщо ви отримуєте занадто багато помилкових спрацьовувань, цю опцію можна вимкнути. Ми не рекомендуємо вам відключити ще 2 варіанти опції (щоб перевірити їхню електронну пошту і IP), якщо ви знаєте, що робите.';
Title: Re: Stop Spammer - installing mod on custom Themes?
Post by: mpoloukhine on May 09, 2010, 07:08:46 PM
I've tried a few searches and don't seem to find an answer, but if its here, apologies in advance, and feel free to just point me to it...

If there a straight-forward way to get the Stop Spammer mod to work on custom themes? It appears to load into the default theme, and not to give a way to load it to custom ones? It works fine, but in the custom theme its missing images and various bits of text in the button and pop-up windows. probably missing other things I don't even know I'm missing.

Is it a straightforward copying of files over into the custom theme, or is there code changes to existing theme files involved?

Thanks in advance
Title: Re: Stop Spammer
Post by: Arantor on May 09, 2010, 07:11:30 PM
No mod for 1.1.x installs on a custom theme, you will have to make the edits yourself.

If you got to the mod's page, you'll see a dropdown of SMF versions and a parse button - this will show you all the edits a mod makes, so you can replicate them yourself.
Title: Re: Stop Spammer
Post by: mpoloukhine on May 09, 2010, 11:41:51 PM
Thanks, will do, but when I go to get the 1.1.11 parse I get:

An Error Has Occurred!
Sorry, but the modification could not be parsed.
Title: Re: Stop Spammer
Post by: Wizzlefits on May 10, 2010, 12:38:43 AM
Make sure you check the radio button next to StopSpammer_v2_3_7.zip then choose 1.1.11 and then hit the parse button.
Title: Re: Stop Spammer
Post by: mpoloukhine on May 10, 2010, 09:48:24 AM
Quote from: Wizzlefits on May 10, 2010, 12:38:43 AM
Make sure you check the radio button next to StopSpammer_v2_3_7.zip then choose 1.1.11 and then hit the parse button.
Thanks. FYI that page does not load correctly in Firefox 3.6.3, no radio buttons. Used IE, that worked fine.

[edit]PS: Seems like the only custom editing required to install 2.3.7 on SMF 1.1.11 to update a custom theme not already hit by the standard install is to add the mod text in the parse to the language file(s) Modifications.[language].php. I'm only using English and that one edit solved the issues.
Title: Re: Stop Spammer - Arabic complete
Post by: JoeB on May 10, 2010, 04:10:10 PM
$txt['stopspammer_error'] = 'خطا في قاعدة بيانات السبام . فشل في الاتصال <br />
يرجئ اعادة المحاولة ثانية او الاتصال بمسوول السيرفر';
$txt['stopspammer_count'] = 'المحاولات التي تم منعها لغاية اليوم';
$txt['stopspammer_title'] = 'ابحث عن معلومات اكثر في `منتديات ايقاف السبام`';
$txt['stopspammer_enable'] = 'تفعيل!ايقاف خاصية منع السبام';
$txt['stopspammer_show01'] = 'اظهر الرابط "معلومات اكثر" لكل الاعضاء';
$txt['stopspammer_show01_sub'] = 'بامكانك معاينة اي عضو بمجرد الضغط علئ الزر';
$txt['stopspammer_faildb'] = 'اذا فشل الارتباط مع قاعدة بيانات الانتي سبام';
$txt['stopspammer_fail01'] = 'اظهر خطا وتوقف عن التسجيل';
$txt['stopspammer_fail02'] = 'اسمح بالتسجيل الفوري';
$txt['stopspammer_fail03'] = 'تفعيل العضو ولونه بلون اصفر لمتابعته مستقبلا';
$txt['stopspammer_faildb1_sub'] = 'بامكان مجهزك الاتصال بقاعدة بيانات الانتي سبام';
$txt['stopspammer_faildb2_sub'] = 'مجهزك غير قادر علئ الاتصال بقاعدة بيانات الانتي سبام. يرجئ المحاولة لاحقا.<br />اذا استمر ظهور هذا الخطا اطلب المساعدة من خلال

منتديات الانتي سبام ;
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span

class="error"><b>Known Issues</b></span></a>';
$txt['stopspammer_leyd01'] = 'ليس محاولا للسبام: هذه المعلومات غير محفوظة في قاعدة بيانات ايقاف السبام. ولكن بامكانك المعاينة';
$txt['stopspammer_leyd02'] = 'مشتبه به:لايمكن معاينة سجل هذا الشخص حاول المعاينة الان';
$txt['stopspammer_leyd03'] = 'محاولة سبام: انظر الئ المزيد من المعلومات عن نشاط هذا الشخص ';
$txt['stopspammer_profilecheck'] = 'عاين هذا الشخص';
$txt['stopspammer_limitexceded'] = 'لقد تجاوزت حدود المعاينة (5000  استفسار في اليوم).<br />يجب الانتضار لغاية يوم غد لمعاودة المعاينة.';
$txt['in_stop_forum_spam'] = 'في منتديات ايقاف السبام:';
$txt['spammers_checks'] = 'معاينة هولاء الاعضاء';
$txt['spammers_report'] = 'التبليغ عن هولاء الاعضاء';
$txt['confirm_spammers_checks'] = 'هل انت متاكد من معاينة الاشخاص الذين تم اختيارهم؟';
$txt['confirm_spammers_report'] = 'هل انت متاكد من رغبتك في التبليغ عن هولاء الاشخاص؟\n\n
فكر حينما تبلغ عن اي عضو فان هذا العضو سوف يعلم كمحاول للسبام حول العالم \nوليس بامكانهم \\\'استخدام اي من المنتديات المرتبطة بهذا البرنامج حول العالم\n\nلقم بالتبليغ فقط

اذا كنت متاكدا كليا ان الشخص محولا للسبام واذا ارتكبت خطا\nقم بالتبليغ بالسرعة الممكنة لمبرمج هذه الخاصية\\\'لاصلاح الخطا في قاعدة البيانات الخاصة بالسبام';
$txt['stopspammer_api_key'] = 'مفتاح ال اي بي اي الخاص بك';
$txt['stopspammer_api_key_sub'] = 'اذا رغبت باستخدام مفتاح ال اي بي اي الخاص بك يجب ان تذهب اولا الئ <a

href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a>للتسجيل للحصول علئ مفتاح وتدوينه هنا. اذا لم تسجل او

لاتملك مفتاحا فاترك المساحة فارغة والخاصية ستستخدم المفتاح العام';
$txt['stopspammer_check_sub1'] = '<br />اذا قمت بتفعيل خاصية ايقاف محاولات السبام, كل مرة تقوم بمعاينة اي شخص';
$txt['stopspammer_check_name'] = 'معاينة اسم المشترك';
$txt['stopspammer_check_mail'] = 'معاينة عنوان البريد الالكتروني';
$txt['stopspammer_check_ip'] = 'معاينة عنوان ال اي بي';
$txt['stopspammer_check_sub2'] = 'بصورة عامة, كل مرة تقوم بمعاينة اي شخص باستخدام خاصية ايقاف مخاولات السبام فان البرنامج سيقوم بفحص اسم المشترك, عنوان البريد

الالكتروني له وعنوان ال اي بي الخاص به. اذا حصلت علئ نتائج ايجابية كثيرة ولكنها غير حقيقية بسبب اسم الستخدم فبامكانك ايقاف خاصية البحث عن الاسم. لايحبذ الغاء الخاصيتين

الاخرتان (البحث في عنوان البريد الالكتروني وعنوان ال اي بي) مالم تكون علئ علم تام بما تفعل;
Title: Re: Stop Spammer
Post by: Wizzlefits on May 10, 2010, 04:24:55 PM
QuoteThanks. FYI that page does not load correctly in Firefox 3.6.3, no radio buttons. Used IE, that worked fine.
humm... I'm using FF 3.6.3 and they show.  Oh well, at least ya got it working.
Title: Re: Stop Spammer
Post by: ZeUsSaN on May 10, 2010, 07:27:43 PM
where the author?
Last Activity: February 13, 2010, 11:19:25 О_о
Title: Re: Stop Spammer
Post by: busterone on May 10, 2010, 09:45:22 PM
Quote from: ZeUsSaN on May 10, 2010, 07:27:43 PM
where the author?
Last Activity: February 13, 2010, 11:19:25 О_о
Snoopy took over this mod. He was here today.
http://www.simplemachines.org/community/index.php?action=profile;u=68708
Title: Re: Stop Spammer
Post by: nax on May 11, 2010, 04:53:40 AM
Anyone working on this for RC3 ?
Title: Re: Stop Spammer
Post by: giveaway365.com on May 11, 2010, 05:03:53 AM
my forum is on RC3... and working fine.
Title: Re: Stop Spammer
Post by: Wizzlefits on May 11, 2010, 07:44:19 AM
My test site is RC3 and it works perfect, along with httpBL and Bad Behavior mods.
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 12, 2010, 05:22:56 AM
Quote from: ZeUsSaN on May 10, 2010, 07:27:43 PM
where the author?
Last Activity: February 13, 2010, 11:19:25 О_о

I'm here.

I read every day all the posts, but normally never answer any of them because by the time I read them, either Arantor or Wizzlefits had already answered them and I don't see any point on answering twice the same question.  ;D
Title: Re: Stop Spammer
Post by: Wizzlefits on May 12, 2010, 08:20:05 AM
When the mod author isn't seen for extended periods, some might think the mod will no longer have bug fixes, features added etc.
Some might also not realize that some authors make a living coding and these mods are just side projects, and at times it might be a little bit before a author can reply. Gotta feed the family first. ;)

With that being said,
Some people just can't help giving a helping hand. Or in this case a helping post. LOL!
Title: Re: Stop Spammer
Post by: Living Proof on May 17, 2010, 09:51:24 AM
Quote from: Wizzlefits on May 11, 2010, 07:44:19 AM
My test site is RC3 and it works perfect, along with httpBL and Bad Behavior mods.

I have tried installing but get the error:
11.   Add Before   ./Sources/ManageMembers.php   Test failed

Would it be safe to install and manually add the script in ManageMemebrs.php?
Title: Re: Stop Spammer
Post by: Wizzlefits on May 17, 2010, 01:34:03 PM
Quote from: Living Proof on May 17, 2010, 09:51:24 AM
Quote from: Wizzlefits on May 11, 2010, 07:44:19 AM
My test site is RC3 and it works perfect, along with httpBL and Bad Behavior mods.

I have tried installing but get the error:
11.   Add Before   ./Sources/ManageMembers.php   Test failed

Would it be safe to install and manually add the script in ManageMemebrs.php?

Yes you can.
Just make sure to backup ManageMembers.php before editing it.  ;)
Title: Re: Stop Spammer
Post by: subcor on June 19, 2010, 10:18:51 AM
When can we expect the new languages to be included?
Title: Re: Stop Spammer
Post by: codysan on June 23, 2010, 11:51:00 PM
Hi Snoop . . . I'm having a weird problem. One of my regular forum members has suddenly appeared on the awaiting approval list.
I didn't put him there. So, I figured I'd just check on his entry (he's the only one on the list) and use the drop down menu to approve him.

Problem is . . . there are no options  on the drop down list that just say "approve"

My drop down list looks like this:

With Selected:
------------------
Approve (Delete Accounts)
Reject

When I click on Approve (Delete Accounts) I get a pop up that asks if I want to delete selected members
And when I choose Reject, of course, I get a pop up that asks me if I want to reject all selected members

I don't want to do either of those things, I just want to clear him off the awaiting approval list . . .

Am I missing something?
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 26, 2010, 04:19:41 AM
Quote from: subcor on June 19, 2010, 10:18:51 AM
When can we expect the new languages to be included?

Sorry I've been too busy with other things. I'll do that as soon as I have some spare time.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 26, 2010, 05:01:21 AM
Quote from: codysan on June 23, 2010, 11:51:00 PM
Hi Snoop . . . I'm having a weird problem. One of my regular forum members has suddenly appeared on the awaiting approval list.
I didn't put him there. So, I figured I'd just check on his entry (he's the only one on the list) and use the drop down menu to approve him.

Problem is . . . there are no options  on the drop down list that just say "approve"

My drop down list looks like this:

With Selected:
------------------
Approve (Delete Accounts)
Reject

When I click on Approve (Delete Accounts) I get a pop up that asks if I want to delete selected members
And when I choose Reject, of course, I get a pop up that asks me if I want to reject all selected members

I don't want to do either of those things, I just want to clear him off the awaiting approval list . . .

Am I missing something?

It looks like you have a problem with your SMF installation. That drop down list should have a few more options.

Anyway this mod doesn't touch that drop down list at all, so your problem must be due to something else.

The first thing you should do is to approve that member going directly inside your database:

Assuming you can access your DB (using a program like phpMyAdmin or anything similar) go to your "members" table, look for that particular member and change the values of "is_activated" to 1 and "is_spammer" to 0.

Another way of doing this is going to the profile page of that member. I am sure there is always a button inside the profile page of every non-approved member saying "approve this account" or something similar.

Of course doing this you only sort the problem about this particular member, but you still need to sort the problem with your drop down list.

Try to search inside a more general help sub-forum (inside this SMF forum) to see if anybody can give you a hand with that to see why your drop down list doesn't look like everybody else.

Anyway, if you cannot find help anywhere else, come back and tell me. I will do an effort and will try to find some time to analyse your SMF installation to see where is the problem.
Title: Re: Stop Spammer
Post by: islam2hamy on July 02, 2010, 08:13:23 AM
Arabic files is attached
Title: Re: Stop Spammer
Post by: stevehow on July 02, 2010, 08:30:45 AM
We've had a bit of a issue with Stop Spammer unfortunately a registered account was deleted prior to a flagged spammer being "approved". The forum header still states 1APPROVE and when your taken to the relevant page no members appear for approval. If we remove the mod and delete the files the issue goes away only to reappear on reinstall. Anyone know of a solution please?
Title: Re: Stop Spammer
Post by: stevehow on July 02, 2010, 11:57:31 AM
Solved,registered a spammer and applied a rejection cleared the forum header '1APPROVE'
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 03, 2010, 12:04:49 PM
Quote from: stevehow on July 02, 2010, 08:30:45 AM
We've had a bit of a issue with Stop Spammer unfortunately a registered account was deleted prior to a flagged spammer being "approved". The forum header still states 1APPROVE and when your taken to the relevant page no members appear for approval. If we remove the mod and delete the files the issue goes away only to reappear on reinstall. Anyone know of a solution please?

Quote from: stevehow on July 02, 2010, 11:57:31 AM
Solved,registered a spammer and applied a rejection cleared the forum header '1APPROVE'

I don't think that have sorted your problem.

This mod have had this bug since the first version done by M-DVD 2 years ago. One of these days I need to concentrate on it and sort it.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 03, 2010, 12:34:30 PM
Full language package updated with these new translations:


The full language package has now these languages:





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_british
  • Spanish_es
  • Spanish_latin


  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024) & JoeB (http://www.simplemachines.org/community/index.php?action=profile;u=79525)
  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)
  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119) and Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Polish by cat11 (http://www.simplemachines.org/community/index.php?action=profile;u=177573) & flapjack (http://www.simplemachines.org/community/index.php?action=profile;u=172454)
  • Portuguese_brazilian by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_pt by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774) & Bugo (http://www.simplemachines.org/community/index.php?action=profile;u=229017)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)

Missing 7 lines:

  • Hungarian by subcor (http://www.simplemachines.org/community/index.php?action=profile;u=247244)

Missing 9 lines:

  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)

Missing 18 lines:

  • Norwegian by Skoen (http://www.simplemachines.org/community/index.php?action=profile;u=56)

   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete

Thanks again to everybody helping with the mod and again sorry for not updating it earlier.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 03, 2010, 05:05:56 PM
Full language package updated again with the missing lines from Hungarian language thanks to subcor. Hungarian is now fully translated.





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_british
  • Spanish_es
  • Spanish_latin


  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024) & JoeB (http://www.simplemachines.org/community/index.php?action=profile;u=79525)
  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)
  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
  • Hungarian by subcor (http://www.simplemachines.org/community/index.php?action=profile;u=247244)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119) and Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Polish by cat11 (http://www.simplemachines.org/community/index.php?action=profile;u=177573) & flapjack (http://www.simplemachines.org/community/index.php?action=profile;u=172454)
  • Portuguese_brazilian by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_pt by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774) & Bugo (http://www.simplemachines.org/community/index.php?action=profile;u=229017)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)

Missing 9 lines:

  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)

Missing 18 lines:

  • Norwegian by Skoen (http://www.simplemachines.org/community/index.php?action=profile;u=56)

   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete

Köszönet subcor

Title: Re: Stop Spammer
Post by: Skoen on July 05, 2010, 05:19:27 AM
Complete Norwegian translation:

Quote$txt['stopspammer_error'] = 'Kunne ikke koble til Anti-SPAM-database. Tilkobling feilet.
Prøv igjen senere eller kontakt webmaster';
$txt['stopspammer_count'] = 'Blokkerte spammere til nå';
$txt['stopspammer_title'] = 'Finn mer informasjon i "Stop Forum Spam"';

$txt['stopspammer_enable'] = 'Aktiver/Deaktiver Stop Spammer-mod';
$txt['stopspammer_show01'] = 'Vis link "Mer info" for alle medlemmer';
$txt['stopspammer_show01_sub'] = 'Du kan huke av hvert medlem når du vil bare med et klikk';

$txt['stopspammer_faildb'] = 'Hvis ingen forbindelse med Anti-Spam-databasen...';
$txt['stopspammer_fail01'] = 'Vis feilmelding og stopp registrering';
$txt['stopspammer_fail02'] = 'Tillat øyblikkelig registering';
$txt['stopspammer_fail03'] = 'Medlemsgodkjenning og vis ikon for avhuking';
$txt['stopspammer_faildb1_sub'] = 'Din vert kan koble til eksternt til databasen';
$txt['stopspammer_faildb2_sub'] = 'Din vert kan ikke koble til databasen. Prøv igjen senere<br />
Dersom problemene fortsetter, sjekk ut følgende link for hjelp ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Ikke spammer: Denne informasjonen var ikke i datamasen. Men du kan sjekke';
$txt['stopspammer_leyd02'] = 'Mistenkt: Kunne ikke sjekke dette medlemmet. Sjekk nå';
$txt['stopspammer_leyd03'] = 'Spammere: Se mer informasjon til disse spammerne';

$txt['stopspammer_profilecheck'] = 'Sjekk dette medlemmet';
$txt['stopspammer_limitexceded'] = 'Du har nådd grensen for antall sjekker (5000 forespørsler hver dag).<br />
Du får vente til i morgen før du sjekker igjen.';

$txt['in_stop_forum_spam'] = 'På Stop Forum Spams nettside:';
$txt['spammers_checks'] = 'Sjekk disse medlemmene';
$txt['spammers_report'] = 'Rapporter disse medlemmene';
$txt['confirm_spammers_checks'] = 'Er du sikker på at du vil sjekke de valgte medlemmene?';
$txt['confirm_spammers_report'] = 'Er du sikker på at du vil rapportere de valgte medlemmene?\n\n
Når du rapporterer et medlem til SFS vil vedkommende bli markert som spammer i hele verden og vil ikke få muligheten til å bruke noen av foraene tilknyttet SFS.\n\n
Gjør dette bare når du er helt sikker på at de er spammere, og dersom du mener du har gjort en feil, kontakt utvikleren av denne moden for å rette feilen i SFS-databasen.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 06, 2010, 08:48:55 AM
Quote from: Skoen on July 05, 2010, 05:19:27 AM
Complete Norwegian translation:

...

Thanks for your help Skoen.

Anyway your translation is not complete. You have translated the 23 lines we were using in version 2.3 (from December 2008) and the actual version 2.3.7 (from February 2010) have 30 lines.

It means you are not using the updated version of the mod so I would recommend you to update it as soon as you can, because the new version fixes a few important things.

In case you don't see them, the 7 missing lines you have are these ones:


$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 <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> 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'] = '<br />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.';


Thanks again.
Title: Re: Stop Spammer
Post by: burmjohn on July 06, 2010, 02:12:53 PM
Thanks for this mod, its awesome!
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 07, 2010, 09:36:38 AM
Quote from: burmjohn on July 06, 2010, 02:12:53 PM
Thanks for this mod, its awesome!

You're welcome
Title: Re: Stop Spammer
Post by: Taija299 on July 08, 2010, 08:02:47 PM
A very helpful mod - thank you!

To give something back, I translated the whole thing to Finnish (UTF-8).

$txt['stopspammer_error'] = 'Anti SPAM tietokannassa oli virhe. Yhteys ep&#228;onnistui.<br />
Yrit&#228; my&#246;hemmin uudestaan tai ota yhteytt&#228; yll&#228;pitoon';
$txt['stopspammer_count'] = 'sp&#228;mm&#228;&#228;j&#228;&#228; estetty t&#228;h&#228;n p&#228;iv&#228;&#228;n asti';
$txt['stopspammer_title'] = 'Etsi lis&#228;&#228; tietoja `Stop Forum Spam` -sivustolta';

$txt['stopspammer_enable'] = 'Aktivoi Stop Spammer -modi';
$txt['stopspammer_show01'] = 'N&#228;yt&#228; tarkistuskuvake kaikkien j&#228;senien vieress&#228;';
$txt['stopspammer_show01_sub'] = 'Voit tarkistaa kenen j&#228;senen tahansa milloin tahansa vain yhdell&#228; klikkauksella.';

$txt['stopspammer_faildb'] = 'Jos yhteys Anti SPAM tietokantaan ep&#228;onnistuu...';
$txt['stopspammer_fail01'] = 'N&#228;yt&#228; virheilmoitus ja pys&#228;yt&#228; rekister&#246;ityminen';
$txt['stopspammer_fail02'] = 'Salli v&#228;lit&#246;n rekister&#246;ityminen';
$txt['stopspammer_fail03'] = 'Edellyt&#228; j&#228;senen hyv&#228;ksyminen ja n&#228;yt&#228; keltainen kuvake';
$txt['stopspammer_faildb1_sub'] = 'Yhteys tietokantaan onnistui.';
$txt['stopspammer_faildb2_sub'] = 'Yhteys tietokantaan ep&#228;onnistui. Yrit&#228; my&#246;hemmin uudestaan.<br />
Jos ongelma jatkuu, etsi apua t&#228;&#228;lt&#228;:';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Ei ole sp&#228;mm&#228;&#228;j&#228;: Vastaavia tietoja ei l&#246;ytynyt tietokannasta, mutta voit silti tarkistaa';
$txt['stopspammer_leyd02'] = 'Ep&#228;ilty: T&#228;m&#228;n j&#228;senen tarkistaminen ei onnistunut - tarkista nyt';
$txt['stopspammer_leyd03'] = 'On sp&#228;mm&#228;&#228;j&#228;: Lue lis&#228;&#228; t&#228;m&#228;n sp&#228;mm&#228;&#228;j&#228;n toiminnasta';

$txt['stopspammer_profilecheck'] = 'Tarkista t&#228;m&#228; j&#228;sen';
$txt['stopspammer_limitexceded'] = 'Olet ylitt&#228;nyt tarkistus rajan (5000 API pyynt&#246;&#228; p&#228;iv&#228;ss&#228;).<br />
Yrit&#228; huomenna uudestaan.';

$txt['in_stop_forum_spam'] = 'Stop Forum Spam sivustolla:';
$txt['spammers_checks'] = 'Tarkista n&#228;m&#228; j&#228;senet';
$txt['spammers_report'] = 'Reportoi n&#228;m&#228; j&#228;senet';
$txt['confirm_spammers_checks'] = 'Haluatko varmasti tarkistaa valitut j&#228;senet?';
$txt['confirm_spammers_report'] = 'Haluatko varmasti reportoida valitut j&#228;senet?\n\n
Kun reportoit j&#228;senen, heid&#228;t merkit&#228;&#228;n sp&#228;mm&#228;&#228;j&#228;ksi kaikkialla maailmassa\n
ja he eiv&#228;t en&#228;&#228; pysty k&#228;ytt&#228;m&#228;&#228;n foorumeita, jotka ovat yhteydess&#228; SFS-sivustoon.\n\n
Tee n&#228;in vain, jos olet t&#228;ysin varma. Jos teet virheellisen raportin,\n
kerro v&#228;litt&#246;m&#228;sti modin tekij&#228;lle.';

$txt['stopspammer_api_key'] = 'API avain';
$txt['stopspammer_api_key_sub'] = 'Jos tahdot k&#228;ytt&#228;&#228; omaa API avaintasi, sinun t&#228;ytyy ensin menn&#228;
<a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> sivulle saadaksesi sen. J&#228;t&#228; kentt&#228; tyhj&#228;ksi k&#228;ytt&#228;&#228;ksesi oletusavainta.';

$txt['stopspammer_check_sub1'] = '<br />Jos Stop Spammer -modi on aktivoitu, j&#228;seni&#228; tarkistaessa:';
$txt['stopspammer_check_name'] = 'Tarkista k&#228;ytt&#228;j&#228;tunnus';
$txt['stopspammer_check_mail'] = 'Tarkista s&#228;hk&#246;posti';
$txt['stopspammer_check_ip'] = 'Tarkista IP-osoite';
$txt['stopspammer_check_sub2'] = 'Stop Spammer -modi tarkistaa oletuksena sek&#228; k&#228;ytt&#228;j&#228;tunnuksen, s&#228;hk&#246;postin ett&#228; IP-osoitteen.
Jos moni j&#228;sen virheellisesti merkit&#228;&#228;n sp&#228;mm&#228;&#228;j&#228;ksi heid&#228;n k&#228;ytt&#228;j&#228;tunnuksiensa takia, voit j&#228;tt&#228;&#228;
sen kohdan rastimatta. Emme suosittele poistamaan kahta muuta valintaa, ellet tied&#228; mit&#228; teet.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 09, 2010, 06:41:39 AM
Full language package updated again with Finnish language thanks to Taija299:





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_british
  • Spanish_es
  • Spanish_latin


  • Arabic by islam2hamy (http://www.simplemachines.org/community/index.php?action=profile;u=126024) & JoeB (http://www.simplemachines.org/community/index.php?action=profile;u=79525)
  • Croatian by mbreber (http://www.simplemachines.org/community/index.php?action=profile;u=189883)
  • Dutch by Laurens73 (http://www.simplemachines.org/community/index.php?action=profile;u=205504) & boudie (http://www.simplemachines.org/community/index.php?action=profile;u=224951)
  • Finnish by Taija299 (http://www.simplemachines.org/community/index.php?action=profile;u=246366)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
  • Hungarian by subcor (http://www.simplemachines.org/community/index.php?action=profile;u=247244)
  • Indonesian by affbrow (http://www.simplemachines.org/community/index.php?action=profile;u=219119) and Exsharaen (http://www.simplemachines.org/community/index.php?action=profile;u=71820)
  • Polish by cat11 (http://www.simplemachines.org/community/index.php?action=profile;u=177573) & flapjack (http://www.simplemachines.org/community/index.php?action=profile;u=172454)
  • Portuguese_brazilian by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Portuguese_pt by candidopt (http://www.simplemachines.org/community/index.php?action=profile;u=191980) & FragaCampos (http://www.simplemachines.org/community/index.php?action=profile;u=94593)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774) & Bugo (http://www.simplemachines.org/community/index.php?action=profile;u=229017)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)

Missing 7 lines:

  • Norwegian by Skoen (http://www.simplemachines.org/community/index.php?action=profile;u=56)

Missing 9 lines:

  • Bulgarian by 6aro (http://www.simplemachines.org/community/index.php?action=profile;u=97075)
  • Chinese Simplified by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Chinese Traditional by fmben (http://www.simplemachines.org/community/index.php?action=profile;u=8089)
  • Danish by zcuba (http://www.simplemachines.org/community/index.php?action=profile;u=208073)
  • French by Gabatt (http://www.simplemachines.org/community/index.php?action=profile;u=202243)
  • Italian by OriginalP (http://www.simplemachines.org/community/index.php?action=profile;u=88848)
  • Swedish by JornB (http://www.simplemachines.org/community/index.php?action=profile;u=196436)
  • Turkish by GaMeR (http://www.simplemachines.org/community/index.php?action=profile;u=71538)

   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete

Kiitos Taija
Title: Re: Stop Spammer
Post by: cxP57 on July 13, 2010, 05:28:04 AM
5 stars   :D
Title: Re: Stop Spammer
Post by: GadgetGeek on July 14, 2010, 02:46:37 PM


Stop Spammer is working fine for me...

I had someone that I know attempt to log on to my board and his IP address was caught by Stop Spammer.  I had already done my morning maintenance and had both checked and deleted him after reporting to Stop Spammer, so I had him log on again.

I do not want his IP address to be on the terrific Stop Spammer database, how do I notify the owners/writers of Stop Spammer to pull his name and information off from the database..

As you can probably tell I am fairly new at this and need all the help I can get..  Stop Spammer has sure saved me a lot of time.

thanks in advance

[email protected]

.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 15, 2010, 05:47:34 AM
Quote from: GadgetGeek on July 14, 2010, 02:46:37 PM
...
I do not want his IP address to be on the terrific Stop Spammer database, how do I notify the owners/writers of Stop Spammer to pull his name and information off from the database..
...

If you make a mistake an report somebody who is not a spammer you need to log inside StopSpammer website to sort it. More exactly inside their forum: http://www.stopforumspam.com/forum/ with the username and password you used when you asked for your own API key.

Once you are already logged in, you will see the link to "My Spammers": http://www.stopforumspam.com/forum/spammers and there you will see a list of all the spammers you have reported, with a button next to each one to delete it from the database.

If you are not using your own API key and you are reporting spammers using the default API key inside the mod you cannot do it yourself, so you will need to contact M-DVD and ask him to do it, because that API key belong to him.
Title: Re: Stop Spammer
Post by: GadgetGeek on July 15, 2010, 01:40:51 PM
Quote from: snoopy_virtual on July 15, 2010, 05:47:34 AM
Quote from: GadgetGeek on July 14, 2010, 02:46:37 PM
...
I do not want his IP address to be on the terrific Stop Spammer database, how do I notify the owners/writers of Stop Spammer to pull his name and information off from the database..
...

If you make a mistake an report somebody who is not a spammer you need to log inside StopSpammer website to sort it. More exactly inside their forum: http://www.stopforumspam.com/forum/ with the username and password you used when you asked for your own API key.

Once you are already logged in, you will see the link to "My Spammers": http://www.stopforumspam.com/forum/spammers and there you will see a list of all the spammers you have reported, with a button next to each one to delete it from the database.

If you are not using your own API key and you are reporting spammers using the default API key inside the mod you cannot do it yourself, so you will need to contact M-DVD and ask him to do it, because that API key belong to him.

Well surprise, surprise..  when I attempted to logon to Stop Spammer it says I am blacklisted.. Also when I attempted to "contact" them it didn't allow it saying I was blacklisted..   Good grief, I am a board operator and have no idea (sure I'm a novice but........) how I got to be blacklisted on the SPAMMER software forum..  ?

Oh well, I give up for today..   I have spent an hour or two attempting to unravel this and just DO not know how.. ?

.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 16, 2010, 05:39:29 AM
Quote from: GadgetGeek on July 15, 2010, 01:40:51 PM
...
Well surprise, surprise..  when I attempted to logon to Stop Spammer it says I am blacklisted.. Also when I attempted to "contact" them it didn't allow it saying I was blacklisted..   Good grief, I am a board operator and have no idea (sure I'm a novice but........) how I got to be blacklisted on the SPAMMER software forum..  ?
...

Well, I'm not blacklisted there, so I can contact them, find out why you are blacklisted and ask them to whitelist your name again.

I can think of a few reasons why you may be blacklisted:


=================

So to try to sort this I will need to know as much personal information you can give me from yourself:


=================

Of course, as this is an open forum and anybody could be reading it, I think it would be better if you send me all this personal information via a "Personal Message" or an email instead of writing it here.

Just in case you don't know it, my email is: info [at] snoopyvirtualstudio [dot] com
Title: Re: Stop Spammer
Post by: akc42 on July 30, 2010, 09:09:18 AM
Having successfully implemented the mod on my 1.1 smf forum, I am now preparing for the v2 upgrade and have built a test forum on my home machine running v2.0RC3.

Its all looking good apart from one small piece - that is the stuff at the bottom of the members list has somehow screwed over to the right.

I attach a screenshot (at 50% fullsize) of the area to show the problem.  This is the default "Curve" theme with the colours modded by me to make a new theme.

I made a few simple changes as shown below in Sources/ManageMembers.php


!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="margin: auto" class="leyend_stopspammer">
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
</div>',
// 'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<label>' . $txt['in_stop_forum_spam'] . '</label>
<input type="submit" name="spammers_checks" value="' . $txt['spammers_checks'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_checks'] . '\');" class="button_submit" />
<input type="submit" name="spammers_report" value="' . $txt['spammers_report'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_report'] . '\');" class="button_submit" />',
// 'class' => 'titlebg','titlebg',
'style' => 'text-align: right;',


And this seems to resolve them.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 30, 2010, 03:28:00 PM
Hi akc42:

I wouldn't worry too much about how it looks like in RC3. Please remember SMF v2 is not stable yet. They have been changing it a lot with every new RC version, so I will wait for the stable version before doing any changes there.

At least, for me, the more important thing is if the mod works and no how it looks like.

I mean: I don't care too much if the buttons are on the right, the middle or the left, but if they are working or not.

Whenever SMF 2 becomes stable I will change all my forums from 1.1.11 to 2 and then I will worry about how it looks like. But I don't think this will be happening in a near future, so in the mean time I will continue using 1.1.11 in all my important forums and I will keep only a test forum with RC3.
Title: Re: Stop Spammer
Post by: fullmetalgirl on August 03, 2010, 08:50:15 AM
i tried installing this on my dutch forum (smf1.1.11),
did everything "by the book"

but when it was done i got an error in the dutch modification file. (can't remember the error, something wrong in line ??

also it changed my theme settings to default.

thought you should know and hoping you can tell me what went wrong :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 03, 2010, 10:07:59 AM
Quote from: fullmetalgirl on August 03, 2010, 08:50:15 AM
i tried installing this on my dutch forum (smf1.1.11),
did everything "by the book"

but when it was done i got an error in the dutch modification file. (can't remember the error, something wrong in line ??

also it changed my theme settings to default.

thought you should know and hoping you can tell me what went wrong :)

With these few details it's a little difficult to tell what went wrong.

I will need to take a look at your SMF installation to find and sort the error.

Send me a PM with your Skype ID and tell me at what time I can contact you and I will sort it.

PS: If you haven't got Skype, install it: http://www.skype.com
Title: Re: Stop Spammer
Post by: GohighVoltage on August 03, 2010, 11:39:59 AM
What does this mod add/change in the Database?   I uninstalled the mod,   so now I just want to make sure all remnants are deleted from my database.

thanks
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 04, 2010, 06:45:09 AM
Quote from: GohighVoltage on August 03, 2010, 11:39:59 AM
What does this mod add/change in the Database?

Inside the table members it adds the column is_spammer

And then, inside the table settings it adds these 8 variables:

stopspammer_count
stopspammer_enable
stopspammer_show01
stopspammer_faildb
stopspammer_api_key
stopspammer_check_name
stopspammer_check_mail
stopspammer_check_ip


Of course I'm talking about the latest version 2.3.7

If you had a different version tell me which one and I will check it.
Title: Re: Stop Spammer
Post by: Bigguy on August 05, 2010, 04:19:30 PM
The latest version of this mod appears to be broken. It will not install. Seems the .xml files are missing. ???
Title: Re: Stop Spammer
Post by: Wizzlefits on August 05, 2010, 07:37:29 PM
Quote from: Bigguy on August 05, 2010, 04:19:30 PM
The latest version of this mod appears to be broken. It will not install. Seems the .xml files are missing. ???
You might have a corrupt download/upload, just checked (version 2.3.7) and all files are there.
StopSpammer_v2_3_7.zip should have the following files....

install_1.php
install_1.xml
install_2.php
install_2.xml
languages.xml
moreinfo.gif
package-info.xml
readme.txt
spammer.gif
StopSpammer.php
suspect.gif
Title: Re: Stop Spammer
Post by: Bigguy on August 05, 2010, 11:00:23 PM
That one seemed to work but this one should be removed if it is not a mod:

StopSpammer_v2_3_for_RC1.2.zip
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 06, 2010, 06:21:53 AM
Quote from: Bigguy on August 05, 2010, 11:00:23 PM
That one seemed to work but this one should be removed if it is not a mod:

StopSpammer_v2_3_for_RC1.2.zip

I was keeping there also old versions and other files related with the mod, because I thought people would know how to read and follow the instructions.

I thought it was very clear that this mod is compatible only with SMF 1.1.11, 2.0 RC2 and 2.0 RC3

This mod is not compatible with SMF 2.0 RC1.2, and the file you are talking about is something I did to help people with that version of SMF, so they could use the old version 2.3 of the mod with a small modification, and it has inside a readme file explaining how to use it.

But I suppose you are right. It's better to leave there only the latest version of the mod and keep old versions and other related files in the archives in my server.
Title: Re: Stop Spammer
Post by: Bigguy on August 06, 2010, 09:56:09 AM
My mistake snoopy_virtual. That's fine. I guess after I opened it and didn't find any .xml files I thought it was broken. Sorry about that and next time I will read more carefully. ;)
Title: Re: Stop Spammer
Post by: Dharshan on August 10, 2010, 07:21:43 AM
i got a wave of human spammers recently, and just have installed this mod. this is pretty neat by what it says. hope i can kick away the spammers now.

just checked the list (members who have already registered) the icons does not show right.

everyone is marked with

Not Spammer: This data wasn't in a DB. But you can check

Title: Re: Stop Spammer
Post by: snoopy_virtual on August 10, 2010, 07:59:07 AM
Hi Dharshan

I don't really understand what you mean.

Are you saying you have a lot of spammers but after you have checked them with this mod they are all of them marked as "no spammers"?

Are you sure you are using the mod properly?

How many anti-spammers mods are you using? Only this one or have you also installed another one like mod httpBL, bad-behaviour, etc?
Title: Re: Stop Spammer
Post by: Dharshan on August 10, 2010, 08:07:28 AM
Apologies for my noobiness...

"dharshan didnt' click the "check these members button"..  :-X

have it working now. Great! thanks.

removed 15 members so far
Title: Re: Stop Spammer
Post by: Saint_Frater on August 17, 2010, 06:42:14 AM
French translation (complete)

// MOD Stop Spammer - Translation by Gabatt & Saint_Frater
$txt['stopspammer_error'] = 'Erreur avec la base de donn&eacute;e de r&eacute;f&eacute;rence Anti SPAM. La connexion a &eacute;chou&eacute;.<br />
Essayez plus tard ou contactez le Webmaster.';
$txt['stopspammer_count'] = 'Spammeurs ont &eacute;t&eacute; bloqu&eacute;s jusqu\'&agrave; aujourd\'hui';
$txt['stopspammer_title'] = 'Chercher plus d\'information sur `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Activer/D&eacute;sactiver le MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Montrer les ic&ocirc;nes "Plus d\'infos" pour tous les membres';
$txt['stopspammer_show01_sub'] = 'Vous pourrez v&eacute;rifier n\'importe quel membre &agrave; tout moment d\'un simple clic';

$txt['stopspammer_faildb'] = 'Si la connexion &eacute;choue avec la base de donn&eacute;e Anti SPAM...';
$txt['stopspammer_fail01'] = 'Montrer un message d\'erreur et stopper l\'inscription';
$txt['stopspammer_fail02'] = 'Autoriser l\'inscription imm&eacute;diate';
$txt['stopspammer_fail03'] = 'Placer le membre en attente d\'approbation pour v&eacute;rification';
$txt['stopspammer_faildb1_sub'] = 'Votre h&eacute;bergeur peut se connecter &agrave; la base de donn&eacute;e';
$txt['stopspammer_faildb2_sub'] = 'Votre h&eacute;bergeur ne peut pas se connecter &agrave; la base de donn&eacute;e, r&eacute;essayez plus tard.<br />
Si cela persiste, consultez le forum du support du MOD et cherchez dans les ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>problèmes connus</b></span></a>';

$txt['stopspammer_leyd01'] = 'Pas un Spammer: Les donn&eacute;es de ce membre ne sont pas dans la base de donn&eacute;e de r&eacute;f&eacute;rence. Mais vous pouvez les contr&ocirc;ler.';
$txt['stopspammer_leyd02'] = 'Suspect : les donn&eacute;es de ce membre ne peuvent pas être v&eacute;rifi&eacute;es. A contr&ocirc;ler.';
$txt['stopspammer_leyd03'] = 'Spammeur : V&eacute;rifiez les messages et actions de ce membre.';

$txt['stopspammer_profilecheck'] = 'V&eacute;rifier ce membre';
$txt['stopspammer_limitexceded'] = 'Vous avez d&eacute;passer la limit de v&eacute;rification (5000 requetes API par jour).<br />Vous devrez attendre jusqu\'&agrave; demain pour faire de nouvelles v&eacute;rifications.';

$txt['in_stop_forum_spam'] = 'Dans le site Stop Forum Spam :';
$txt['spammers_checks'] = 'Contr&ocirc;ler ces membres';
$txt['spammers_report'] = 'Inscrire ces membres comme spammeurs dans la base de donn&eacute;e de r&eacute;f&eacute;rence';
$txt['confirm_spammers_checks'] = 'Etes-vous s&ugrave;r de vouloir v&eacute;rifier les membres s&eacute;lectionn&eacute;s ?';
$txt['confirm_spammers_report'] = 'Etes-vous s&ugrave;r de vouloir inscrire les membres s&eacute;lectionn&eacute;s comme spammeurs dans la base de donn&eacute;e de r&eacute;f&eacute;rence ?\n\nGardez &agrave; l\'esprit que quand vous inscrivez un membre dans cette base de donn&eacute;e mondiale "Stop Forum Spam", il/elle sera r&eacute;f&eacute;renc&eacute;-e- comme spammeur dans le monde entier\net il/elle ne pourra plus utiliser aucun forum utilisant cette base de donn&eacute;e.\n\nNe faites cela que si vous êtes absolument s&ugrave;r que ce membre est un spammeur, et si par malchance vous faites une erreur, contactez dès que possible le cr&eacute;ateur de ce MOD pour corriger l\'erreur dans la base de donn&eacute;e mondiale "SFS".';

$txt['stopspammer_api_key'] = 'Votre cl&eacute; API';
$txt['stopspammer_api_key_sub'] = 'Si vous d&eacute;sirez utiliser votre propre cl&eacute; API, vous devez commencer par allez sur <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> pour demander une cl&eacute; et l\'inscrire ici. Si vous n\'avez pas de cl&eacute;, laissez le champ vide et le mod utilisera une cl&eacute; API g&eacute;n&eacute;rique.';

$txt['stopspammer_check_sub1'] = '<br />Si MOD Stop Spammer est actif, chaque fois nous v&eacute;rifions un membre :';
$txt['stopspammer_check_name'] = 'V&eacute;rifier son pseudo';
$txt['stopspammer_check_mail'] = 'V&eacute;rifier son email';
$txt['stopspammer_check_ip'] = 'V&eacute;rifier son adresse IP';
$txt['stopspammer_check_sub2'] = 'Par d&eacute;faut, chaque fois que vous v&eacute;rifier un membre avec MOD Stop Spammer il va v&eacute;rifier son pseudo, email et adresse IP. Si vous avez trop de faux positif a cause de leurs pseudo, vous pouvez d&eacute;sactiv&eacute; cette option. Nous ne recommandons pas de d&eacute;sactiv&eacute; les deux autres options (pour v&eacute;rifier les email et les adresses IP) a moins que vous sachiez ce que vous faites.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 17, 2010, 11:31:20 AM
Merci beaucoup Saint_Frater

I will add that to the language pack as soon as I have some spare time.  ;)
Title: Re: Stop Spammer
Post by: Syrion on August 23, 2010, 11:01:46 AM
Hi snoopy_virtual,

Thanks for creating this mod, appearently it blocked a couple of dozen spammers already in the last couple of days.

Anyway, I may have found a bug, I get the message "There is one member awaiting approval." while no one actually is.
Any idea what may cause this?
Title: Re: Stop Spammer
Post by: LeYoyo on August 24, 2010, 01:48:23 AM
Hi all,

I had (on SMF 1.1.11) the v2.2 from the mod and tried to install the last version.

Using the package management, I removed the old one and install the new one.
Now, I cannot access to the member pages anymore.

I'm getting the following error :
Fatal error: Cannot redeclare sprintfspamer() (previously declared in /homepages/35/d198994980/htdocs/forum/Sources/StopSpammer.php:120) in /homepages/35/d198994980/htdocs/forum/Sources/Load.php(1741) : eval()'d code on line 528

But here are the lines 510 to 528 from Load.php

if (!empty($modSettings['userLanguage']) && !empty($_REQUEST['language']))
{
$user_info['language'] = strtr($_REQUEST['language'], './\\:', '____');
$_SESSION['language'] = $user_info['language'];
}
elseif (!empty($modSettings['userLanguage']) && !empty($_SESSION['language']))
$user_info['language'] = strtr($_SESSION['language'], './\\:', '____');

// Just build this here, it makes it easier to change/use.
if ($user_info['is_guest'])
$user_info['query_see_board'] = 'FIND_IN_SET(-1, b.memberGroups)';
// Administrators can see all boards.
elseif ($user_info['is_admin'])
$user_info['query_see_board'] = '1';
// Registered user.... just the groups in $user_info['groups'].
else
$user_info['query_see_board'] = '(FIND_IN_SET(' . implode(', b.memberGroups) OR FIND_IN_SET(', $user_info['groups']) . ', b.memberGroups))';
}


No sprintfspamer() declaration...

Any idea ?
Title: Re: Stop Spammer
Post by: LeYoyo on August 24, 2010, 09:13:04 AM
I just finished to double check the .php modified files with the manual installation. Everything seems to be OK.
So, so origin is probably an error during the uninstall process of the older version...
Title: Re: Stop Spammer
Post by: LeYoyo on August 24, 2010, 10:19:55 AM
Issue solved.

After some uninstall/install, I saw that when the mod was uninstalled, the stopforumspam was still shown in the memberlist !  I checked more and found that a in the current theme it was a copy of the managemembers.template.php file.  I removed the file, now everything seems to work well :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 27, 2010, 12:28:47 PM
Quote from: Syrion on August 23, 2010, 11:01:46 AM
Hi snoopy_virtual,

Thanks for creating this mod, appearently it blocked a couple of dozen spammers already in the last couple of days.

Anyway, I may have found a bug, I get the message "There is one member awaiting approval." while no one actually is.
Any idea what may cause this?

That's a known bug.

If you search inside this thread you will find it has been reported a lot of times and even some people have written some work-around.

If you check also our "road map": http://custom.simplemachines.org/mods/index.php?mod=1547#post_roadmap you will see it is already in the list of "Things to do in the near future".
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 27, 2010, 12:30:37 PM
Quote from: LeYoyo on August 24, 2010, 10:19:55 AM
Issue solved.

After some uninstall/install, I saw that when the mod was uninstalled, the stopforumspam was still shown in the memberlist !  I checked more and found that a in the current theme it was a copy of the managemembers.template.php file.  I removed the file, now everything seems to work well :)

Sorry I didn't answer you earlier, but I have been away a few days and just saw it.

Anyway, apparently you have resolved the issue yourself.

Glad to hear it.
Title: Re: Stop Spammer
Post by: MoreBloodWine on August 28, 2010, 02:12:45 AM
Might I suggest adding a Reject & Report to this ? I know you can report from another page in the member list area but I feel it would be easier to report from this page. I also found out that reporting from the "other" page is what leads to the one awaiting approval thing when no ones waiting to be approved / rejected.

The pic shows what I'm talking about... but I think it would be an excellent addition to the mod.

Title: Re: Stop Spammer
Post by: snoopy_virtual on August 28, 2010, 06:00:19 AM
Quote from: MoreBloodWine on August 28, 2010, 02:12:45 AM
Might I suggest adding a Reject & Report to this ? I know you can report from another page in the member list area but I feel it would be easier to report from this page. I also found out that reporting from the "other" page is what leads to the one awaiting approval thing when no ones waiting to be approved / rejected.

If you check our "road map": http://custom.simplemachines.org/mods/index.php?mod=1547#post_roadmap you will see it is already in the list of "Things to do in the near future".

The problem is I have been too busy lately, but I hope I will be able to do that some day.
Title: Re: Stop Spammer
Post by: cryptodan on August 30, 2010, 11:47:01 PM
Will this be ported to SMF 2.0RC3 any time soon?
Title: Re: Stop Spammer
Post by: busterone on August 30, 2010, 11:50:31 PM
http://custom.simplemachines.org/mods/index.php?mod=1547 (http://custom.simplemachines.org/mods/index.php?mod=1547)
This mod is RC3 compatible.
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 31, 2010, 06:56:46 AM
Quote from: dan502 on August 30, 2010, 11:47:01 PM
Will this be ported to SMF 2.0RC3 any time soon?

Sometimes I wonder why I write so many tutorials and explanations when people usually never bother to read them.

I think it's very clear:


http://custom.simplemachines.org/mods/index.php?mod=1547
Title: Re: Stop Spammer
Post by: Dream of Omnimaga on September 08, 2010, 02:11:30 PM
As for September, this mod no longer appears to work. It no longer detects spammers and when I do a scan in my member list, it doesn't respond at all anymore, then 5 minutes later, it timeouts. Yet, the Stop Forum Spam site is still up.

My guess is that it is due to their website redesign, which probably killed the mod. Do you think we will see another update soon?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 08, 2010, 03:10:11 PM
Quote from: DJ Omnimaga on September 08, 2010, 02:11:30 PM
As for September, this mod no longer appears to work. It no longer detects spammers and when I do a scan in my member list, it doesn't respond at all anymore, then 5 minutes later, it timeouts. Yet, the Stop Forum Spam site is still up.

My guess is that it is due to their website redesign, which probably killed the mod. Do you think we will see another update soon?

I don't know what are you talking about.

I administer 6 different forums just now and I check the new members every day and the mod is working perfect for me.

What version of SMF you have?

What version of the mod?

Have you installed lately any other new mod which could have interfered with this one?
Title: Re: Stop Spammer
Post by: Dream of Omnimaga on September 08, 2010, 07:19:11 PM
Version    2.3.7 of the mod. SMF 1.1.11. No other mods were installed in months.

Also when I go on the mod setting pages, it says "Your host couldn't make connection with the DB. Try again later. If this error continues see Support Topic and search Known Issues" in red. It did not happen until a week ago. Could this be a host-related issue? I have tried the "cURL fetch_web_data" mod and it would still not work either.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 09, 2010, 08:31:48 AM
Quote from: DJ Omnimaga on September 08, 2010, 07:19:11 PM
Version    2.3.7 of the mod. SMF 1.1.11. No other mods were installed in months.

Also when I go on the mod setting pages, it says "Your host couldn't make connection with the DB. Try again later. If this error continues see Support Topic and search Known Issues" in red. It did not happen until a week ago. Could this be a host-related issue? I have tried the "cURL fetch_web_data" mod and it would still not work either.

OK, so your server cannot connect with SFS (StopForumSpam) server just now, but it was doing it OK a few weeks ago.

We also know that you have everything updated and you haven't got any new mods.

The only conclusion I can see is that something has changed inside your server, so it must be a host-related issue.

I would suggest you contact your host (preferably the server admin or somebody in the tech department) and ask them if they have changed lately anything inside the server configuration. More precisely ask them why cUrl is not working for you any more.

Anyway, I just remember somebody else (manicbe) had a similar problem a year and a half ago, and we sorted it then.

You can read the solution I suggested at the time here:

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

Reading it you can get the general idea, but don't copy and paste those instructions, because they were for an old version.

For the actual version the instructions will be:

Find the file StopSpammer.php inside your Sources folder.

Around line 30 find the lines:


// Try to download.
require_once($sourcedir . '/Subs-Package.php');
$down_ok = fetch_web_data($remoteXML);


Replace them with this ones:


// Try to download.
//require_once($sourcedir . '/Subs-Package.php');
$down_ok = file_get_contents($remoteXML);


Around line 82 find the lines:


if ($report)
fetch_web_data('http://www.stopforumspam.com/add', 'username=' . $row['member_name'] . '&ip_addr=' . $row['member_ip'] . '&email=' . $row['email_address'] . '&api_key=' . (!empty($modSettings['stopspammer_api_key']) ? $modSettings['stopspammer_api_key'] : 'O0Ys3RHtDZPMfB'));


Replace them with this ones:


if ($report)
file_get_contents('http://www.stopforumspam.com/add', 'username=' . $row['member_name'] . '&ip_addr=' . $row['member_ip'] . '&email=' . $row['email_address'] . '&api_key=' . (!empty($modSettings['stopspammer_api_key']) ? $modSettings['stopspammer_api_key'] : 'O0Ys3RHtDZPMfB'));


Save the file and upload it.

As I said to manicbe then, if the function file_get_contents() doesn't work for you either let us know.

There are a lot of ways of getting content from a URL and maybe you can try some more until you find one that is working in your server.
Title: Feature request
Post by: wlchase on September 10, 2010, 10:39:49 AM
I do the SysAdmin side for our forum, not the day-to-day stuff, so it would be helpful if, when an account needs approval, an email or PM could be sent to those doing the admin side so it wouldn't get overlooked.

In any case, thanks for another tool to fight the rise of spam!

Bill (http://www.czforumsite.info  System Admin)
Title: Re: Stop Spammer
Post by: Dream of Omnimaga on September 10, 2010, 05:52:00 PM
Sadly, I tried changing the code as you said, and no luck. This time, the Registration settings page just simply won't respond at all.

If you have another alternative let me know. Thanks for your help.

That said, I may be switching hosting soon, though, because my host is getting crappier and crappier it seems. (1and1)
Title: Re: Feature request
Post by: snoopy_virtual on September 13, 2010, 08:50:41 AM
Quote from: wlchase on September 10, 2010, 10:39:49 AM
I do the SysAdmin side for our forum, not the day-to-day stuff, so it would be helpful if, when an account needs approval, an email or PM could be sent to those doing the admin side so it wouldn't get overlooked.

In any case, thanks for another tool to fight the rise of spam!

Bill (http://www.czforumsite.info  System Admin)

I don't really understand what you mean.

SMF already has an option to send an email to the admins every time a new member joins the forum, and I have this option ON in all my forums.

"Admin" => "Members" => "Registration" => "Settings" => "Notify administrators when a new member joins:"

Remember (as we have discussed here many times) you are not supposed to check every day only the new members marked as "spammer, waiting for approval", but ALL the new members.

Maybe a malicious spammer robot could join your forum today and the mod check its data but there is no information in the DB, so the mod  let the spammer in. And maybe you check again this new member a few hours later and somebody has already recognized it as a spammer and added its data to SFS (StopForumSpam) so this second time the mod recognizes it as a spammer and stops it.

So I don't see any point on adding an option to get an email only every time the mod stop an spammer.

I don't know if you understand what I'm trying to say. If not, let me know and I will try to explain it better
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 13, 2010, 09:01:34 AM
Quote from: DJ Omnimaga on September 10, 2010, 05:52:00 PM
Sadly, I tried changing the code as you said, and no luck. This time, the Registration settings page just simply won't respond at all.

If you have another alternative let me know. Thanks for your help.

That said, I may be switching hosting soon, though, because my host is getting crappier and crappier it seems. (1and1)

Yes, there are a lot of different things you can try, but it depends on your server configuration, so I suppose it would be a lot quicker if we talk about it directly on-line, so I can see exactly your configuration and we can try a few things to sort it.

I normally have MSN, Yahoo and Skype open all day.

My ID on Yahoo and Skype is snoopy_virtual_studio
My ID on MSN is snoopy_virtual_studio [at] hotmail.com

Try to contact me through any of them (preferably Skype) (and preferably with a microphone, so we can talk about it) (I hate to write).

Also, if you are planning to change your hosting company contact me before you do anything. I work myself for a hosting company and can find you a good server at a reasonable price.
Title: Re: Stop Spammer
Post by: Wally. on September 16, 2010, 11:52:51 PM
I tried to install this mod and got a "Undefined index: package_upload_error_failure" error. So I re-downloaded the file and tried again still no luck. Can anyone offer some advice on how to resolve this?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 17, 2010, 07:18:23 AM
Quote from: WallyNet on September 16, 2010, 11:52:51 PM
I tried to install this mod and got a "Undefined index: package_upload_error_failure" error. So I re-downloaded the file and tried again still no luck. Can anyone offer some advice on how to resolve this?

What version of SMF you have?

What version of the mod are you trying to install?

What other mods do you have installed on your forum?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 17, 2010, 08:38:08 AM
Quote from: snoopy_virtual on September 17, 2010, 07:18:23 AM
Quote from: WallyNet on September 16, 2010, 11:52:51 PM
I tried to install this mod and got a "Undefined index: package_upload_error_failure" error. So I re-downloaded the file and tried again still no luck. Can anyone offer some advice on how to resolve this?

What version of SMF you have?

What version of the mod are you trying to install?

What other mods do you have installed on your forum?

OK, I have been checking your forum http://www.wallynet.org

I suppose that's the one with the problem. Am I right?

As far as I can see you use SMF 2.0 RC3 and I suppose you are trying to install StopSpammer version 2.3.7 (the latest one). Is this right?

Also as far as I can see you have these mods:

-Images On Board
-Users Online Today
-Simple Portal
-SMF Arcade
-Aeva Media
-Arcade Skin 2.5
-Country Flags
-Default Avatar

Did I miss any other mods ?

As far as I know, none of these ones interfere with the installation of StopSpammer and anyway the error you reported: package_upload_error_failure sounds more like a mistake in your SMF installation.

Answer my questions and we will try to sort the problem.

Alternatively, contact me through any messenger and we will talk about it.
Title: Re: Stop Spammer
Post by: Wally. on September 17, 2010, 08:59:41 AM
Oops, sorry I forgot to send version details. You are correct it is WallyNet, my SMF version is 2.0 RC3 and Stop Spammer is version 2.3.7

The Mods include: Images On Board, Users Online Today, SimplePortal, SMF Arcade, More Spiders, Dice Roller BBcode, Aeva Media, Arcade Skin 2.5 RC1, Spoiler Tag, Spiders Don't Increase Topic Views, Country Flags, Default Avatar

Thanks in advance for the help.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 17, 2010, 10:02:23 AM
I don't think any of those other mods can interfere with the installation of StopSpammer either. (No 100% sure, but I suppose we can forget this possibility unless any of the mods gurus read this and tell us something different).

So the only possibilities I can see just now are, either a fault in your SMF installation or a temporary fault in the connexion from your computer to your server while you are trying to upload the package.

We should consider there is no fault in your SMF installation, or you would have seen more errors when installing other mods. (Again no 100% sure but suppose we can forget about it for the moment).

So the only likely possibility left is a temporary fault in the connexion between your computer and your server.

To check if that's the problem try to upload again the package a few times every half hour or so and see if you get always the same error.

Or/and try to upload any other package using the same "Package manager" and check if you get the same error.

I suppose you are using the "Official SMF Package manager" to install all your mods. If not (or if you don't know what is that) let me know.

Anyway, I will like to see the error while you are doing it, so I see the full process with more detail. Maybe that way I will be able to detect something else we are missing here. Can you contact me through any messenger?
Title: Re: Stop Spammer
Post by: Wally. on September 17, 2010, 10:18:08 AM
After reading your post the server connection issue sounded like the most likely culprit so I went back to my system and attempted the upload again. This time it uploaded without a hitch. I think you were correct that it was a temporary fault in the connection between my system and the server.

Very strange, I haven't seen that happen before and I gather that it isn't common; because before posting this issue I searched the forum for that error message and I only got 1 hit and it was for an unrelated issue.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 17, 2010, 10:39:43 AM
Quote from: WallyNet on September 17, 2010, 10:18:08 AM
After reading your post the server connection issue sounded like the most likely culprit so I went back to my system and attempted the upload again. This time it uploaded without a hitch. I think you were correct that it was a temporary fault in the connection between my system and the server.

Glad to hear the problem is sorted. Let me know if you get any more troubles with the mod.

Quote from: WallyNet on September 17, 2010, 10:18:08 AM
Very strange, I haven't seen that happen before and I gather that it isn't common; because before posting this issue I searched the forum for that error message and I only got 1 hit and it was for an unrelated issue.

I had never seen this concrete error before, but I have seen other temporary connexion problems every now and then.

You have never played a coop game through the net?  ;)
Title: Re: Stop Spammer
Post by: ZBWDO on September 23, 2010, 09:27:29 AM
Hi -- I have been getting absolutely inundated with spambots over the past week.  This tool has made dealing with them a little easier and slightly more effective, but I'd like to suggest a configurable set of options that could be added.  I think of this almost like either an a la carte menu of options we could select, or a 1-10 type of scenario-based option, where option 1 is least restrictive and option 10 is most restrictive. 

Here's what I really wish this mod would do for me:

Allow me to select options, when the mod recognizes a username, IP, or email that exists in the stopforumspam database, to:

[ ] Add the username, IP, hostname, and/or email address to my forum's ban list
[ ] Report the username, IP, hostname, and email address to stopforumspam.com
[ ] Delete the account

If it were me, I would select all 3 options.  For example, this morning I had 6 more spambot registrations.  Because I cannot do these options in bulk (I can only add the bans to my forum registration-by-registration), I am doing them all by hand.

Alternatively, the tool could add these to the "With Selected:" dropdown menu (Ban, Report, Reject/Delete)

Is this something the developers would consider using?  This, right here, would save me at least one whole hour per day!!!

Thank you!
Title: Re: Stop Spammer
Post by: DarioBros on September 24, 2010, 05:51:22 AM
Thank you for the MOD

Here's the complete Italian translation:

// MOD Stop Spammer - Italian Translation
$txt['stopspammer_error'] = 'Errore con il DB anti SPAM. Connessione fallita.<br />
Per favore, riprova più tardi o contatta il webmaster';
$txt['stopspammer_count'] = 'Spammer sono stati bloccati fino ad oggi';
$txt['stopspammer_title'] = 'Cerca ulteriori informazioni in `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Abilita/Disabilita la MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Mostra il link "Ulteriori Informazioni" per tutti i Membri';
$txt['stopspammer_show01_sub'] = 'Puoi controllare qualsiasi membro in qualsiasi momento con un semplice click';

$txt['stopspammer_faildb'] = 'Se la connessione fallisce con il DB anti SPAM...';
$txt['stopspammer_fail01'] = 'Mostra l\'errore e interrompi la registrazione';
$txt['stopspammer_fail02'] = 'Permetti l\'immediata registrazione';
$txt['stopspammer_fail03'] = 'Approvazione  e mostra l\'icona per il controllo';
$txt['stopspammer_faildb1_sub'] = 'Il tuo host può stabilire connessioni remote con il DB';
$txt['stopspammer_faildb2_sub'] = 'Il tuo host non è stato in grado di stabilire connessioni remote con il DB, riprova più tardi<br />
Se continua, guarda il topic di supporto e cerca ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Bug conosciuti</b></span></a>';

$txt['stopspammer_leyd01'] = 'Non Spammer: questo dato non era nel DB. Puoi però verificare';
$txt['stopspammer_leyd02'] = 'Sospetto: non è stato possibile controllare questo membro. Controlla ora';
$txt['stopspammer_leyd03'] = 'Spammer: vedi ulteriori informazioni sull\'attività di questo spammer';

$txt['stopspammer_profilecheck'] = 'Controlla questo utente';
$txt['stopspammer_limitexceded'] = 'Hai superato il limite di ricerca (5000 API queries al giorno).<br />Devi aspettare fino a domani per cercare nuovamente.';

$txt['in_stop_forum_spam'] = 'Nel sito web Stop Forum Spam:';
$txt['spammers_checks'] = 'Controlla questi membri';
$txt['spammers_report'] = 'Segnala questi membri';
$txt['confirm_spammers_checks'] = 'Sei sicuro di voler controllare i membri selezionati?';
$txt['confirm_spammers_report'] = 'Sei sicuro di voler segnalare i membri selezionati?\n\nConsidera che quando segnali un membro a SFS, egli è marcato come spammer in tutto il mondo\ne non sarà abilitato a usare qualsiasi forum connesso a SFS in tutto il mondo.\n\n Segnalali solo se sei completamente sicuro che sono spammer e, se per caso commetti un errore,\navverti il prima possibile il creatore della mod per correggere l\'errore nel database di SFS.';

$txt['stopspammer_api_key'] = 'La tua API key';
$txt['stopspammer_api_key_sub'] = 'Se vuoi usare una tua API key vai prima su <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> per registrarti e scrivila qui. Se non ne hai una lascia il campo bianco e la mod userà la API key di default.';

$txt['stopspammer_check_sub1'] = '<br />Se MOD Stop Spammer è attiva, ogni volta che controlliamo un utente:';
$txt['stopspammer_check_name'] = 'Controlla i loro username';
$txt['stopspammer_check_mail'] = 'Controlla le loro email';
$txt['stopspammer_check_ip'] = 'Controlla i loro IP';
$txt['stopspammer_check_sub2'] = 'Di default, ogni volta che controlli un utente con MOD Stop Spammer, questa verificherà i loro username, email and IP. Se trovi troppi falsi positivi per colpa degli username, puoi disattivare tale funzione. Non ti consigliamo di disabilitare le altre 2 opzioni (controllare email e IP) a meno che tu non sappia cosa stai facendo.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 24, 2010, 10:22:15 AM
Quote from: ZBWDO on September 23, 2010, 09:27:29 AM
...
Allow me to select options, when the mod recognizes a username, IP, or email that exists in the stopforumspam database, to:

[ ] Add the username, IP, hostname, and/or email address to my forum's ban list
[ ] Report the username, IP, hostname, and email address to stopforumspam.com
[ ] Delete the account
...


I don't know if I have understood you properly.

Do you mean you want the mod to do this kind of actions automatically every time some data is found in the spammers database?

I f that's what you mean, it would be very dangerous, because still there are some "false positives" every now and then, so you could be deleting real "legal" users (not spammers).

Just in case somebody doesn't understand what I'm talking about, we call a "false positive" when the mod recognizes a new member as spammer but, after some investigation, you find out this one is not a spammer at all.

I'm not going to repeat here again all the possibilities and the reasons why some times we get "false positives", because we have discussed them here in this thread a lot of times.

Ideally the mod shouldn't do this kind of mistakes never and (if you read the full thread here) you can see, almost all the updates we have done to the mod since the first version, we have been trying to make this spammers recognizing system as perfect as possible, but unfortunately it's not 100% perfect yet and it still has some "false positives" every now and then.

So I think we have no other option but to check all the members recognized as spammers by the mod one by one to be sure they are really spammers.

=====================

Quote from: ZBWDO on September 23, 2010, 09:27:29 AM
...
Alternatively, the tool could add these to the "With Selected:" dropdown menu (Ban, Report, Reject/Delete)
...

I think this is already done.

I mean, it's not exactly in the dropdown menu, but next to it.

You can select as many members as you want and check them in stopforumspam database, report them or delete them.

The only new thing I see you are asking is to add also another button (or similar) to add selected members to your forum's ban list.

I have thought of doing this long time ago, but since I finished my other mod httpBL I stopped using a manual ban list.

With mod httpBL working on your forum there is no need to have a ban list. The bad guys ban themselves automatically and you don't need to keep banning them manually.

If you don't have this other mod you can find it here:

http://custom.simplemachines.org/mods/index.php?mod=2155

=====================

Again, as I said at the beginning, I don't know if I understood you properly.

If I didn't please forgive me and correct me.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 24, 2010, 10:24:08 AM
Quote from: DarioBros on September 24, 2010, 05:51:22 AM
...
Here's the complete Italian translation:
...

Graze mille DarioBros. I will add it to the "full language package" as soon as I have some time.
Title: Re: Stop Spammer
Post by: ZBWDO on September 24, 2010, 02:19:38 PM
Thanks, Snoopy.  Yes, you understood correctly == in my case, an Admin adds forum members one by one when there is a new user in our group -- approximately 98% of the users fall into this category.  Approximately 2% of the users self-register, try us out, and then become full members (or not) after a few days.  So the false positives wouid probably effect me one in a million times. 

I've just read through the documentation on the other mod, and really think this would be a very useful tool, also.  I'll be installing that one next!

Thank you!
Title: Re: Stop Spammer
Post by: EL34xyz on September 27, 2010, 03:54:44 PM
I am having to do the same thing as ZBWDO every day and sometimes 5 or more times
I am getting bombarded with spammers
I also have the "Reason for joining" mod installed, but they have automated their join reasons
The reason for joining adds another layer of automated spambot protection in most cases.

I do see that most of the spammers show up in red by the time I get the email to approve them.

Here's is the dance I have to go through every time.

Approve them without sending them an email
Report them again to the spammers data base because they are using a new user name, email or Ip address.
Go to their profile and ban them, checking all three of the ban triggers at the bottom of the screen
Go back to the members list and delete them as a member

I wish there was more of an automated process that could take care of all of the steps I have to go through with each spammer
Title: Re: Stop Spammer
Post by: ZBWDO on September 28, 2010, 06:21:06 AM
EL34xyz,

I had not yet read Snoopy's recommendation to install the httpBL mod when I had already found and installed the Anti-Spam Verification Questions mod. (http://custom.simplemachines.org/mods/index.php?mod=1516)  This did the trick!  I am down to ZERO spambot registrations a day.  I may still install the httpBL because, unless I'm reading the description incorrectly, it sound like those spambots can't even troll my forum (is that true, Snoopy?).  But, in the intermediary, I'm just absolutely thrilled that for several days now there have been ZERO new spambot registrations!  Note that this mod installed and works just fine on 1.1.11.
Title: Re: Stop Spammer
Post by: geekartist on September 28, 2010, 06:37:13 AM
I'm having a situation I can't find any info on. We're using version 2.3.7 with SMF 1.1.11.

Basically, when an admin uses the links on the left to go to to Members and also Members > View All Members/Search For Members/Awaiting Approval/Awaiting Activation it generates many pages of error reports (in the admin error log) immediately.

It looks like it may be generating a report for every member, but the name on the error message in the log is the admin's name. So we see something like this:

...com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Themes/default/ManageMembers.template.php (view_members sub template - eval?)
Line: 83
   
....com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Sources/StopSpammer.php
Line: 127
   
.....com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Sources/StopSpammer.php
Line: 124

And those last 2 errors repeat for pages and pages. Near as I can tell, somehow Stop Spammer has decided to start running a report on every member on the list. I don't see anything in the settings that may be causing this. Any idea how to correct the situation?
Title: Re: Stop Spammer
Post by: ZBWDO on September 28, 2010, 06:49:35 AM
A couple of things that I can think of to try, though I am a bit new at this and you may want to wait for more expert help.

1.  Uninstall and reinstall the mod
2.  Find and repair any errors.    (Under Admin > Forum Maintenance > Find and repair any errors. (at the top, 3rd option)
Title: Re: Stop Spammer
Post by: Oya on September 28, 2010, 07:00:49 AM
geekartist - what language you are using? if youre not using english you may have to copy the changes from modifications.english.php to whatever language you are using
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 28, 2010, 10:00:58 AM
Quote from: EL34xyz on September 27, 2010, 03:54:44 PM
I am having to do the same thing as ZBWDO every day and sometimes 5 or more times
I am getting bombarded with spammers
I also have the "Reason for joining" mod installed, but they have automated their join reasons
The reason for joining adds another layer of automated spambot protection in most cases.

I do see that most of the spammers show up in red by the time I get the email to approve them.

Here's is the dance I have to go through every time.

Approve them without sending them an email
Report them again to the spammers data base because they are using a new user name, email or Ip address.
Go to their profile and ban them, checking all three of the ban triggers at the bottom of the screen
Go back to the members list and delete them as a member

I wish there was more of an automated process that could take care of all of the steps I have to go through with each spammer

I don't understand why you need to approve any spammer.

Every time a spammer register in any of my forums I just report them to de StopForumSpam database if there is some new data (not already in the DB) and "reject" all of them.

I never approve any of them and, as I told ZBWDO before, I don't use the SMF ban system, because with my other mod httpBL the spammers ban themselves automatically.

I think I have said already a few times that I administer a lot of forums, but it only take me 5 minutes every day to reject the bad guys from all of them.

Quote from: ZBWDO on September 28, 2010, 06:21:06 AM
EL34xyz,

I had not yet read Snoopy's recommendation to install the httpBL mod when I had already found and installed the Anti-Spam Verification Questions mod. (http://custom.simplemachines.org/mods/index.php?mod=1516)  This did the trick!  I am down to ZERO spambot registrations a day.  I may still install the httpBL because, unless I'm reading the description incorrectly, it sound like those spambots can't even troll my forum (is that true, Snoopy?).  But, in the intermediary, I'm just absolutely thrilled that for several days now there have been ZERO new spambot registrations!  Note that this mod installed and works just fine on 1.1.11.

I didn't know that mod, and it looks interesting.

It uses the same idea I used when I did my captcha system for mod httpBL, leaving some fields blanks on purpose (spam bots always write something in them).  ;D

I'm going to install it also in some of my forums. Not in all of them, because I want to see the difference with and without that Anti-Spam Verification Questions mod.

Anyway, this mod (as my StopSpammer mod) only protect you when a bot try to register in your forum. But they can see your forum and use any information they can gather for their spams.

Mod httpBL works before they can even see your forum.

You can find more info about all this inside the tutorial I'm writing here:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2

It's not finished but it has a lot of info already.

==================

By the way, with both mods installed (StopSpammer and httpBL) most of my mods only get 1 or 2 spambot registrations a month.

Only a couple of my forums (the old ones and most famous, with thousands of visits every day) get 2 or 3 registrations a day. So in total I only need to check 5 or so new spammers a day. That's why it only takes me 5 minutes to check them. Before I started working on my anti-spam system I needed like 3 or 4 hours every day.  ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 28, 2010, 10:27:54 AM
Quote from: geekartist on September 28, 2010, 06:37:13 AM
I'm having a situation I can't find any info on. We're using version 2.3.7 with SMF 1.1.11.

Basically, when an admin uses the links on the left to go to to Members and also Members > View All Members/Search For Members/Awaiting Approval/Awaiting Activation it generates many pages of error reports (in the admin error log) immediately.

It looks like it may be generating a report for every member, but the name on the error message in the log is the admin's name. So we see something like this:

...com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Themes/default/ManageMembers.template.php (view_members sub template - eval?)
Line: 83
   
....com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Sources/StopSpammer.php
Line: 127
   
.....com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Sources/StopSpammer.php
Line: 124

And those last 2 errors repeat for pages and pages. Near as I can tell, somehow Stop Spammer has decided to start running a report on every member on the list. I don't see anything in the settings that may be causing this. Any idea how to correct the situation?

I haven't seen this errors in any of the forums where I have the mod installed and it hasn't been reported before by anybody else, so you must have something wrong in your installation.

Let's try to find put what can it be:

Quote from: ZBWDO on September 28, 2010, 06:49:35 AM
A couple of things that I can think of to try, though I am a bit new at this and you may want to wait for more expert help.

1.  Uninstall and reinstall the mod
2.  Find and repair any errors.    (Under Admin > Forum Maintenance > Find and repair any errors. (at the top, 3rd option)

Uninstall and reinstall the mod would be an idea, but I don't think "Find and repair any errors" is going to sort your problem automatically.

It looks to me more like a problem installing it, not like a problem any "Forum Maintenance" function can repair automatically.

Anyway you can try both things and let us know if it sorted the problem.

By the way, I suppose you installed it using the proper "SMF Packages Manager". Am I right?

Quote from: Oya on September 28, 2010, 07:00:49 AM
geekartist - what language you are using? if youre not using english you may have to copy the changes from modifications.english.php to whatever language you are using

This mod has been translated to a lot of different languages, so I suppose geekartist must have installed the proper version for whatever language is using. Am I right?

=================

Just one small question while you try this couple of things ZBWDO suggested and you answer us the question about the language:

Can you look inside the folder of the Theme you are using and see if you have inside it any of these files?


If you have any of them the installation process is slightly different than normal.

In the mean time I will continue thinking to see if I find out any more things I can suggest to sort your problem.
Title: Re: Stop Spammer
Post by: gizmo71 on September 28, 2010, 11:19:33 AM
Quote from: Storman on April 13, 2010, 02:58:11 PM
8: Undefined index: types
File: /var/www/vhosts/mysite.com/httpdocs/forum/Sources/ManageMembers.php
Line: 381

Got bored of seeing that so I tracked it down and fixed it. Just change
serialize(array('mem_id' => $memID))
to
serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))

and everything will be lovely. :)

And thank you for this wonderful mod. It's not only stemmed the tide of spam we were experiencing, but opened my eyes to the hundreds of URL and signature spammers we'd collected in the last few months.
Title: Re: Stop Spammer
Post by: EL34xyz on September 28, 2010, 02:46:25 PM
QuoteSnoopy: I don't understand why you need to approve any spammer.

So I can ban them and have all their info go into the triggers list
Then when they return to my forum they are on a ban list for three different triggers and must change something to be able to try and join again
I am out to hassle them as much as they hassle me
This is what they see when they return

Sorry guest, you are banned from using this forum

Full sized image can be seen here
http://www.el34world.com/Misc/images/spammer3.gif



They are banned and cannot use any of the previous ban triggers to try and re-register
This at least makes them do some work instead of just using their automated software.

Do you understand now?
Title: Re: Stop Spammer
Post by: EL34xyz on September 28, 2010, 02:54:36 PM
ZBWBO,
I am not sure what you are saying

I already have a mod installed that ask the question "Why do you want to join this forum"
The mod is called "Join Reason"
The applicants have to type something related to my forum subject
That way I can tell if they are spammers or actually know something about the subject matter

The spammers are able to automate the registration screen including the Join Reason field, but they always use the same reasons

What I want to be able to do is have the registration screen check a list of know Join Reasons
If the know spammer reason is on the list, then stop then stop them from registering.
But this is something that I am asking the Join Reason mod author to look into

For example, in this screen shot
This spammer always uses the join reason - To have fun :)

Check out this screen shot
See the reason for joining this forum on the right side

Full sized image can be seen here
http://www.el34world.com/Misc/images/spammer2.gif

Title: Re: Stop Spammer
Post by: snoopy_virtual on September 29, 2010, 09:28:23 AM
Quote from: gizmo71 on September 28, 2010, 11:19:33 AM
Quote from: Storman on April 13, 2010, 02:58:11 PM
8: Undefined index: types
...

Got bored of seeing that so I tracked it down and fixed it. Just change
serialize(array('mem_id' => $memID))
to
serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))

and everything will be lovely. :)

OMG! That's it!

Thanks a lot gizmo71. Do you know how many hours I spent tracking down this bug without finding it?

The first time I saw it in my error logs was more than a year ago and, since then, I have been trying to sort it every time I had some spare time without any luck at all. Not to mention every time somebody has reported this bug I had to tell them "I know, I will sort it as soon as I can..." etc.

Of course I was not too worried about it, because it's not a dangerous bug. The mod worked perfect, but it was really annoying to see it coming to your error logs all the time.

Well, now thanks to you it's finally sorted.  ;)

Quote from: gizmo71 on September 28, 2010, 11:19:33 AM
And thank you for this wonderful mod. It's not only stemmed the tide of spam we were experiencing, but opened my eyes to the hundreds of URL and signature spammers we'd collected in the last few months.

You're welcome. And thank you again.  ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 29, 2010, 10:33:56 AM
Quote from: EL34xyz on September 28, 2010, 02:46:25 PM
Quote from: snoopy_virtual on September 28, 2010, 10:00:58 AM
I don't understand why you need to approve any spammer.

So I can ban them and have all their info go into the triggers list
...
etc
...
Do you understand now?

Well, I know perfectly well how the SMF ban system works, because I have been using it for years.

I started using it the first time I started using SMF for all my forums (a lot of years ago) and I was using it until 2 years ago. So I think I understand what you are saying.

I think is you who don't understand the reason why I stopped using it and why I told you you don't need it.

Let me try to explain it a little better:

I work designing web sites and writing PHP programs for these sites. Every time a site need a forum I use SMF.

Sometimes the site owners know enough coding to administer the forum themselves, so I just do the design, install SMF for them and maybe write a few mods for the site if there is not one already available to do exactly what they want. But after that I leave them on their own to continue from there.

But sometimes they want me to stay like and admin to improve their site security, update all the programs, write new mods for them every time they need something new, etc.

That's why 2 years ago I was already the admin of 10 different forums. Some of them had already become really famous and had thousands of visits a day.

Of course, at the beginning (4 or 5 years ago) I was the admin of very few forums and none of them was really well known, so I was having to deal only with one spammer a month more or less. So it was not a problem to track them down, ban them and delete their posts.

But the amount of spammers went up and up and at the end (2 years ago) I was having like a hundred a day. So it was taking me a minimum of 3 hours a day (some times even 8 or 10 hours) to ban all of them, delete all their posts etc.

That was when I thought I needed to do a program to do all that as automatic as possible. So I started working with my friend M-DVD (who has already started to write this mod StopSpammer) helping him to do the mod as good as possible, and I started writing also my other mod httpBL.

I'm not going to tell you how mod httpBL works, because I already gave you a link to a very big tutorial where you can read a long explanation. What I am telling you is that, with both mods installed on my forums, I don't need now to ban anybody, because the spammers ban themselves automatically. And I only need now 5 minutes a day to deal with all the spammers in all my forums.

Quote from: EL34xyz on September 28, 2010, 02:54:36 PM
ZBWBO,
I am not sure what you are saying

I already have a mod installed that ask the question "Why do you want to join this forum"
The mod is called "Join Reason"
...
etc

Well, I think what ZBWDO is telling you is that instead of the mod you have just now ("Join Reason") you should have the other mod he is suggesting ("Anti-Spam Verification Questions").

And I agree with that. I have been studying both mods (reading the source code) and I think the mod you have (the way it is just now) is not protecting you at all. If the owner of the mod is not going to change it you should consider installing the other one instead.

What I was telling you both (EL34xyz and ZBWDO) is that mods like "Join Reason", "Anti-Spam Verification Questions", my mod "Stop Spammer", etc, only protect you against "Comment" spammers, but don't protect you at all against "Harvesters" and the rest of different spammers, so apart from this mods you should have some other mods like my mod "httpBL" and/or any similar one. For example "Bad Behavior mod" ( http://custom.simplemachines.org/mods/index.php?mod=2502 ) from our friend butchs is another good mod and fully compatible with mod "Stop Spammer" and mod "httpBL".

Of course, the amount of anti-spam mods you should have in your forum depends on the amount of visits you have, etc. What you need is to have as less spammers and as less hassle as possible.

In some forums I only have "Stop Spammer" and "httpBL" and that's enough for these forums. In other forums I need a lot more protection so apart from these 2 mods I have also a few more.

But of course, it's up to you.  ;)
Title: Re: Stop Spammer
Post by: EL34xyz on September 29, 2010, 12:01:23 PM
Snoopy, Thanks for the info
BTW, you don't have to go into long explanations of all your forum experience, I know who you are.

Let me see if I understand your Httpbl mod correctly by this statement

QuoteMOD Stop Spammer cheks if the visitor is a spammer when they try
to register inside the forum while MOD httpBL checks them as soon as they arrive
to the forum and redirect them to a file called warning.php making
the whole site invisible to them.

This way even harvesters (robots that never post in a forum, but search for email addresses
to send them spam later) and any other kind of malicious web robots
cannot even see any part of the site.

Are you saying that the registration screen would be invisible if they are in the honey pot database?

How many triggers need to be fulfilled before this happens?
Username - Ip address and email address?
All three items or just one trigger?

I would not want someone with a common user name to be banned from joining just because his name happens to be somthing a spammer used at one time.

BTW, I am the admin and I must approve all applicants
No one can join automatically and start posting
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 29, 2010, 12:25:55 PM
Quote from: EL34xyz on September 29, 2010, 12:01:23 PM
Are you saying that the registration screen would be invisible if they are in the honey pot database?

Exactly. If they are in honey pot database they see only the warning page. Nothing else. Not even the registration screen.

Quote from: EL34xyz on September 29, 2010, 12:01:23 PM
How many triggers need to be fulfilled before this happens?
Username - Ip address and email address?
All three items or just one trigger?

I would not want someone with a common user name to be banned from joining just because his name happens to be somthing a spammer used at one time.

The honey pot database works only with IPs. They don't care about usernames or email addresses.

But they don't work with IPs on a static way, but dynamic, assigning a "Threat Level" number to every IP. And this number is changing every day, depending on what is detected from that particular IP. But I suppose you have already read all that in the tutorial.

===================

Anyway, if you are planning to install mod httpBL maybe it would be better if you wait a few days. I'm working just now on a new version and, if you install it now, you will need to upgrade it as soon as I have this new version finished.

I cannot be sure when this new version will be ready, but it can be anything from 2 days to maybe a week.
Title: Re: Stop Spammer
Post by: busterone on September 29, 2010, 01:26:29 PM
Nice work snoopy. I was considering installing it myself, but will now wait for the updated version. I don't get but one or two spammers a week that I have to manually deny now due to Stop Spammer, but I also want to stop the harvesters as well.
I have been using Stop Spammer for a little over a year, and as of today, it reports that 6501 spammers have been stopped from registering to date. Great results.  :)
Title: Re: Stop Spammer
Post by: EL34 on September 29, 2010, 07:39:27 PM
Ok, thanks snoop, I will wait a few days

I still think it is helpfull to read an actual typed in reason for joining the forum as one more line of defense.

If the IP is not on file in the data base, it is possible for them to sneak by me.

It's very obvious when I see a written reason for joining if they know anything about the subject of the forum or they are just blowing smoke.
Ok so the line of defense would go like this

1-Httpbl would block the registration right up front for a know spammer, but only if they are listed in one of the two databases.

2-Stop Spammer would tell me if they are a known spammer in a different database

3-Join reason gives me some text to analyze and make a desision based on that ( or some other mod that lets me see some hand written text)

It is really getting that bad enough that I need all these layers in place
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 29, 2010, 08:20:16 PM
Check this:

http://www.simplemachines.org/community/index.php?topic=366399.msg2529450#msg2529450

It is a nice picture Wizzlefits did explaining how both mods work together.

And yes, it is really getting very bad. In some forums I need even 5 layers or more to be protected:

* Crawltrack from http://www.crawltrack.net
* Mod Bad Behavior
* Mod httpBL
* Mod Stop Spammer
* Mod Anti-Spam Verification Questions

And I am also helping butchs testing his new mod "Forum Firewall" to add it as well as soon as he finish it.  ;D
Title: Re: Stop Spammer
Post by: KensonPlays on September 30, 2010, 01:11:32 AM
forum firewall, sounds interesting! smf 1.x? smf 2.x? both?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 30, 2010, 01:27:22 AM
Quote from: Kcmartz on September 30, 2010, 01:11:32 AM
forum firewall, sounds interesting! smf 1.x? smf 2.x? both?

Unfortunately for me only smf 2.x just now, but I see it's ok for you though.

But you should talk with butchs about it if you are interested.  ;)
Title: Re: Stop Spammer
Post by: geekartist on September 30, 2010, 09:56:03 AM
Quote from: snoopy_virtual on September 28, 2010, 10:27:54 AM
Quote from: geekartist on September 28, 2010, 06:37:13 AM
I'm having a situation I can't find any info on. We're using version 2.3.7 with SMF 1.1.11.

Basically, when an admin uses the links on the left to go to to Members and also Members > View All Members/Search For Members/Awaiting Approval/Awaiting Activation it generates many pages of error reports (in the admin error log) immediately.

It looks like it may be generating a report for every member, but the name on the error message in the log is the admin's name. So we see something like this:

...com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Themes/default/ManageMembers.template.php (view_members sub template - eval?)
Line: 83
   
....com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Sources/StopSpammer.php
Line: 127
   
.....com/forums/index.php?action=viewmembers
8: Undefined index: stopspammer_enable
File: /home/ladyofth/public_html/forums/Sources/StopSpammer.php
Line: 124

And those last 2 errors repeat for pages and pages. Near as I can tell, somehow Stop Spammer has decided to start running a report on every member on the list. I don't see anything in the settings that may be causing this. Any idea how to correct the situation?

I haven't seen this errors in any of the forums where I have the mod installed and it hasn't been reported before by anybody else, so you must have something wrong in your installation.

Let's try to find put what can it be:

Quote from: ZBWDO on September 28, 2010, 06:49:35 AM
A couple of things that I can think of to try, though I am a bit new at this and you may want to wait for more expert help.

1.  Uninstall and reinstall the mod
2.  Find and repair any errors.    (Under Admin > Forum Maintenance > Find and repair any errors. (at the top, 3rd option)

Uninstall and reinstall the mod would be an idea, but I don't think "Find and repair any errors" is going to sort your problem automatically.

It looks to me more like a problem installing it, not like a problem any "Forum Maintenance" function can repair automatically.

Anyway you can try both things and let us know if it sorted the problem.

By the way, I suppose you installed it using the proper "SMF Packages Manager". Am I right?

Quote from: Oya on September 28, 2010, 07:00:49 AM
geekartist - what language you are using? if youre not using english you may have to copy the changes from modifications.english.php to whatever language you are using

This mod has been translated to a lot of different languages, so I suppose geekartist must have installed the proper version for whatever language is using. Am I right?

=================

Just one small question while you try this couple of things ZBWDO suggested and you answer us the question about the language:

Can you look inside the folder of the Theme you are using and see if you have inside it any of these files?


  • ManageMembers.template.php
  • Register.template.php

If you have any of them the installation process is slightly different than normal.

In the mean time I will continue thinking to see if I find out any more things I can suggest to sort your problem.

There is a lot here, so I'll just answer all of you at the bottom (thanks so much for the input, BTW).

Haven't installed and reinstalled, as I'm a little hesitant about doing that just yet since this is an inherited project. Was hoping to make that a last resort but if no one has other ideas, I'll schedule that for the next day or so (although please read to the end...I did find something interesting...). Someone else installed the forum and the packages. The Stop Spammer package was a fairly recent installation (past month or so). And yes, repair feature didn't find anything going on with this.

Oya, it's spitting out content in English, so I'm assuming it is set to that. I don't actually see where to set a language, although I do see a forum setting that allows users to choose their own language to post in. Is that what you are referring to? Or is do I need to locate modifications.english.php to set the language? (Or is there another PHP file it's set in that I'm not locating info on?)

I do see ManageMembers.template.php and Register.template.php. So perhaps something went wonky in the installation if these were present during the install and the person setting it up wasn't aware how those files can impact the install?

Also, I also see ManageCalendar.template.php~. I see a number of files in the theme directory and a few others with a tilde (~) at the end of the file name. Could this be a contributing problem? Is that normal for SMF? Seems a little odd to me.
Title: Re: Stop Spammer
Post by: KensonPlays on September 30, 2010, 10:29:05 AM
Thanks Snoopy_virtual, i use smf 2.0 RC3 so i should be fine.
Title: Re: Stop Spammer
Post by: EL34xyz on September 30, 2010, 10:51:44 AM
Thanks for that image link snoop
A picture is worth a thousands words is the old saying.

Is there any order that you would suggest installing these mods
I have found that the install order does make a difference on some mods in the past
Stop Spammer
HttpBL
Anti spam verification question



ZBWDO,
Thanks for the info on Anti-Spam verification question
I may install that mod and uninstall Join reason
The Join Reason author just does not seem interested in doing free stuff, which means updating the Join reason mod

I do like to see hand typed answers to questions as the last barrier to forum membership
It also tells me a bit about the person joining the forum.



BTW, this forum does not send me emails
I never get notifications even though there is nothing wrong with my email address
I receive hundreds of emails a week without any problems
I have emailed the admin but they have no idea why.

I'll try to remember to check the mod for updates
If possible, maybe you can let us know here also when the new update is ready.
Title: Re: Stop Spammer
Post by: ZBWDO on October 01, 2010, 03:03:44 AM
Any idea why "There is one member awaiting approval." seems to be stuck on my index page, even though there is no one in queue to be approved?  Thanks!
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 01, 2010, 08:15:05 AM
Quote from: ZBWDO on October 01, 2010, 03:03:44 AM
Any idea why "There is one member awaiting approval." seems to be stuck on my index page, even though there is no one in queue to be approved?  Thanks!

I suppose you haven't read this tread.
Title: Re: Stop Spammer
Post by: EL34xyz on October 01, 2010, 08:42:24 AM
Ok Snoop

Singed up with Honey pot
Installed it on the server
Got my Http:BL access key
Just waiting for new Http:BL version and then I will be ready to go
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 01, 2010, 08:50:28 AM
Quote from: snoopy_virtual on October 01, 2010, 08:15:05 AM
Quote from: ZBWDO on October 01, 2010, 03:03:44 AM
Any idea why "There is one member awaiting approval." seems to be stuck on my index page, even though there is no one in queue to be approved?  Thanks!

I suppose you haven't read this tread.

OK, I have been searching the thread and found one of the times somebody asked exactly the same:

Quote from: snoopy_virtual on August 27, 2010, 12:28:47 PM
Quote from: Syrion on August 23, 2010, 11:01:46 AM
Hi snoopy_virtual,

Thanks for creating this mod, appearently it blocked a couple of dozen spammers already in the last couple of days.

Anyway, I may have found a bug, I get the message "There is one member awaiting approval." while no one actually is.
Any idea what may cause this?

That's a known bug.

If you search inside this thread you will find it has been reported a lot of times and even some people have written some work-around.

If you check also our "road map": http://custom.simplemachines.org/mods/index.php?mod=1547#post_roadmap you will see it is already in the list of "Things to do in the near future".

Please search the thread and read the instructions before asking the same a hundred times.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 01, 2010, 08:54:52 AM
Quote from: EL34xyz on October 01, 2010, 08:42:24 AM
Ok Snoop

Singed up with Honey pot
Installed it on the server
Got my Http:BL access key
Just waiting for new Http:BL version and then I will be ready to go

It would be better to keep sepatare subjects in its proper place.

This thread is to talk about mod StopSpammer.

The thread for mod httpBL here in SMF is this one:

http://www.simplemachines.org/community/index.php?topic=366399.0

And there is a lot more information in the httpBL section in my own site:

http://www.snoopyvirtualstudio.com/foro/index.php?board=30.0
Title: Re: Stop Spammer
Post by: EL34xyz on October 01, 2010, 11:00:48 AM
Ok, thanks
Title: Re: Stop Spammer
Post by: ZBWDO on October 01, 2010, 03:22:27 PM
My apologies.  I *thought* I had.  I'm generally pretty darn good about that.  The only thing I can think of was that I might have had a misspelling in my search, or otherwise screwed it up.  My apologies, and thanks very much.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 02, 2010, 05:12:02 AM
Quote from: ZBWDO on October 01, 2010, 03:22:27 PM
My apologies.  I *thought* I had.  I'm generally pretty darn good about that.  The only thing I can think of was that I might have had a misspelling in my search, or otherwise screwed it up.  My apologies, and thanks very much.

No problem, and I'm sorry if I was a little rude, but yesterday I was too busy trying to finish the new version for mod httpBL and I had to stop a lot of times to answer questions, just to find  out most of them were repeated ones, so at the end I lost my temper a little.

By the way, for anybody interested that new version for mod httpBL is finished.

You can read about it here:

http://www.simplemachines.org/community/index.php?topic=366399.msg2804564#msg2804564

And you can download it here:

http://custom.simplemachines.org/mods/index.php?mod=2155

======================

Now that it's finished I will start again working on the new version for this mod StopSpammer.

I suppose I won't be able to do it straight away, because normally every time I publish a new version of any of my mods I need to spend the first few days answering hundreds of questions, but it will be very soon.  ;)
Title: Re: Stop Spammer
Post by: geekartist on October 03, 2010, 10:40:31 AM
Quote from: snoopy_virtual on September 28, 2010, 10:27:54 AM

Can you look inside the folder of the Theme you are using and see if you have inside it any of these files?


  • ManageMembers.template.php
  • Register.template.php

If you have any of them the installation process is slightly different than normal.

In the mean time I will continue thinking to see if I find out any more things I can suggest to sort your problem.

I did post a response to everyone's questions but I haven't gotten a response yet. One of the suggestion is to uninstall and reinstall, however I realize I need some extra information before I do.

I was asked the question above and responded with: yes, they are there.

However, reading over the documentation on this package, I don't see anything about *what* I need to do to those two files when I do an install. So I can't uninstall/re-install yet. I'm not seeing anything definitive in a forum search either.

Can anyone tell me what I need to do differently on an install when I have those two files?



Title: Re: Stop Spammer
Post by: snoopy_virtual on October 03, 2010, 07:42:07 PM
Quote from: geekartist on October 03, 2010, 10:40:31 AM
I did post a response to everyone's questions but I haven't gotten a response yet.
etc...

Sorry geekartist, I have been too busy and forgot to answer you.

I have been looking at your profile and I have seen you are very new here in SMF, so may be you still don't understand completely how it works.

I think you have misunderstood our question. I will try to explaining more slowly, now that I know you are new here.

Inside the Themes folder there are all the Themes installed in your forum, but that doesn't mean you are using all of them. The normal situation is you have a bunch of Themes installed but you only use one of them.

One of the Themes you have installed (for sure) is the default Theme.

You can un-install if you want the rest of the Themes, install more new Themes, modify any of the other Themes, etc, but you can never un-install the default Theme. It always need to be there (even if it's not the Theme you are using) or SMF will stop working.

Inside the default Theme there are a lot of files (all the template files SMF need to work properly), but inside any of the other Themes usually there are only a few of them. (At least always the index.template.php, the css file this particular Theme is using and maybe a couple more of template files this Theme needs to work).

When SMF needs to use a template file, it always looks first inside the Theme you are using to see if it's there. If it's there, SMF will use it. If it's not there SMF will use the file inside the default Theme instead.

When you install or un-install a mod, normally you will always do it using the automatic system (what we call the SMF Packages Manager) because it's the easiest way and normally it will display an error message if there is a problem with the installation or desinstallation before you actually complete the process, so you are sure it's going to be OK to do it.

But when you install a mod with the Packages Manager it will always do all the changes needed to the Source files, root files, etc, but inside the Themes it will only change the default Theme.

If you are using a Theme that is not the default (like almost all of us do) you will need to manually do the required changes to your template files, and these changes can be found always on the mod's page at the top right corner. Just underneath the "Download this mod" sign, where it says: "Manual Install Instructions for SMF".

Now again:

Can you tell us the name of the Theme you are using?

Can you look inside the folder of the Theme you are using and tell us if both files are there?
Title: Re: Stop Spammer
Post by: geekartist on October 03, 2010, 08:13:31 PM
Quote from: snoopy_virtual on October 03, 2010, 07:42:07 PM
Quote from: geekartist on October 03, 2010, 10:40:31 AM
I did post a response to everyone's questions but I haven't gotten a response yet.
etc...

Sorry geekartist, I have been too busy and forgot to answer you.

I have been looking at your profile and I have seen you are very new here in SMF, so may be you still don't understand completely how it works.

I think you have misunderstood our question. I will try to explaining more slowly, now that I know you are new here.

Inside the Themes folder there are all the Themes installed in your forum, but that doesn't mean you are using all of them. The normal situation is you have a bunch of Themes installed but you only use one of them.

One of the Themes you have installed (for sure) is the default Theme.

You can un-install if you want the rest of the Themes, install more new Themes, modify any of the other Themes, etc, but you can never un-install the default Theme. It always need to be there (even if it's not the Theme you are using) or SMF will stop working.

Inside the default Theme there are a lot of files (all the template files SMF need to work properly), but inside any of the other Themes usually there are only a few of them. (At least always the index.template.php, the css file this particular Theme is using and maybe a couple more of template files this Theme needs to work).

When SMF needs to use a template file, it always looks first inside the Theme you are using to see if it's there. If it's there, SMF will use it. If it's not there SMF will use the file inside the default Theme instead.

When you install or un-install a mod, normally you will always do it using the automatic system (what we call the SMF Packages Manager) because it's the easiest way and normally it will display an error message if there is a problem with the installation or desinstallation before you actually complete the process, so you are sure it's going to be OK to do it.

But when you install a mod with the Packages Manager it will always do all the changes needed to the Source files, root files, etc, but inside the Themes it will only change the default Theme.

If you are using a Theme that is not the default (like almost all of us do) you will need to manually do the required changes to your template files, and these changes can be found always on the mod's page at the top right corner. Just underneath the "Download this mod" sign, where it says: "Manual Install Instructions for SMF".

Now again:

Can you tell us the name of the Theme you are using?

Can you look inside the folder of the Theme you are using and tell us if both files are there?

No problem on the delayed response. You're volunteering your time, so hey no worries. :-)

I think I grasp the basics of how SMF works. While I haven't worked with it before, it seems pretty straightforward as these things go.

I get how templates work, no problem there. I work heavily with WordPress, so same concept it seems.

We are using the default theme and yes both of those files are there.

Basically, my confusion came in here when you mentioned that the install goes differently if those two files exist.  I didn't see any information specifically addressing those 2 files, thus my confusion.  If they don't need changing when using the default theme, then the point is moot.

Now that you've explained the situation with the manual instructions, I think I see what to do now. That box on the right was a little counter-intuitive for me...I thought all it was was just a download box for the mod. The parse part was what threw me. Granted, I've been sick the past couple of days and not quite functioning at full capacity, so please pardon my momentary dim-wittedness. I should have clued in on "parse"...heh.

Thanks so much for the information. You've been a huge help. I'll give this a shot Monday morning when I'm hopefully a bit more clear-headed and with any luck, somewhat recovered. This will help if the person I'm doing this for decides to change themes later.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 03, 2010, 09:40:18 PM
Quote from: geekartist on October 03, 2010, 08:13:31 PM
Now that you've explained the situation with the manual instructions, I think I see what to do now. That box on the right was a little counter-intuitive for me...I thought all it was was just a download box for the mod. The parse part was what threw me. Granted, I've been sick the past couple of days and not quite functioning at full capacity, so please pardon my momentary dim-wittedness. I should have clued in on "parse"...heh.

Hold on a second:

If you are using the default Theme the installer should have done everything already for you automatically.

If it hasn't, there was something wrong with the installation.

If you have no problem reading code, maybe it would be better if you use the "parsed" instructions to check exactly what instructions the installer has actually done and which ones it has missed, so you can fill the blanks.

Alternatively, just in case this parsed instructions are not complete (I don't know really because I have never use them) there is another way to do it (the way I normally do it when I am installing a new mod that I don't know):

Take the zip file with the mod, unzip it and read the files inside.

Every mod always start with the file package-info.xml

Inside it you will find 4 sets of instructions: to install in SMF 1.x, to uninstall in SMF 1.x, to install in SMF 2.x and to uninstall in SMF 2.x

Read the instructions to install in your version and follow them. It will tell you the order of the files you need to look at and what you need to do with them.

=================

There is only one catch here. If you are following the parsed instructions and it tells you: "Find the code so and so and add after it so and so" it really means add AFTER it literally.

But if you are reading the xml files and you find:


<file name="so and so">
<operation>
<search position="before"><![CDATA[


It really means add AFTER

And:


<file name="so and so">
<operation>
<search position="after"><![CDATA[


Means add BEFORE

Be careful with that.

=====================

I use always this way when installing a mod I don't know because this way I can read all the code in the order it is going to be executed and see if I like it or not.
Title: Re: Stop Spammer
Post by: crustybum on October 04, 2010, 06:26:24 AM
I cant se a control that will allow mods ect to use this, or do they automatically see the "check this member"?
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 04, 2010, 07:57:06 AM
Quote from: crustybum on October 04, 2010, 06:26:24 AM
I cant se a control that will allow mods ect to use this, or do they automatically see the "check this member"?

Sorry I don't understand you.

What version of SMF do you use?

Have you installed mod StopSpammer?

If so, what version?

During installation with the Package Manager (just before the actual installation) all the actions were marked as either "Success" or "Skipping file" with no errors at all?

And finally, the more important question:

What the heck means "mods ect"?
Title: Re: Stop Spammer
Post by: crustybum on October 04, 2010, 08:17:54 AM
Apologies,

I have installed the latest version   StopSpammer_v2_3_7.zip and am using smf version 2.0 RC3 , what i wanted to know is will my moderators/global mods (what dont you underastand about etc? ::)  ) be able to use this? for example when i go to someones profile i can see a list on the left including "check this member"(when the mod is installed) what if i want others including moderators to use this?

Thanks
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 04, 2010, 09:46:11 AM
OK, I see. "mods ect" was just a typo.  ;D

Actually I have never bother too much about this because I don't trust nobody enough to do that important task, so in all my forums only admins can do this.

So I left it the way originally M-DVD did it when he started this mod.

What M-DVD did was not to create a new permission to be able to see this, but he used the permission "Allowed to: Moderate forum members". You can find that permission inside:

Admin => Members => Permissions => Permissions by Membergroup => (Choose the membergroup you want) => Modify => General Permissions => Member administration => Moderate forum members

By default, as far as I know, only admins have that permission ON. Even Global Moderators have it OFF.

If you want some of your users to be able to use as well mod StopSpammer you will need to change that permission for that group.

Anyway be careful with that permission. Any member with that permission will be able to do too many things: Not only check if any member is in SFS DB (StopForumSpam database), but also delete any member, change any profile, etc.

Even (and that's the most dangerous part) they will be able to report any member to SFS and add them to the DB. Either by mistake or on purpose if they don't like somebody.

It's up to you if you trust your moderators enough to give them so much power.

Anyway, if you want to check exactly how much power your mods have do this:


If you don't like the way it is, log in again as admin and change the permissions again and repeat the process until you are happy.

Repeat all the process again with the group "Global Moderator".
Title: Re: Stop Spammer
Post by: geekartist on October 04, 2010, 07:45:30 PM
Quote from: snoopy_virtual on October 03, 2010, 09:40:18 PM

Hold on a second:

If you are using the default Theme the installer should have done everything already for you automatically.

If it hasn't, there was something wrong with the installation.

If you have no problem reading code, maybe it would be better if you use the "parsed" instructions to check exactly what instructions the installer has actually done and which ones it has missed, so you can fill the blanks.

Alternatively, just in case this parsed instructions are not complete (I don't know really because I have never use them) there is another way to do it (the way I normally do it when I am installing a new mod that I don't know):



Looking over everything in the parsed instructions, it looks like everything is in there as it should be. However, in Modifications.english.php I see what I assume to be info from other packages installed after the Stop Spammer info. One looks like it's used to generate error pages, the other looks like it belongs to IP2Location.

Maybe those could be the culprit.

Otherwise, it's uninstall/reinstall time. At a guess, maybe some kind of file corruption. Maybe the install just choked at some point going in.

Thanks again for all the feedback. I really appreciate it.
Title: Re: Stop Spammer
Post by: Syrion on October 04, 2010, 10:20:36 PM
Quote from: ZBWDO on October 01, 2010, 03:22:27 PM
My apologies.  I *thought* I had.  I'm generally pretty darn good about that.  The only thing I can think of was that I might have had a misspelling in my search, or otherwise screwed it up.  My apologies, and thanks very much.

Once you have approved or killed any (false) positieves it'll be gone as well.
Title: Re: Stop Spammer
Post by: ZBWDO on October 05, 2010, 12:52:24 AM
Cannot locate any, either when I click on the link, or through the database search function.  Oh well, minor inconvenience compared to all the crap of maintaining the forum members and killing the spambots before.
Title: Re: Stop Spammer
Post by: geekartist on October 05, 2010, 05:50:17 AM
It dawns on me that the person that originally installed this forum and the various packages, including Stop Spammer, mentioned cleaning up some code from 3rd party installs. While I did go through and eyeball the forum files and compare the parsed code to what is in the files, if changes have been made to the Stop Spammer code that could be the problem.

Which brings me to a potentially bigger problem. Will SMF be able to uninstall Stop Spammer if changes are made to the code? Even if it's just a semicolon here or parentheses there? I didn't check to make sure the code was an exact match. Just "yeah, this looks the same as this". I didn't go line by line, character by character, for an exact match.

Basically, since SMF writes these mods directly to files used to run SMF, are making changes to the mods likely to completely bork the site when we try and run an uninstall? I'm wondering if I pull out Stop Spammer if the whole thing is going to crater on me.

Title: Re: Stop Spammer
Post by: EL34xyz on October 05, 2010, 08:05:24 AM
I have modified code on mod packages which sometimes does present a problem when you go to uninstall them.
In order to remember exactly what I did, I always insert comments in the code with my initials.
That way I can search for my initials and look at any comments.

If the person who modded the mod did not leave any notes, it could be tough to uninstall.

It may be better to install SMF stock files and reaqply all the mods again.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 05, 2010, 08:18:26 AM
Quote from: Syrion on October 04, 2010, 10:20:36 PM
Quote from: ZBWDO on October 01, 2010, 03:22:27 PM
My apologies.  I *thought* I had.  I'm generally pretty darn good about that.  The only thing I can think of was that I might have had a misspelling in my search, or otherwise screwed it up.  My apologies, and thanks very much.

Once you have approved or killed any (false) positieves it'll be gone as well.

No, sorry.

The bug won't disappear once you approve/delete all . I am still having this bug and I have been using the mod since M-DVD started it 2 years ago.

It occurs only when you delete members from the page "View all members". It never happens if you approve/delete them from the page "Members awaiting approval".

And the problem why I haven't been able to sort it yet is because I was looking for the bug inside the code of this mod, but just recently I have realized this is not a bug coming from this mod, but it's a bug from SMF itself. So I need to look inside all SMF code instead if I want to sort it.
Title: Re: Stop Spammer
Post by: ZBWDO on October 05, 2010, 08:45:12 AM
Quote from: snoopy_virtual on October 05, 2010, 08:18:26 AM
just recently I have realized this is not a bug coming from this mod, but it's a bug from SMF itself. So I need to look inside all SMF code instead if I want to sort it.

Gulp!  ???
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 05, 2010, 09:09:11 AM
Quote from: EL34xyz on October 05, 2010, 08:05:24 AM
I have modified code on mod packages which sometimes does present a problem when you go to uninstall them.
In order to remember exactly what I did, I always insert comments in the code with my initials.
That way I can search for my initials and look at any comments.

If the person who modded the mod did not leave any notes, it could be tough to uninstall.

It may be better to install SMF stock files and reaqply all the mods again.

I always do exactly the same. Always insert comments with my name whenever I modify anything and usually even write a small explanation why I did it. So if I look at it 10 years later I will still understand why I did any change.

@geekartist: Anyway I agree with EL34xyz: The best solution for you will be to start afresh from the beginning.

The order should be:

-Download from SMF the package SMF 1.1.11 "Large upgrade".

-Download also all the latest versions of the mods you want to keep to be sure you have the real files.

-Upload to your server via FTP all the files inside the "Large upgrade" package overwriting the existing ones. That way you will be sure you have all the needed files and all of them are not modified by any mod.

-Update the database just in case this haven't been done lately, using the file upgrade.php included in the "Large upgrade" package. (When you finish this, remember to delete from your server the 3 upgrade files: one php and 2 sql)

-Install the mods using the Package Manager. But be sure, when you do this with every mod, to stop before you press the last button "Install now" and check that all the actions are marked as either "Success" or "Skipping file". At this point the mod has not modified yet any file, so if you see any action marked as "Error" you can stop there.

If any of the mods give you an error when installing you need to leave that mod for later and install it manually using the parsed instructions or modify the mod's files so they will install properly in your forum.

Also, with every mod you need to write down what template files are going to be modified so you can check if you have any of these files inside your particular Theme and modify them using the parsed instructions.

Sorry, forget this last one. I forgot you are using the default Theme.

Anyway I have always Skype, MSN and Yahoo connected while I'm working (that's it, when I'm not sleeping) so if you want, contact me and I can guide you through the process just in case any unexpected problem appears.
Title: Re: Stop Spammer
Post by: geekartist on October 05, 2010, 09:34:08 AM
Thanks for all the info and contact info snoopy_virtual and EL34xyz. Oh, how I am not looking forward to this. This forum is a reinstall due to a bugfest the original owner had (lots of packages installed and uninstalled, who-knows-what done to various files, somehow connected to two databases (don't ask me how they managed that one)).

The person who did the work on this forum set up a new database, pulled in the info from the old database, and did a fresh install of the forum. That person finally got it down to just this one round of errors in the error log, then stopped communication and work on the project. We can't reach her.

The forum owner is going to have a cow sideways over the idea of me doing a reinstall and likely having another bugfest in her error log (I was there when the person who did this was working on it...seems like there was always some bug to chase after a package was installed).

I think first, I'll go over the code with a fine-tooth comb and see if I can find what may be causing Stop Spammer to generate these errors. Sadly, no commented code, so...ouch. snoopy_virtual, I may just be in touch. :-P
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 05, 2010, 09:55:48 AM
It's not really a re-install.

To do a new installation you will need another database again.

What I'm saying is a lot easier than it looks, because it will be using the same database you already have, just replacing needed files.

I have done it a lot of times and that's why I was suggesting doing it together.

PM me if you cannot find my contact info and let me know what messenger program you use.
Title: Re: Stop Spammer
Post by: EL34 on October 06, 2010, 07:40:26 AM
yes, it's not that bad as snoop says.
It's not like starting an install from scratch.

I usually look at the file dates on all the smf  .php files and just upload a stock copy of files that were changed after the original installation dates.

Some of the files are still stock and have never been altered by mods, which I can tell by the date.

So, in the case of 1.1.11 files, I only have to maybe upload stock copies of maybe 10 or so files since the forum was upgrade to 1.1.11

Title: Re: Stop Spammer
Post by: LinuxFanatic on October 08, 2010, 07:51:40 AM
Sorry, but this mod does not work. I can install it without errors, but in the member list of ACP there are no icons. And I still have every day new spam accounts  :'(

I'm using SMF 1.1.11 with default theme.


:( :( :( :( :( :(
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 08, 2010, 08:32:25 AM
Quote from: LinuxFanatic on October 08, 2010, 07:51:40 AM
Sorry, but this mod does not work. I can install it without errors, but in the member list of ACP there are no icons. And I still have every day new spam accounts  :'(

I'm using SMF 1.1.11 with default theme.

Mmmmmmm....   Strange.

With no errors during installation it should be working.

Have you activated the mod after installation?
Title: Re: Stop Spammer
Post by: LinuxFanatic on October 08, 2010, 08:40:53 AM
Quote from: snoopy_virtual on October 08, 2010, 08:32:25 AM
Quote from: LinuxFanatic on October 08, 2010, 07:51:40 AM
Sorry, but this mod does not work. I can install it without errors, but in the member list of ACP there are no icons. And I still have every day new spam accounts  :'(

I'm using SMF 1.1.11 with default theme.

Mmmmmmm....   Strange.

With no errors during installation it should be working.

Have you activated the mod after installation?



Yes, of course I have activated it after SMF 1.1.11 Upgrade. I also had also no error during installation.

Perhaps makes it a difference, if my forum's language is German ?
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 08, 2010, 09:02:09 AM
Inside the file language_full.zip you can find the instructions to translate the mod to German (and a lot more languages) but as far as I know, even if you haven't done that, the mod is supposed to use the English strings if it cannot find those strings in your own language, so that shouldn't be a problem.

Just to check that out, can you read all the mod's configuration strings? and (if so) in what language they appear?
Title: Re: Stop Spammer
Post by: LinuxFanatic on October 08, 2010, 09:40:46 AM
Quote from: snoopy_virtual on October 08, 2010, 09:02:09 AM
Just to check that out, can you read all the mod's configuration strings? and (if so) in what language they appear?

Where can I read these strings ?
Title: Re: Stop Spammer
Post by: LinuxFanatic on October 08, 2010, 10:16:09 AM
Quote from: LinuxFanatic on October 08, 2010, 09:40:46 AM
Quote from: snoopy_virtual on October 08, 2010, 09:02:09 AM
Just to check that out, can you read all the mod's configuration strings? and (if so) in what language they appear?

Where can I read these strings ?

Oh sorry! It was my difficult thinking ^^^ :)

I looked again - it appears nothing in ACP ... :-/
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 08, 2010, 10:22:59 AM
Quote from: LinuxFanatic on October 08, 2010, 09:40:46 AM
Quote from: snoopy_virtual on October 08, 2010, 09:02:09 AM
Just to check that out, can you read all the mod's configuration strings? and (if so) in what language they appear?

Where can I read these strings ?

Navigate to: Admin => Members => Registration => Settings => And scroll down the page.

The mod's configuration strings start with "Enable/Disable MOD Stop Spammer:" and finish with: "If you haven't got one just leave it blank and the mod will use the default API key."

Can you see these strings?

If so, In what language do you see them?
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 08, 2010, 10:25:45 AM
If you don't see them (or you see them in English) download the file language_full.zip and follow the instructions to translate the mod into German.

Anyway, if you see them please be sure that the checkbox "Enable/Disable MOD Stop Spammer:" is activated.
Title: Re: Stop Spammer
Post by: LinuxFanatic on October 08, 2010, 10:35:26 AM
It appears nothing  :( (see screenshot)
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 08, 2010, 10:39:06 AM
Quote from: LinuxFanatic on October 08, 2010, 10:35:26 AM
It appears nothing  :( (see screenshot)

Quote from: snoopy_virtual on October 08, 2010, 10:25:45 AM
If you don't see them download the file language_full.zip and follow the instructions to translate the mod into German.
Title: Re: Stop Spammer
Post by: LinuxFanatic on October 08, 2010, 10:53:03 AM
Quote from: snoopy_virtual on October 08, 2010, 10:39:06 AM
Quote from: LinuxFanatic on October 08, 2010, 10:35:26 AM
It appears nothing  :( (see screenshot)

Quote from: snoopy_virtual on October 08, 2010, 10:25:45 AM
If you don't see them download the file language_full.zip and follow the instructions to translate the mod into German.

Okay I'll try it again ...
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 08, 2010, 11:00:01 AM
Quote from: LinuxFanatic on October 08, 2010, 10:53:03 AM
Okay I'll try it again ...

Did you see my PM?
Title: Re: Stop Spammer
Post by: carbonize on October 08, 2010, 02:15:13 PM
Well I installed this and tested by having it check a list of accounts that had 0 posts. I noticed it marked a friend of mine as a spammer so I checked his details on the Stop Forum Spam website. Both his IP and email address returned no results from their database so all I can think of is it blocked him because of his user name which is Sean. Sorry but classing a user as a spammer based on user name is stupid and seems to results in a lot of false positives. Unless I am missing something and it wasn't the user name it was blocking on.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 08, 2010, 03:05:26 PM
Quote from: carbonize on October 08, 2010, 02:15:13 PM
Well I installed this and tested by having it check a list of accounts that had 0 posts. I noticed it marked a friend of mine as a spammer so I checked his details on the Stop Forum Spam website. Both his IP and email address returned no results from their database so all I can think of is it blocked him because of his user name which is Sean. Sorry but classing a user as a spammer based on user name is stupid and seems to results in a lot of false positives. Unless I am missing something and it wasn't the user name it was blocking on.

That's exactly the reason why I changed a few things in the mod's settings on this last version 2.3.7 on the 7th of February 2010

Navigate to: Admin => Members => Registration => Settings => And scroll down the page to the mod's settings.

You will see it says:

Quote
If MOD Stop Spammer is enabled, every time we check a member:

Check their username:    
Check their email:    
Check their IP:

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.

It's up to you if you want to leave the 3 options or not.

If you read this thread completely you will see some people say it's better to leave the 3 options ON, but my personal recommendation (at least that's the reason why I did that change and that's the way I have it in all my forums) has been always to check only emails and IPs, but never check usernames.
Title: Re: Stop Spammer
Post by: NetBuM on October 08, 2010, 05:17:15 PM
I discovered this mod today and tried to install the latest version on SMF 2.0 RC2.  When I hit install the installation actually takes me to my homepage http://gravesidetales.com which is built using WordPress.

The url looks like this when I hit install

http://gravesidetales.com/forum/?action=admin;area=packages;sa=install;package=StopSpammer_v2_3_7.zip

I tried to Parse for a manual install but and error comes up.  I would really like to get this mod up and running because I am really getting tired of all the people who just sign up with their affiliate links.

Thanks in advance
Title: Re: Stop Spammer
Post by: busterone on October 08, 2010, 05:27:08 PM
Are you installing the mod through your forum's package manager?
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 08, 2010, 06:16:28 PM
I suppose yes, NetBuM is installing it via the package manager. Look at the link:

action=admin;area=packages;sa=install; etc

That's inside the package manager, so is doing it properly there.

So if the installation is not working it must be something else wrong inside NetBuM's forum, but I cannot figure out what.

I will think about it for a while. In the mean time just a few questions for NetBuM:

You said you are trying to install the mod on SMF 2.0 RC2, but I have just checked your forum and it's 2.0 RC3

Was it a typo?

Did you upgrade lately from RC2 to RC3?

Since you upgraded it have you installed any other mods via the package manager without errors?

Have you ever installed any other mods without errors since you started your forum?

You also said you "tried to Parse for a manual install but and error comes up".

What error?

What parsed instructions are you using?
Title: Re: Stop Spammer
Post by: carbonize on October 09, 2010, 02:52:49 AM
OK I apologise but you make no mention of the settings in admin on the mod page (http://custom.simplemachines.org/mods/index.php?mod=1547) nor is there a picture showing the settings in admin. As to reading this thread it is 42 pages long so I read the first 3 pages and the last 3 and there is no mention of settings on any of them pages.
Title: Re: Stop Spammer
Post by: butchs on October 09, 2010, 09:26:31 AM
Try to search the topic???
Title: Re: Stop Spammer
Post by: NetBuM on October 09, 2010, 12:27:46 PM
Quote from: snoopy_virtual on October 08, 2010, 06:16:28 PM
I suppose yes, NetBuM is installing it via the package manager. Look at the link:

action=admin;area=packages;sa=install; etc

That's inside the package manager, so is doing it properly there.

So if the installation is not working it must be something else wrong inside NetBuM's forum, but I cannot figure out what.

I will think about it for a while. In the mean time just a few questions for NetBuM:

You said you are trying to install the mod on SMF 2.0 RC2, but I have just checked your forum and it's 2.0 RC3

Was it a typo?

Did you upgrade lately from RC2 to RC3?

Since you upgraded it have you installed any other mods via the package manager without errors?

Have you ever installed any other mods without errors since you started your forum?

You also said you "tried to Parse for a manual install but and error comes up".

What error?

What parsed instructions are you using?

Hi Snoop,

That was a typo.  I had RC2 on the brain because of another post I read. 

I only have 3 mods installed. 

1.     Auto Embed Video/Audio Clips     
2.    Hide Edited Line    
3.    Twitter and Facebook Publisher mod    
4.     Simple Portal
All installed with no problems

I did about a month or two ago update to Theme "The Killing SMF2", by Akyhne

Now that I think of it maybe it could be a problem with the theme.  I remember having this type of problem before when I was running SMF 1.10 or thereabouts.  When I upgraded to run the SMF 2.0 RCxx the problem went away. 

When I tried to parse I got the following message:

An Error Has Occurred!
Sorry, but the modification could not be parsed.


Title: Re: Stop Spammer
Post by: snoopy_virtual on October 09, 2010, 01:18:15 PM
Quote from: NetBuM on October 09, 2010, 12:27:46 PM
I did about a month or two ago update to Theme "The Killing SMF2", by Akyhne

Now that I think of it maybe it could be a problem with the theme.  I remember having this type of problem before when I was running SMF 1.10 or thereabouts.  When I upgraded to run the SMF 2.0 RCxx the problem went away.  I may revert back to the previous version of this theme and see if that helps. 

This maybe the solution. Try it and let us know if it sort the problem

Quote from: NetBuM on October 09, 2010, 12:27:46 PM
When I tried to parse I got the following message:

An Error Has Occurred!
Sorry, but the modification could not be parsed.

There is always another way to do a manual installation.

If you have no problem reading code try what I suggested to geekartist a few days ago here:

http://www.simplemachines.org/community/index.php?topic=283309.msg2806321#msg2806321
Title: Re: Stop Spammer
Post by: NetBuM on October 09, 2010, 01:25:24 PM
The theme version RC2 and I tried it but no go.  Will give your suggestion a read.

Title: Re: Stop Spammer
Post by: snoopy_virtual on October 09, 2010, 01:41:54 PM
Quote from: NetBuM on October 09, 2010, 01:25:24 PM
The theme version RC2 and I tried it but no go.  Will give your suggestion a read.

If you don't see it clear, give me a call via Skype.

Actually, as you can see in the thread, we were last week trying to sort geekartist's problem for a lot of days with no success, but yesterday we at last connected together via Skype and sorted the problem in a few minutes.

I think geekartist is a lot more happy now.  ;D
Title: Re: Stop Spammer
Post by: carbonize on October 09, 2010, 02:05:10 PM
Quote from: butchs on October 09, 2010, 09:26:31 AM
Try to search the topic???
People shouldn't have to search for what should be in the description/instructions.
Title: Re: Stop Spammer
Post by: carbonize on October 09, 2010, 02:48:08 PM
Quote from: carbonize on October 09, 2010, 02:05:10 PM
Quote from: butchs on October 09, 2010, 09:26:31 AM
Try to search the topic???
People shouldn't have to search for what should be in the description/instructions.
Nor should they have to ask about basic functionality.
Title: Re: Stop Spammer
Post by: butchs on October 09, 2010, 10:23:01 PM
I know nothing about that stuff...   I did not mean to  strike a chord.  I simply wanted to help.  :'(
Title: Re: Stop Spammer
Post by: flutter on October 20, 2010, 04:13:39 AM
I've been using this for ages on my old site.  Now trying to install it on the new one and I get a test failed on

Themes/default/ManageMembers.template.php     
Themes/default/Register.template.php

The parse feature isn't working and I can't get the code I need to insert to get the mod working.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 20, 2010, 09:33:28 AM
Quote from: flutter on October 20, 2010, 04:13:39 AM
I've been using this for ages on my old site.  Now trying to install it on the new one and I get a test failed on

Themes/default/ManageMembers.template.php     
Themes/default/Register.template.php

The parse feature isn't working and I can't get the code I need to insert to get the mod working.

If you un-zip the package StopSpammer_v2_3_7.zip you will find inside it the code you need to modify. If you can read code you can try to do it that way.

But the code is completely different for SMF 1.1.11 or SMF 2.0 RC3 or whatever.

For SMF 1.x the changes are inside the file install_1.xml

For SMF 2.0 the changes are inside the file install_2.xml

Which one do you use?

===============================

You need to check also if inside the folder of the particular Theme you are using you have the files ManageMembers.template.php and/or Register.template.php

If SMF finds any of them inside your Theme folder it will use them. If they are not there it will use the files inside the default Theme instead. If you have any of them in your custom Theme folder you will need to modify them as well.

Do you use the default Theme or a custom one?

If you have a custom Theme can you see any of those 2 files inside it?

===============================

If you are not confident reading code or you don't understand something, there is a lot faster solution:


I would do the needed changes myself and send them back to you.

===============================

BTW, if you cannot see my email address, it is:

info [at] snoopyvirtualstudio [dot] com
Title: Re: Stop Spammer
Post by: flutter on October 20, 2010, 10:41:28 AM
Just installed 2.0 and now I can't get this mod to work at all.  I'll be lost without it. 

Just came back on this.  I downloaded it again, my version was about a year old and wouldn't have been able to work with the most recent 2.0 yet

Cracking wee mod and it has saved me so much trouble you wouldn't believe it

Snoopy, your project honeypot one, is that compatible with this or do I have to choose?  I'd love both
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 20, 2010, 11:42:54 AM
Quote from: flutter on October 20, 2010, 10:41:28 AM
Just installed 2.0 and now I can't get this mod to work at all.  I'll be lost without it. 

Just came back on this.  I downloaded it again, my version was about a year old and wouldn't have been able to work with the most recent 2.0 yet

When you say the most recent 2.0 do you mean SMF 2.0 RC3?

Quote from: flutter on October 20, 2010, 10:41:28 AM
Snoopy, your project honeypot one, is that compatible with this or do I have to choose?  I'd love both

Both mods Stop Spammer and httpBL (the project honeypot one) are totally compatible. I have them both in all my forums.

=================

I cannot see any attached files or any new email. Why you didn't send me your files so I can modify them for you?
Title: Re: Stop Spammer
Post by: flutter on October 20, 2010, 01:05:41 PM
Thank you, I'll go for both then.  I'll download it in a bit
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 20, 2010, 01:08:13 PM
Quote from: flutter on October 20, 2010, 01:05:41 PM
Thank you, I'll go for both then.  I'll download it in a bit

Don't understand.

Did you sort your problem then?

Is it working now?
Title: Re: Stop Spammer
Post by: flutter on October 20, 2010, 02:00:36 PM
yes, I said earlier I re downloaded it as mine was about a year old, therefore it wouldn't be compatible.  I have the new version now and it works.  Thank you
Title: Re: Stop Spammer
Post by: lazylivin on October 21, 2010, 12:39:51 AM
Thank you for this mod it is great. I have a feature request, can you have a option to stop registration and stop account creation? I would prefer to not have to verify every member and delete there account.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 21, 2010, 07:56:36 AM
Quote from: lazylivin on October 21, 2010, 12:39:51 AM
Thank you for this mod it is great. I have a feature request, can you have a option to stop registration and stop account creation? I would prefer to not have to verify every member and delete there account.

I think I have already answered this question 100 times. Please search the topic.

For example here is an answer to something similar:

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


--------------
Edit: After reading again what I have answered here I thought it was too short, so I have added another 3 answers explaining it a little more. Please read them as well.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 21, 2010, 08:09:34 AM
Anyway, I have said also a few times you can reduce drastically the amount of robots registering in your forums just installing as well the mod: Anti-Spam Verification Questions (http://custom.simplemachines.org/mods/index.php?mod=1516)

This mod check if a visitor trying to register in your forum is a robot before mod StopSpammer does it, and it usually detects 99% of the robots.

So, with this mod installed, only 1% of the robots need to be checked by mod StopSpammer, so it needs a lot less checks inside the external StopForumSpam database (making the forum work a lot faster) and you will have only 1% of spammers registrations, making your life easier.

=============================

Of course this mod Anti-Spam Verification Questions is only for SMF 1.1.11

The people using SMF 2.0 don't need it because it is already built in. The only thing you need to do if you are using SMF 2.0 is activate it, because it is not activated by default.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 21, 2010, 08:27:22 AM
You can see in this table the results from my own experience:








How long
ago
# of forums
I had then
Anti-Spam mods
installed
Spammers
registering
------------
--
--------------
--
-------------------
--
-------------
3 years ago
10
none
100-200 a day
2 years ago
10
StopSpammer
30-50 a day
1 year ago
8
StopSp. & httpBL
5-10 a day
now
7
StopSp, httpBL & Questions
1 a month
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 21, 2010, 08:43:53 AM
Anyway, as I said a few minutes ago in reply #843 you can have a better view of all the things we have said about this if you search this topic.

Try for example with the keywords "false positive":

http://www.simplemachines.org/community/index.php?action=search2;search=false+positive;topic=283309
Title: Re: Stop Spammer
Post by: lazylivin on October 21, 2010, 11:22:43 AM
Thanks for your response Snoopy. I do see your points and appreciate your input.

I would like to point out that I have implemented the questions on registration and it has not reduced new registrations. My guess is the automated spammers scripts are more intelligent these days and reading the questions and responding to them correctly. I have went as far as changing my questions to more unique items like. What is the capital of Ohio (all my members should be local to ohio and know that answer. Still not stopping them. Maybe when there script fails it prompts the malicious user for input.

I only check IP and email from stop spammer, there could still be false positives I agree. However what would help would be if it gets a hit it stops the registration process and allows me to show a message to user saying your registration has been blocked due to IP or email being in the stop spammer database. If you feel this is a mistake and you are a legit person that would like to access our forums please send an email to me at [email protected]

Thoughts?
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 21, 2010, 12:40:56 PM
With mod Stop Spammer and Anti-Spam Verification Questions active you are still getting spammers?

Strange.

As you said, if your members are all from Ohio, asking them what is the capital of Ohio should be a good enough question, but maybe that's too easy for robots. Try changing the question again.

For example one of my customers has a forum dedicated to Bruce Springsteen (I designed it and administer it). This forum was the worst one, getting a minimum of 10 spammers a day, so that's the first one where I installed the Questions mod to see if it made any difference.

At the beginning the question I put was "2 + 2 =", but that was too easy for robots. I was still getting some spammers every now and then (but a lot less than before though) so I changed the question to "What is the first name of Springsteen?". No robot has answered yet.

===================

Or maybe you have a problem with the Anti-Spam Verification Questions and it's not working properly.

To check that you just need to enter your forum as a normal visitor (not logged in) and try to create a new account. And then, when you see the verification question, answer it wrong on purpose to see what happen.

If you can create the account you will know there is something wrong with your Anti-Spam Verification Questions.

===================

Or maybe the difference is that I have also mod httpBL installed in all my forums.

Do you have also mod httpBL?
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 21, 2010, 12:47:49 PM
I mean:

Remember that the Anti-Spam Verification Questions (like any other captcha system) will only stop robots.

They are only questions made in a way that it's difficult for robots to understand, but any human can answer very easily.

But both mod StopSpammer and httpBL use spammers databases, so they stop robots and humans alike.

Maybe you are not having a lot of spammer robots, but a lot of human robots, and that's why they can answer your questions no problem.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 21, 2010, 01:36:35 PM
Quote from: lazylivin on October 21, 2010, 11:22:43 AM
... However what would help would be if it gets a hit it stops the registration process and allows me to show a message to user saying your registration has been blocked due to IP or email being in the stop spammer database. If you feel this is a mistake and you are a legit person that would like to access our forums please send an email to me at [email protected]
...

I just realized that, with all the different points I have been talking about, I forgot to tell you that I think this is a nice suggestion.

So I have added it to my list of "Things to add to the mod whenever I have time".

I won't use this option myself but as you said it could be useful for some people.

The problem is I don't know when I will have time to do the next version. Or if I will add this option in the next version or I will leave it for other future versions.

That's why I was trying to make your life easier without this option implemented in the mod.  ;D
Title: Re: Stop Spammer
Post by: lazylivin on October 21, 2010, 11:31:13 PM
Just wanted to say thanks for all your input. As you suggested I changed my questions to things that legit people joining the forum would know, but not bots and humans would need to research. It is a Salt Water Reef Club. I don't have httpBL but will add that based on your suggestion to our test forum tonight and move to production forum this weekend.
Thanks for your help and considering the new feature if you ever do a update to the mod.
Title: Re: Stop Spammer
Post by: SteveW on October 23, 2010, 05:29:39 AM
Hi, thankyou for a brilliant SMF addon! :)

I know this has been reported and is being looked at.

QuoteThere are 5 members awaiting approval.

I have none awaiting approval. I have looked at the database to try and find out what is causing this issue and I cannot find anything.
I look forward to this bug fix as :)

all the best
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 23, 2010, 07:15:23 AM
The problem (as I think I said somewhere before) is that this is not a bug inside StopSpammer mod, but a bug inside SMF code. That's why is taking me so long to find it.

Anyway there are a couple of "workarounds" to avoid this problem:

1.- This problem only occurs when you delete from the page "View all members" a member who is waiting for approval. But it never happens if you delete this member from the page "Members waiting for approval".

So one solution to avoid this problem is to delete always the bad guys from the page "Members waiting for approval".

2.- There was another solution mentioned a couple of times here in this thread but, as I don't use it (I always use the first one) I don't remember what it was or where it is, but maybe somebody else will be so kind as to remember all of us what it was.
Title: Re: Stop Spammer
Post by: mojosplurr on October 30, 2010, 11:20:19 PM
I had to do a manual install because I'm on a custom theme. Anyways, I got everything down except for the database entries? It's missing in the parse instructions first of all, and second, how do I manually do it? I know I have to do it in phpmyadmin, but its in php code..and not a straight copy and paste into the SQL box.

also got an error about mem.spammer

Thanks in advance.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 31, 2010, 10:29:57 AM
Quote from: mojosplurr on October 30, 2010, 11:20:19 PM
I had to do a manual install because I'm on a custom theme. Anyways, I got everything down except for the database entries? It's missing in the parse instructions first of all, and second, how do I manually do it? I know I have to do it in phpmyadmin, but its in php code..and not a straight copy and paste into the SQL box.

also got an error about mem.spammer

Thanks in advance.

There is an easier way of doing the DB changes than using phpmyadmin.

Just need to know what version of SMF you are using (1.1.11 or 2.0 RC3 or whatever it is) and I will tell you how to do it.
Title: Re: Stop Spammer
Post by: mojosplurr on October 31, 2010, 05:45:00 PM
I'm using 2.0 RC3, look forward to you showing the easier way! Thanks Snoop =]
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 31, 2010, 07:26:23 PM
Quote from: mojosplurr on October 31, 2010, 05:45:00 PM
I'm using 2.0 RC3, look forward to you showing the easier way! Thanks Snoop =]

I forgot to ask you as well if the version of mod Stop Spammer you were installing was the latest one, 2.3.7

I suppose it is. If you are installing an older version you shouldn't do it.

Now, supposing you are installing the latest version and you have already made manually all the modifications needed on the files, what you need to do now is to take the attached file install_2.php

Upload it to the root of your forum. The same place where you have the files SSI.php, index.php, etc.

Now open your browser and visit that file.

I mean:

Supposing your forum is in http://www.yourwebsite.com/forum/ you need to navigate to http://www.yourwebsite.com/forum/install_2.php

If you see any errors on the screen let me know.

If you see the message "Database changes done", everything was OK, so you can now delete the file install_2.php

Check if the mod is now working properly and let me know as well, either if everything is OK or not.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 31, 2010, 07:38:54 PM
@ mojosplurr

Anyway, there is one thing I don't understand.

You said you had to do a manual install because you are using a custom Theme.

Well, I see also that you are very new here in SMF, so maybe you still don't understand how it works.

I mean, at least 99% of the people here in SMF use custom Themes and almost nobody need to do a manual installation.

For example just now I have 7 different SMF forums myself and none of them use the default Theme, all of them use custom Themes and I have lots of mods installed in them and I always install them using the Package Manager. Never need to do a manual install.

Only sometimes, if a mod need to do a modification inside one of the template files and I have modified that particular template file (so I'm not using the default one) then I need to do manually just that small modification. But all the rest of the installation should be always done with the Packages Manager.

Maybe it would be a good idea to talk directly to you via Skype so I can show you a few examples on how to use properly the Package Manager.
Title: Re: Stop Spammer
Post by: mojosplurr on November 01, 2010, 01:45:43 PM
Snoop...

you are right I shouldn't have to manually install every mod it is extremely time consuming, so i would like to fix that

when I try to use the package installer, it either installs perfectly fine and ends up as Phantom installation meaning none of my files get edited, or I get parse modification errors..so thats why I did manual. After hours of googling and searching this forum, I think it has to do do with CHOWN? I am on a VPS, have root access, but installed EHCP control panel to help manage multiple sites..so I believe maybe the root of my problems is the wrong chown settings?

How do I find out who and what to chown to, IE: chown -R whatuser?:whatgroup?

Thank you snoop for helping me out so far


Title: Re: Stop Spammer
Post by: snoopy_virtual on November 01, 2010, 05:02:53 PM
Quote from: mojosplurr on November 01, 2010, 01:45:43 PM
you are right I shouldn't have to manually install every mod it is extremely time consuming, so i would like to fix that
...
I think it has to do do with CHOWN? I am on a VPS, have root access, but installed EHCP control panel to help manage multiple sites..so I believe maybe the root of my problems is the wrong chown settings?

How do I find out who and what to chown to, IE: chown -R whatuser?:whatgroup?

Well, if you have root access to your server that would make things easier. I haven't got root access and need to ask my server admins every time I need to change something.

With EHCP I suppose you mean Easy Hosting Control Panel. I use Enhanced cPanel, but I haven't configured it myself. It was already done when I started using it. Anyway I have an idea where to start looking and we can also compare your server and mine to see the differences. I think both are pretty similar, as both are open source and both run on Linux. And of course, if we don't find it ourselves, we can ask as well my friends in Ubuntu forums, my server admins, etc.

But as I said before, this is not the place to talk about this thing. It would be better if we contact through any messenger and talk directly about it to sort it. I use Ubuntu 10.04, so I have Pidgin open all the time and inside it I have configured my accounts inside MSN, Yahoo and Skype, so anyone of them you have will be ok.

The best thing you can do is enter my site: http://www.snoopyvirtualstudio.com and find the photos of me and my brother. On top of each one there are buttons saying exactly what are we doing at any moment: If we are available, if we have the computer off, if we are doing something too urgent and don't want to be disturbed, etc.

When ever you see I am green, give me a call.

You can talk also with my brother if you want, but he only speaks Spanish, so don't recommend you to try if you don't speak that one.

=============

By the way, Was the file I gave you yesterday OK? Did it install the database for this mod properly?

I'm curious now, because yesterday butchs was telling me I had done it wrong. He told me you had the same problem with his mod Bad Behavior and he had done also a similar file for you to install it manually, so I checked that file butchs did to see the differences.

I need to know which one of the files is right for future references in case somebody has a similar problem.

I am 99.99% sure though you will have no problem installing my mod with the file I gave you and you will get again the same error "Database Error - No database selected" with the file butchs gave you for his mod, but there is always a chance I'm wrong and would like to know.
Title: Re: Stop Spammer
Post by: butchs on November 01, 2010, 06:24:06 PM
Ouch that stings!  I will be surprised if you install worked outside package manager considering that you called "$user_info['is_admin']" before $user_info was set as a global and etc.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 01, 2010, 06:45:16 PM
You want to bet a beer?
Title: Re: Stop Spammer
Post by: petesky on November 02, 2010, 03:48:47 AM
Is there a RC4 update available ?
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 02, 2010, 06:41:33 AM
Quote from: petesky on November 02, 2010, 03:48:47 AM
Is there a RC4 update available ?

As the people in SMF say:

Quote
Note: As this is in development, we do not recommend running SMF 2.0 RC4 on a production site.

So as RC4 is only for developers and testing purposes the people using RC4 are supposed to be able to do any changes required. So I will do first the update for SMF 1.1.12 that is the actual SMF stable version.

After that, if I have time I will worry about RC4
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 02, 2010, 11:13:39 AM
New SMF version 1.1.12 thoroughly checked for compatibility with mod Stop Spammer version 2.3.7

No changes needed at all in this mod, so if you are going to update your forum to the latest stable version (as you should) you shouldn't have any problem:

Mod Stop Spammer version 2.3.7 is fully compatible with SMF version 1.1.12

Of course, as always, before I say anything, I only checked it a hundred times instead of a thousand times (as I should) so I am only 99.99% sure of what I say. I may have made a mistake somewhere.   ;D

So if you have any problem updating SMF to the new version let me know and I will look into it.
Title: Re: Stop Spammer
Post by: petesky on November 02, 2010, 11:47:57 AM
I put the correct version number in XML and modified at least on error in log. Works also with RC4 so far. Thx
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 02, 2010, 12:35:21 PM
Quote from: petesky on November 02, 2010, 11:47:57 AM
I put the correct version number in XML and modified at least on error in log. Works also with RC4 so far. Thx

Did you take a note of the error in log? I would like to know.

What XML you changed? If the versions are compatible you shouldn't need to change anything in any XML file.
Title: Re: Stop Spammer
Post by: petesky on November 02, 2010, 01:18:31 PM
The change in XML is just to get it installed in RC4. Thats all. There was an eregi not found somewhere. I edited the file manually and let install the mod with this one error. This works perfectly.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 02, 2010, 02:23:29 PM
Quote from: petesky on November 02, 2010, 01:18:31 PM
The change in XML is just to get it installed in RC4. Thats all.

I still don't understand what XML file you are talking about.

This mod has 4 XML files:


<install for="2.0 - 2.99.99">


So that section has the instructions to install the mod in any SMF forum with any version from 2.0 to 2.99.99 and that includes any possible betas, RCs etc they may publish, so it includes of course 2.0 RC3, 2.0 RC4, etc, so it cannot be this one either.

So again, Can you please tell me what XML file you changed?

Quote from: petesky on November 02, 2010, 01:18:31 PM
There was an eregi not found somewhere. I edited the file manually and let install the mod with this one error. This works perfectly.

If you are talking about the PHP function eregi() I haven't used it never in any of my programs, so you must have read wrongly the error message.

If you had a typo when you wrote it here and you are talking about the PHP function ereg() I used this function ages ago when we started with this mod, but that function was deprecated in PHP long time ago and it shows errors now, so I changed it long time ago (I think more than a year ago) to preg_match() and that one never shows any errors.

Are you sure you have installed the latest mod Stop Spammer version 2.3.7?
Title: Re: Stop Spammer
Post by: mojosplurr on November 02, 2010, 03:09:13 PM
Quote from: snoopy_virtual on November 01, 2010, 06:45:16 PM
You want to bet a beer?
sorry for the slow reply guys, had a heck of a day yesterday!

lol, unfortunately...snoops file did install the database, and butch yours still give me the same error.. but i want to thank both of you for taking your time to help me.

@snoop im going to get a microphone and set up the skype thing today, hopefully we can get things sorted.

once gain thanks to both you guys.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 02, 2010, 03:21:01 PM
Quote from: mojosplurr on November 02, 2010, 03:09:13 PM
Quote from: snoopy_virtual on November 01, 2010, 06:45:16 PM
You want to bet a beer?
lol, unfortunately...snoops file did install the database, and butch yours still give me the same error.. but i want to thank both of you for taking your time to help me.

Yahoooo!!    butchs owes me a beer now.

Don't send it by email though. It will get everything in my incoming folder wet.  ;)
Title: Re: Stop Spammer
Post by: busterone on November 02, 2010, 05:47:57 PM
Good one.   ;D 

I will be testing for RC4 later this evening as well, so I will let you know how it goes if no one else posts about it. I am going to try it on fully loaded ungraded forum and a clean installed one.

Title: Re: Stop Spammer
Post by: snoopy_virtual on November 02, 2010, 06:07:50 PM
Quote from: busterone on November 02, 2010, 05:47:57 PM
I will be testing for RC4 later this evening as well, so I will let you know how it goes if no one else posts about it. I am going to try it on fully loaded ungraded forum and a clean installed one.

Wonderful. I was planing to test it on my RC3 test forum as well, (upgrading it first to RC4) but don't know when I will have time to do it though, and anyway it has mod Stop Spammer, httpBL and a few more already installed in it, so it won't be the same as a new fresh install.

I was even thinking on doing a new test RC4 forum to test this properly, but if you are going to do it, that will save my a lot of work.

Keep us informed. Thanks.  ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 02, 2010, 06:28:39 PM
Quote from: butchs on November 01, 2010, 06:24:06 PM
I will be surprised if your install worked outside package manager considering that you called "$user_info['is_admin']" before $user_info was set as a global and etc.

Just in case you are still wondering why my script worked I will explain it a little:

When you use the file install_2.php outside the package manager it works as a master file. SSI.php is included in it.

One of the first things SSI.php does is declare a lot of globals it need, as for example $user_info, $smcFunc, $db_prefix etc so you actually don't need to declare any of these globals yourself when using the file as master.

Of course it's better if the globals are also there, because when the file is used by the package manager, the master file is index.php, and the file install_2.php is called after a lot of includes, so we cannot be sure if all those variables are still globals or not.
Title: Re: Stop Spammer
Post by: busterone on November 02, 2010, 07:21:25 PM
Alright Snoopy, I tested ver.2.3.7 on both. I had to do only 1 manual edit for both the upgraded and the clean install RC4.
It is in /Sources/Subs.php.

The install is looking in subs.php for the following code to replace-
$context['unapproved_members'] = !empty($modSettings['registration_method']) && $modSettings['registration_method'] == 2 ? $modSettings['unapprovedMembers'] : 0;
which has changed to this in RC4-

$context['unapproved_members'] = (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 2) || !empty($modSettings['approveAccountDeletion']) ? $modSettings['unapprovedMembers'] : 0;


I manually replaced it with the mod's code
$context['unapproved_members'] = $modSettings['unapprovedMembers'];
and allowed the package manager to finish the installation. It appears to be working and there are no errors in the error log so far. As best as I can tell, just changing the above search string will make it compatible with RC4.  :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 02, 2010, 07:55:18 PM
Interesting.

I will need to see anyway what is the new $modSettings['approveAccountDeletion'] as I haven't seen it before. Maybe we should take it into account.

The problem is now it's impossible to make the mod compatible with RC3 and RC4 at the same time, so I will leave it the way it is just now, (giving links to what you have just said for the people upgrading to RC4) and whenever I finish the next version I will change it.

Thanks mate.
Title: Re: Stop Spammer
Post by: busterone on November 02, 2010, 08:24:14 PM
No problem.  :)
I am also curious about the $modSettings['approveAccountDeletion'] as well. I have not upgraded my main live forum yet, just a backup copy of it to see how all my mods will fare on RC4. All mods are ok, but I will wait it out before upgrading the live site as well. I do not want to create any issues with the missing $modSettings['approveAccountDeletion'] if there will be any.
Title: Re: Stop Spammer
Post by: Jade Elizabeth on November 07, 2010, 06:38:03 PM
Quote from: snoopy_virtual on November 02, 2010, 06:41:33 AM
Quote from: petesky on November 02, 2010, 03:48:47 AM
Is there a RC4 update available ?

As the people in SMF say:

Quote
Note: As this is in development, we do not recommend running SMF 2.0 RC4 on a production site.

So as RC4 is only for developers and testing purposes the people using RC4 are supposed to be able to do any changes required. So I will do first the update for SMF 1.1.12 that is the actual SMF stable version.

After that, if I have time I will worry about RC4


So, you've supported RC2 and RC3 but you're bailing on RC4 with a really horrible reply to someone who needs this mod like I do? You don't have to be a jerk about it, you could just be honest and say you're not comfortable or you don't know how or what ever.


There's a tonne of forums and mods out there which use RC4. The "note" above is a disclaimer for the team to let everyone know there will be bugs and they will be fixed with new releases. It's there to let people know that the version may carry some seriously crippling bugs which they will have to live with if they use this version, however, SMF tries very hard to make sure there arent any horrifying bugs that will kill people, and usually releases prompt patches if they have to for bugs like that.

Not to mention if it was only for developing and testing there would be no point in it at all because why develop for a software that's going to keep changing until it's stable and no one is using live?!

Edit: saw you said you were supporting 1.x first, but my reply still stands. You should be nice to people when they come to you for help, ESPECIALLY since they probably look up to you for knowing how to create something like this. What goes around comes around too, so you wouldnt like it if you got a mean reply for something you really needed.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 08, 2010, 08:22:14 AM
@ Jade Elizabeth

Let me see if I can answer all your points there:

=================


I'm very sorry if you don't like the way I speak. I suppose it must be because English is not my first language. I tend to speak English just translating in my head literally what I would say in Spanish. In Spain we almost never use the words "Thank you" and "Please", so I almost never use them when I am speaking English. This has already got me into trouble a few times in the past (mostly with my Scottish in-laws) but I keep forgetting.

Also I have been teaching for too many years and also tend to talk to everybody the same way I talk to my students. I know that's a mistake, but keep forgetting as well. And I don't think now that I am 53 it's going to be easy for me to change the way I speak.

Anyway, if you read all the thousands of pages I have written in internet (not only here in SMF but also in all the rest of Open Source Projects I collaborate with, like Joomla, Ubuntu, etc, or in the special forum I have set-up to help young people and teach them for free how to design secure web sites, how to write good code, etc) you will see I normally try to be careful with the kind of language I use when I have enough time to do so.

But when I am in a hurry I normally only write a quick reply trying to be as concise as possible, going to the point and not explaining too much anything.

And the problem is I have a family and a personal life to worry about, so not always have enough time to be all day answering questions in the Open Source Projects I collaborate for free and need sometimes to worry also about working for money.

=================


Definitely no. Not yet, until it becomes stable.

One of the things I do to make money is to look after a few web sites, trying to stop all kind of hackers, spammers and any other bad guy trying to interfere with this sites.

In most of these web sites I have installed SMF, because I think it's the best program to use as the base for any web site. The best constructed, the more secure, etc. But of course in all of them I have installed the latest stable version, that is SMF 1.1.12 just now.

For example I use a few computers to work. In some of them I have installed operative systems and programs that I don't think are secure (beta versions, etc) and I use them to experiment with them and to try and collaborate to fix any possible bugs they have. (As for example Ubuntu 11 beta version, that it's supposed to become stable next year and I am helping to debug having it installed in one of my computers partition and experimenting with it).

For example I even have also Windows 7 and XP installed in one of the computers. Of course not to try and fix the bugs in them (I cannot, as it's not open source) but to see how some of my customers and/or friends see the internet, trying to understand some of the problems they have so I can also help them with them.

But in the main computer I use for all my work I cannot be experimenting and testing beta operative systems or programs. I have in it the best, more stable and more secure operative system available just now. That is: Ubuntu 10.04 64bits.

That's why when I do any change to any of my mods I always do it first for SMF 1.x because I think it's the more urgent thing. For 2 reasons: For my customers (as responsible for their sites security) and for all the people using the latest SMF stable version. (After so many years helping people here in SMF a lot of them are now my students and/or my friends, and I feel somehow responsible for their sites security as well).

Sometimes, if there is an important change needed for SMF 1.x I even stop all the work I'm doing (leaving all my customers on hold) and concentrate on that change until it's finish, it doesn't matter how much time it takes. And remember that this is work I do for free and I was supposed to do it only in my spare time. Or at least that's what my ex used to say (or is it shout?) every time she caught me collaborating with a free project. Luckily, since we divorced, she cannot see me and I can dedicate more time to these projects if I feel like doing it.  ;D

=================


Definitely yes.

At least all the people with enough programming knowledge and with free time to do this kind of job.

Personally I have set up a test forum with SMF 2.0 to try and find bugs in the program, try to find solutions for these bugs, try in them my mods to make them compatible with any new version of the program, etc.

But, as I said before, I only do it when I have free time, because in my "List of things to do urgently" there are too many things and I need to kind of sort them out to do first the more urgent ones.

If I had more time I would even ask the people here in SMF for the latest copy they may be working on to help them develop it. Unfortunately I haven't got enough free time just now to do it, but I would love that, and for sure that's one of the first things I will do if I ever get the proper lottery numbers so I don't need to worry any more on spending time looking for money.  ;)

=================


Of course yes.

If you read carefully all the conversation we had here in this thread since petesky asked me that on the 2nd of November, I think it's obvious.

As I answered then, I had to check first the compatibility with SMF 1.1.12 and I was going to check the compatibility with SMF 2.0 RC4 later. When I have time do do it.

As you can see, on the same 2nd of November, just 5 hours after my first answer to petesky I wrote another post saying I had already checked the compatibility of this mod with SMF 1.1.12 and I had found out they are fully compatible and no changes are needed here.

Then was when I started worrying about compatibility with RC4, but doing it slowly. As I have already said a lot of times, my "List of things to do urgently" is too long. Luckily, our friend busterone stepped in and told us he has some free time and was going to check it out for us.

This help from busterone made things go faster so just the next day, 3rd of November he told all of us what he has discovered:

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

Unfortunately, as you can also see I answered him, this mean it's now impossible for me to do an update for the mod (as it was my first idea) compatible at the same time with RC3 and RC4. I need to choose to make it compatible with only one of them.

I suppose just now (since RC4 has been out only for a few days) most of the people using SMF 2.0 are still using RC3 and they will be moving slowly to RC4.

So my decision has been to wait for a while, leave just now the mod compatible with RC3 and change that compatibility to RC4 when I release the next version of this mod.

Just in case you haven't read all this thread (I know it's already 44 pages long, but I have read them a lot of times and keep doing it every now and then so I don't forget requests people have been doing here, bugs they have asked me to sort, etc) and you don't know what next version of this mod I am talking about, I will explain this a little:

Since I released version 2.3.7 last February, there have been a lot of people asking me for new features I should add to the mod, old bugs we were trying to sort before which have been already sorted (some by me, some by other friends here), new bugs discovered that somebody need to sort, etc, etc.

With all that I have been doing a new version that I will release whenever it's finish. I am not sure when it will be finish. Maybe a couple of weeks, maybe a month, maybe more. But I suppose, by the time I have this next version finish, most of the people using SMF 2.0 will have already moved to RC4, so it will be safe to do that version just compatible with RC4 and forget definitely RC3 and older versions.

In the mean time, as I also said on the 3rd of November, anybody upgrading to RC4 will just need to do the small manual edit in the file Subs.php our friend busterone discovered.

=================

Well, I don't know if I have answered all your points. I think so, but if I have missed anything or I haven't explained something enough, just let me know and I will try to explain it again.
Title: Re: Stop Spammer
Post by: Digharatta on November 11, 2010, 02:22:40 AM
Hello,

I have installed the mod, however the Russian translation doesn't display correctly - perhaps it's in Unicode, and my forum is in windows-1251?
What can I do to make it readable, or to display the English text?

Best wishes!
Title: Re: Stop Spammer
Post by: Jade Elizabeth on November 11, 2010, 06:15:05 AM
Thanks for explaining :).

I just got upset because I've seen a bunch of nasty people and your post struck me wrong after enduring mean people all day :(.


That said my forum desperately needs your mod lol.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 11, 2010, 06:02:08 PM
Quote from: Digharatta on November 11, 2010, 02:22:40 AM
Hello,

I have installed the mod, however the Russian translation doesn't display correctly - perhaps it's in Unicode, and my forum is in windows-1251?
What can I do to make it readable, or to display the English text?

Best wishes!

As there are too many languages there, I had to do the file in UTF-8 so it's compatible with as many as possible. If your forum is using a different format you have an easy solution:

Look in your forum inside the folder /Themes/default/languages/

Inside that folder you should have a file called Modifications.english.php

Inside it check you have these lines correctly:


// MOD Stop Spammer
$txt['stopspammer_error'] = 'Error with Anti SPAM DB. Connection Failed.<br />
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.<br />
If this error continues see Support Topic and search ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$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).<br />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 <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> 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'] = '<br />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.';


If you have installed the mod normally, they should be OK. Those are all the languages strings for this mod.

Now, if you are using Russian you should have also a file called either Modifications.russian.php or Modifications.russian-utf8.php

Inside it you should have the same language strings as above but in Russian. If they are illegible replace them with these ones:


// MOD Stop Spammer - Translation by ZeUsSaN
$txt['stopspammer_error'] = 'Ошибка связи с базой данных анти-спама.<br />
Пожалуйста, попробуйте вновь чуть позже, или свяжитесь с веб-мастером';
$txt['stopspammer_count'] = 'Заблокированные спамеры на текущий день';
$txt['stopspammer_title'] = 'Ищите дополнительную информацию на форуме разработчиков';

$txt['stopspammer_enable'] = 'Включить/Выключить мод Stop Spammer';
$txt['stopspammer_show01'] = 'Показывать ссылку "Подробней..." всем пользователям';
$txt['stopspammer_show01_sub'] = 'Можно проверить любого пользователя в любое время одним кликом';

$txt['stopspammer_faildb'] = 'В случае ошибки связи с базой данных анти-спама...';
$txt['stopspammer_fail01'] = 'Показать ошибку и остановить регистрацию';
$txt['stopspammer_fail02'] = 'Разрешить немедленную регистрацию';
$txt['stopspammer_fail03'] = 'Одобрить пользователя и показывать жёлтую иконку для проверки позднее';
$txt['stopspammer_faildb1_sub'] = 'Ваш хост может произвести удалённое подключение к БД';
$txt['stopspammer_faildb2_sub'] = 'Ваш хост не может произвести удалённое подключение к БД. Попробуйте позже.<br />
Если эта ошибка повторяется, найдите тему ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b> ("Известные проблемы")</span></a> на форуме поддержки';

$txt['stopspammer_leyd01'] = 'Не спаммер: этих данных нет в базе данных. Но можно проверить';
$txt['stopspammer_leyd02'] = 'Подозреваемый: этот пользователь не проверен. Проверить сейчас';
$txt['stopspammer_leyd03'] = 'Спаммер: посмотрите дополнительные сведения об активности этого спаммера';

$txt['stopspammer_profilecheck'] = 'Проверка пользователя';
$txt['stopspammer_limitexceded'] = 'Проверочный лимит исчерпан (5000 API запросов в день).<br />Вы должны подождать до завтра, чтобы проверить снова.';

$txt['in_stop_forum_spam'] = 'В Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Проверить этих пользователей';
$txt['spammers_report'] = 'Сообщить об этих пользователях';
$txt['confirm_spammers_checks'] = 'Вы действительно хотите проверить выбранных пользователей?';
$txt['confirm_spammers_report'] = 'Вы действительно хотите сообщить о выбранных пользователях?\n\nЕсли Вы сделаете это, они станут известны всему миру в качестве спаммеров и не смогут использовать другие форумы, защищённые SFS (во всём мире).\n\nПоэтому Вы должны быть твёрдо уверены, что они спаммеры. И если по какой-то причине Вы ошибетесь, Вам придётся\nкак можно быстрее сообщить создателю мода о необходимости внести коррективы в базу данных SFS.';

$txt['stopspammer_api_key'] = 'Ваш API ключ';
$txt['stopspammer_api_key_sub'] = 'Если хотите получить собственный API ключ, зайдите на сайт <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> для регистрации, а потом укажите ключ здесь. Если Вы пока не получили ключ, оставьте поле пустым. Тогда будет использоваться ключ по умолчанию.';

$txt['stopspammer_check_sub1'] = '<br />Проверка пользователей (при активации мода Stop Spammer):';
$txt['stopspammer_check_name'] = 'По их никам';
$txt['stopspammer_check_mail'] = 'По их адресам электронной почты';
$txt['stopspammer_check_ip'] = 'По их IP';
$txt['stopspammer_check_sub2'] = 'По умолчанию мод Stop Spammer каждый раз проверяет имена, email и IP пользователей. Если Вы получаете слишком много ложных срабатываний, можно отключить эту функцию. Не рекомендуем отключать другие 2 функции (для проверки email и IP), пока Вы не знаете, что делать.';


Save the file in the same format you are using in your forum and upload it.

That should make them readable now.

If you still cannot read them, you can try replacing inside your Russian file all those strings with the English ones. That will make the mod to display everything in English instead.
Title: Re: Stop Spammer
Post by: ped1gree on November 17, 2010, 08:14:50 AM
I cant believe that m-dvd would actually include his api key in his source.

17 Nov 2010 - This apikey has been deleted and your submissions will no longer work unless you have your own API key, sorry but this is against the rules.

Get your own API key at http://www/stopforumspam.com/signup and you can then manage your own and see all your own stats.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 18, 2010, 07:42:29 AM
Well, now I have an important reason to hurry up and finish the nest version of this mod as soon as possible.

Still I don't know when I will have time to do it, but in the next version the mod won't have any default API key.

In the mean time, any of you using this mod, please change the settings and write your own API key in the proper place or your mod is not going to work.
Title: Re: Stop Spammer
Post by: Jade Elizabeth on November 18, 2010, 10:49:05 AM
Quote from: ped1gree on November 17, 2010, 08:14:50 AM
I cant believe that m-dvd would actually include his api key in his source.

17 Nov 2010 - This apikey has been deleted and your submissions will no longer work unless you have your own API key, sorry but this is against the rules.

Get your own API key at http://www/stopforumspam.com/signup and you can then manage your own and see all your own stats.


That is SO wrong. There should be a spot to put your own in so you can take the credit for your own spammers!!!!
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 18, 2010, 03:14:23 PM
Quote from: Jade Elizabeth on November 18, 2010, 10:49:05 AM
Quote from: ped1gree on November 17, 2010, 08:14:50 AM
I cant believe that m-dvd would actually include his api key in his source.

17 Nov 2010 - This apikey has been deleted and your submissions will no longer work unless you have your own API key, sorry but this is against the rules.

Get your own API key at http://www/stopforumspam.com/signup and you can then manage your own and see all your own stats.


That is SO wrong. There should be a spot to put your own in so you can take the credit for your own spammers!!!!

I had that argument with M-DVD when we started working together with this mod back in 2008.

M-DVD's point of view is we need to do mods with as less configuration options as possible because he thinks most of the people using this programs are too thick to understand how to configurer it properly, so he wanted the mod working even if the configuration options were not set properly.

In his first version 1.0 there were no options at all, and he added the configuration page with just a button to turn the mod on and off and very few more options in his version 2.0 in February 2009.

My point of view is we should do mods for people clever enough to read tutorials and explanations and clever enough to search posts to find the answers if they don't know how to set properly the configuration options.

I don't mind explaining every thing in a "for dummies" kind of tutorial so every body can use the mod and benefit from it, but I really prefer to code for clever people with as many features and options as possible.

And that was the main reason why (for a few years) there were always 2 versions of this mod:


Anyway, when one year ago M-DVD left SMF and asked me to continue working alone on the mod, the first thing I did was to join both mods together, adding to the official mod all the features I had in my own version for years.

So this "spot to put your own API key" you are talking about has been there for a few years.

Even if you didn't know I had a different version on my server, it has been in the official version since I took over a year ago. From version 2.3.1 onwards.

So, unless you are still using one of the old versions M-DVD did years ago (from version 1.0 to version 2.3) you should have also that spot inside the configuration page for this mod in your forum.

The problem was when I told M-DVD what I was doing (even if he is not coming here to SMF we are still friends and keep in touch every now and then) he asked me to leave his API key inside the mod as a "default" one for the people who didn't know how to ask for one.

I shouldn't have listen to that (I did it just because I respect a lot M-DVD as a great coder and a good friend) so just now if you leave blank the spot to write the API key, the mod just uses the default one (M-DVD's API key).

I knew this will sort the problem for thick people but it will cause problems to good people sometime, as ped1gree (the admin of stopforumspam website) confirmed me today.

Luckily ped1gree is one of the clever ones. He just had to google a little to find out that, all the problems he was having because of this API key, were because M-DVD has put his own API key inside the mod code.

After that it was very easy for him to find this thread (to tell us what he was doing) and also to find my Skype ID, so he contacted me this morning and we had a very nice chat about this problem and also about future plans in our fight against spammers.

It has been really a very nice chat we had today.

So, what I am going to change on the next version of the mod is not to add that spot to write your own API key (as it is already there) but I am going to change the mod so it will be impossible to turn it on if you haven't got your own API key.

Anyway, as I said before, I don't know yet when I will have time to do this new version, but the way I see it, it's not too urgent.

The people clever enough to be already using their own API key won't see any difference and won't have any problem at all.

The only problem is for the people using the default API key.

As ped1gree has said, he has disabled M-DVD's API key, so if you are using it, every time you try to check if one of your forum members is a spammer or you try to report a spammer to stopforumspam's database, you will get a sign saying "Sorry, the API key you are using is not valid" (or something like that) so you will have no other option anyway than to ask for your own API key.
Title: Re: Stop Spammer
Post by: busterone on November 18, 2010, 08:02:48 PM
I wondered if this would ever become an issue a long time ago. I obtained my own key over a year ago just in case. Also, like Jade Elizabeth said- I want my own credit for reporting these scumbags myself.   ;D
Title: Re: Stop Spammer
Post by: butchs on November 18, 2010, 08:27:02 PM
The last time I looked they were not giving out new API keys???
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 18, 2010, 09:01:37 PM
Quote from: busterone on November 18, 2010, 08:02:48 PM
I wondered if this would ever become an issue a long time ago. I obtained my own key over a year ago just in case. Also, like Jade Elizabeth said- I want my own credit for reporting these scumbags myself.   ;D

If you are using your own API key inside the mod you are already getting that credit.

Just log into stopforumspam with your username and check the pages you have there inside your profile section, with all the spammers you have already reported etc.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 18, 2010, 09:06:51 PM
Quote from: butchs on November 18, 2010, 08:27:02 PM
The last time I looked they were not giving out new API keys???

Maybe the section to apply for new API keys was closed for a while. I don't know. But ped1gree just said you can do it now.

Quote from: ped1gree on November 17, 2010, 08:14:50 AM
Get your own API key at http://www/stopforumspam.com/signup and you can then manage your own and see all your own stats.
Title: Re: Stop Spammer
Post by: busterone on November 18, 2010, 09:15:55 PM
Quote from: snoopy_virtual on November 18, 2010, 09:01:37 PM
Quote from: busterone on November 18, 2010, 08:02:48 PM
I wondered if this would ever become an issue a long time ago. I obtained my own key over a year ago just in case. Also, like Jade Elizabeth said- I want my own credit for reporting these scumbags myself.   ;D

If you are using your own API key inside the mod you are already getting that credit.

Just log into stopforumspam with your username and check the pages you have there inside your profile section, with all the spammers you have already reported etc.
I knew that already. I was joking about the credit.  ;)   :)
I really don't care who gets credit as long as they get reported to the database though.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 18, 2010, 09:30:55 PM
Sorry, busterone. I was too slow.

I should have known. lol
Title: Re: Stop Spammer
Post by: smartdeviceresource on November 18, 2010, 09:38:45 PM
LOL fixed ped1gree's link click here instead (he had a / between www and stopforumspam )

http://www.stopforumspam.com/signup

Also, note you must (currently) be a SFS Forum member and be logged in (but hey, i hope you are all already members there)
Title: Re: Stop Spammer
Post by: City Builder on November 19, 2010, 07:31:13 AM
Is there a way to make this work on RC4?

When I try to install it, I get the error that there is a problem with the Subs.php file.  I tried to parse the code on the mods download page to RC4 but it tells me that I can't parse it to RC4.

I tried manually changing what my forum says would need to be changed, however the text it wants to select to replace doesn't exist in RC4.

Any help to get this working on RC4 would be greatly appreciated, since my new forum is already starting to get spammers registering.
Title: Re: Stop Spammer
Post by: busterone on November 19, 2010, 07:51:12 AM
Quote from: City Builder on November 19, 2010, 07:31:13 AM
Is there a way to make this work on RC4?

When I try to install it, I get the error that there is a problem with the Subs.php file.  I tried to parse the code on the mods download page to RC4 but it tells me that I can't parse it to RC4.

I tried manually changing what my forum says would need to be changed, however the text it wants to select to replace doesn't exist in RC4.

Any help to get this working on RC4 would be greatly appreciated, since my new forum is already starting to get spammers registering.
See this post that is on the previous page
http://www.simplemachines.org/community/index.php?topic=283309.msg2837547#msg2837547 (http://www.simplemachines.org/community/index.php?topic=283309.msg2837547#msg2837547)
Title: How to stop simply the registrations of the spammers
Post by: allainsim45 on November 19, 2010, 05:47:30 PM
Add these lines in the register.php file after having installed the package  StopSpammer_v2_3_7.zip
Quote// Begin the registration process.
function Register()
{
global $txt, $boarddir, $context, $settings, $modSettings, $user_info;
global $db_prefix, $language, $scripturl, $func;
// Check if the administrator has it disabled.
if (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 3)
  fatal_lang_error('registration_disabled', false);   

// Check if only the ip is on stop forum spam.  if TRUE , then the user cannot register
if (!empty($modSettings['registration_method']))
       {
         require_once($sourcedir . '/Subs-Package.php');
         $remoteXML = 'http://www.stopforumspam.com/api?' . ('127.0.0.1' != $user_info['ip'] ? 'ip=' . $user_info['ip'] : '');
        $down_ok = fetch_web_data($remoteXML);
        if (strpos($down_ok, '<appears>yes</appears>')!==false)
         fatal_lang_error('registration_disabled', false);
        }
   
// If this user is an admin - redirect them to the admin registration page.
if (allowedTo('moderate_forum') && !$user_info['is_guest'])
  redirectexit('action=regcenter;sa=register');
// You are not a guest so you are a member - and members don't get to register twice!
elseif (empty($user_info['is_guest']))
  redirectexit();    loadLanguage('Login');
loadTemplate('Register');
Title: Re: Stop Spammer
Post by: busterone on November 19, 2010, 05:56:42 PM
Why?

The poster was asking about the subs.php edit.
Title: Re: How to stop simply the registrations of the spammers
Post by: snoopy_virtual on November 19, 2010, 06:11:35 PM
@allainsim45

The code you are asking us to add here is completely opposite to the idea of this mod.

As we have already said a lot of times, the fact that somebody's IP is inside any spammers database doesn't mean that guy is 100% sure a spammer.

Maybe yes or maybe no.

Maybe is somebody with a dynamic IP (the kind of IPs that change every time you re-start your router) and it used to belong to a spammer ages ago but now is coming from a normal honest person.

That's why we leave the "possible" spammers in a list to be checked later by the admin.

And that's why this mod have so many options and it's so complicated.

If you want to do something as simple as that you should start a new mod (though I think there is already another mod that does just that) but not try to add it to this mod.

It makes completely useless all the rest of the options of this mod.
Title: Re: Stop Spammer
Post by: allainsim45 on November 19, 2010, 07:01:17 PM
This code do not make useless all the options of package, it just allows to dissuade the majority of the real spammers to register, if a not spammer is blocked by this code with a dynamic  ip, he can always try with another ip.
This code is just proposed here because it uses the line " require_once(sourcedir. ' / Subs-Package.php '); ", it can interest some administrators having a little work less.

;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 19, 2010, 07:16:01 PM
Quote from: allainsim45 on November 19, 2010, 07:01:17 PM
This code do not make useless all the options of package, it just allows to dissuade the majority of the real spammers to register, if a not spammer is blocked by this code with a dynamic  ip, he can always try with another ip.

I'm sorry but that code won't dissuade any spammers at all. Most spammers nowadays are robots, and they are not dissuade one way or another. If they cannot register one way they just keep trying. They do not get tired of trying.

If a none spammer with a dynamic IP is blocked by your code, 99% of the cases they won't know how to try again with another IP.

Quote from: allainsim45 on November 19, 2010, 07:01:17 PM
This code is just proposed here because it uses the line " require_once(sourcedir. ' / Subs-Package.php '); ", it can interest some administrators having a little work less.

The line " require_once(sourcedir. ' / Subs-Package.php '); " is already inside the mod, but in its proper place.
Title: Amazing!
Post by: mrtoner on November 24, 2010, 10:38:00 AM
So, I installed this mod to stop the occasional spam (1 a day for the last 75 days since upgrading from YaBB). I was amazed to find out that my forum was being hit so hard by spammers/bots: I had about 2700 members Awaiting Activation and, after checking the remaining members through stopforumspam.com, I had about another 4500 members that were moved to Awaiting Approval.

Of those 7200+ "members," only about 60 were not added in the last 75 days. Whoah!

I've already got 70+ in Awaiting Approval again. I think I can reduce the number there by changing my CAPTCHA setting from Medium to High (I've already tried that and it appears to work), but the resulting image is so difficult to read that I'm afraid that will discourage legitimate registrations. (I know *I* have trouble reading it.) Is there any additional way to reduce the number of spam registrations?
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 24, 2010, 02:29:51 PM
@mrtoner

Be careful with the usernames.

It's better if you enter Admin => Members => Registration => Settings go down to the Mod Stop Spammer settings and un-check the checkbox "Check their username:"

If somebody have the IP or the email address in the spammers database you can be more or less sure they are spammers, but if it's only the username most likely they are not spammers at all.

For more info about this, search this thread for the "false positive" issue. We have talked a lot about it here.

Quote from: mrtoner on November 24, 2010, 10:38:00 AM
I think I can reduce the number there by changing my CAPTCHA setting from Medium to High (I've already tried that and it appears to work), but the resulting image is so difficult to read that I'm afraid that will discourage legitimate registrations. (I know *I* have trouble reading it.) Is there any additional way to reduce the number of spam registrations?

My personal experience is that captchas don't stop spammers at all. Modern robots can pass even the more sophisticated captchas.

In all my forums I have these security programs installed:


You can see more info reading this:

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

And the answers following that one.

And also reading this:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2

Just now I have 7 forums and the last time a spammer could get inside one of them was 2 months ago. And the last time a hacker managed to enter one of my servers was 2 years ago.
Title: Re: Stop Spammer
Post by: mrtoner on November 28, 2010, 05:52:06 PM
Yes, some of the spammers the mod found were false positives: my own admin@ account was flagged! I'll take your suggestions and report back if I have any other questions. Thanks!
Title: Re: Stop Spammer
Post by: Eudemon on November 29, 2010, 08:46:56 PM
has anyone experienced the mod blocking normal members?
i have it on for one week and it says it blocked 1.4k spammers
altho some spammers still gone through the check and i have to manually report them
since i put it on, my site's online members immediately down like 65%
i have checked some blocked members, great, they are spammers
but just a little worry
Title: Re: Stop Spammer
Post by: busterone on November 29, 2010, 09:52:06 PM
I have not had that issue myself. I have never let the mod check usernames either though. I only let it check email and ip.  I also ran it against my entire member base only once, immediately after I installed it. I found about a dozen "sleeper" spammers and eliminated them, but since then, it is only used at registration.  I see no reason to continually check existing members myself. If you are checking your already existing members and have the username check activated, it is possible that it is flagging some false positives.
Title: Re: Stop Spammer
Post by: Eudemon on November 29, 2010, 11:24:17 PM
i didn't say any of my normal member got blocked, just kinda worry if it does
for examples, what if someone's ip got hacked, or got false reported for some reason, u never know
i do have the username check disabled
and i only ran an entire member base check once, when i first had this mod installed

there isn't any big issue i had with the mod, just wondering
thx for ur reply
Title: Re: Stop Spammer
Post by: busterone on November 30, 2010, 01:01:51 AM
OK, I misunderstood.   :)
There is always a small chance of false positives, but very small chance. That is why the mod will not totally block a registration if only one property is found, but places into admin approval. You can then look for yourself and make a decision if it is a real spammer or not. In the event that both email and ip are flagged, it is almost certainly a spammer.
I am sure there may be a few that have been falsely reported, but I suspect that number is extremely low.
Title: Re: Stop Spammer
Post by: snoopy_virtual on November 30, 2010, 05:31:30 AM
If it's only the IP in the spammers database (but not the email nor the username) there is always a possibility (as Eudemon369 said) that it's been hijacked and it belongs to a "zombie" computer.

I haven't seen this issue a lot, but I have seen it.

What I did was to create a group of members in my forums called "suspicious". The permissions for this group are very restrictive. They can publish only once. They can send only one PM. They cannot see other members details, etc.

So if I see somebody caught by the mod and I am not sure if it's a spammer or not, I approve them (but inside that group) and send them a welcome PM.

As soon as they answer my PM or publish their first (and only) post, I can see if I need to move them to a normal group or to the rubbish bin.  ;)
Title: Re: Stop Spammer
Post by: Eudemon on November 30, 2010, 08:56:51 PM
thx for sharing ur solution/idea

what i did is i made a no-limit board, that visitors don't need account to make thread
the board name is "can't register?"
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 01, 2010, 06:40:47 PM
Nice idea too.

I have added it to my TODO list, to put it in the tutorial "Tips and tricks" section, whenever I have time to finish it.  ;)
Title: Re: Stop Spammer
Post by: Jade Elizabeth on December 01, 2010, 10:01:52 PM
When are you planning to upgrade it for RC4?
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 02, 2010, 01:58:31 AM
Quote from: Jade Elizabeth on December 01, 2010, 10:01:52 PM
When are you planning to upgrade it for RC4?

I don't know when I will have time to finish the next version I am doing, but the mod is already compatible with RC4 doing just the small manual edit busterone explained on the 3rd of November.

Quote from: busterone on November 19, 2010, 07:51:12 AM
See this post that is on the previous page
http://www.simplemachines.org/community/index.php?topic=283309.msg2837547#msg2837547 (http://www.simplemachines.org/community/index.php?topic=283309.msg2837547#msg2837547)
Title: Re: Stop Spammer
Post by: Jade Elizabeth on December 02, 2010, 05:56:29 AM
Danke :D

I didnt see that before :).
Title: Re: Stop Spammer
Post by: butchs on December 03, 2010, 04:46:43 PM
Hey Snoopy can you put a snippet of your music in the about menu?
:)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 03, 2010, 07:31:50 PM
MP3 would do you?  ;D
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on December 04, 2010, 05:12:21 PM
Hello there chums, after receiving the following (attached) error message in Administration > Registration > Settings (when trying to configure this mod), "Your host couldn't make connection with the DB. Try again later. If this error continues see Support Topic and search Known Issues".. I clicked "Known Issues" and was redirected here.

Can anyone please help me out here?  :)

Thanks,
Jason


Edit: Just saw the "Known Issues" bit on the first page. I'm not sure if the fsockopen() function is enabled or not (can't find it in phpinfo). But cURL is enabled, I just installed the cURL mod (here: http://custom.simplemachines.org/mods/index.php?mod=1569 ). I'm still getting that warning. Any thoughts?
Title: Re: Stop Spammer
Post by: butchs on December 04, 2010, 05:23:58 PM
Quote from: snoopy_virtual on December 03, 2010, 07:31:50 PM
MP3 would do you?  ;D

Yes...  :)
Title: Re: Stop Spammer
Post by: teh_Krall on December 04, 2010, 06:05:26 PM
Silly question, since most spammers are robots wouldn't that mean they have to use a cut & paste function to put text into the registration fields? If that's the case it would 'seem' like catching them could be done through cut and paste detection. Or am I that naive? :)

After years of running this mod all of the sudden we've been getting handfuls of new registrations each day. Stop Spammer is saying they are legit, but when you check out their email logs they are usually numerous with their IPs and user names being clean. I've add the httpBL mod to hopefully combat this problem.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 06, 2010, 05:51:53 AM
Quote from: teh_Krall on December 04, 2010, 06:05:26 PM
Silly question, since most spammers are robots wouldn't that mean they have to use a cut & paste function to put text into the registration fields? If that's the case it would 'seem' like catching them could be done through cut and paste detection. Or am I that naive? :)

I use a a cut & paste function myself to log into any forum to avoid keyloggers. Got all my usernames and passwords stored in an encrypted program called Keepass, so I don't need to remember them and I can use different (and complicated) passwords for all of them, so if I use that method it would detect me as a robot.

Quote from: teh_Krall on December 04, 2010, 06:05:26 PM
After years of running this mod all of the sudden we've been getting handfuls of new registrations each day. Stop Spammer is saying they are legit, but when you check out their email logs they are usually numerous with their IPs and user names being clean. I've add the httpBL mod to hopefully combat this problem.

Are you using your own API key or the default one?

The default one was disabled a few weeks ago because some people were using it to report legit users as spammers, so everybody using the default API key will see how the mod has stopped working and they will need to ask now for their own API key if they want to continue using it.

I haven't seen any difference at all lately on the amount of spammers in my forums. I use in all of them mod Stop Spammer, mod httpBL and Anti-Spam Verification Questions (http://custom.simplemachines.org/mods/index.php?mod=1516).

I have seen that just adding a small silly question to the registration form stop normally 99% of the robots from registering.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 06, 2010, 06:03:37 AM
Quote from: Adjacent on December 04, 2010, 05:12:21 PM
Hello there chums, after receiving the following (attached) error message in Administration > Registration > Settings (when trying to configure this mod), "Your host couldn't make connection with the DB. Try again later. If this error continues see Support Topic and search Known Issues".. I clicked "Known Issues" and was redirected here.

Can anyone please help me out here?  :)

Thanks,
Jason


Edit: Just saw the "Known Issues" bit on the first page. I'm not sure if the fsockopen() function is enabled or not (can't find it in phpinfo). But cURL is enabled, I just installed the cURL mod (here: http://custom.simplemachines.org/mods/index.php?mod=1569 ). I'm still getting that warning. Any thoughts?

I remember somebody asked more or less that same question around a year ago and as far as I can remember, we sorted it. I've been trying to search the full thread to find out how we did it, but haven't find it yet.

If I find the solution we used then I will write it here for you. In the mean time, try and search the thread to see if you find it before I do it.

Anyway, every server is different, so maybe a solution which worked for somebody else won't work for you. To find the best solution for you I will need to be able to see your server. Can you contact me through Skype?
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on December 06, 2010, 03:34:12 PM
Quote from: snoopy_virtual on December 06, 2010, 06:03:37 AM
Quote from: Adjacent on December 04, 2010, 05:12:21 PM
Hello there chums, after receiving the following (attached) error message in Administration > Registration > Settings (when trying to configure this mod), "Your host couldn't make connection with the DB. Try again later. If this error continues see Support Topic and search Known Issues".. I clicked "Known Issues" and was redirected here.

Can anyone please help me out here?  :)

Thanks,
Jason


Edit: Just saw the "Known Issues" bit on the first page. I'm not sure if the fsockopen() function is enabled or not (can't find it in phpinfo). But cURL is enabled, I just installed the cURL mod (here: http://custom.simplemachines.org/mods/index.php?mod=1569 ). I'm still getting that warning. Any thoughts?

I remember somebody asked more or less that same question around a year ago and as far as I can remember, we sorted it. I've been trying to search the full thread to find out how we did it, but haven't find it yet.

If I find the solution we used then I will write it here for you. In the mean time, try and search the thread to see if you find it before I do it.

Anyway, every server is different, so maybe a solution which worked for somebody else won't work for you. To find the best solution for you I will need to be able to see your server. Can you contact me through Skype?

Thanks for you reply.  :) I'm afraid I don't have a microphone/webcam, but I could IM you through skype if you want.

And I'll have a look through this thread today to see if I can find it myself.



Jason
Title: Re: Stop Spammer
Post by: teh_Krall on December 07, 2010, 01:51:42 AM
Quote from: snoopy_virtual on December 06, 2010, 05:51:53 AM
Quote from: teh_Krall on December 04, 2010, 06:05:26 PM
Silly question, since most spammers are robots wouldn't that mean they have to use a cut & paste function to put text into the registration fields? If that's the case it would 'seem' like catching them could be done through cut and paste detection. Or am I that naive? :)

I use a a cut & paste function myself to log into any forum to avoid keyloggers. Got all my usernames and passwords stored in an encrypted program called Keepass, so I don't need to remember them and I can use different (and complicated) passwords for all of them, so if I use that method it would detect me as a robot.

You got me there :) Though I don't know many people who use your method you point is very valid. Personally, I'm deathly afraid to store my passwords that way so I use a notepad to keep track of all of my passwords which are typically to credit card accounts. I'll check out that program though. 

Quote from: snoopy_virtual on December 06, 2010, 05:51:53 AM
Quote from: teh_Krall on December 04, 2010, 06:05:26 PM
After years of running this mod all of the sudden we've been getting handfuls of new registrations each day. Stop Spammer is saying they are legit, but when you check out their email logs they are usually numerous with their IPs and user names being clean. I've add the httpBL mod to hopefully combat this problem.

Are you using your own API key or the default one?

The default one was disabled a few weeks ago because some people were using it to report legit users as spammers, so everybody using the default API key will see how the mod has stopped working and they will need to ask now for their own API key if they want to continue using it.

I haven't seen any difference at all lately on the amount of spammers in my forums. I use in all of them mod Stop Spammer, mod httpBL and Anti-Spam Verification Questions (http://custom.simplemachines.org/mods/index.php?mod=1516).

I have seen that just adding a small silly question to the registration form stop normally 99% of the robots from registering.

Yeah after reading back 5 or 6 pages I noticed there was an issue with the API key so I registered at the stopforumspam website and activated my account. I then requested a key, but it was never sent. I'll contact the site to see what's going on with it. We don't use those questions for registering so maybe I'll add some, thanks for the link and help :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 07, 2010, 08:00:03 AM
Quote from: Adjacent on December 06, 2010, 03:34:12 PM
Thanks for you reply.  :) I'm afraid I don't have a microphone/webcam, but I could IM you through skype if you want.

I never use my webcam when I'm helping/working with somebody, as it uses too much bandwidth.

I prefer to use my microphone though, as it is a lot faster than writing. Anything that will take me a couple of hours, if I need to explain it in writing, normally only takes me 5 minutes if I can explain it talking.

I suggested Skype because I have all my computers always in Linux and (so far) the only messenger program that always works perfect with my microphone in Linux is Skype. But everyday, as soon as I turn my computers on, I normally open Skype, MSN and Yahoo, so if you haven't got a microphone, you can contact me through any of those 3.

Quote from: teh_Krall on December 07, 2010, 01:51:42 AM
Personally, I'm deathly afraid to store my passwords that way so I use a notepad to keep track of all of my passwords which are typically to credit card accounts. I'll check out that program though. 

I suppose when you talk about a "notepad" you mean a physical one, using pen and paper, not the Microsoft's Notepad program. Don't laugh. I have seen people with a plain text file inside the computer called "passwords.txt".  ;D

Before I found the Free Source program KeePass I was also storing my passwords writing them in a paper I always carried in my pocket, but since I found it, I have them inside my pendrive with the KeePass portable version, as well as inside my computers, with both Linux and Windows versions of the program. All of them using the same encrypted database, of course.

Quote from: teh_Krall on December 07, 2010, 01:51:42 AM
Yeah after reading back 5 or 6 pages I noticed there was an issue with the API key so I registered at the stopforumspam website and activated my account. I then requested a key, but it was never sent. I'll contact the site to see what's going on with it. We don't use those questions for registering so maybe I'll add some, thanks for the link and help :)

If you haven't got yet your own API key the mod won't work for you.

If you don't get your API key in the next few days, try to contact directly the admin of stopforumspam website explaining the problem and tell him I told you to do that. He's a very nice guy and normally answers pretty soon if he's not too busy.

Anyway if you see you are waiting too many days for an answer you can also PM me telling me your username inside stopforumspam website. I have the admin in my Skype contacts and see him there almost every day.
Title: Re: Stop Spammer
Post by: ac19189 on December 08, 2010, 01:43:12 PM
It be nice to have a report user function under the awaiting approval section.. o.O
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 08, 2010, 02:27:16 PM
Quote from: ac19189 on December 08, 2010, 01:43:12 PM
It be nice to have a report user function under the awaiting approval section.. o.O

That's one of the things planned for the next version I'm doing:  ;D

http://custom.simplemachines.org/mods/index.php?mod=1547#post_roadmap
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on December 09, 2010, 01:50:44 AM
Hey. I found the post(s) you were referring to when you said someone has my problem before (about a year and a half ago).

http://www.simplemachines.org/community/index.php?topic=283309.msg2779058;topicseen#msg2779058

And here

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


I think I'll try what was suggested in the first one and see if it works.  :)


Edit: Tried making the 2 edits you suggested to 'DJ Omnimaga', it had no affect on anything whatsoever it seems. If you want me to contact you through Skype or msn I can, I just can't use a microphone, feel free to use one yourself though.  :P
Title: Re: Stop Spammer
Post by: andbrb on December 13, 2010, 01:21:19 AM
hi everybody, i've installed the mod on my forum but i can't find where to put my stopforumspam credentials to automatically report new Spammers with a single click.

may u please help me?

thank u
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 13, 2010, 08:01:15 AM
Quote from: andbrb on December 13, 2010, 01:21:19 AM
hi everybody, i've installed the mod on my forum but i can't find where to put my stopforumspam credentials to automatically report new Spammers with a single click.

Go to Admin => Members => Registration => Settings => Scroll down to "Your API key:", write it there and click on "Save".

See attached.
Title: Re: Stop Spammer
Post by: andbrb on December 13, 2010, 08:30:48 AM
thank u very much, it works perfectly now.
great. :)
Title: Re: Stop Spammer
Post by: SD-X on December 13, 2010, 06:13:12 PM
Please guys! Update this and the other related one for SMF2 RC4! :)
Title: Re: Stop Spammer
Post by: busterone on December 13, 2010, 06:32:08 PM
Quote from: SugarD-x on December 13, 2010, 06:13:12 PM
Please guys! Update this and the other related one for SMF2 RC4! :)
Read back a few pages. Snoopy is very busy and will get to it as soon as he can. Look at the post on page 44 that I am linking you to below. The workaround to make it work for RC4 is there. There is only 1 manual edit needed, the rest can be done by the package manager.
http://www.simplemachines.org/community/index.php?topic=283309.msg2837547#msg2837547 (http://www.simplemachines.org/community/index.php?topic=283309.msg2837547#msg2837547)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 13, 2010, 08:20:46 PM
Quote from: SugarD-x on December 13, 2010, 06:13:12 PM
Please guys! Update this and the other related one for SMF2 RC4! :)

When you talked about "he other related one" I suppose you mean mod httpBL.

That one is already compatible with RC4.

Mod Stop Spammer needs only the small manual edit busterone told you about.
Title: Re: Stop Spammer
Post by: V@no on December 13, 2010, 09:40:05 PM
Hello.
It's showing me "There are 15 members awaiting approval." but when I click the link, it says there is nobody to approve...The forum set to user activation.
I believe this happened after I reinstall the mod. How can I clear the count?

Thank you.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 14, 2010, 07:30:57 AM
Admin => Forum Maintenance => Recount all forum totals and statistics.
Title: Re: Stop Spammer
Post by: androgyn3 on December 14, 2010, 11:56:41 AM
Hi M-DVD,

This is the French Translation for Stop Spammer mod (I hope there are no probleme with the french accentuated character like é ?)

// MOD Stop Spammer
$txt['stopspammer_error'] = 'Erreur de connexion avec Anti SPAM DB.Connexion impossible<br />
SVP essayez encore, ou Contactez le WebMaster';
$txt['stopspammer_count'] = 'Spammers bloqu&eacute;s jusqu\'a aujourd\'hui';
$txt['stopspammer_title'] = 'Rechercher plus d\'info sur `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Activer/Desactiver le MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Montrer le lien "Plus d\'info" pour tous les membres';
$txt['stopspammer_show01_sub'] = 'Vous pouvez verifiez tous les membres a n\'importe quel moment par un simple clic';

$txt['stopspammer_faildb'] = 'Si la connexion n\'est pas possible avec Anti SPAM DB...';
$txt['stopspammer_fail01'] = 'Montrer l\'erreur et stopper les inscriptions';
$txt['stopspammer_fail02'] = 'Permettre l\'inscription immediate';
$txt['stopspammer_fail03'] = 'Approuv&eacute; le membre et montrer un ic&ocirc;ne jaune pour verifier plus tard';
$txt['stopspammer_faildb1_sub'] = 'Votre serveur peut se connecter a  distante avec la DB';
$txt['stopspammer_faildb2_sub'] = 'Votre serveur ne peut pas se connecter a distante avec la DB. Essayez plus tard.<br />
Si cette erreur persiste lire le support : Topic and search ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Non Spammer: Ces donn&eacute;es ne sont pas dans la DB. Mais vous pouvez verifier';
$txt['stopspammer_leyd02'] = 'Suspect: Ce membre ne peut etre verifi&eacute;. verifier maintenant';
$txt['stopspammer_leyd03'] = 'Spammer: Voir plus d\'info sur l\'activit&eacute; de ce spammer';

$txt['stopspammer_profilecheck'] = 'Verifi&eacute; ce membre';
$txt['stopspammer_limitexceded'] = 'Vous avez depass&eacute; la limite de verification (5000 requetes API par jour).<br />
Vous devriez attendre jusqu\'a demain pour verifier.';

$txt['in_stop_forum_spam'] = 'Dans Stop Forum Spam Web:';
$txt['spammers_checks'] = 'Verifier ces membres';
$txt['spammers_report'] = 'Rapporter ces membres';
$txt['confirm_spammers_checks'] = 'Etes vous sur que vous voulez verifier les membres selectionn&eacute;s ?';
$txt['confirm_spammers_report'] = 'Etes vous sur que vous voulez rapporter les membres selectionn&eacute;s ?\n\n
Penser que quand vous rapporter des membres a  SFS, Ils seront marqu&eacute;s comme spammer partout dans le monde\n
et ils ne pourront utilisez aucun forums connect&eacute; a SFS dans le monde entier.\n\n
Faite le uniquement si vous etes certain que ce sont des spammers et si par malheur vous faite une erreur\n
Dites le aussi rapidement que possible au createur du Mod pour corriger l\'erreur dans la database SFS.';

$txt['stopspammer_api_key'] = 'Votre cl&eacute; API';
$txt['stopspammer_api_key_sub'] = 'Si vous voulez utiliser votre propre cl&eacute; API, vous devez d\'abord vous rendre sur :
<a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> pour vous enregister, la demander
et la renseigner ici. Si vous n\'en avez pas, laissez vide et le mod utilisera la cl&eacute; API par defaut.';

$txt['stopspammer_check_sub1'] = '<br />Si le MOD Stop Spammer est activ&eacute;, les membres seront verifi&eacute;s a tout moment:';
$txt['stopspammer_check_name'] = 'Verifier leur pseudo';
$txt['stopspammer_check_mail'] = 'Verifier leur email';
$txt['stopspammer_check_ip'] = 'Verifier leur IP';
$txt['stopspammer_check_sub2'] = 'Par defaut, a chaque fois que vous verifiez les membres avec MOD Stop Spammer, il verifiera
leur pseudo, email and IP. Si vous avez trop de faux-positif a cause des pseudo vous pouvez desactiv&eacute; cette option.
Il n\'est pas recommend&eacute; de desactiver les 2 autres options (verification email et IP) sinon vous savez ce qui va se passer.';


Thank for your mod.

Edit : I have modify for accentuated character
Title: Re: Stop Spammer
Post by: adetia on December 15, 2010, 05:03:43 PM
I installed this package, but I cannot find the link to the mod as it is indicated in the screenshot... I haven't installed hundreds of mods before so perhaps I am doing something wrong, but I downloaded it, uploaded it to the server, installed it (got success message), but it doesn't show, so I'm not sure what I did do wrong.. help?

Version Information:
Forum version: SMF 1.1.12
Current SMF version: SMF 1.1.12

Modification Packages
   Mod Name    Version    
1.    SMF 1.0.19 / 1.1.11 Update    1.0    [ List Files ] [ Delete ]
2.    Banned members avatar    0.1    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    [ List Files ] [ Delete ]
4.    BBC Permission Mod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
5.    XarSmilies-2    1.0    [ Uninstall ] [ List Files ] [ Delete ]
6.    Ip to Country    1.2    [ Uninstall ] [ List Files ] [ Delete ]
7.    Colorized Membergroups    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    Additional Membergroups on Profile    1.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    Admin Modification Menu Section    1.0.2    [ Apply Mod ] [ List Files ] [ Delete ]
10.    Stars And Badges    2.1    [ Uninstall ] [ List Files ] [ Delete ]
11.    SMF 1.0.20 / 1.1.12 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    Auto Link Checker    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    Bot Buster    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
14.    Stop Spammer    2.3.7    [ Uninstall ] [ List Files ] [ Delete ]
15.    Admin Ban Button in Post    1.1    [ List Files ] [ Delete ]
16.    Repeating Calendar Events v1.2.6    1.2.6    [ Uninstall ] [ List Files ] [ Delete ]
Title: Re: Stop Spammer
Post by: Wizzlefits on December 15, 2010, 05:42:53 PM
@adetia
Administration >>Registration >> Settings scroll down a bit.

Also if you go to Administration >> view members, you should see the little icons next to the users.

Oh, at the moment 5:41 PM EST stopforumspam.com is offline.
Title: Re: Stop Spammer
Post by: Eudemon on December 16, 2010, 12:10:42 AM
where does this number come from, see attachment

the mod only blocks spammer from passing registration right
but starting from the day i started to use this mod, there is only 200 spammers blocked from registration at most
it's a huge different from that number
Title: Re: Stop Spammer
Post by: Darren996 on December 16, 2010, 07:07:11 AM
Hi Snoopy!

Awesome mod!  I'm getting hit with waves of spammers attacking simultaneously and it's catching about all of them!

I was wondering if there was an option or a mod somewhere to automatically report, ban and delete?  I've been poking around but haven't found much.

Thanks,
Darren
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 16, 2010, 07:44:14 AM
Quote from: androgyn3 on December 14, 2010, 11:56:41 AM
Hi M-DVD,

This is the French Translation for Stop Spammer mod

Hi androgyn3.

Thanks for your collaboration. Anyway, M-DVD left SMF more than a year ago, and I have been on my own here working on this mod since.  ;D

Quote from: androgyn3 on December 14, 2010, 11:56:41 AM
(I hope there are no probleme with the french accentuated character like é ?)

I have exactly the same problem translating SMF to Spanish, as we also have a lot of accentuated characters, so I know what you mean.

The solution (as you could see if you had joined the SMF translators team and had access to our private sub-forum) is to separate every language in 2 different files. Write them with the accents in their places (é instead of &eacute;) but saving one as UTF-8 and the other one in the specific ISO set for every language. For example for French and Spanish that second one should be ISO-8859-1 (or even better ISO-8859-15 to include as well the € sign).

So, for the next version of the mod, I am going to change completely the way the "full language pack" is done. Anyway I have in my "list of things to do urgently" a lot of things to do first, so it will take me a while until I arrive to that.  ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 16, 2010, 07:54:57 AM
Quote from: Eudemon369 on December 16, 2010, 12:10:42 AM
where does this number come from, see attachment

the mod only blocks spammer from passing registration right
but starting from the day i started to use this mod, there is only 200 spammers blocked from registration at most
it's a huge different from that number

Yes, there is really a big difference between 200 and 3700. I don't understand it. In all my forums that number has always been accurate.

Didn't you notice it before? Has it happen just suddenly? You don't remember being doing something different with your forum when that happened?
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 16, 2010, 08:10:07 AM
Quote from: Darren996 on December 16, 2010, 07:07:11 AM
Hi Snoopy!

Awesome mod!  ...

Thanks,
Darren

You are very welcome.

Quote from: Darren996 on December 16, 2010, 07:07:11 AM
I was wondering if there was an option or a mod somewhere to automatically report, ban and delete?  I've been poking around but haven't found much.

We have talked about that a lot of times. For example you can find some info here:

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

Not only that 2, but also the posts just before and after both of them, with all the talk we did about the subject at the moment.

Also you can search the thread for all the times we have talked here about the problem with the "false positives". (There are lots of examples, so I cannot give you a full list.)

If after reading all that you still don't see it clear, let me know and I will try to explain it again.
Title: Re: Stop Spammer
Post by: Wizzlefits on December 16, 2010, 09:53:59 AM
Quote
Yes, there is really a big difference between 200 and 3700. I don't understand it. In all my forums that number has always been accurate.

Same here, one site says 3802 but should be over 9000, another site says 696 but should be more like 414.
Quote
You don't remember being doing something different with your forum when that happened?
LOL!
Besides breaking several time a week? No, not really.
To be honest, I never really paid much attention to that number.
Title: Re: Stop Spammer
Post by: busterone on December 16, 2010, 10:19:52 AM
On the differing numbers issue-
That number includes all the registration attempts that were stopped automatically, and did not require admin approval/disapproval.  It is hard to accurately know how many that really is. I see as many as a dozen different ips "registering for an account" simultaneously sometimes.  For kicks, I check their IP on the SFS site manually and see that they are indeed spammers. They get rejected automatically as the mod should do, and I never see them in the awaiting approval queue.
I only get about a dozen per week that need admin attention.

For the posters that feel that the number showing on their forum is too high, How do you calculate what you think the real number should be? One would have to be online 24/7 and constantly monitor the who's online list to know how many registration attempts there actually are.

I personally do not think the numbers are inflated myself.

Also, I have seen the same IP attempting to register again multiple times over several days. They get rejected, but come back and try again multiple times, only to be rejected multiple times, increasing the spammer count on each attempt.
Title: Re: Stop Spammer
Post by: jrstark on December 16, 2010, 01:28:08 PM
I just installed this mod.  I see others talking about checking their entire member list, but I can't find how to do this.

Also, I have probable spammers in my awaiting approval list, and their email and/or IP are in the Stopforumspam database, but the names that were in prior to installing this mod have the blue search icon.  New signups have red, but none of the ones from before I installed.

I have my own API in the options, but do not see how to report spammers.  How do I turn this on?

Thanks!
Title: Re: Stop Spammer
Post by: Wizzlefits on December 16, 2010, 02:15:46 PM
@jrstark
The FAQ (http://www.simplemachines.org/community/index.php?topic=283309.msg1920848#msg1920848) should answer your questions. ;)
Title: Re: Stop Spammer
Post by: Eudemon on December 16, 2010, 03:13:07 PM
Quote from: snoopy_virtual on December 16, 2010, 07:54:57 AM
Quote from: Eudemon369 on December 16, 2010, 12:10:42 AM
where does this number come from, see attachment

the mod only blocks spammer from passing registration right
but starting from the day i started to use this mod, there is only 200 spammers blocked from registration at most
it's a huge different from that number

Yes, there is really a big difference between 200 and 3700. I don't understand it. In all my forums that number has always been accurate.

Didn't you notice it before? Has it happen just suddenly? You don't remember being doing something different with your forum when that happened?

it's been like that since i installed the mod
what should i do?
that number keeps raising like 400 a day

------------update
i reinstalled the mod, now waiting to see what will happen

-----------update 2
the number is still not right
it's at 4200 right now
hmm, what should i do?
Title: Re: Stop Spammer
Post by: SD-X on December 17, 2010, 02:03:38 AM
Quote from: V@no on December 13, 2010, 09:40:05 PM
Hello.
It's showing me "There are 15 members awaiting approval." but when I click the link, it says there is nobody to approve...The forum set to user activation.
I believe this happened after I reinstall the mod. How can I clear the count?

Thank you.
That bug is back. Can't get rid of it.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 17, 2010, 07:20:18 PM
Quote from: Eudemon369 on December 16, 2010, 03:13:07 PM
hmm, what should i do?

How many anti-spam mods do you have and which ones?

Also: What version of SMF do you use and what version of mod Stop-Spammer do you have?
Title: Re: Stop Spammer
Post by: Eudemon on December 17, 2010, 08:00:45 PM
Quote from: snoopy_virtual on December 17, 2010, 07:20:18 PM
Quote from: Eudemon369 on December 16, 2010, 03:13:07 PM
hmm, what should i do?

How many anti-spam mods do you have and which ones?

Also: What version of SMF do you use and what version of mod Stop-Spammer do you have?

smf version 2.0 rc4
i only have one anti-spam mod
which is Stop Spammer      2.3.7

the mod doesn't support rc4, so i manually added 2.0rc4 in package-info
i installed with one error, but i manually edited the codes
hmm.. now im thinking could this be a compatibility issue?  ???
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 17, 2010, 08:26:22 PM
No, it's not a compatibility issue.

The small error you had when installing the mod doesn't really affects the way the mod works. It's not important at all.

The problem is this mod (on its own) doesn't protect you completely. You should have at least also mod httpBL:

http://custom.simplemachines.org/mods/index.php?mod=2155

Also you should go to Admin => Configuration => Security and Moderation => Anti-Spam

Scroll down to "Verification Questions" and add at least one question and answer.

There are also a lot more anti-spam mods, but I haven't try them properly. Since I have these 2 mods and my "Verification Questions" activated in all my forums I haven't had any more problems with spammers.

I could tell you also how to reset the spammers count manually, so you could put it back to 0, but that won't sort your problem. If the number is growing so quickly it means there are a lot of robots trying to enter your forum. Resetting the counter won't stop them at all.
Title: Re: Stop Spammer
Post by: Eudemon on December 17, 2010, 08:40:52 PM
i don't really have any big issues with spammers getting through registration

in my understanding is that stop spammers(this mod) turns spammer registrations into waiting approvals
so that number should be the number got turned into approvals
i just wonder why the number of spammers blocked is so much different than the approvals
or does the mod count robots also, even they don't tend to register?

sorry if i'm incorrect

and thanks for the tip
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 17, 2010, 09:13:47 PM
The human spammers used to send spam ages ago. No-a-days they don't do it themselves. They create robots to do the job.

Spammer robots can send spam a thousand time faster than humans, so all the spammers you see in the forums just now are all robots.

A robot can try to register a 100 times in less than a minute. The mod should count only one of the attempts, but sometimes (if the robots are attacking really hard) the number grows wrongly (as it's your case now). That's why I said I think they are attacking you.
Title: Re: Stop Spammer
Post by: Eudemon on December 17, 2010, 09:40:19 PM
woo i'm getting attacks? that doesn't sound good ???

i will use ur suggestions if this gets worse, thanks for your replies
Title: Re: Stop Spammer
Post by: busterone on December 17, 2010, 11:03:10 PM
Quote from: Eudemon369 on December 17, 2010, 08:40:52 PM
i don't really have any big issues with spammers getting through registration

in my understanding is that stop spammers(this mod) turns spammer registrations into waiting approvals
so that number should be the number got turned into approvals
i just wonder why the number of spammers blocked is so much different than the approvals

You must have missed my earlier post. The mod does more than turn registration attempts into approvals, it also outright automatically rejects a spammer if all the criteria are met. (IP, username, and email simultaneously) That rejection gets added to the count you are referring to. The total count should be higher than the number of registrations that have been added to the awaiting admin approval queue.    :)
Title: Re: Stop Spammer
Post by: Eudemon on December 17, 2010, 11:11:57 PM
QuoteYou must have missed my earlier post. The mod does more than turn registration attempts into approvals, it also outright automatically rejects a spammer if all the criteria are met. (IP, username, and email simultaneously) That rejection gets added to the count you are referring to. The total count should be higher than the number of registrations that have been added to the awaiting admin approval queue.    :)
oh, that makes sense  ;)
is it normal to have 4300 spammers blocked with only 200 added to approvals?

thx
Title: Re: Stop Spammer
Post by: busterone on December 17, 2010, 11:59:01 PM
Quite possible. I can only speak for my own forum, but I have caught the same ip attempting to register several times in one day, often several days in a row, only to be rejected each time. This is happening a lot lately.  I sometimes get bored and scout the who's online list, and check every IP that is registering at that time manually.  I started to see a pattern of the same ones returning almost every day.  I presume that each time this same person/bot returns to try again, the rejection is added to the count again as well.    :)
Title: Re: Stop Spammer
Post by: Eudemon on December 18, 2010, 12:22:41 AM
ok, i feel much more comfortable now

thank you busterone and snoopy_virtual  :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 18, 2010, 07:45:49 AM
Quote from: busterone on December 17, 2010, 11:03:10 PM
You must have missed my earlier post. The mod does more than turn registration attempts into approvals, it also outright automatically rejects a spammer if all the criteria are met. (IP, username, and email simultaneously) That rejection gets added to the count you are referring to. The total count should be higher than the number of registrations that have been added to the awaiting admin approval queue.    :)

Sorry, but that's not at all the way M-DVD and me did this mod.

The way we did it, the mod is not supposed to turn registrations out automatically never. It doesn't matter what criteria is met or not.

When anybody try to register, the mod checks inside SFS database only the fields you have marked on your mod configuration (IP, username, and/or email). If any of them is found in the DB it leaves the user waiting for approval (and add +1 to the spammer's count). If there is no data about the fields you have marked it allows registration.

But it never turns out anybody automatically. It doesn't matter what.

So the way we did it (or we intended to do it) the counter should be accurate all the time. If it's not, there is something wrong in the code or something else is interfering with the counter (like for example another mod, or a robot trying to register too many times per second or something else).

In all my forums that counter has always been accurate and nobody ever told me they had seen something strange with it. That's the first time I see something like that happening, but apparently it's not only Eudemon who noticed it, because Wizzlefits said yesterday he had seen also that counter going rogue sometimes and today busterone is saying the same.

Of course that number is not really too important (it's just for your own information and doesn't interfere with the way the mod works) so I haven't really paid it too much heed. But I don't like when anything doesn't work exactly as it was supposed to work (it may be a sign of some mistake inside the code) so I should look into it a little more as soon as I have some spare time.

Quote from: busterone on December 17, 2010, 11:59:01 PM
... I have caught the same ip attempting to register several times in one day, often several days in a row, only to be rejected each time ...
... I presume that each time this same person/bot returns to try again ...

It is a bot for sure. Humans never do things so automatic (every day at the same time) and also they stop trying after a couple of times been rejected.

When something like that happens in any of my forums, usually the bot gets caught by my honey pot and after a day or 2, it cannot access at all any part of my forums.

But, if it's not attracted by my honey pot and I see it trying again after a couple of days, I go to Project Honey Pot's site and report it manually. That way I not only ban this bot from accessing all my forums, but also from all other web sites using httpBL software.

=============

Sorry I mixed here things from 2 different mods, but the way I have done them they are supposed to work together always.
Title: Re: Stop Spammer
Post by: busterone on December 18, 2010, 10:01:52 AM
That is odd snoopy.  I have seen this mod automatically stop hundreds of spammers myself over the last year.  Example- I happen to look at the who's online list and see an ip that is registering for an account. I manually check that IP in SFS database and I see that it is listed. I then wait and see what the registration outcome is and it never makes it to admin approval.  It simply gets stopped cold. I have observed this many times. If it was not intended to do so, then there is a serious issue going on.  My stopped spammer count is over 14000 at this time, and I daresay, the number of admin approvals in the last year are less than 200.
I am puzzled now..
Title: Re: Stop Spammer
Post by: MCK on December 18, 2010, 11:23:07 AM
Would love to install this mod on my RC4 forum but don't want to risk the manual install. Any ETA on the RC4 update? I'm running the excellent httpBL mod with great results so I can't wait to install this one as well.

I really look forward to be able to scan my existing member IPs against the known spammer database which I think is only possible with this mod. Thanks for making it happen.
Title: Re: Stop Spammer
Post by: cypdevil on December 18, 2010, 11:31:44 AM
I receive several tens of spambot registrations/day and they fall into 3 categories:
1. Registration started but not activated (16)
2. Registration started and activated (18)
3. Registration started, activated and a spam message posted (2)
The figures between parentheses were the number in each category yesterday.

On the advice of another user, I tried to install Stop Spammer, hoping it will deal with all 3 categories, banning and deleting them as automatically as possible.

Does it do all these?

I had enormous difficulties because SMF seemed corrupt with a mixture of vv 1.1.11 and 1.1.12. Finally, I manually reinstalled it and it now seems better. I then downloaded Stop Spammer using the Package Manager and then set it going. It went through to the page where it lists all the files and their status (all the language files except English stated Skipping file while the 1st nine were tested successfully. However, it did not appear to test the final ones:
19.    Extract File    ./Sources/StopSpammer.php    
20.    Extract File    ./Themes/default/images/icons/spammer.gif    
21.    Extract File    ./Themes/default/images/icons/suspect.gif    
22.    Extract File    ./Themes/default/images/icons/moreinfo.gif    
23.    Execute Code    install_1.php

Anyway, I clicked the 'Install Now' and got the error message:
"Fatal error: require() [function.require]: Failed opening required '/usr/www/users/psa/cypenv/smf/Packages/temp/./install_1.php' (include_path='.:/usr/local/lib/php') in /usr/www/users/psa/cypenv/smf/Sources/Packages.php on line 556"

My line 556 reads:
"require($boarddir . '/Packages/temp/'  . $context['base_path'] . $action['filename']);"

I've tried adding many combinations of the two paths and have not succeeded in finding the exact meaning of the Fatal error. I always get some form of error message.

Could you please rewrite for me how the line 556 should appear with my paths, so that I can copy/paste it? You will understand that my knowledge of php code is almost zero and I need my hand held at this stage.

Thank you in anticipation.
Title: Re: Stop Spammer
Post by: Wizzlefits on December 18, 2010, 12:24:14 PM
Quote from: busterone on December 18, 2010, 10:01:52 AM
That is odd snoopy.  I have seen this mod automatically stop hundreds of spammers myself over the last year.  Example- I happen to look at the who's online list and see an ip that is registering for an account. I manually check that IP in SFS database and I see that it is listed. I then wait and see what the registration outcome is and it never makes it to admin approval.  It simply gets stopped cold. I have observed this many times. If it was not intended to do so, then there is a serious issue going on.  My stopped spammer count is over 14000 at this time, and I daresay, the number of admin approvals in the last year are less than 200.
I am puzzled now..
@busterone,
This to I've seen quite a bit. From what I've gathered the person running xrumer hasn't got it setup correctly. Meaning it will hit the registration page and mug up and go on to the next site and do the same thing. Or just sit there for awhile bouncing then leave.
So basically, Stop Spammer is not turning them away, THEY are turning themselves away. :)

@Snoopy,
Really don't think the code is to blame! Think it has a lot to do with bots hammering the registration page.
My record so far for registration attempts (from the same IP) is 16 per second. That one got banned via htacess. lol

Oh, just a suggestion, comment, question, whatever ya want to call it.
Have you ever thought of combining the two mods into one install package? Since the two really do work so well together. I know M-DVD created Stop Spammer and all.... just a thought!

@MCK
You don't have to do a complete manual install, just one line needs to be changed manually.
see busterone's post (http://www.simplemachines.org/community/index.php?topic=283309.msg2837547#msg2837547)
Title: Re: Stop Spammer
Post by: busterone on December 18, 2010, 12:34:47 PM
Quote from: Wizzlefits on December 18, 2010, 12:24:14 PM
@busterone,
This to I've seen quite a bit. From what I've gathered the person running xrumer hasn't got it setup correctly. Meaning it will hit the registration page and mug up and go on to the next site and do the same thing. Or just sit there for awhile bouncing then leave.
So basically, Stop Spammer is not turning them away, THEY are turning themselves away. :)


That could be the case then, it does make sense. Idiot spammers can't even use their own software.   :D

So when they botch their own registration, the mod still adds that botched attempt to the stopped spammer totals I am presuming. I any case, they don't get in.  :)
Title: Re: Stop Spammer
Post by: Wizzlefits on December 18, 2010, 01:24:28 PM
@cypdevil
The path (I don't think) should have a period in it.

/smf/Packages/temp/./install_1.php

Should be like;

/smf/Packages/temp/install_1.php

Line 556 is correct. Somewhere a period is getting thrown in the file path. I know it has to be a simple fix, but I'm no coder. :(
Title: Re: Stop Spammer
Post by: SD-X on December 18, 2010, 03:52:41 PM
Thank you to those that provided the tiny SMF2 RC4 fix. Everything is working great again! The only issue I still have is the non-existent members that are still requiring approval. The bug is very well known and will not go away. Other than that, everything is running perfectly!
Title: Re: Stop Spammer
Post by: Wizzlefits on December 18, 2010, 04:29:16 PM
Quote from: SugarD-x on December 18, 2010, 03:52:41 PM
Thank you to those that provided the tiny SMF2 RC4 fix. Everything is working great again! The only issue I still have is the non-existent members that are still requiring approval. The bug is very well known and will not go away. Other than that, everything is running perfectly!
I just found another work around.
Lets say you have 4 waiting approval. You check them and they are spammers, now instead of "deleting" them, (after reporting them first) hit "Reject".
They're gone and the bug never appears.

For the non-existent ones....
Admin >> Forum Maintenance >> Recount all forum totals and statistics
seems to clear the number in RC4
Title: Re: Stop Spammer
Post by: MCK on December 18, 2010, 11:20:15 PM
@  Wizzlefits - It works!!! Thanks so much! Weeding out the existing members now.
Title: Re: Stop Spammer
Post by: SD-X on December 18, 2010, 11:44:39 PM
Quote from: Wizzlefits on December 18, 2010, 04:29:16 PMFor the non-existent ones....
Admin >> Forum Maintenance >> Recount all forum totals and statistics
seems to clear the number in RC4
Tried that a few times. Doesn't seem to work. It's likely caused by the fact that I upgraded from SMF1. The bug is quite old and I've seen multiple places on the internet complain about it in the past.
Title: Re: Stop Spammer
Post by: cypdevil on December 19, 2010, 02:26:31 AM
Quote from: Wizzlefits on December 18, 2010, 01:24:28 PM
@cypdevil
The path (I don't think) should have a period in it.

/smf/Packages/temp/./install_1.php

Should be like;

/smf/Packages/temp/install_1.php

Line 556 is correct. Somewhere a period is getting thrown in the file path. I know it has to be a simple fix, but I'm no coder. :(

Thanks for the reply! I tried that, got a different error message! What I don't understand is what the heck I'm supposed to do with "(include_path='.:/usr/local/lib/php')" in the error message. Without being rude, can you please tell me where to put this and how, which is why I asked for a corrected line 556?
Title: Re: Stop Spammer
Post by: SD-X on December 19, 2010, 06:33:21 AM
Quote from: SugarD-x on December 18, 2010, 11:44:39 PM
Quote from: Wizzlefits on December 18, 2010, 04:29:16 PMFor the non-existent ones....
Admin >> Forum Maintenance >> Recount all forum totals and statistics
seems to clear the number in RC4
Tried that a few times. Doesn't seem to work. It's likely caused by the fact that I upgraded from SMF1. The bug is quite old and I've seen multiple places on the internet complain about it in the past.
Forget what I said. It suddenly corrected itself today. I'm amazed. It's finally working! :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 19, 2010, 08:50:58 AM
Bufff... Too many different subjects to answer at the same time. Let's see if I can organize them a little:


====================================================
Quote from: MCK on December 18, 2010, 11:23:07 AM
Would love to install this mod on my RC4 forum but don't want to risk the manual install. Any ETA on the RC4 update?

Cannot give you any estimate time. It can be anything between a week and a year. Sorry.


====================================================
Quote from: Wizzlefits on December 18, 2010, 12:24:14 PM
Oh, just a suggestion, comment, question, whatever ya want to call it.
Have you ever thought of combining the two mods into one install package? Since the two really do work so well together. I know M-DVD created Stop Spammer and all.... just a thought!

Yes, I thought about it. I see too many pros and cons about it, so if we start talking about it here we could be talking for ages. So, the only thing I will say just now is:

Maybe yes maybe not. Who knows.  ;D


====================================================
Quote from: Wizzlefits on December 18, 2010, 12:24:14 PM
Really don't think the code is to blame! Think it has a lot to do with bots hammering the registration page.

That was my first idea when I saw it. It's very difficult the code has a mistake in that part, because it's a very simple thing. Very straight forward. But I would like to look into it anyway some day. Maybe there are other possible things to consider here ... You never know ...

Anyway, as it's only a number for statistics and information and it's not really important for the way the mod works, it's not in my high priority list.


====================================================

I definitely want to have this problem sorted for the next version. I think I have now a pretty good idea about how to sort it. (hope)

In the mean time we will need to continue using any of the work-arounds available.


====================================================

I have not been too worried about it because busterone's solution is very easy (just need to edit one line of code).

Anyway, if I see the next version is going to take me longer than what I thought, maybe I will do just an intermediate version (something like a small update) with just a couple of things sorted in it. That will give me time to do the proper next version without rush.


====================================================

I think all the above problems are only small things compared with the problem cypdevil has. This is really an urgent and big problem. Let's try to concentrate in sorting it:

Quote from: cypdevil on December 18, 2010, 11:31:44 AM
I receive several tens of spambot registrations/day and they fall into 3 categories:
1. Registration started but not activated (16)
2. Registration started and activated (18)
3. Registration started, activated and a spam message posted (2)
The figures between parentheses were the number in each category yesterday.

On the advice of another user, I tried to install Stop Spammer, hoping it will deal with all 3 categories, banning and deleting them as automatically as possible.

Does it do all these?

Yes. That's exactly what this mod does (and more). That's why I said this is an urgent problem. You need to sort it so you can fight the spammers.

Quote from: cypdevil on December 18, 2010, 11:31:44 AM
Could you please rewrite for me how the line 556 should appear with my paths, so that I can copy/paste it? You will understand that my knowledge of php code is almost zero and I need my hand held at this stage.

As Wizzlefits already told you, line 556 is correct. The problem cannot be there.

I have sorted similar problems in numerous occasions, but the solution is not general. It always depends on too many things (the kind of server you are using, how is the server configured, the problems you may have with your SMF installation, etc etc).

So we can sort it using 2 different methods:

Either I can post here a lot of questions about the specific things I need to know about your server and SMF installation. Wait for your answers. Ask some more questions, etc etc. Or we can connect using a chat program and do all the process in private.

I think it will be a lot faster if we do it through any messenger program, and anyway, as I said, normally that's not a general problem, so your solution may not be any use for the rest of the people.

It's up to you. Let me know how you want to do it.
Title: Re: Stop Spammer
Post by: butchs on December 19, 2010, 09:44:21 AM
The past several weeks I have been working on upgrading my site.  So I made a RC4 version of stopspammer.  See attached.


Someone owes me some beer!

Title: Re: Stop Spammer
Post by: Wizzlefits on December 19, 2010, 02:51:24 PM
@cypdevil
Just a suggestion.
Make sure you don't have a corrupted installation of SMF. This will eliminate soooo many "unknowns".
You can do this in about 10 minutes by doing a clean install of
SMF 1.1.12 (http://download.simplemachines.org/index.php?thanks;filename=smf_1-1-12_install.zip).
Just install into a folder something like yoursiteurl.com/testcopy/.
Setup a different database for the "test" copy too. That way you can play...ah test all you want without effecting your main site.
Note: Do NOT change the default settings, unless you have to. You want to keep it as "default" as possible, eliminating as many variables as possible.

Now... grab a clean copy of Stop Spammer (http://custom.simplemachines.org/mods/index.php?action=download;mod=1547;id=134255) and install it.
In theory...it should install without a hitch.
If it goes good...then your live forum in /smf/ is corrupt.
Title: Re: Stop Spammer
Post by: Wizzlefits on December 19, 2010, 02:58:20 PM
Quote
The past several weeks I have been working on upgrading my site.  So I made a RC4 version of stopspammer.  See attached.
LOL! You package modder you!
Quote
Someone owes me some beer!

Title: Re: Stop Spammer
Post by: Eudemon on December 19, 2010, 03:04:58 PM
Quote from: Wizzlefits on December 19, 2010, 02:58:20 PM
Quote
Someone owes me some beer!


lol u guys are funny
have some beers
so, actually what did you change for 2.0rc4
for the rc3 one i added 2.0rc4 in info and installed fine
just wondering
Title: Re: Stop Spammer
Post by: butchs on December 19, 2010, 04:53:29 PM
Quote from: Wizzlefits on December 19, 2010, 02:58:20 PM
LOL! You package modder you!

I think i have an illness!  I lost track of the code I wrote this year...   :o

For some strange reason I have a hankeng for some Spanish beer.

Title: Re: Stop Spammer
Post by: butchs on December 19, 2010, 04:59:28 PM
Quote from: Eudemon369 on December 19, 2010, 03:04:58 PM
for the rc3 one i added 2.0rc4 in info and installed fine
just wondering

Eeee... That should not work with RC3, there was some code changed between versions.  Attached is my RC3 version.

One more Spanish beer???
O:)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 19, 2010, 08:21:24 PM
Quote from: butchs on December 19, 2010, 04:53:29 PM
For some strange reason I have a hankeng for some Spanish beer.

Sorry butchs: Every time we bet a beer I win.

If you want a Spanish beer you should do some code better than me and then bet me a beer about it. If I accept the bet and you prove me wrong you will win a Spanish beer.

Or we could bet something else ...

Quote from: butchs on December 19, 2010, 04:59:28 PM
Eeee... That should not work with RC3, there was some code changed between versions.  Attached is my RC3 version.

If you are doing a different version for this mod you should give it a different name. Something like "StopSpammer_buctchs_version" or something like that.

If you put it here with the same name as M-DVD's and mine that would lead people to confusion. For example I can see now Eudemon is confused:

Quote from: Eudemon369 on December 19, 2010, 03:04:58 PM
so, actually what did you change for 2.0rc4
for the rc3 one i added 2.0rc4 in info and installed fine
just wondering

My version for SMF 2.0 RC3 is the official one here:

http://custom.simplemachines.org/mods/index.php?mod=1547

For SMF 2.0 RC4 I have tested 2 different solutions:


I haven't tested the 2 versions (for RC3 and RC4) butchs put here today, so I don't know what is in there.

Quote from: Wizzlefits on December 19, 2010, 02:51:24 PM
@cypdevil
Just a suggestion.
Make sure you don't have a corrupted installation of SMF. ...

etc

I have been working with cypdevil today through Skype and we have found out the problem was the FTP program he was using was giving the wrong CHMOD values to a lot of files and folders, so his Package Manager was not working properly and couldn't install any mod at all.

He is going to install a new FTP program and re-install again SMF properly. We will see tomorrow if that has sorted the problem or if there is any other problems on his server.
Title: Re: Stop Spammer
Post by: Eudemon on December 19, 2010, 09:56:16 PM
QuoteIf you put it here with the same name as M-DVD's and mine that would lead people to confusion. For example I can see now Eudemon  is confused:
nah, i know his version is not official version
i was asking what did he change from the official ver
the rc3 one i've mentioned is the official one from http://custom.simplemachines.org/mods/index.php?mod=1547
and i added rc4 in package-info to make it installable for rc4
that's all i was trying to say in the previous post

anyways, thx for the comments and i will look forward for your solutions to the issues we have mentioned
Title: Re: Stop Spammer
Post by: Darren996 on December 19, 2010, 10:23:55 PM
Quote from: snoopy_virtual on December 16, 2010, 08:10:07 AM
We have talked about that a lot of times. For example you can find some info here:

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

Not only that 2, but also the posts just before and after both of them, with all the talk we did about the subject at the moment.

Also you can search the thread for all the times we have talked here about the problem with the "false positives". (There are lots of examples, so I cannot give you a full list.)

If after reading all that you still don't see it clear, let me know and I will try to explain it again.

I think the axle broke on the hamster wheel in my head as soon as I read that.  :D  I read a bit of it and I agree with you completely.  I didn't consider that at all...  I'm fairly technical but not a highly experienced administrator.  I am a software developer however :D so let me throw this at you. 

The reason I inquired about that was because of some changes that went in at the web site I administrate.  I deployed  Cloud Flare (https://www.cloudflare.com/) around my sites because I was inundated by spammers.  I highly recommend it as I would your mod.  Cloud Flare is sort of a cloud of DNS server virtual appliances that block traffic to your site from suspicious IP addresses.  Well, that's what I think it is anyway.  Actual mileage may vary. :D  It works wonders!  Every once in a while though it seems to fall asleep at the wheel I suppose, and I get hammered by tons of spammers at once.  What would you think about some sort of throttle on new registrations for say 10, 15 minutes when there's been a flurry of attacks? 

That probably might be a little to specific to my situation though.  Just a thought.  Thanks again for the awesome mod!

Thanks,
Darren
Title: Re: Stop Spammer
Post by: cypdevil on December 20, 2010, 02:10:46 AM
Quote from: snoopy_virtual on December 19, 2010, 08:21:24 PM

I have been working with cypdevil today through Skype and we have found out the problem was the FTP program he was using was giving the wrong CHMOD values to a lot of files and folders, so his Package Manager was not working properly and couldn't install any mod at all.

He is going to install a new FTP program and re-install again SMF properly. We will see tomorrow if that has sorted the problem or if there is any other problems on his server.

Snoopy

Thanks for everything. I installed FileZilla and it behaves exactly the same way as SmartFTP, so the problem is deeper than that. I tried the 1.1.12 upgrade again using FileZilla: just the same results. My head is spinning! Unfortunately, I have to be absent this morning and have some urgent hardware to install this afternoon, so will not be able to do anything until late afternoon.

I have some issues I want to bring up with my ISP which may or may not be related, see
http://www.simplemachines.org/community/index.php?topic=413853.0

This change took place again while we were working and I'm 90% sure that it happens as I stated, when the Packages Manager states there are some permissions problems and it comes up with the 4 questions. This is very puzzling. I'm also pretty sure something is corrupt in SMF and I think a clean re-install is needed as I can see there is some spurious stuff, especially in the SMF directory. I'm a little unsure what to keep (other than settings.php and, I presume, the FTPGreen theme which has some modifs that date back several years and have not given trouble).
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 20, 2010, 08:20:18 AM
Quote from: Eudemon369 on December 19, 2010, 09:56:16 PM
i added rc4 in package-info to make it installable for rc4

You don't need to edit the package-info at all. It is already set up for SMF from 2.0.0 to 2.99.99 and that includes all the betas, RCs etc they can possibly make. Inside the version for RC3 I only actually mention the number RC3 inside the "readme" file, and that has nothing to do with the installation.

====================

@Darren996

Yes, I heard about ClaudFlare. It has been developed by the same people who did Project Honey Pot, so I was invited to test their software even when they started it (the first betas they did) because I have been working with them for years (since I started my mod httpBL).

The problem is I never install any software before I analyse it first to see exactly what it's doing and I haven't had time yet to check this one out properly. As far as I can see, what it does (at least the free version) is almost exactly the same as my mod httpBL does, so I don't want redundant code in my sites.

I would really like to have enough time to check ClaudFlare properly (as I have heard a lot of people talking very good about it) but I am already protected with mod httpBL against harvesters, dictionary attackers, comment spammers, etc, so I am not really in a hurry just now.

Another reason why I am not really in a hurry to check it out is that I always prefer Open Source code, and ClaudFlare is not.

====================

@cypdevil

So it means the reason why your SMF installation is corrupted is not because the FTP program. It has arrived to that state because of something else, but one thing is sure: It is corrupted and you need a clean install.

In your case (with no mods installed at all and with all the changes made only inside your "Green Theme" folder) it would be pretty safe for you to delete everything in your forum (leaving only the Settings.php and the "Green Theme" folder) and upload all the files like a new installation.

But I am not 100% that will sort it. We haven't found yet why the permissions for the files and folders are wrong, so maybe after you do all that the files and folders end up again with the wrong permissions.

An approach a lot more safe would be the one Wizzlefits suggested yesterday:

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

With a new database and installing SMF in a different folder (fully clean install) you can check it properly. It's longer but safer.

----------
Edit:
There are a lot more things about it I didn't write here (would be too long) but I will tell you later via Skype. It's a lot easier than what it sounds.
Title: Re: Stop Spammer
Post by: cypdevil on December 20, 2010, 02:39:49 PM
Quote from: snoopy_virtual on December 20, 2010, 08:20:18 AM

@cypdevil

So it means the reason why your SMF installation is corrupted is not because the FTP program. It has arrived to that state because of something else, but one thing is sure: It is corrupted and you need a clean install.

In your case (with no mods installed at all and with all the changes made only inside your "Green Theme" folder) it would be pretty safe for you to delete everything in your forum (leaving only the Settings.php and the "Green Theme" folder) and upload all the files like a new installation.

But I am not 100% that will sort it. We haven't found yet why the permissions for the files and folders are wrong, so maybe after you do all that the files and folders end up again with the wrong permissions.

An approach a lot more safe would be the one Wizzlefits suggested yesterday:

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

With a new database and installing SMF in a different folder (fully clean install) you can check it properly. It's longer but safer.

----------
Edit:
There are a lot more things about it I didn't write here (would be too long) but I will tell you later via Skype. It's a lot easier than what it sounds.

I've done it now! I've lost all contact with the db and I can't find the details. I'll contact you again in the late afternoon, as I have a hospital appointment in the morning. In the meanwhile, I've asked the ISP for the server, dbname and password; hopefully he will give them to me without any hassle.
Title: Re: Stop Spammer
Post by: Darren996 on December 20, 2010, 02:58:29 PM
Quote from: snoopy_virtual on December 20, 2010, 08:20:18 AM
@Darren996

Yes, I heard about ClaudFlare. It has been developed by the same people who did Project Honey Pot, so I was invited to test their software even when they started it (the first betas they did) because I have been working with them for years (since I started my mod httpBL).

The problem is I never install any software before I analyse it first to see exactly what it's doing and I haven't had time yet to check this one out properly. As far as I can see, what it does (at least the free version) is almost exactly the same as my mod httpBL does, so I don't want redundant code in my sites.

I would really like to have enough time to check ClaudFlare properly (as I have heard a lot of people talking very good about it) but I am already protected with mod httpBL against harvesters, dictionary attackers, comment spammers, etc, so I am not really in a hurry just now.

Another reason why I am not really in a hurry to check it out is that I always prefer Open Source code, and ClaudFlare is not.
/quote]

CloudFlare is service so I didn't actually install anything.  It's very similar to your software.  CloudFlare is protecting the whole site and your software is protecting SMF.  It's kinda "belt and suspenders" but that's fine with me.  The combination is working well and my users aren't complaining.   Just trying to get the most out of Stop Spammer without my Mods having to delete Spammers "Awaiting Approval" all the time.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 20, 2010, 03:38:25 PM
Quote from: Darren996 on December 20, 2010, 02:58:29 PM
CloudFlare is service so I didn't actually install anything.  It's very similar to your software.  CloudFlare is protecting the whole site and your software is protecting SMF.  It's kinda "belt and suspenders" but that's fine with me.  The combination is working well and my users aren't complaining.   Just trying to get the most out of Stop Spammer without my Mods having to delete Spammers "Awaiting Approval" all the time.

No, CloudFlare has nothing to do with this mod Stop Spammer. It is similar to my another mod httpBL.

Both mods (Stop Spammer and httpBL) are complementary and work in a completely different way.
Title: Re: Stop Spammer
Post by: Darren996 on December 20, 2010, 04:05:31 PM
Quote from: snoopy_virtual on December 20, 2010, 03:38:25 PM
No, CloudFlare has nothing to do with this mod Stop Spammer. It is similar to my another mod httpBL.

Both mods (Stop Spammer and httpBL) are complementary and work in a completely different way.

Right, right.  Sorry, Alzheimer's moment...  Any thoughts on reducing the amount of spammers to delete?
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 20, 2010, 06:23:53 PM
Quote from: Darren996 on December 20, 2010, 04:05:31 PM
Any thoughts on reducing the amount of spammers to delete?

The last time I had to delete one spammer was 3 months ago. And I have 7 very busy forums.

In all my forums I have these security programs installed:


You can see more info here:

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

and here:

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

and here:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2
Title: Re: Stop Spammer
Post by: butchs on December 20, 2010, 07:30:40 PM
Quote from: snoopy_virtual on December 19, 2010, 08:21:24 PM
If you want a Spanish beer you should do some code better than me and then bet me a beer about it. If I accept the bet and you prove me wrong you will win a Spanish beer.

If you were so great at coding you could have fixed your mod yourself?

Lets see who's mod is doing better so far:
Forum Firewall 3800 spammers
httpBL             2457 spammers
Stopspammer  25 spammers

and you had a head start.  Better save up some beer money!
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 21, 2010, 04:59:00 AM
Quote from: butchs on December 20, 2010, 07:30:40 PM
If you were so great at coding you could have fixed your mod yourself?

I am not a great coder, I am just good accepting my mistakes, and don't bet unless I am sure of what I am saying.

Also the fix you are talking about here was done by busterone more than a month ago. Why would I need to fix it again?

I have been working for 40 years in lots of Open Source Projects (we didn't called them like that 40 years ago but that's what they were) and I haven't seen any of them as any kind of "competition" but more as "team work". In this case (for example) all of us working together against a common enemy: The spammers.

-------
Edited just to sort a spelling mistake
Title: Re: Stop Spammer
Post by: Eudemon on December 21, 2010, 01:29:21 PM
QuoteYou don't need to edit the package-info at all. It is already set up for SMF from 2.0.0 to 2.99.99 and that includes all the betas, RCs etc they can possibly make. Inside the version for RC3 I only actually mention the number RC3 inside the "readme" file, and that has nothing to do with the installation.

my bad, i probably was thinking about other mods

Quotebut more as "team work"

+1

still little early but i want to wish all of you a Merry Christmas
Title: Re: Stop Spammer
Post by: busterone on December 21, 2010, 06:33:06 PM
I must agree with you. A big +1 for teamwork. We all benefit by it.  :)
Title: Re: Stop Spammer
Post by: butchs on December 21, 2010, 08:23:31 PM
Quote from: snoopy_virtual on December 21, 2010, 04:59:00 AM
Quote from: butchs on December 20, 2010, 07:30:40 PM
If you were so great at coding you could have fixed your mod yourself?

I am not a great coder, I am just good accepting my mistakes, and don't bet unless I am sure of what I am saying.

Do you remember the TRS-80?  Oh no, we are ancient!

I never took many programing courses but I my abilities are above average...

As far as teamwork goes yall know I have been on your site contributing where I can.  Even though you are mean to me at times... 

In the end, our combined mods are awesome...   Even though SMF seems to be confused with my latest work!
Title: Re: Stop Spammer
Post by: Jade Elizabeth on December 22, 2010, 12:20:44 PM
Quote from: busterone on November 02, 2010, 07:21:25 PM
Alright Snoopy, I tested ver.2.3.7 on both. I had to do only 1 manual edit for both the upgraded and the clean install RC4.
It is in /Sources/Subs.php.

The install is looking in subs.php for the following code to replace-
$context['unapproved_members'] = !empty($modSettings['registration_method']) && $modSettings['registration_method'] == 2 ? $modSettings['unapprovedMembers'] : 0;
which has changed to this in RC4-

$context['unapproved_members'] = (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 2) || !empty($modSettings['approveAccountDeletion']) ? $modSettings['unapprovedMembers'] : 0;


I manually replaced it with the mod's code
$context['unapproved_members'] = $modSettings['unapprovedMembers'];
and allowed the package manager to finish the installation. It appears to be working and there are no errors in the error log so far. As best as I can tell, just changing the above search string will make it compatible with RC4.  :)


Can you please just update this in the main package if that's the only problem? It would make it work with RC4 and you wouldnt have to worry about it anymore. It would save a lot of people coming and begging you to make it work.

I ask cause people keep bothering me about it and I'm tired of finding the right post to link them to lol.
Title: Re: Stop Spammer
Post by: SD-X on December 23, 2010, 08:40:14 AM
Quote from: snoopy_virtual on December 21, 2010, 04:59:00 AM
I have been working for 40 years in lots of Open Source Projects (we didn't called them like that 40 years ago but that's what they were) and I haven't seen any of them as any kind of "competition" but more as "team work". In this case (for example) all of us working together against a common enemy: The spammers.
Lol jeez man, how old are you? That's a very impressive amount of experience!

On another note, maybe you should consider getting a bug tracker that users can submit their issues to. This might help you keep track of new bugs with your various projects, and the users that are lacking the knowledge to use the trackers can continue posting in these topics, making it easier on everyone and cutting down on the number of random subjects being discussed. :)
Title: Re: Stop Spammer
Post by: cypdevil on December 23, 2010, 10:45:32 AM
Okay, I have successfully installed version 1.1.12 and added the Stop Spammer package – but not where I want it!

In fact, I have installed it on completely different Apache server without the slightest difficulty. If I try to do the same on my normal Apache server then all hell is let loose with permissions, including on parts of the hierarchy over which I have no control. This blocks, for example, the transmission of e-mails because the home file is changed from 705 to 777. It is obvious that the latter would allow any Tom, Dick or Harry to have access to my e-mail and even to modify it. This is obviously unacceptable.

I have been in constant correspondence with the ISP concerned but am not getting very far. This morning, I sent them a very strong message implying that, despite their protestations, the problem seems to fall fairly and squarely into their court. To be fair, this ISP runs something over 250 servers plus another 150 dedicated to MySQL. It may just be only one of the servers that has this problem. For this reason, I don't wish to publicly denounce them. If anyone wishes to know whether a problem is similar, please PM me with the name of your ISP and the name of the server you been allocated on. I'll reply to the effect of whether it's the same or completely different.

I should like to take the opportunity to thank those who have helped me and, in particular, Snoopy who has spent hours looking at this problem.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 23, 2010, 02:50:21 PM
MOD Stop Spammer v2.3.8
==================





  • Authors:
M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997) and snoopy_virtual (http://custom.simplemachines.org/mods/index.php?action=profile;u=68708)
  • Version:
2.3.8
  • Release:
23th December 2010
  • Compatible With:
SMF 1.1.1 - 1.1.12
SMF 2 RC4

WARNING:


Anyway, as I had a couple of changes already done, I have put them inside this update:



I hope now I will have time to concentrate in all the rest of the changes I was doing for this mod.

Quote from: SugarD-x on December 23, 2010, 08:40:14 AM
Lol jeez man, how old are you?

54 I thought my profile was public  ;)

Quote from: SugarD-x on December 23, 2010, 08:40:14 AM
On another note, maybe you should consider getting a bug tracker that users can submit their issues to. This might help you keep track of new bugs with your various projects, and the users that are lacking the knowledge to use the trackers can continue posting in these topics, making it easier on everyone and cutting down on the number of random subjects being discussed. :)

That would be an idea. Yes.

Quote from: cypdevil on December 23, 2010, 10:45:32 AM
Okay, I have successfully installed version 1.1.12 and added the Stop Spammer package – but not where I want it!

In fact, I have installed it on completely different Apache server without the slightest difficulty.

etc etc

I knew it was something wrong with your server.

You should consider anyway to open a thread about it in a more general section, as this is not a problem only for people using this mod, but for everybody using SMF.
Title: Re: Stop Spammer
Post by: Propbndr on December 23, 2010, 04:59:13 PM
Tried to install Version 2.3.8 and got a test failure.  It reads:

nstalling this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/ManageMembers.template.php    Test failed
2.    Execute Modification    ./Themes/default/Register.template.php    Test successful
3.    Execute Modification    ./Sources/ManageRegistration.php    Test failed
4.    Execute Modification    ./Sources/ManageMembers.php    Test failed
5.    Execute Modification    ./Sources/Register.php    Test successful
6.    Execute Modification    ./Sources/Subs.php    Test failed
7.    Execute Modification    ./Sources/Subs-Members.php    Test successful
8.    Execute Modification    ./Sources/Profile.php    Test successful
9.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
10.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
11.    Execute Modification    ./Themes/default/languages/Modifications.english_british.php    Skipping file
12.    Execute Modification    ./Themes/default/languages/Modifications.english_british-utf8.php    Test successful
13.    Execute Modification    ./Themes/default/languages/Modifications.spanish.php    Skipping file
14.    Execute Modification    ./Themes/default/languages/Modifications.spanish-utf8.php    Skipping file
15.    Execute Modification    ./Themes/default/languages/Modifications.spanish_es.php    Skipping file
16.    Execute Modification    ./Themes/default/languages/Modifications.spanish_es-utf8.php    Test successful
17.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Skipping file
18.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin-utf8.php    Test successful
19.    Extract File    ./Sources/StopSpammer.php    
20.    Extract File    ./Themes/default/images/icons/spammer.gif    
21.    Extract File    ./Themes/default/images/icons/suspect.gif    
22.    Extract File    ./Themes/default/images/icons/moreinfo.gif    
23.    Execute Code    install_1.php
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 23, 2010, 06:11:02 PM
Quote from: Propbndr on December 23, 2010, 04:59:13 PM
Tried to install Version 2.3.8 and got a test failure.

If I remember properly you are using SMF 1.1.12 Is that right?

With so many "Test failed" you either have something wrong in your SMF installation or you have a mod that is not compatible with this one. Could you give me a list of the mods you have in your forum?

I can see also that you have "spanish" language packages in your forum. If you can speak Spanish better than English we can sort your problem here instead:

http://www.simplemachines.org/community/index.php?topic=291588.0

I speak good English, but I am Spanish and can really speak a lot faster in my own language.  ;D
Title: Re: Stop Spammer
Post by: Propbndr on December 24, 2010, 06:49:09 AM
I have all the default smf language packages installed but speak only English.  Yes, I am using smf version 1.1.12.

Here is the list of mod packages:

   Mod Name     Version     
1.    SimplePortal    2.3.3    
2.    SimplePortal    2.3.2    
3.    Stop Spammer    2.3.7    
4.    httpBL    2.4    
5.    KeyCAPTCHA for SMF1.1.x    1.0    
6.    New Topic in Seperate Color    1.1       
7.    SMF 1.0.20 / 1.1.12 Update    1.0    
8.    The Rules    1.3

The most recent package I installed is the KeyCAPTCHA mod.  I uninstalled it but it did not help, I still get the same test failures.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 24, 2010, 09:54:08 AM
If you already have installed Stop Spammer 2.3.7 you need to uninstall it first before you install 2.3.8

The same goes with SimplePortal. You should have uninstalled first version 2.3.2 before installing version 2.3.3
Title: Re: Stop Spammer
Post by: Propbndr on December 24, 2010, 10:47:53 AM
That worked! Thanks, you might want to mention the uninstall requirement in the install instructions.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 24, 2010, 11:09:03 AM
I did:

Quote
?   How to Update:

?   Uninstall & Update. It's not necessary to re-edit the template files
unless you have in your template folder the file
ManageMembers.template.php or Register.template.php
Title: Re: Stop Spammer
Post by: butchs on December 24, 2010, 03:47:52 PM
Yay an update!
O:)
Title: Re: Stop Spammer
Post by: Lou69 on December 24, 2010, 06:06:37 PM
Quote from: cypdevil on December 23, 2010, 10:45:32 AM
Okay, I have successfully installed version 1.1.12 and added the Stop Spammer package – but not where I want it!

I have been in constant correspondence with the ISP concerned but am not getting very far. This morning, I sent them a very strong message implying that, despite their protestations, the problem seems to fall fairly and squarely into their court. To be fair, this ISP runs something over 250 servers plus another 150 dedicated to MySQL. It may just be only one of the servers that has this problem. For this reason, I don't wish to publicly denounce them. If anyone wishes to know whether a problem is similar, please PM me with the name of your ISP and the name of the server you been allocated on. I'll reply to the effect of whether it's the same or completely different.


Not sure of all the issues with the server an your installations, but this link may  be of some help to you.

http://www.simplemachines.org/community/index.php?topic=411970.0

Title: Re: Stop Spammer
Post by: Andrijachi on December 25, 2010, 06:14:30 AM
I have installed new version of Stop Spammer v. 2.3.8. (and uninstalled old version before).
Problem is that i can not enable it in check box ?!
I can see option, click on it, an save, but it is not accepting.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 25, 2010, 07:21:55 AM
Quote from: Andrijachi on December 25, 2010, 06:14:30 AM
I have installed new version of Stop Spammer v. 2.3.8. (and uninstalled old version before).
Problem is that i can not enable it in check box ?!
I can see option, click on it, an save, but it is not accepting.

Quote from: snoopy_virtual on December 23, 2010, 02:50:21 PM

  • The mod now haven't got a default API key and it won't work if you haven't got one. As requested by Stop Forum Spam's admin here: http://www.simplemachines.org/community/index.php?topic=283309.msg2853286#msg2853286

Quote
If you want to use your own API key you must go first to www.stopforumspam.com (http://www.stopforumspam.com/signup) to sign up for one and write it here. If you haven't got one you cannot use this mod.
Title: Re: Stop Spammer
Post by: Andrijachi on December 25, 2010, 08:37:28 AM
Thanks snoopy!
Title: Re: Stop Spammer
Post by: Sudhakar Arjunan on December 26, 2010, 05:01:37 AM
Installed perfectly.

But i could not see the functionalities as shown in images.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 26, 2010, 05:38:29 AM
Quote from: A.SK on December 26, 2010, 05:01:37 AM
Installed perfectly.

But i could not see the functionalities as shown in images.

Have you activated the mod?
Title: Re: Stop Spammer
Post by: Sudhakar Arjunan on December 26, 2010, 05:51:30 AM
Quote from: snoopy_virtual on December 26, 2010, 05:38:29 AM
Have you activated the mod?

Hi Snoopy, it went directly to registration settings page.

I had a doubt, if ticked is that enabled ? then its already there is a check mark.

But i could not enter the api key, since the site does not allow signups any more.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 26, 2010, 06:47:27 AM
Quote from: A.SK on December 26, 2010, 05:51:30 AM
But i could not enter the api key, since the site does not allow signups any more.

I was talking a minute ago with Stop Forum Spam's admin and he told me they haven't change it. You just need to register in their forum and you will get an API key. As it has been for years.
Title: Re: Stop Spammer
Post by: Galaxy Computers on December 26, 2010, 09:20:21 AM
Hello Snoopy,

Is this mod availible for RC3 version? Because I am not ready for RC4 just yet. Because I have installed it on version RC3 and I can't seem to get it working.
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 26, 2010, 10:26:03 AM
Quote from: MorrisGiftShop on December 26, 2010, 09:20:21 AM
Is this mod availible for RC3 version? Because I am not ready for RC4 just yet. Because I have installed it on version RC3 and I can't seem to get it working.

When installing this mod in RC3 it should give you an error with the file Subs.php

Did you see that error?

Anyway that error is not important at all and you can ignore it, but you shouldn't have installed the mod if there was any more errors.

Did you see any more errors while installing the mod?

If there was no more errors (apart from the error with the file Subs.php) and you have already installed the mod, you shouldn't have any problem using it. You just need to go to www.stopforumspam.com to register with them, ask them for your own API key, write it down inside the mod and activate it.
Title: Re: Stop Spammer
Post by: Sudhakar Arjunan on December 26, 2010, 10:26:44 AM
Quote from: snoopy_virtual on December 26, 2010, 06:47:27 AM
I was talking a minute ago with Stop Forum Spam's admin and he told me they haven't change it. You just need to register in their forum and you will get an API key. As it has been for years.

Hey Snoopy,

Now they have updated their signup page and asked us to signup on the forum to generate a api key.

Earlier it was not there, ok i have done with the forum registration and api key generation now.

The mod is working fine as proposed. Keep rocking thanks for the fastest support snoopy. Thank you.
Title: Re: Stop Spammer
Post by: Galaxy Computers on December 26, 2010, 10:58:58 AM
Quote from: snoopy_virtual on December 26, 2010, 10:26:03 AM
Quote from: MorrisGiftShop on December 26, 2010, 09:20:21 AM
Is this mod availible for RC3 version? Because I am not ready for RC4 just yet. Because I have installed it on version RC3 and I can't seem to get it working.

When installing this mod in RC3 it should give you an error with the file Subs.php

Did you see that error?

Anyway that error is not important at all and you can ignore it, but you shouldn't have installed the mod if there was any more errors.

Did you see any more errors while installing the mod?

If there was no more errors (apart from the error with the file Subs.php) and you have already installed the mod, you shouldn't have any problem using it. You just need to go to www.stopforumspam.com to register with them, ask them for your own API key, write it down inside the mod and activate it.

I have activated the mod,,,, and looked in "View All Members" nothing has changed it is still showing like it was a orignal. Why is it not changing?
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 26, 2010, 11:20:30 AM
Quote from: MorrisGiftShop on December 26, 2010, 10:58:58 AM
I have activated the mod,,,, and looked in "View All Members" nothing has changed it is still showing like it was a orignal. Why is it not changing?

Very difficult to say without more information about your forum.

You haven't answer yet my first questions:

Quote from: snoopy_virtual on December 26, 2010, 10:26:03 AM
When installing this mod in RC3 it should give you an error with the file Subs.php

Did you see that error?

Anyway that error is not important at all and you can ignore it, but you shouldn't have installed the mod if there was any more errors.

Did you see any more errors while installing the mod?

But anyway, I would need to know a few more things:

Quote from: snoopy_virtual on December 24, 2010, 11:09:03 AM
?   How to Update:

?   Uninstall & Update. It's not necessary to re-edit the template files
unless you have in your template folder the file
ManageMembers.template.php or Register.template.php

Do you have any of those 2 files in your particular Theme folder?

Do you have any other mods that could be interfering with this one?

If you answer all that I can start looking into it, but maybe it would be faster if you contact me using a messenger program:

Do you have either Skype, Yahoo or MSN?
Title: Re: Stop Spammer
Post by: Galaxy Computers on December 26, 2010, 11:33:46 AM
QuoteWhen installing this mod in RC3 it should give you an error with the file Subs.php

Did you see that error?

Anyway that error is not important at all and you can ignore it, but you shouldn't have installed the mod if there was any more errors.

Did you see any more errors while installing the mod?

"Yes" I did get an error for Subs.php and "No" I didn't see any more errors while installing the mod.

Quote?   How to Update:

?   Uninstall & Update. It's not necessary to re-edit the template files
unless you have in your template folder the file
ManageMembers.template.php or Register.template.php

Currently I am using the SMF Default Curve and both files are in the default folder.

Title: Re: Stop Spammer
Post by: Galaxy Computers on December 26, 2010, 11:57:46 AM
Nevermind I have got it working, I had it disabled.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on December 29, 2010, 03:52:39 PM
I have this on my site and my fiance's site and it works great but I am also a mod on another site I recommended this to and when he upgraded to 1.12 the images disappeared (even though they are there). I told him to install the latest version. Will that work or is there something else he should do? Does he need to uninstall the old version?

Sorry lack of information here but since I am not the admin of his site but just the spam fighter this is all I can say..
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 29, 2010, 05:43:59 PM
I suppose it is because your friend haven't got an API key from www.stopforumspam.com

All the mods without their own API key stopped working when the admin of that site deleted the default API key this mod was using before, due to abuse of some people.

To sort the problem he should register in www.stopforumspam.com, ask for an API key and then update to the new version.

And yes, to install the new version he will need to uninstall first the old one.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on December 29, 2010, 10:39:23 PM
Quote from: snoopy_virtual on December 29, 2010, 05:43:59 PM
I suppose it is because your friend haven't got an API key from www.stopforumspam.com

All the mods without their own API key stopped working when the admin of that site deleted the default API key this mod was using before, due to abuse of some people.

To sort the problem he should register in www.stopforumspam.com, ask for an API key and then update to the new version.

And yes, to install the new version he will need to uninstall first the old one.

Thanks. I sent him a PM about this referring him to this thread.
Title: Re: Stop Spammer
Post by: cypdevil on January 03, 2011, 03:48:43 AM
I have a suggestion for future versions. Basically, it is to add a weighted score based on the profile summary and, if the score exceeds an arbitrary value, then it flags the yellow or red icons. This is based on the probability of spammers' behaviour when a bot fills in the form. It would probably not catch a manual spammer. I base this on a subjective appreciation of several 100 profiles. I'm not a php scripter, so I'll illustrate what I mean in plain language.

If Name >8 characters add +1 to score (the actual values are arbitrary. Few genuine names are long, many spammers ones are)

If Name has both alpha and numeric characters +1

If Name is a listed forename -2 (a db of common forenames is needed)

If IP is same as another registered IP +2

If IP is country specific to N. America or Europe -1

If Hostname ends in .cn, .ru, (etc,) +5

If Hostname is same as (contains?) IP +3

If ICQ, AIM, MSN or YIM -1 (spammers rarely fill these in)

If Email domain yahoo, gmail, hotmail or similar +2

If Email name = Name -1

If Website -1 (85% spammers don't add one, 45% hammers do)

If Gender, Age, Location, Language, Signature -1 each

If Additional Information -2
___________

If score >10 (arbitrary figure), automatically ban, fix Name in ad hoc db, delete and add to spammer db
If score >2 raise check warning.

If one of you scripting wallahs wishes to pursue this idea, I can fill in more details.

Title: Re: Stop Spammer
Post by: Angie on Dialysis on January 03, 2011, 07:19:08 AM
I don't think all of those triggers would be good indicators of a new registrant being a spammer.

First of all, I have seen real people register with email addresses as their name (and I have had to change them for them for security reasons) and I have also helped people get their computers clean that were sending out spam emails without them knowing or talked them how to get their email clean if it was hijacked (I know 4 people in the last 6 months alone that that happened to). Also I have seen plenty of spammers fill in the ICQ, AIM, MSN or YIM with real looking information as well as real people DO use gmail (I do) and yahoo (I do) and hotmail (almost my whole family does even though I told them how much it sucks). Also many MANY times spammers will put in a website address but many times spammers wait until they know they got into the forums successfully and then will edit their profile to add their website after they feel you are no longer going to keep an eye on their profile information. Gender, Age, Location is the same like ICQ, AIM, MSN or YIM. Some will fill ALL these out and other spammers will only fill out what is necessary. Signature is the same as personal website .. they wait to add it once you are not looking at their profile anymore as they want to make sure you don't remove it as to them it is the same as spamming links in threads except less of a chance of you catching it in profiles.  Also when it comes to letting more than one registrant per IP I have my forums set up so that they must contact me first as I have had fellow family members with the same IP want to register. They get flagged if they have the same IP right now on my forums.

The thing is, what you are suggesting will ONLY work if ALL spammers are alike. Sadly they are not.

Even though instant ban would only happen if a new member is from China or Russia (I have had a valid one from China before) at least what your suggesting is not terribly bad. Just think it needs more research.

There are spammers that use programs to spam (what we know as spam bots) and there are spammers that use templates (or formats as they call them) to know what to put where without even going to the forums and just letting their spam programs visit through proxies. Actually no anti-spam method is fail proof. Spammers will use hijacked email accounts or quickly generated ones or ones like mail.com where you can even choose your own domain (it is disturbing how they can register as @accountant.com or @doctor.com and have no affiliation with the sites called accountant.com or doctor.com) and go through proxies so you can't pinpoint their IP neither. Then there area REAL members who will use alternate emails as they have heard the horror stories of spammers getting their email off forums and then spamming them. Take for example Earthlink email. You can make an email that ends in @mypacks.net which is great because that way spammers don't get your real email address and just send to that one. But that email address at mypacks (is Earthlink but ends in mypacks) will commonly be blocked on forums by people who do not realize that email address is very rarely (if ever) abused since it is a paid ISP email account). There are also spammers that their whole job is just to attempt to register but not follow through just so they can record the format of how the registration form looks. Then that gets passed on to other spammers who fill it out without reading it (they don't need to know your language that way).  If one thing I would like to see in all forums would be a feature where the order of things would constantly change so that spammers would no longer be able to depend on .. name first.. password, .. email ..  and so on.

That is why I like the Stop Spammer plugin that checks current black list called Stop Forum Spam. You click on the magnified glass and can check the black list and if there has been no bad activity within the last few months it will say something like:

"No activity seen from this IP in approx 4 months"

Cypdevil, do you feel that your forums are getting hit with an unusual amount of spammers? Spammers are attracted to a few things when it comes to forums:

Forums that allow guests to see profiles (because then spammers know when they register that any links they put in their profile will be seen by search engines .. at least that is how they think).

Forums that have email addresses are showing up visibly (because there are a type of spammer out there called Email Harvesters that record all email addresses they can find to add to lists to sell to others spammers to spam those email addresses). On my forums even members cannot see the email addresses! Only admins can!

Forums that are not on top of spam or hosted on a site that has security holes such as sites that have a weak email form on it (SMF forums have a good one .. I am talking about something I noticed years ago on my site outside of the forums that I have fixed since) or poor scripted image uploader or old version of Copermine installed.

Sorry I am not knocking your ideas. Just letting you know that innocent people would be caught by those triggers you suggested as well and that there is a lot more to spammers that just annoying Russians..
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 03, 2011, 10:07:20 AM
@cypdevil I was going to answer you with something very similar to what Angie have already said, so I won't repeat it.

I will only add that anyway I think the idea is interesting. I will think about it more in the future.

@Angie KidneyKorner If you don't mind I am going to bookmark your post for future references. For example, when I finally find some time to write the tutorial for this mod, it will save me a lot of time if I quote some parts of this post instead of writing them myself.

QuoteThat is why I like the Stop Spammer plugin that checks current black list called Stop Forum Spam. You click on the magnified glass and can check the black list and if there has been no bad activity within the last few months it will say something like:

"No activity seen from this IP in approx 4 months"

That's something I have already in my TODO list to add it in future versions in a more automated way.

The way it is just now, the mod check if a spammer is in the SFS (Stop Forum Spam) DB at registration time looking only at the username, IP and/or email, but it never looks into the "amount of days since last bad activity" (if you want to do that you need to do it manually as you explained).

The way I'm planing will be something like:

The email is in SFS DB => 99% sure it's a spammer => Go to approval and let the admin decide.

IP in SFS DB AND the last bad activity was just a few days ago => 99% sure it's a spammer => Go to approval and let the admin decide.

IP in SFS DB BUT the last bad activity was ages ago => almost sure it's NOT a spammer => Let the guy register but tell the admin to keep an eye just in case.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on January 03, 2011, 10:56:45 AM
Quote from: snoopy_virtual on January 03, 2011, 10:07:20 AM

@Angie KidneyKorner If you don't mind I am going to bookmark your post for future references. For example, when I finally find some time to write the tutorial for this mod, it will save me a lot of time if I quote some parts of this post instead of writing them myself.

QuoteThat is why I like the Stop Spammer plugin that checks current black list called Stop Forum Spam. You click on the magnified glass and can check the black list and if there has been no bad activity within the last few months it will say something like:
"No activity seen from this IP in approx 4 months"

That's something I have already in my TODO list to add it in future versions in a more automated way.

The way it is just now, the mod check if a spammer is in the SFS (Stop Forum Spam) DB at registration time looking only at the username, IP and/or email, but it never looks into the "amount of days since last bad activity" (if you want to do that you need to do it manually as you explained).

The way I'm planing will be something like:

The email is in SFS DB => 99% sure it's a spammer => Go to approval and let the admin decide.

IP in SFS DB AND the last bad activity was just a few days ago => 99% sure it's a spammer => Go to approval and let the admin decide.

IP in SFS DB BUT the last bad activity was ages ago => almost sure it's NOT a spammer => Let the guy register but tell the admin to keep an eye just in case.

Sounds good! I know many people are like my fiance who just checks to see if they are red and goes by that. Most aren't like me and actually investigate but if any doubt just deny. I actually like to let them in a special section that only their member group can see (suspicious) and let them post and see if they spam or not and if they spam I add the data to blacklists I have API keys at. Most can't be bother to investigate but just want their forums clean. So I think the ideas you have are great and will improve this mod greatly!

Yeah you can quote me. :)

Another thing I noticed is it only checks on registration and if it is a new spammer (not blacklisted yet in Stop Forum Spam) then it will show up as blue.  I check manually anyway when they are blue and sometimes they are red by that time and I am glad I checked. ;)
Title: Re: Stop Spammer
Post by: plugger on January 03, 2011, 01:21:31 PM
Hi,

I'm the friend who Angie spoke of.  I went to the Stop Forum Spam site and got a new API key as instructed, uninstalled and reinstalled the SFS software as instructed - spammers are still getting blocked the same way: either I've got their IPs blocked or the SFS software checks the database and blocks them if it finds them there.  For me, I might actually prefer that, unless the SFS software is blocking people with common names spammers might also use, as Angie pointed out to me.  Otherwise if somebody is being blocked in error I guess I figure they can contact me through the website.

But let me say this has been one great mod!  It has saved me a lot of headaches.

Chris
http://www.dialysisethics2.org/
Title: Re: Stop Spammer
Post by: GJSchaller on January 03, 2011, 01:47:31 PM
Something I ran into this morning - a Human / Manual Spammer made a post that I needed to remove.  Before I could whack the Spam account, I needed to report the account, delete the account, and then delete the post - three separate actions.

The ability to simply mark a post as Spam and, in one shot: A) Report the spammer, B) Disable or Delete the account, and C) Delete the post, would be great.  It would consolidate several steps into one, making it a lot less work (and a lot less frustrating) to deal with spammers and spam comments.

The other thought that came to mind is that when removing accounts using the Stop Spammer control panel, it should ask (or let you set an option) to delete that user's posts, too.  This way, if a Spammer makes several posts, you can whack them all at once when removing the account, rather than hunting them down manually.

Thank you!
Title: Re: Stop Spammer
Post by: impreza on January 03, 2011, 02:48:53 PM
Good modification, thank you
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 03, 2011, 08:00:56 PM
@Angie KidneyKorner

I suppose you don't have mod httpBL. If you had it you wouldn't have so many spammers registering.

@plugger

I wouldn't recommend you to check usernames. A lot of normal names are already inside the DB, so it's not really worth it. I have been even thinking on deleting completely that option.

@GJSchaller

2 really nice suggestion. Added to the TODO list.

@tomeh

You are welcome.
Title: Re: Stop Spammer
Post by: plugger on January 03, 2011, 09:53:51 PM
Quote from: snoopy_virtual on January 03, 2011, 08:00:56 PM


@plugger

I wouldn't recommend you to check usernames. A lot of normal names are already inside the DB, so it's not really worth it. I have been even thinking on deleting completely that option.


Actually, I'm not sure what I'm checking right now.  I reinstalled the SFS software and I can see from the error log the SFS database is being checked and spammers are being stopped, but I'm not sure what is being checked to stop them.  I'm looking through the settings of the forum software but so far haven't found anything where I could change the settings.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 03, 2011, 10:06:22 PM
Go to Admin => Members => Registration => Settings => Scroll down and you will find the Stop Spammer settings.
Title: Re: Stop Spammer
Post by: plugger on January 03, 2011, 10:17:10 PM
Ok, I see it now!  I've got the username option box unchecked.  Should be good!

Thanks again for all your help!  (Eyes aren't what they used to be)

Love this anti-spam software!  Felt like a cockroach infestation on our old forums at times.
Title: Re: Stop Spammer
Post by: Squash on January 04, 2011, 09:45:40 AM
Just wanted to say thank you for a wonderful anti spam add-on. Awesome
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 04, 2011, 09:54:40 AM
You are welcome
Title: Re: Stop Spammer
Post by: tm82 on January 04, 2011, 02:36:25 PM
Great mod, thanks snoopy for the continued development! 

I've noticed since about 12 hours ago, every check results in "yellow" icons.  I went to the stopforumspam.com site, requested, received, and set my own "API Key", but still same results.  Anyone else noticing this?
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 04, 2011, 08:22:10 PM
It's strange. I had to check today a few members I had no errors. Maybe the server was down just when you were checking.

Are you still getting yellow icons?
Title: Re: Stop Spammer
Post by: tm82 on January 04, 2011, 09:35:04 PM
Quote from: snoopy_virtual on January 04, 2011, 08:22:10 PM
It's strange. I had to check today a few members I had no errors. Maybe the server was down just when you were checking.

Are you still getting yellow icons?

Yes, just check at time of this posting.  Anything I should ask of my ISP?
Title: Re: Stop Spammer
Post by: busterone on January 04, 2011, 09:49:09 PM
It sounds like your host may not be allowing the connection to the SFS website. I would check that first.

I have been running checks sporadically for about the last 5 hours with no issues.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on January 04, 2011, 11:30:55 PM
Quote from: snoopy_virtual on January 03, 2011, 08:00:56 PM
@Angie KidneyKorner

I suppose you don't have mod httpBL. If you had it you wouldn't have so many spammers registering.

@plugger

I wouldn't recommend you to check usernames. A lot of normal names are already inside the DB, so it's not really worth it. I have been even thinking on deleting completely that option.

I actually do have httpBL on my medical forums



but Sandmansa doesn't have it on his and Plugger doesn't have it on his. I help both of them out when it comes to educating them and beating the spammers. Same with yet a 3rd guy who isn't a member of these support forums who I convinced to switch from phpBB3 to SMF.

@ Plugger: Are you seeing the magnifying images yet?

Because for me as moderator on your forums with the power to see the members list from admin I don't..
And I checked on my own forums and on Sandmansa (where I have admin with him) and we both have it there.

It is the admin section where you Manage members.

Because you have no pending spammers right now I just looked at all members and there should be magnifying glasses there as well and there isn't..
...index.php?action=viewmembers;sa=all

I will take a picture the next time a spammer is flagged on your forums Plugger to post here as I don't think they realize what your issue is.

All I can do is show how it USED to look on his forums .. don't know what happened to break it:

How it SHOULD look:


How it looks NOW:
(best I could do since no spammers right now awaiting action)


Quote from: snoopy_virtual on January 04, 2011, 08:22:10 PM
It's strange. I had to check today a few members I had no errors. Maybe the server was down just when you were checking.

Are you still getting yellow icons?

I get that sometimes too. I just assume that at the time of it checking that it just could not reach Stop Forum Spam for some reason. Either server side where my site is hosted or Stop Forum Spam's side .. which is where Stop Spammer checks..



Sandmansa has gotten the same thing:

Title: Re: Stop Spammer
Post by: cypdevil on January 05, 2011, 07:05:31 AM
Quote from: Angie KidneyKorner on January 03, 2011, 07:19:08 AM
I don't think all of those triggers would be good indicators of a new registrant being a spammer.

I agree with you that taking just one or two of the factors would be meaningless. However, perhaps you haven't cottoned on to the statistical probability of ALL of them adding up sufficiently to give a warning or filtering out altogether. This is a Bayesian technique, the same as is used for the more sophisticated e-mail spam filtering software, such as POPFile. I don't deny the possibility of small numbers of false positives or false negatives, especially as there are not many factors to go on. However, if it is done correctly, I wouldn't mind betting it would capture 80-90% of the non-blacklisted ones that complete registration, whether activated or not. In fact, I think it would do better than the blacklist.

The beauty of the system is flexibility due to weighting and this would be easy to modify as spambotters improve their techniques to keep up with them.

As it is analogous, let's go back to e-mail spam filtering. The first apps relied on black/whitelisting and I found them pretty useless, rarely catching more than 60-70% of spammers. I then went on to POPFile, using Bayesian techniques. Unfortunately, my ISP pre-filters spam, which scares the proverbial out of me (this will be changed shortly), so that it is not given a full chance to work properly. Have a look at this:
Classification Accuracy
Messages classified:    13,455
Classification errors:    72
Accuracy:    99.46%
Because of the pre-filtering, there is a spam rate of only 8.32% of all messages. This app filters not only spam from ham, but it classifies the ham into any number of separate "buckets" (mailboxes). These are my results:
Messages Classified
Bucket         Classification Count    False Positives    False Negatives
comm         554 (4.11%)    9    5
cypnat         149 (1.10%)    0    12
ipc         8,087 (60.10%)    3    12
mug         1,753 (13.02%)    6    1
personal         1,751 (13.01%)    39    17
spam         1,120 (8.32%)    11    25
unclassified         41 (0.30%)    4

These figures apply over 16 months of received e-mails. Before my ISP applied pre-filtering my accuracy figures were usually between 99.7% and 99.9%. This was because the relatively small numbers of spam (most people get >70%) did not allow a large spam corpus to be developed.

Title: Re: Stop Spammer
Post by: snoopy_virtual on January 05, 2011, 08:57:08 AM
@cypdevil

That's why I said that anyway I thought the idea was interesting and I will think more about it.

In fact we have already been following a similar approach for other work we are working on. (You may already know about it. If not, you will vey soon). But just now I wouldn't follow that path with mod Stop Spammer.

We could, if we wanted to join all the anti-spam solutions together in just one big one, taking all the possible anti-spam measures at the same time, and with a huge config page where users would be able to switch ON and OFF any of them they wanted.

But I don't think this will be practical. Just now I am concentrating more on doing a different plugin for every different anti-spam approach but making all of them compatible with each other, so the users can decide what plugins suit more their particular forum and just install the ones they need.

Following this path of a different plugin for every different anti-spam solution, your idea would have nothing to do with mod Stop Spammer, as it's only based on Stop Forum Spam DB. Your idea would have more to do with what something like "Bad behavior" should be. Or at least that's the path I started planning when Butchs asked me if I wanted to implement bad-behavior (http://www.bad-behavior.ioerror.us/) into a SMF plugin. At the end I never had time to continue that work with Butchs and I'm not sure if he has implemented in his mod that ideas (I didn't even had time yet to really check what Butchs' Bad behavior mod actually does).

But anyway all this will change completely when we finish the other work I told you we are working on just now. So we will see what the future brings.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 05, 2011, 09:14:50 AM
Quote from: Angie KidneyKorner on January 04, 2011, 11:30:55 PM
All I can do is show how it USED to look on his forums .. don't know what happened to break it:

Do you mean mod Stop Spammer is not working properly for you just now? I'm lost now. I thought that was already sorted.

If it's not, contact me through Skype so I can understand it better and sort it.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on January 05, 2011, 01:00:30 PM
Quote from: snoopy_virtual on January 05, 2011, 09:14:50 AM
Quote from: Angie KidneyKorner on January 04, 2011, 11:30:55 PM
All I can do is show how it USED to look on his forums .. don't know what happened to break it:

Do you mean mod Stop Spammer is not working properly for you just now? I'm lost now. I thought that was already sorted.

If it's not, contact me through Skype so I can understand it better and sort it.

For just Plugger, it is not working on his forums for both of us. It works great on my forums and on my fiance's. It is only Plugger's that isn't working.



@ cypdevil: I just meant if it was part of Stop Spammer. Sorry if I came across too harsh but I thought you meant changing Stop Spammer which I worried would have too many false positives on certain types of forums. But I do like the idea and I like Snoopy's idea of how it would be separate but compatible and think it would work great. I just was worried about it being too harsh for some forums (like gamer forums have different types of registering members normally that are not spammers than medical forums I have noticed). Flexibility is important to me as not all sites need the same type of security / flags.

@ Snoopy I like your idea for "join all the anti-spam solutions together in just one big one / different plugin for every different anti-spam approach but making all of them compatible with each other, so the users can decide what plugins suit more their particular forum and just install the ones they need.". I like the way you think.
Title: Re: Stop Spammer
Post by: tm82 on January 05, 2011, 06:10:32 PM
I looks like what's happening is, once a user is flagged with 'yellow' icons, they stay 'yellow'.  I've seen new registrants get marked 'red', but when I go to check existing "Awaiting Approval" with yellow icons they stay yellow.  They got yellow originally because apparently the sfs database was down for a bit.

Does this make sense?  Any way to clear out the 'yellow' status?
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 05, 2011, 06:28:28 PM
When somebody gets a yellow icon is because your server in not connecting with sfs server.

But if it's yellow now and you check the same guy again it will turn to red or blue (depending in if it's on the DB or not). It will only stay yellow if there is no connection again with sfs server.

At least that's the way the mod works for everybody. If it's not working like that for you there is a mistake somewhere.

Can any of you contact me through Skype so I can see the problem with my own eyes and sort it?
Title: Re: Stop Spammer
Post by: tm82 on January 05, 2011, 07:20:25 PM
Quote from: snoopy_virtual on January 05, 2011, 06:28:28 PM
When somebody gets a yellow icon is because your server in not connecting with sfs server.

But if it's yellow now and you check the same guy again it will turn to red or blue (depending in if it's on the DB or not). It will only stay yellow if there is no connection again with sfs server.

At least that's the way the mod works for everybody. If it's not working like that for you there is a mistake somewhere.

Can any of you contact me through Skype so I can see the problem with my own eyes and sort it?

Sure we can connect via video on Skype.  I'll send you my skype id via email.
Title: Re: Stop Spammer
Post by: smartdeviceresource on January 05, 2011, 07:51:44 PM
@snoopy please don't remove username check as I find this much more useful than IP Address.  Almost all Spammers I've run across use checkable usernames and Emails.  IP Addresses tend to end up forbidding many of my non-spammer members.

:)
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 06, 2011, 03:32:05 PM
@tm82> email answered

@smartdeviceresource> Don't worry, I won't. Even if I find a better solution to do the same I will leave the options there just in case somebody prefer to do it the old way.
Title: Re: Stop Spammer
Post by: tm82 on January 06, 2011, 03:34:40 PM
@snoop-

This is in regards to existing members staying "yellow", yet new spammers trying to register are marked "red"...  In looking through code and my database, tell me if this is possible: I think it's a memory and/or PHP limitation.  I say this because when I first installed the mod, I thought, "wow seems to be a helluva lot of spammers in my membership".  So I raised the max number of members shown on a page to 900 and started going through the membership page by page scanning everyone.  Eventually it stopped working and I thought maybe stopforumspam was able to limit my connections.. ok.  But next day I noticed the problem described in my original post.  Now I'm thinking that when StopSpammer.php generates the $members_data array, this thing is huge because in looking at my database, there are thousands of entries in there where 'is_spammer' is non-zero.  So I think it's blowing up somehow... make sense?  If you agree with my analysis then I think the thing for me to do is go into the database and clear the is_spammer fields and start over.... what do you think?
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 06, 2011, 06:15:46 PM
Depending on your server configuration you can have problems when trying to check too many members at the same time. I have never tried in my server to check more than 20 members at the same time, but of course the limit will be different for every server.

Anyway I think it will be faster for you to check just the "yellow" ones one at a time. If you change the value of "is_spammer" in all the DB and start all over again you will have the same problem.

If you have too many "yellow" ones maybe you can try to check them 5 at a time (to save time) but, as I said, it would be better if you check them one by one. At least, if you only check one member, you shouldn't have any problems.
Title: I believe there is a bug related to unapproved member count
Post by: akc42 on January 07, 2011, 01:30:44 PM
I just found a case where the unapproved member count gets to be wrong.

This is because SMF (using 2.0RC4) doesn't adjust the count if the registration method is not = 2 (admin approval required), where as StopSpammer creates unapproved members if they are a spammer.

I think the relevant code is in Subs.php and should be as follows (the approveAccountDeletion test is a patch to fix another problem with the approved membership counting).


// Are we using registration approval?
if ((!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 2) || !empty($modSettings['approveAccountDeletion']) || ($modSettings['stopspammer_enable'] && $modSettings['stopspammer_api_key'] != ''))




I am not 100% sure I got the right place, because it looked to me before as through the count got updated when deleting via the approval list.  This time I deleted the members from the membership list.



Title: Re: Stop Spammer
Post by: Sir_Trout on January 09, 2011, 12:56:56 PM
Just installed this mod on Ver 1.1.12 and installed just fine with no errors. 

Then I checked if it connected to the remote host and it did.  "Your host can make remote connection with the DB"

The I went to "Awaiting Approval" to check out some new members and I can't see the mod?

I went back to "Admin > Members > Registration > Setting" and the "Enable/Disable MOD Stop Spammer:" box was not check so I check and saved it.   But when I come back it is still uncheck and I can see the mod any where?

And Ideas on how to fix this?

Thank You.

-ST
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 09, 2011, 08:21:16 PM
I am finishing a new version.

It will be ready very soon.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 09, 2011, 10:02:16 PM
Link to mod (http://custom.simplemachines.org/mods/index.php?mod=1547)

MOD Stop Spammer v2.3.9
==================


Authors:M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997) and snoopy_virtual (http://custom.simplemachines.org/mods/index.php?action=profile;u=68708)
Version:2.3.9
Release:9th January 2010
Compatible With:SMF 1.1.1 - 1.1.12
SMF 2 RC4

Change Log:




Quote


Version 2.3.9 - 9th January 2010

  *Changes in the API key. From this version the API key is ONLY needed
to report spammers, NOT to check them
  !Fixed the bug about once a member is marked "yellow" always stay yellow,
reported by tm82 here (http://www.simplemachines.org/community/index.php?topic=283309.msg2904748#msg2904748) with the solution proposed by himself
  +Added the buttons to "Check" and "Report" members also to the pages
"Waiting for approval" and "Waiting for activation"
  +Added a system to check if the mod is ON, if it is up-to-date and if the
connexion with Stop Forum Spam's DB is OK
  *Changed 2 lines and added 10 new lines in language files
  ?Uninstall old version and install new one
  ?No need to edit manually any template file unless you are not using
the default Theme and you have the files Register.template.php or
ManageMembers.template.php inside the folder of the particular
Theme you are using

QuoteLegend

oFeature
*Change
+Added
-Eliminated
!Bug Fixed
?How to Update

Let me explain a little some of the changes:

The first thing I want to say is this is not the big update I was planning and I have been working on lately. I have released this small update because there were a couple of things that were urgent:


When the admin in SFS (Stop Forum Spam) site asked me to remove the default API key from the mod, and ask every body using this mod to ask for their own API keys (what I did in version 2.3.7 a couple of weeks ago) I understood it wrong.

I thought I was suppose to change the mod so it would not work at all without an API key. But talking lately with SFS admin he explained to me that it's not necessary to have an API key to check his DB. You only need one if you want to report spammers. So I have changed again the mod so it works now like that.


The first time they asked me about this problem I thought the mod was not working properly for them because there was a mistake in their server or something like that, but tm82 has discovered it was actually a bug in the code. Luckily he is good with code and he found the solution at the same time. Thanks mate.  ;)

===============

Apart from these 2 urgent things, there was also a few other things that I had already done for the new version (the big one I am still working on) so I have added them to this small update:


This has been requested many times and it has been in my TODO list for too long. At last it's done.


Self-explanatory.

===============


As always. I just put it here just in case somebody doesn't know it.

No need to edit manually any template file unless you are not using the default Theme and you have the files Register.template.php or ManageMembers.template.php inside the folder of the particular Theme you are using

===============

I will continue working on the rest of the things I have in my list. For example the bug about unapproved member count going wrong:

Quote from: akc42 on January 07, 2011, 01:30:44 PM
I just found a case where the unapproved member count gets to be wrong.

This is because SMF (using 2.0RC4) doesn't adjust the count if the registration method is not = 2 (admin approval required), where as StopSpammer creates unapproved members if they are a spammer.

... etc

Yes, the place in Subs.php you have suggested is one of the pieces of code involve, but there are more. Also the problem with that is SMF 1.x works different than 2.x when counting them, so there are a lot more things to consider there if I want the mod to work fine for both.

With the new big update, one of the things I am doing is to separate completely the files for both versions 1.x and 2.x (as I have them for example in mod httpBL) so it will be easier then to sort things like that.
Title: Re: Stop Spammer
Post by: Sir_Trout on January 10, 2011, 10:34:33 AM
Quote from: Sir_Trout on January 09, 2011, 12:56:56 PM
Just installed this mod on Ver 1.1.12 and installed just fine with no errors. 

Then I checked if it connected to the remote host and it did.  "Your host can make remote connection with the DB"

The I went to "Awaiting Approval" to check out some new members and I can't see the mod?

I went back to "Admin > Members > Registration > Setting" and the "Enable/Disable MOD Stop Spammer:" box was not check so I check and saved it.   But when I come back it is still uncheck and I can see the mod any where?

And Ideas on how to fix this?

Thank You.

-ST


The new Version ficed the problem I was able to remove 98 spammers from my forum.  Many of them I have blocked myself but some I missed.

Thanks
Title: Re: Stop Spammer
Post by: busterone on January 10, 2011, 04:20:14 PM
Thanks Snoop.  :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 10, 2011, 04:26:29 PM
You are welcome  ;)
Title: Re: Stop Spammer
Post by: henrik1782 on January 11, 2011, 04:45:31 AM
Hi Snoopy...

This seems to be a great mod to. Just installed it.

Is it right that there is no log or place to manage this mod...? When the status box shows that it have found 3 spammers are there any way to se their IP's.

Best regards
Henrik Poulsen
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 11, 2011, 05:13:17 AM
Hi Henrik

One of the things I have in my TODO list is write a tutorial for this mod and update the FAQ M-DVD wrote in Feb 2009:

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

I never find time to do it, but that FAQ is a good starting point to understand the way the mod work.

A lot of things have changed in the mod since then, but I think you may find there answers for all your questions.

If after reading it you still don't understand something let me know.
Title: Re: Stop Spammer
Post by: henrik1782 on January 11, 2011, 06:32:04 AM
Thanks snoppy...

And great work!
Title: Re: Stop Spammer
Post by: PhobosK on January 11, 2011, 08:25:17 PM
As we know there is a bug in counting "Awaiting for approval" + there is another bug connected to this one:
i.e. if there are several spammers to be checked/approved (and none of their names is shown as the "Latest Member" + there is no other new user registered after them), if we delete/approve any of them (excluding the last registered) the last that have registered is shown as "Latest Member", although he is not approved yet.

I have created a patch for all this, and have tested it for a couple of days realtime, and it works fine for me. Probably a more extensive testing is needed though.

The patch is made on the basis of 1.1.12 SMF version and concerns only the Sources/Subs.php file.

Feedback is welcome...
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 12, 2011, 04:29:40 AM
Thanks PhobosK. I will take a look at that.
Title: Re: Stop Spammer
Post by: PhobosK on January 12, 2011, 02:12:01 PM
I have made some more modifications and added some new features.

1. FIXED show all spammers even those that have been banned (is_activated=13 && is_spammer > 0)
2. FIXED updating of "Awaiting for approval" count, total users count etc
3. FIXED listing only active users as "Latest Member"
4. FIXED the assignment of is_activated 3 or 13 when a spammer is found, depending on the ban status of the found spammer
5. ADDED a "spam status" search criteria in the "Search Members" function
6. ADDED a "banned status" search criteria in the "Search Members" function. This should probably go to main upstream SMF branch anyway.
7. TODO adding appropriate marking of users with (is_spammer > 0 && is_activated != 3 && is_activated != 13). For example marking with an orange icon and text color of these members, so admins to have info that these users are potential spammers or whatever...
8. TODO adding an option to clear member's spam status (i.e. is_spammer) would be nice.
9. TODO adding an option to clear the blocked spammers count would be nice too.
10. TODO adding stats info about the blocked spammers in the "Registration" module options would be nice too.
I do not have time to implement these TODOs... so i leave this to others ;)

The patch should be applied on a working SMF 1.1.12 with installed StopSpammer Mod 2.3.9 (Of course that means you will need to uninstall the mod manually when a new version comes out).
The patch is with a -p1 option when put in the SMF forum folder.
The patch includes all previous modifications mentioned in my previous post(i.e. makes the previous attachment - Subs.php.diff - obsolete).
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 14, 2011, 07:20:07 AM
@PhobosK>

I have started already analysing your work and found it very interesting indeed.

I didn't have time yet to analyse it properly yet, as I haven't got a lot of free time just now and I am using almost all of it to finish the tutorial for mod httpBL (that was supposed to be finished ages ago) but I can see you have already sorted a few things I had in my TODO list for mod StopSpammer, so that will save me a lot of time when I continue working on the next version for this mod. (Really appreciate that. Thanks.  ;) )

Anyway, as this support post is visited by a lot of people with very few programming knowledge, I always try to use as less technical words as possible (so everybody can understand it), so I have opened inside my personal forum a sub-forum "For developers only" where we can discuss all those new improvements (or any other new ideas anybody else may have) using a more proper language. (As I did as well for mod httpBL long time ago).

So, whenever I have time to analyse properly all the new improvements you have published here, I will be doing it inside that "For developers only" sub-forum.

If you are interested in reading it (or to participate in it) you can find it here:

http://www.snoopyvirtualstudio.com/foro/index.php?board=38.0

And thanks again for your efforts. Keep the good work!  ;)
Title: Re: Stop Spammer
Post by: grimm on January 17, 2011, 04:44:44 AM
hello there,

I just installed your Mod but I get the error message that it cannot connect to the anti-spam database

SMF 2 RC4
Stop Spammer 2.3.9
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 17, 2011, 08:20:20 AM
Have you tried the solution suggested in the FAQ?

http://www.simplemachines.org/community/index.php?topic=283309.msg1920848#post_issues
Title: Re: Stop Spammer
Post by: gizmo71 on January 20, 2011, 02:46:53 AM
Since I upgraded to 2.3.9 on SMF 1.1.12 I've been seeing a lot of these in my error log:8: Undefined index: id
File: ..../smf/Sources/ManageMembers.php
Line: 745


It looks like this code is wrong:// Don't report yourself, idiot :P
if ($value == $user_info['id'] || '1' == $value)
unset($_POST['todoAction'][$key]);
and should actually say// Don't report yourself, idiot :P
if ($value == $ID_MEMBER || '1' == $value)
unset($_POST['todoAction'][$key]);
to match the piece of code it's appended to. Looks like it's been copied over to SMF 1 from the SMF 2 version.
Title: Re: Stop Spammer
Post by: Arantor on January 20, 2011, 03:28:35 AM
$user_info['id'] exists in SMF 1.1.x as well, just it's not brought into scope.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 20, 2011, 04:33:14 AM
I saw it in my logs a couple of days ago as well.

I haven't said anything about it because it's only an error in the logs not affecting at all the way the mod is working, so I think it's not urgent.

I used $user_info['id'] instead of $ID_MEMBER because $user_info was already declared global in that function and $ID_MEMBER wasn't, and I didn't want to declare more globals if we didn't need them.

But it seems that, even with $user_info declared global at that point, $user_info['id'] has not been defined. (Don't really see why).

Anyway, thinking about that, I realized we don't need to check if the user is the admin there or not, because that part is inside the list of members waiting for approval or waiting for activation, and I don't think it would be possible that any admin could be in any of those lists.

So I think I should change all that part from:


// Clean the input.
foreach ($_POST['todoAction'] as $key => $value)
{
$_POST['delete'][$key] = (int) $value;
// Don't report yourself, idiot :P
if ($value == $user_info['id'] || '1' == $value)
unset($_POST['todoAction'][$key]);
}


To just:


// Clean the input.
foreach ($_POST['todoAction'] as $key => $value)
$_POST['delete'][$key] = (int) $value;


Either that or declare $ID_MEMBER as global and use it instead of $user_info['id'].

Also I don't think it has anything to do with SMF 1 or 2. I suppose the error must be the same in both of them.

The problem I have is I am having lately almost no spammers at all, so it's not easy for me to check all this.

I have even set up 2 new forums (one with SMF 1.1.12 and another one with SMF 2.0 RC4) with no other anti-spam things (no mod httpBL, no captchas, no anti-spam questions, etc) only with mod Stop Spammer, to see if I can check all this, but even with no more anti-spam measures, I am getting only 2 or 3 spammers a week, so it's not easy to do tests.

As soon as I found out what is the best way I will add it to the new version I'm doing.
Title: Re: Stop Spammer
Post by: Arantor on January 20, 2011, 04:35:48 AM
QuoteAlso I don't think it has nothing to do with SMF 1 or 2. I suppose the error must be the same in both of them.

SMF 2 doesn't have $ID_MEMBER...
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 20, 2011, 04:44:35 AM
So to avoid problems it would be better to use $ID_MEMBER for SMF 1.x and $user_info['id'] for SMF 2.x

Ain't it?
Title: Re: Stop Spammer
Post by: Arantor on January 20, 2011, 04:51:52 AM
Well, I'd say use $user_info['id'] or $context['user']['id'] if they've been declared, because they should be consistent...
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 20, 2011, 05:20:37 AM
That's what I thought and that's why I used $user_info['id'], but apparently the key "id" has not been defined at that point yet.

Anyway all that is a little rhetorical. As I said I don't think we even need any of them at that point:

All that is inside a function to report to Stop Forum Spam members inside the "Waiting for Approval" and "Waiting for Activation" lists and I cannot see any situation where an admin can be in any of those lists.
Title: Re: Stop Spammer
Post by: Arantor on January 20, 2011, 05:51:51 AM
There is one situation where an admin might, actually. When an email address changes, the common scenario is for email re-activation (which occurs by fudging is_activated in the members table for that user) and even an admin should require reactivation IIRC.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 20, 2011, 06:05:24 AM
True enough. You are right (as usually ;D )
Title: Re: Stop Spammer
Post by: gizmo71 on January 20, 2011, 06:18:45 AM
You've used $ID_MEMBER in the delete section (directly above the one that's wrong) - they should at the very least be consistent. ;)

Personally I'll patch it via my own mod until it's fixed (like I did with the last undefined index problem); I scan the error log at least once a week as it's a useful way to spot hacking attempts and other hidden problems.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 20, 2011, 06:42:20 AM
In the other section (when you are viewing all the members) it uses in fact $ID_MEMBER, but that variable is declared global before.

If you want to use it as well in the other section you need to remember to declare it global before using it or you will get an error.
Title: Re: Stop Spammer
Post by: SiL on January 20, 2011, 07:38:37 PM
Quote from: PhobosK on January 12, 2011, 02:12:01 PM
I have made some more modifications and added some new features.

5. ADDED a "spam status" search criteria in the "Search Members" function
6. ADDED a "banned status" search criteria in the "Search Members" function. This should probably go to main upstream SMF branch anyway.

I had played with a few options in the search members functions too, one was to find members with any of the three criteria (ip,uid,email) and another check mark to display the "is_spammer" value just to verify the values set for the SFS data looked up. I haven't had the time to look closely at StopSpammer agin for a while, but a bit of free time over xmas break allowed me to see where the mod had been going.

Quote
7. TODO adding appropriate marking of users with (is_spammer > 0 && is_activated != 3 && is_activated != 13). For example marking with an orange icon and text color of these members, so admins to have info that these users are potential spammers or whatever...
8. TODO adding an option to clear member's spam status (i.e. is_spammer) would be nice.
9. TODO adding an option to clear the blocked spammers count would be nice too.
10. TODO adding stats info about the blocked spammers in the "Registration" module options would be nice too.
I do not have time to implement these TODOs... so i leave this to others ;)

The way I see it is that the "is_spammer" db is a binary bitwise entry that represents the data (email,uid,ip) as the 3 bits of tinyint. This entry is then also used for status for spammer/not spammer.  It then requires a bit of extra processing in the registration section, so that the admin/mod can allow/refuse registration. As you can see in {7.} above, the simple test is that if any of the criteria are met, (is_spammer >0) the "status" is set for is spammer.

Which perhaps defeats the potential value of weighting the data that SFS supplies (i.e. bit 2="4" = email;   bit 1 = "2" = uid;  bit 0 = "1" = ip;)
And because the "is_spammer" db is used for status, it makes it a bit more of a challenge to correct false positives and also clear the spammer status even if SFS has an entry in some of the fields.

I've looked at the db entries, and one way to make the processing of the spammer status and registration and clearing of that status easier would be to have a separate boolean value for "is_spammer" (lets call it "spammer_confirmed").  That way the algorithm for making the decision could be put in one place, perhaps easier adjusted or modified, have variable settings according to the end users preference (as I suggested earlier, the integer value of "is_spammer" equal to or greater than three as an automatic threshold is one option to fix false positives).

It could be added by changing "is_spammer" to TINYINT(4) and setting the most significant bit as the actual "spammer_confirmed" status, (or just adding a simple boolean to the block of settings an calling it "stopspammer_confirmed" or something similar).

To go with this, I would add an extra colour to the stopspammer icons, which is orange (warn). What this would mean is that this member has any of the "is_spammer" bits 0,1,2 set (i.e. there is some data present at SFS for this potential or already registered member).  When a member is actually identified as a spammer, either through the logic of the mod itself or by an admin/mod identifying spammer activity, bit 3 is set (i.e. "is_spammer" >= "8") and the icons are set to red. {or the setting "stopspammer_confirmed" is set}

To go with this would be a user setting for an automatic spammer threshold, which uses the integer value of "is_spammer".

perhaps "Paranoid" = is_spammer >= 1
            "Cautious" = is_spammer >=3
            "Safe" = is_spammer >=5

Once over the threshold the "spammer_confirmed" status could be automatically set.
What would then be visible for the admin is the orange flag members who are below the threshold, but may need to be observed. The options for enabling/disabling checking ip,uid,email in the settings would not be needed, for all three would always be looked up. 

Alternative settings items would be for an "automatic" processing {on/off}, and the integer value for the threshold for setting the "spammer_confirmed" flag. Clearing the "spammer_confirmed" flag would be a straightforward action for clearing a member's spam status (as in 8. above)

I hope this suggestion provides some "food for thought"

Sil
Title: Re: Stop Spammer
Post by: PhobosK on January 21, 2011, 02:00:12 AM
Well i think your idea is great. I like it.
But @Snoopy (@snoopy_virtual), wanted this thread to be a support one,  (with less tech and dev details). I am sure he will read this suggestion, but you can continue with the discussion on his specialised  board if you want - http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=407.0 .
Sorry but since I totally dislike the license of SMF (incl Mods and stuff) I am not interested in it anymore and i will be moving on to a proper and more feature rich GPL'd solution...

P.S. BTW the captcha and the link obfuscation for the new members' posts here is really VERY ANNOYING...
Title: Re: Stop Spammer
Post by: gizmo71 on January 21, 2011, 03:58:27 AM
Here's my patch (in mod form) to 2.3.9 for SMF 1 to eliminate the 'id' missing index error log entries, in case anybody else wants to keep their logs clean.
Title: Re: Stop Spammer
Post by: Arantor on January 21, 2011, 04:08:52 AM
You're not allowed to just post modified versions of mods without the author's permission (for copyright reasons)
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on January 21, 2011, 04:17:37 AM
Quote from: Arantor on January 21, 2011, 04:08:52 AM
You're not allowed to just post modified versions of mods without the author's permission (for copyright reasons)

He didn't. Look at the file size. 1kb? Stop spammer is about 21 times bigger than that..  ;)

His attached file is a mod that contains fixes for Stop Spammer.



Jason
Title: Re: Stop Spammer
Post by: Arantor on January 21, 2011, 04:19:35 AM
Under copyright law it's considered a derived work which is still a grey area...
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on January 21, 2011, 04:22:55 AM
Quote from: Arantor on January 21, 2011, 04:19:35 AM
Under copyright law it's considered a derived work which is still a grey area...


Only if he used code from the original mod.



Jason
Title: Re: Stop Spammer
Post by: Arantor on January 21, 2011, 04:26:04 AM
Which it does since it's a mod package, which does a find/replace on the original mod and so includes some of the mod's code.

It will also, incidentally, break trying to uninstall the original mod later but that's a limitation of SMF's package manager.
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on January 21, 2011, 04:48:42 AM
Quote from: Arantor on January 21, 2011, 04:26:04 AM

It will also, incidentally, break trying to uninstall the original mod later but that's a limitation of SMF's package manager.


True, but if you just uninstall it before you uninstall the original mod, it won't right? [/n00b]


Whoops sorry. Broke my noob tag, there.  :-X
Title: Re: Stop Spammer
Post by: Arantor on January 21, 2011, 04:59:54 AM
QuoteTrue, but if you just uninstall it before you uninstall the original mod, it won't right? [/n00b]

Yes, that's correct - but you have to remember to do that in the right order.
Title: Re: Stop Spammer
Post by: kat on January 21, 2011, 07:20:59 AM
Quote from: Arantor on January 21, 2011, 04:08:52 AM
You're not allowed to just post modified versions of mods without the author's permission (for copyright reasons)

I've contacted the author, to see if he has a problem, with that.

If he has, it'll go.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 21, 2011, 02:22:41 PM
Quote from: SiL on January 20, 2011, 07:38:37 PM
I had played with a few options in the search members functions too,
... etc ...
I hope this suggestion provides some "food for thought"

Yes, a lot of "food for thought" indeed.

I still have in my TODO list some more things you suggested some time ago. As I have already said a few times I am working on a big change for this mod. The next version is going to have a lot of improvements and all that started with your first suggestions, so I will add all these new ones together with all the rest to study them.

The problem is I never have too much free time and I have been concentrated lately in minor fixes. Not as important as all this but more urgent.

Quote from: PhobosK on January 21, 2011, 02:00:12 AM
Well i think your idea is great. I like it.
But @Snoopy (@snoopy_virtual), wanted this thread to be a support one,  (with less tech and dev details). I am sure he will read this suggestion, but you can continue with the discussion on his specialised  board if you want - http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=407.0

Well ... One thing is what I would like and another thing is what happens normally. I would also like to win the lottery one day and it's not happening.  ;D

In fact very few people know about the other forum, so very few people read it. Almost everybody comes here instead, so if anybody ask here a tech question I normally just answer it here with tech language.

It's not a big deal really.

Quote from: PhobosK on January 21, 2011, 02:00:12 AM
P.S. BTW the captcha and the link obfuscation for the new members' posts here is really VERY ANNOYING...

I didn't know they have added that for newbies. If it was there when I was one, I don't remember it (it was so long ago ...  ;D )

I have said a lot of times what I think about captchas and all that (being a nuisance for humans but not really stopping robots at all), so I won't repeat it here.

Anyway there is an easy way to avoid that. At least that's what I do in any forum with that system:

Enter the chit-chat section and write a few posts with quick jokes. I don't know what number of posts you need to go from "Newbie" to "Semi-Newbie", but cannot be more than 10  ;)

Quote from: gizmo71 on January 21, 2011, 03:58:27 AM
Here's my patch (in mod form) to 2.3.9 for SMF 1 to eliminate the 'id' missing index error log entries, in case anybody else wants to keep their logs clean.

Yes. As I said, that's the solution I think I will add to the next version.

I need to check first if that's compatible with all the more popular mods (to keep it compatible with as many users as possible) so, if anybody uses that file and sees an error please tell me here.

Anyway, you should have made it clear it's only for SMF 1.1x and not for SMF 2.x (for example saying it in the readme file) and you should have prevented that file from installing in any 2.x forum, changing inside package-info.xml this: <install> and this: <uninstall> for <install for="1.1.1 - 1.99.99"> and <uninstall for="1.1.1 - 1.99.99">

If anybody try to install that in a 2.x forum they will have a problem.

Quote from: Arantor on January 21, 2011, 04:08:52 AM
You're not allowed to just post modified versions of mods without the author's permission (for copyright reasons)

Technically gizmo71 should have ask me first, but I am not really worried about that.

In fact all my work is not copyrighted, but copylefted  ;D

But as a general rule all the newbies should keep that in mind. Some people get angry when things like that happen.

For example, when I am going to use somebody elses work I always ask them first even if they state in their files you don't need to.

Quote from: żεχเ๏ภ on January 21, 2011, 04:48:42 AM
Quote from: Arantor on January 21, 2011, 04:26:04 AM

It will also, incidentally, break trying to uninstall the original mod later but that's a limitation of SMF's package manager.

True, but if you just uninstall it before you uninstall the original mod, it won't right?

Yes. That would be what to do.

In fact that's another thing gizmo71 should have added to the readme text.

Quote from: K@ on January 21, 2011, 07:20:59 AM
Quote from: Arantor on January 21, 2011, 04:08:52 AM
You're not allowed to just post modified versions of mods without the author's permission (for copyright reasons)

I've contacted the author, to see if he has a problem, with that.

If he has, it'll go.

You have contacted me?

Where?

Cannot see any new PMs or emails.  :o
Title: Re: Stop Spammer
Post by: kat on January 21, 2011, 02:38:11 PM
I sent a PM!

Or, maybe I sent it to Princess Anne, or someone... ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 21, 2011, 03:08:45 PM
Quote from: K@ on January 21, 2011, 02:38:11 PM
I sent a PM!

Or, maybe I sent it to Princess Anne, or someone... ;)

I suppose you sent it to the original author M-DVD

He left SMF in September 2009 and asked the customizers to change the mod to my name, but I told him to add me instead as co-author and leave his name on, just in case someday he comes back (you never know what the future will bring ..  ;) )

From September 2009 to February 2010 (when the customizers added my name as co-author) he entered SMF only on very few occasions. Mostly just to remember the customizers to do something about it and to upload a few fixes I had done for the mod but couldn't upload myself yet.

From February 2010 he hasn't been here at all, so if you get an answer from that PM let me know. We were very good friends and I would like to get in touch with him again.  ;)
Title: Re: Stop Spammer
Post by: PhobosK on January 21, 2011, 03:11:33 PM
Quote from: Arantor on January 21, 2011, 04:08:52 AM
You're not allowed to just post modified versions of mods without the author's permission (for copyright reasons)

Hahahah... LOL This is exclusive...

@snoopy_virtual,
So that is the famous @Arantor with the forthcoming fork that we expect to be more "Open Sourced" etc? LOL... Unbelievable...

Does anybody see the ludicrous situation here?

Someone decided to help SMF and one of its mods by fixing a bug... and it turns out he is doing a very bad thing... breaking the law etc...

I propose @gizmo71 to be committed to the flames for his great sin  ;D... LOL sorry for the sarcasm but this situation is really so gross...

This is not only ridiculous but also very frustrating and immature...

Anyway I am out of here and I hope i will never be asked by any of my clients to install SMF for them... And even if they ask me i promise i will do my best to make them understand the necessity of staying as far away as possible from applications with licenses like this one....

Oh and i am really very sorry i left some code for this thing.... Anyway @snoopy_virtual is allowed to use it as he wishes....
Title: Re: Stop Spammer
Post by: kat on January 21, 2011, 03:12:21 PM
Just checked my outbox.

Yep, that's who it went to. :)
Title: Re: Stop Spammer
Post by: gizmo71 on January 21, 2011, 03:33:45 PM
Quote from: PhobosK on January 21, 2011, 03:11:33 PM
I propose @gizmo71 to be committed to the flames for his great sin  ;D... LOL sorry for the sarcasm but this situation is really so gross...

Don't worry, I shall take myself off to Castle Anthrax immediately for a good spanking.

The mini-mod contains nothing more than the code I posted here whilst discussing the bug; I deliberately only posted it as an attachment here and not as a full mod as a convenience for anyone searching for an answer to the problem I had; I can't imagine anyone else would even find it, let alone install it.

But in future I'll just complain. ;) :-*
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 21, 2011, 03:41:03 PM
@PhobosK and @gizmo71

Did any of you read the part of my post where I said I don't mind at all anybody doing this, because all my work is not copyrighted, but copylefted?
Title: Re: Stop Spammer
Post by: PhobosK on January 21, 2011, 03:43:45 PM
Quote from: gizmo71 on January 21, 2011, 03:33:45 PM
But in future I'll just complain. ;) :-*
Heheh well yeeesss...
it seems that this is what the devs of SMF deserve and are after  ;D  8)  :)

@snoopy_virtual,
I am not sure that your consent is enough in this case.... I think we need the consent of THE GODS of SMF here too :D

Anyway forget it...
Title: Re: Stop Spammer
Post by: Arantor on January 21, 2011, 06:24:05 PM
Unfortunately unless it's stated somewhere pretty clearly, copyright law applies which is the basis for my posts. It sucks, but unless there is a licence or some other document stating the situation, that's how it goes. I had forgotten that snoopy is listed as co-author which under legal parlance means he has a non-exclusive right to redistribute and modify (including produce derived copies of) the original work, so he's all good, and good to give consent too.

QuoteSo that is the famous @Arantor with the forthcoming fork that we expect to be more "Open Sourced" etc? LOL... Unbelievable...

Where did we say the fork was open sourced? Because it isn't. It'll be freely downloadable but not open source.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 21, 2011, 08:05:03 PM
Quote from: Arantor on January 21, 2011, 06:24:05 PM
Where did we say the fork was open sourced? Because it isn't. It'll be freely downloadable but not open source.

I am not a specialist in "legal" matters (the only thing I really consider myself a specialist is in playing the piano, what I have been doing now for 50 years and got me almost everything I have) but I always thought "open source" is any code I can read. Opposite to "encrypted" or "closed" source.

For example to me Windows is "closed source" because, if I want to read the code, I cannot do it with a normal text processor, but will need any kind of reverse engineering to do it.

Anyway, I suppose this thread is not the best place to talk about it.
Title: Re: Stop Spammer
Post by: butchs on January 21, 2011, 08:09:50 PM
Quote from: Arantor on January 21, 2011, 06:24:05 PM
Where did we say the fork was open sourced? Because it isn't. It'll be freely downloadable but not open source.

Speaking of which, I read many of the posts and to date I have seen no logical reason why you have such bad blood with SMF?  I am sorry to ask but I have seen no body do anything really dastardly to you?
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 21, 2011, 08:19:27 PM
Obviously you haven't been reading the proper ones.  ;)
Title: Re: Stop Spammer
Post by: PhobosK on January 21, 2011, 08:22:10 PM
Quote from: Arantor on January 21, 2011, 06:24:05 PM
Where did we say the fork was open sourced? Because it isn't. It'll be freely downloadable but not open source.

LOL excuse my ignorance about the future fork.... but actually i do not care a bit...

My question was more like rhetorical and was for someone we had a discussion about forks...
And what i was implying was that such licenses do not help development of any project... and lead to the childish behaviour of mature developers...
Anyway I am very far from questioning the copyright laws and the rights of SMF and stuff... Just stated my personal opinion...
Or this is against the licence too huh? :D

P.S. @Snoopy I apologise you for bloating the thread with all this. I promise I will not do it anymore...
Title: Re: Stop Spammer
Post by: butchs on January 21, 2011, 08:30:22 PM
Quote from: snoopy_virtual on January 21, 2011, 08:19:27 PM
Obviously you haven't been reading the proper ones.  ;)

Probably.  ???
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 21, 2011, 08:49:50 PM
Quote from: PhobosK on January 21, 2011, 08:22:10 PM
P.S. @Snoopy I apologise you for bloating the thread with all this. I promise I will not do it anymore...

I suppose I haven't got any kind of copyright about this thread.  Do I?
Title: Re: Stop Spammer
Post by: gizmo71 on January 22, 2011, 03:35:59 AM
Quote from: snoopy_virtual on January 21, 2011, 03:41:03 PM
@PhobosK and @gizmo71
Did any of you read the part of my post where I said I don't mind at all anybody doing this, because all my work is not copyrighted, but copylefted?

Yes, and I want you to know that my sarcasm was not directed at you at all - in fact I'd like to take this opportunity to again thank you for all the hard work you've put into this excellent mod. 8)
Title: Re: Stop Spammer
Post by: Mayhem30 on January 22, 2011, 01:34:33 PM
When using this mod, if I go to : Admin > Members > Awaiting Activation - and checkmark anyones name and click on the "Check these members" button, it fills up my error log with these messages  :

8: Undefined index: id
File: /www-data/example.com/forum/Sources/ManageMembers.php
Line: 736


I'm using the latest v2.3.9
Title: Re: Stop Spammer
Post by: gizmo71 on January 22, 2011, 02:01:30 PM
Quote from: Mayhem30 on January 22, 2011, 01:34:33 PM
When using this mod, if I go to : Admin > Members > Awaiting Activation - and checkmark anyones name and click on the "Check these members" button, it fills up my error log with these messages  :

8: Undefined index: id
File: /www-data/example.com/forum/Sources/ManageMembers.php
Line: 736


I'm using the latest v2.3.9

grins madly

If you go back a page, and assuming you're on SMF 1 still, I posted a little mini-mod (http://www.simplemachines.org/community/index.php?topic=283309.msg2922656#msg2922656) to cure this...
Title: Re: Stop Spammer
Post by: Mayhem30 on January 23, 2011, 12:39:11 AM
Quote from: gizmo71 on January 22, 2011, 02:01:30 PM
Quote from: Mayhem30 on January 22, 2011, 01:34:33 PM
When using this mod, if I go to : Admin > Members > Awaiting Activation - and checkmark anyones name and click on the "Check these members" button, it fills up my error log with these messages  :

8: Undefined index: id
File: /www-data/example.com/forum/Sources/ManageMembers.php
Line: 736


I'm using the latest v2.3.9

grins madly

If you go back a page, and assuming you're on SMF 1 still, I posted a little mini-mod (http://www.simplemachines.org/community/index.php?topic=283309.msg2922656#msg2922656) to cure this...

Thanks, but i'll wait for an offical update. It makes no sense to install a mod - just to patch another one.
Title: Re: Stop Spammer
Post by: Goss on January 24, 2011, 11:13:56 AM
I just installed this mod and while it seems to be working, I'm not getting the "# users awaiting approval" message on the forum index.  I only see it if I go to the members section of the Admin CP.  I'm using a custom theme and my forum is set to automatic registration.  How would I get that "# users awaiting approval" to appear on the forum?
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 25, 2011, 11:32:24 AM
Quote from: Goss on January 24, 2011, 11:13:56 AM
I just installed this mod and while it seems to be working, I'm not getting the "# users awaiting approval" message on the forum index.  I only see it if I go to the members section of the Admin CP.  I'm using a custom theme and my forum is set to automatic registration.  How would I get that "# users awaiting approval" to appear on the forum?

That would depend on the template you are using, because you will need to find an empty space to put it.

Anyway I could give you the code you need to use and you could try to find where to put it yourself, but the answer will be different if you are using SMF 1.1.x or 2.x

What version of SMF are you using?

Look also inside the Theme you are using for the file index.template.php

Inside that file check if you have a place where it says:

// If the user is logged in, display stuff like their name, new messages, etc.

And give me the code after that (the next 30 lines or so) because that's normally the best place to put it.

Or even better, attach here your index.template.php file so I can see it.
Title: Re: Stop Spammer
Post by: Goss on January 25, 2011, 12:54:45 PM
Oops, knew I forgot something.  I'm using SMF 2.0 RC4 and I've attached my index.template.php file.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 25, 2011, 01:17:29 PM
Ok, I have attached here your file already modified.

I have added this code at line 217:


// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';


I don't know if that's the best place for you (as I don't know your Theme) but if you don't see it properly in that place, maybe you can move it somewhere else.

Let me know.
Title: Re: Stop Spammer
Post by: Goss on January 25, 2011, 03:59:25 PM
Hm, I'm still not seeing it anywhere.  In fact, I checked the default theme and it isn't there either.  Is this an option I need to toggle on somewhere?

Edit: Nevermind, I tested it by switching to registration approval and registering a test account.  I guess it didn't appear when I checked the current memberbase with the mod. 

Thanks for the help!
Title: Re: Stop Spammer
Post by: forumbikspc on January 27, 2011, 09:50:33 AM
Hi,

I've installed the Stop Spammer Mod in my SMF version 1.1.12. The problem is that i use a customized theme in my forum so this MOD don't work.
Can somebody help me change the theme to work with Stop Spammer?

Sorry about my english.

Best Regards.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 27, 2011, 10:33:00 AM
@forumbikspc

Depending on how good you are reading code and modifying PHP files I can give you a longer or shorter explanation.

The easiest way (assuming you already have some experience modifying PHP files) would be to go to the mod main page:

http://custom.simplemachines.org/mods/index.php?mod=1547

- Look on the top right corner, underneath the links to download the mod.

- Choose the file for the mod (StopSpammer_v2_3_9.zip) not the language file (language_full.zip)

- Inside the dropdown next to "Manual instructions for ..." choose you SMF version (1.1.12)

- And press the button "Parse".

That will give you all the details for all the changes the mod needs to do in your SMF files, so you can compare them to see if the changes have been done or not.

(By the way, this is a general way to do it, valid for all the mods, not only this one).

You will see that most of the changes are inside files in your /Sources/ folder. As those files are independent of the Theme you are using, you can forget about them. We can assume the mod has already modified them.

Concentrate then in the changes inside the /Themes/default/ folder.

As you can see the mod has modified the files:

* ManageMembers.template.php
* Register.template.php

But only inside the /Themes/default/

So now you should look inside the folder of your customized theme and see if you have there any of those 2 files and do all the needed changes manually.

But if you don't have some experience modifying PHP files and you cannot do it yourself, just attach here your files ManageMembers.template.php and/or Register.template.php (your customized ones, not the default ones) and I will do those changes for you.

That would be a lot faster for me than trying to explain it.  ;)
Title: Re: Stop Spammer
Post by: forumbikspc on January 27, 2011, 11:41:30 AM
Thanks a lot!
I know a few thinks about modify php files so now the MOD is working.

Best Regards ;)
Title: Re: Stop Spammer
Post by: YoYoNation on January 28, 2011, 11:16:12 PM
Hello Snoopy et al,

I've tried to install your mod (I'm new at this, as someone used to always do it before for me) on my forum, but I can't seem to get it to work.

We have 11k+ users, and recently, we've been getting around 60 - 70 sign-ups PER DAY that all seem like spam accounts.

Could really use the great work you've done here on our forum.

Again though, I can't get it to work.  Would you be able to help me out if you have the time?

I'm using SMF 1.1.12.

Thanks much.

You can also e-mail me at p a t [at] yoyonation.com
Title: Re: Stop Spammer
Post by: Angie on Dialysis on January 29, 2011, 07:21:47 AM
Snoopy today on one of the forums I help admin on we got this error today and I want to know if it is just because the site went down (still don't know why til I talk to the top admin) or a separate issue. What ever it is it is just one error and seems fine now but just was curious:

Guest    Today at 03:01:45 AM
IP address 88.190.14.114 (http://www.stopforumspam.com/search?q=88.190.14.114)
?action=register2
Error with Anti SPAM DB. Connection Failed.
Please try again later, or Contact with the WebMaster
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 29, 2011, 08:02:37 AM
@YoYoNation

I think the best way would be to contact through Skype, MSN or Yahoo (I got the 3 of them) so I can teach you the easiest way to install a mod in SMF.

It's a little tricky if you don't know how, but it's very easy after you understand the basics.

My ID in Skype is snoopy_virtual_studio and you can see my MSN and Yahoo in my profile.

======================

@Angie

That error means there was no connection between the forum and the server in stopforumspam when that particular user was trying to register.

Normally that connection errors are only punctual (as you know) so if it was just one it's not a big deal.

Anyway, if you are getting that error it means in the mod settings (Admin=>Members=>Registration=>Settings) you have chosen the option "Show Error and Stop Registration" when the connection with stopforumspam fails.

Of course it's up to you what options you choose, but I always prefer the option "Member Approval and show yellow icon to check later".  ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 30, 2011, 04:52:22 AM
I have seen this question somewhere else:

Quote from: dubob4432 on January 28, 2011, 06:52:04 PM
been using 1.1.12 and stop spammer 2.3.7 for quit some time and all has been working well.  the last couple days, there is no longer a 'check this user' option when you click on a user when in the admin area, there is no text next to the magnifying glass next to the blue, yellow and red icons.

i see there is a 2.3.9 available, does this fix this and do i need to uninstall 2.3.7 before 2.3.9 and also will the info be transferred from 2.3.7 to 2.3.9 for those that have been found on our forum to be spammer?  would like to keep the data and not have to go through the members again as there are nearly 5000...

thanks in advance,
bob

Yes, you need to uninstall 2.3.7 and install the new version 2.3.9 as soon as possible.

That will sort all your problems.

And don't worry about all the old data, as all will be still there. Uninstalling a version and installing a new one doesn't erase any data at all if you use the automatic system with the "Packages Manager".

The only thing you need to check after doing it, is the folder of the Theme you are using (if you are not using the default one).

Let's suppose you are using a Them called yourtheme.

Go to the folder /Themes/yourtheme/

Check if inside it you have any of those files:


If you have any of them there, you will need to edit them to do the required changes manually.

If you don't know how to do that let me know.

=============================

I have answered it here because it's better to leave everything concerning this mod in just one topic.

This way, if anybody else has the same problem and comes here searching this topic they will see it has already been answered.
Title: Re: Stop Spammer
Post by: WasdMan on January 30, 2011, 11:36:33 AM
Enclose a translation of the Hungarian language version 2.3.9.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 30, 2011, 12:05:18 PM
Thanks WasdMan

I will add it to the languages package when I have some time.
Title: Re: Stop Spammer
Post by: dubob4432 on January 31, 2011, 05:41:13 AM
snoopy,

it has happend again after the 2.3.9 install.  it worked ok for a few hours, but now back to the same situation.  is there anything on my end that could be causing this?

i uninstalled the 2.3.9, deleted it and then re-installed it from the zip and back to where i was with the 2.3.7 of things not showing up correctly....

please advise,

thanks in advance,
bob
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 31, 2011, 05:55:08 AM
@dubob4432

Go to the mod settings page (Admin=>Members=>Registration=>Settings) and check what it says underneath "MOD Stop Spammer settings".

Can you see a green sign saying "Mod Stop Spammer is ON, it is up-to-date and the connection with Stop Forum Spam is perfect."?

If not, What colour is it and what it says?
Title: Re: Stop Spammer
Post by: dubob4432 on January 31, 2011, 06:07:03 AM
it did originally when i first changed it - green connection, all text present, but now when i look at it, there is no text and the 1st, 3rd & 4th checkboxes are checked and the api code is there, but no text in the dropdown where it is suppose to ask what to do if the server can't connect to the db.
Title: Re: Stop Spammer
Post by: dubob4432 on January 31, 2011, 06:10:42 AM
what is interesting is on my home test server, it is working fine - all text is present, just the main commercial server is having the issue.  i believe the main commercial server is hosted by godaddy if that matters.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 31, 2011, 06:20:03 AM
It looks like a language problem.

What languages have you installed in your forum?

Which one are you using?
Title: Re: Stop Spammer
Post by: dubob4432 on January 31, 2011, 06:29:20 AM
they are both english forums, could it be the db encoding like utf-8?  the commercial server use to be on a win machine, but now i see it is running apache, not sure when that changed happend but i will see if i can get the owner to get me permission to talk to godaddy and see if it was in the last few days to week and see if that had something to do w/ it.

also, it only installed the english file and skipped the others.  i will upate the home test server and see if the process is the same....
Title: Re: Stop Spammer
Post by: dubob4432 on January 31, 2011, 06:37:39 AM
there was a difference - on the commercial server i got an error when uninstalling both 2.3.7 and 2.3.9, and it was to this file - Themes/default/languages/Modifications.english.php
not so on the home test server.  i will see what the commercial server db is encoded is hopefully tomorrow.

thanks for all the help and hope this makes sense.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 31, 2011, 08:02:07 AM
If you are using only the "english" package the only language file modified by this mod is Modifications.english.php

Check inside your /Themes/default/languages/ folder, look for that file and check if you have the language strings for this mod.

You need to have all these lines:


// MOD Stop Spammer - START
$txt['stopspammer_error'] = 'Error with Anti SPAM DB. Connection Failed.<br />
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.<br />
If this error continues see Support Topic and search ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.msg1920848#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$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).<br />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 <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> to sign up for one and write it here. If you haven\'t got one you cannot report spammers with this mod.<br /><br />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 <a href="http://www.snoopyvirtualstudio.com/contact.php?language=english" target="_blank">see more info here</a>.';

// 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<br /><br />You need to register on their site first, ask them for an API key and then navigate inside your forum to:<br />Admin => Members => Registration => Settings<br />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 <a href="http://www.snoopyvirtualstudio.com/foro/index.php?board=31.0" target="_blank">official support forum</a>.';
$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'] = '<a href="http://www.snoopyvirtualstudio.com/foro/index.php?board=31.0" target="_blank">Please update it here whenever you can</a> 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
Title: Re: Stop Spammer
Post by: GJSchaller on February 02, 2011, 09:48:05 AM
Howdy!

First all, thank you SO much for all of the effort you've put into this - between this mod, and httpBL, my forums are a lot safer than they used to be...

With the install of 2.3.9, I've noticed that when I report an account as a Spammer, it no longer automatically flags that account after reporting it - I need to go back and re-check it, at which point it will flag it.  This was not the case in 2.3.8 or earlier - when I reported someone, it would automatically mark the account as a spammer.

I looked in the list of posts since 2.3.9 came out, but didn't see this reported - sorry if I missed this somewhere.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 02, 2011, 09:54:27 AM
Hi Geoffrey

Yes, I have noticed that mistake. I will sort it in the next update.
Title: Re: Stop Spammer
Post by: SulevFan on February 03, 2011, 03:21:01 PM
Hi, I have a few questions on whether I'm fully understanding how this mod works and how I should be using it.

When I first installed it, I had to run every page of mmy memberlist with a "Check this Member" to get suspect memebers highlighted. It also highlighted a knows nad respected member's IP address. :(

Now that I have the mod in place a few days, I have seen a few spammers register (they have links in their signatures) that are not highlighted and are not in the DB.  I then click on "Report this user." In my member list, nothing happens. I have to "Check this Member" again to get it flagged and moved to the Pending registration queue.  Am I missing something here?

Also, I assume this mod will not prevent deleted userids from attempting to register again in the future, so should I still keep ban lists in place and add the spammers to ban lists?

Thank you.
Title: Re: Stop Spammer
Post by: fr3aker on February 03, 2011, 03:46:16 PM
read two posts above yours, there the bug was reported ;)

when submitting the spambots to stopforumspam through this mod (or manually if you like too :D ), the IPs, usernames and email-addresses will get blacklisted and prevent future registrations of these bots. so you get them permanently blocked.
If you always do a "Report this user", they will be banned permanently.


greez fr3aker
Title: Re: Stop Spammer
Post by: SulevFan on February 03, 2011, 04:52:09 PM
Quote from: fr3aker on February 03, 2011, 03:46:16 PM
read two posts above yours, there the bug was reported ;)

when submitting the spambots to stopforumspam through this mod (or manually if you like too :D ), the IPs, usernames and email-addresses will get blacklisted and prevent future registrations of these bots. so you get them permanently blocked.
If you always do a "Report this user", they will be banned permanently.


greez fr3aker

OK, so I missed the bug report, thanks!  :)

Is there an "automatic" as well as manual method to submit reports?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 03, 2011, 04:53:33 PM
@SulevFan

I would only add one more thing to what fr3aker have already answered:

Reporting spammers with this mod is a lot better than banning them in your forum, because when you report them you are adding their IP, username and email address to the "database of known spammers", so they are banned not only from your forum, but also from all the forums using this mod, so we all benefit from that.

I am sorry about that bug you (and GJSchaller before you) reported. I know it's a nuisance having to click on them twice (one to report them and another one to check them again), but if you want to have it easier, I will recommend you to install as well mod httpBL (http://custom.simplemachines.org/mods/index.php?mod=2155).

With that mod the spammers report themselves (as you can see in this tutorial (http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2)).  ;)

Anyway, as I already told GJSchaller, that bug will be sorted in the next version of this mod.
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 03, 2011, 04:58:09 PM
Quote from: SulevFan on February 03, 2011, 04:52:09 PM
Is there an "automatic" as well as manual method to submit reports?

As you can see if you search this topic, we have talked a few times about what we call "false positives". People flagged as spammers but when you study them more carefully you find out they are honest people.

If one day we don't get any false positives at all we will implement some kind of automatic method to submit reports, but in the mean time every admin should check all the spammers caught by the mod to see if they are really spammers or not.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on February 03, 2011, 05:45:05 PM
Quote from: snoopy_virtual on February 03, 2011, 04:58:09 PM
Quote from: SulevFan on February 03, 2011, 04:52:09 PM
Is there an "automatic" as well as manual method to submit reports?

As you can see if you search this topic, we have talked a few times about what we call "false positives". People flagged as spammers but when you study them more carefully you find out they are honest people.

If one day we don't get any false positives at all we will implement some kind of automatic method to submit reports, but in the mean time every admin should check all the spammers caught by the mod to see if they are really spammers or not.

I agree. I have gotten a guy to start using Stop Spammer on his forums and when he screwed up something in the implementation on his forum it was not showing up and couldn't see who was being flagged. I explained to him that sometimes people can be flagged but are innocent. After he fixed it he had a real member register that I investigated and it was a real person who needed the support and help his forum offers.

Some people just don't want to take the time to fight spammers but it is the responsibility of any forum owner to do so. As it is I use both httpBL and Stop Spammer and I get so few problems it is a breeze in the park. I am thankful to these Mods as I have seen them work well for the last year I have used them.  (And medical forums are a HUGE target for spam if you don't know - Not you Snoopy .. I know you know. I mean everyone who reads this. I only quoted you because I agree 100% and felt I wanted to add to it)
Title: Re: Stop Spammer
Post by: LeYoyo on February 05, 2011, 08:51:47 PM
Hi all,

I have a problem with this mod.

If a "detected" spammer try to register, I have to approve it. That's fine.
When I log-in, I got the information that a user is waiting approval.
I go to the admin section, reject the user and it's OK. It works (in this case) and the user is not registered.


But... if, the "spammer" validates the email confirmation he received by registering before I reject his registration, then:
1. The rejected user still appears in the user list (probably because he confirmes the email)
2. The alert that a user is waiting approval is still there
3. When I delete the user, I still get the information that a user is waiting approval. But in reallity there is none, because he was rejected and deleted.

It looks like if when the user confirm his email before he's rejected by admins, then the information 'user is waiting for approval" will not disapear :/

Any help is welcome.

I'm on SMF 1.1.12
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 06, 2011, 06:40:50 AM
@LeYoyo

That's a known bug we have in this mod.

We have been working on it and hopefully will be sorted in the next update.
Title: Re: Stop Spammer
Post by: LeYoyo on February 06, 2011, 01:06:30 PM
ok. So I will wait :)

Thanks
Title: Re: Stop Spammer
Post by: Angie on Dialysis on February 07, 2011, 07:24:19 PM
Wow I have only had that problem if I go to ban the user before I "disapprove" him.. Yet on another forum I help out on they use the same mod and that doesn't cause any issues there. So I just assumed it was the theme I am using .. perhaps some conflict .. dunno.   Glad to hear that it is a known issue as I thought it was just me. Can't wait til the next update! I will click "Notify me of updates"on the mod page (http://custom.simplemachines.org/mods/index.php?mod=1547) so I will get notified of the update. That is how it works right?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 08, 2011, 05:37:17 AM
Yes Angie, that's exactly how it works.

Every time I do and update I also talk about it in a few places (as for example here in this topic, in my own forum, etc) but the best way to be up-to-date is if you have the "Notify me of updates" activated in all the mods you are using.
Title: Re: Stop Spammer
Post by: gordo on February 11, 2011, 03:57:02 PM
I have just installed the mod , checked all the files three times and edits were made OK, but the mod doesn't appear to work, I just registered a known spammer details as a test, it said the user was registered.

Another problem I seem to have that when one genuine user does register, their details are not saved into SMF nothing can be found about them.

I have just turned the mod off to see what happens
Title: Re: Stop Spammer
Post by: grimes on February 12, 2011, 09:21:26 AM
Got following error with StopSpammer v2.3.9:

(http://www.abload.de/image.php?img=2011-02-1215-08-20_pakvmdd.png)
(because link nonactive: parse error with replaced languages.xml (german version))


when doing this:

1.- UnZip these 3 files
2.- Download the mod "StopSpammer_v2_3_7.zip"
3.- Zip the files:
      "languages.xml"
      "readme.txt"
   into "StopSpammer_v2_3_7.zip" replacing existing ones
4.- Install the mod in your SMF forum as normal
Title: Re: Stop Spammer
Post by: fr3aker on February 12, 2011, 09:45:04 AM
try creating a new zip archive instead of replacing the files while keeping the original zip file. This sometimes causes 0 byte files when unzipping.
Title: Re: Stop Spammer
Post by: spiros on February 12, 2011, 11:38:07 AM
Installed it on 2RC2 but could not find the these 2 strings to replace in subs.php

'validation_code' => $validation_code,

mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.icq, mem.aim, mem.yim, mem.msn, mem.member_ip, mem.member_ip2, mem.last_login,
Title: Re: Stop Spammer
Post by: Wizzlefits on February 12, 2011, 12:29:30 PM
Look in "Subs-Members.php" not Subs.php ;)
Title: Re: Stop Spammer
Post by: Arantor on February 12, 2011, 03:38:44 PM
Why are you using a version with multiple known security vulnerabilities (2.0 RC2 has several)?
Title: Re: Stop Spammer
Post by: spiros on February 12, 2011, 06:58:48 PM
Because of the hassle of applying a number of custom mods and hacks for every new (sub)version. For example I need much longer subject text. You think I should upgrade?
Title: Re: Stop Spammer
Post by: Arantor on February 12, 2011, 07:04:08 PM
Yes, I do. I can think of 5 vulnerabilities off the top of my head, not to mention bug fixes.
Title: Re: Stop Spammer
Post by: spiros on February 12, 2011, 07:05:23 PM
OK, thanks for the advice, Arantor. Thanks to Wizzlefits too :)
Title: Re: Stop Spammer
Post by: Wizzlefits on February 12, 2011, 07:46:52 PM
Quote from: Arantor on February 12, 2011, 07:04:08 PM
Yes, I do. I can think of 5 vulnerabilities off the top of my head, not to mention bug fixes.
LOL!
Only 5! ;)

The upgrade doesn't effect mods or themes. Just use the "Small update" and you'll be good to go.
Title: Re: Stop Spammer
Post by: spiros on February 12, 2011, 07:50:27 PM
But the small update is only for those using SMF 2.0 RC4 and I use SMF 2.0 RC2. Correct me if I am wrong.
Title: Re: Stop Spammer
Post by: Arantor on February 12, 2011, 07:56:02 PM
QuoteThe upgrade doesn't effect mods or themes. Just use the "Small update" and you'll be good to go.

The RC4 security patch ONLY doesn't affect mods or themes. And that's only a partial update from RC4. We're talking about vulnerabilities in RC2 and RC3 that need to be patched - which does require a full upgrade since it's not from RC4.

And actually, small update does actually modify templates and source files (which will uninstall mods)
Title: Re: Stop Spammer
Post by: Wizzlefits on February 12, 2011, 09:01:13 PM
My bad!
Didn't notice the "RC2".
So you're absolutely right Arantor, he will require a full upgrade.

As for being a pain to redo ones mods and hacks...one must remember.. it's a Release Candidate, which is just a fancy way of saying Beta. ;)
Title: Re: Stop Spammer
Post by: iwords on February 13, 2011, 11:48:37 AM
Installing the latest version of this mod in a completely fresh install of SMF 1.1.13, I get the following in the Forum Error Log:-

http://localhost/index.php?action=regcenter;sa=settings
8: Undefined index: stopspammer_faildb_sub
File: D:\Inetpub\wwwroot\Themes\default\Register.template.php (admin_settings sub template - eval?)
Line: 529

This is using the default theme with no other mods installed.

Searching through the language files, there doesn't appear to be a 'stopspammer_faildb_sub' defined anywhere, only 'stopspammer_faildb1_sub' and 'stopspammer_faildb2_sub'.
Title: Re: API Key Add Problem
Post by: sharingsunshine on February 15, 2011, 12:55:42 PM
Hello,

I have SMF 1.1.12 that now has Stop Spammer 2.3.9.  I used to have 2.3 and now have noticed the need to add my API key.  However, when I go to Admin --> Members --> Registration --> Settings I don't see any place to put the API key.  I am using a copy of the default theme and the Mod settings show green lettering that my host can connect.

I have my own API key and I want to get this installed to report the spammers that are posting on our forum.  Any help will be appreciated.

Thanks,

Randal
Title: Re: Stop Spammer
Post by: sharingsunshine on February 15, 2011, 02:33:55 PM
Hello,

There is a new wrinkle.  After removing 2.3 and installing 2.3.9 I had no checks via the package manager.  After the mod was installed I kept getting a fatal error when I would try the members link in the members heading tab in the admin section.  This is the error:

Fatal error: Cannot redeclare sprintfspamer() (previously declared in /home/user1/public_html/smf/Sources/StopSpammer.php:142) in /home/user1/public_html/smf/Sources/Load.php(1733) : eval()'d code on line 528


Currently, to avoid the error we had to comment out function sprintfspamer

I know that isn't the long term solution.  That is why I wanted to get the answer to fix the problem permanently.

Thanks,

Randal

Title: Re: Stop Spammer
Post by: Living Donor on February 15, 2011, 04:08:03 PM
Like iwords, I installed the latest version of Stop Spammer into SMF 1.1.13 and received a similar error message but different line number:

8: Undefined index: stopspammer_faildb_sub
File: /home/content/57/zzzzzzz/html/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 532

Other than this message in the Forum Error Log, everything seems to be functioning correctly. Any reason I should be concerned?
Title: Re: Stop Spammer
Post by: Wizzlefits on February 15, 2011, 04:45:48 PM
First install Disable Template Eval (http://custom.simplemachines.org/mods/index.php?mod=2054)
This will allow 1.1.13 to show the real error.
Clear you error log and and try to reproduce the error and post it here.

I've also noticed there is a small bug in the html.... checking on that now.
Title: Re: Stop Spammer
Post by: smitch6 on February 16, 2011, 11:46:09 AM
is this going to be available for RC5 please :)
Title: Error in log using 2.3.9 under SMF 1.1.13 undefined index: id
Post by: bugstomper on February 16, 2011, 03:38:25 PM
I just installed the latest (2.3.9) Stop Spam on a forum running SMF 1..13. I get this in the error logs whenever I check members.

8: Undefined index: id
File: [...]/Sources/ManageMembers.php
Line: 736

The comments in the code in ManageMembers says it is checking that you are not reporting yourself. It uses $user_info['id'] which does not exist. It appears that you should be checking the global variable $ID_MEMBER instead. You can see what is actually put in $user_info in Load.php.  Is that something that was removed from the $user_info array in or before 1.1.13?
Title: Re: Stop Spammer
Post by: sharingsunshine on February 16, 2011, 04:11:09 PM
To Wizzlefits,

I realized that the package manager hadn't changed the code correctly.  I was on 2.3 going to 2.3.9 and it was probably too big of a jump for it.  Consequently, changing out all the code by hand has fixed the problem.

Thanks again for the offer of help.

Randal
Title: Request for a small change
Post by: bugstomper on February 16, 2011, 04:40:26 PM
I customize my registration template as part of an antispam measure, among other things changing the form element names from 'user' and 'email' to something else, and modifying the setting of the $regOptions array in Register.php to refer to the changed $_POST indices.

This breaks Stop Spam where in Register.php immediately after the initialization of $regOptions is the following code:


     require_once($sourcedir . '/StopSpammer.php');
    if ($regOptions['spammer'] = checkDBSpammer($user_info['ip'], $_POST['user'], $_POST['email']))


In the interest of making it more robust in the face of customization of the form, could you change that to say


     require_once($sourcedir . '/StopSpammer.php');
    if ($regOptions['spammer'] = checkDBSpammer($user_info['ip'], $regOptions['username'], $regOptions['email']))


which does the same thing?
Title: Re: Stop Spammer
Post by: Wizzlefits on February 17, 2011, 09:42:32 AM
When Snoopy gets back I'm sure he'll be doing some updating. Although, being offline for 2 weeks... he'll prolly be busier than a one arm paper hanger. ;)
Title: Re: Stop Spammer
Post by: smitch6 on February 17, 2011, 01:48:33 PM
it actually works on Rc5 anyway
i read somewhere on here that there's not a lot of changes between 4 and 5 so thought i'd give it a go
and hey presto everything works :)
Title: Re: Stop Spammer
Post by: Mayhem30 on February 18, 2011, 05:07:22 PM
This mod was updated on the 16th - what was changed?
Title: Re: Stop Spammer
Post by: Deadairdave on February 21, 2011, 03:20:12 PM
Wi
Quote from: smitch6 on February 17, 2011, 01:48:33 PM
it actually works on Rc5 anyway
i read somewhere on here that there's not a lot of changes between 4 and 5 so thought i'd give it a go
and hey presto everything works :)

Will it load with RC5, or is it advisable to go to the 'advanced' tab on 'packages' and change the 'Emulate Version' to install on RC4?  ...and will that even work, as it doesn't always with other mods.  Suppose it's my fault for not checking on mod updates before installing the latest SMF version, this is twice I've done this, lol!
Title: Re: Stop Spammer
Post by: Arantor on February 21, 2011, 03:22:23 PM
It should work, yes.
Title: Re: Stop Spammer
Post by: Deadairdave on February 21, 2011, 06:07:06 PM
Quote from: Deadairdave on February 21, 2011, 03:20:12 PM
Wi
Quote from: smitch6 on February 17, 2011, 01:48:33 PM
it actually works on Rc5 anyway
i read somewhere on here that there's not a lot of changes between 4 and 5 so thought i'd give it a go
and hey presto everything works :)

Will it load with RC5, or is it advisable to go to the 'advanced' tab on 'packages' and change the 'Emulate Version' to install on RC4?  ...and will that even work, as it doesn't always with other mods.  Suppose it's my fault for not checking on mod updates before installing the latest SMF version, this is twice I've done this, lol!

Quote from: Arantor on February 21, 2011, 03:22:23 PM
It should work, yes.

....Thanks Arantor, I went to packages and installed it with no problems straight onto RC5.  I didn't need to edit any files, nor change the version to RC4!!  Also, on installing, the SFS key that we used for reporting spammers was already listed in the settings section!

Dave.
Title: Stop Spammer will not start up
Post by: EL34 on February 24, 2011, 07:45:01 AM
Hi,
I have two 1.1.13 forums with the same mods installed.

Forum A is many years old and has been through many SMF updates. Stop spammer will not start up on this forum

Forum B is only a couple weeks old. Stop spammer is on and working fine

Stop Spammer will not start up on forum A - but it has worked in the past.
I am not sure when it stopped working?
I can check the box to enable stop spammer but it always comes back as OFF

I get the error shown in screen shot 3 below when trying to start Stop Spammer.

Where do I go from here?

Thanks

See the screen shots
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 25, 2011, 04:58:33 PM
Hi

I am just back after a couple of weeks without internet so I am now updating my forums to 1.1.13 and RC5 and checking if my 2 mods are compatible with them. (It seems they are, but better to double check).

I have been reading through the posts made while I was away and I have already added to my TODO list a suggestion from bugstomper. Thank you.

I am not going to answer here all the posts, as it would be too long and it seems all the problems reported have already been sorted (BTW, thanks also to all the people sorting those problems while I wasn't here).

If any problem has not been sorted yet, please let me know.

==============

@EL34

I suppose the forum where this mod is not working must have something wrong inside the files.

If you can contact me through Skype we can take a look at it to see where is the problem, but it seems to me your best option would be to un-install all your mods, replace all the files in your forum with a fresh SMF 1.1.13 and install again all the mods.

It's a pain (I know) but without actually seeing all the files you have, I cannot tell where the problem can be.
Title: Re: Stop Spammer
Post by: busterone on February 25, 2011, 05:19:32 PM
Snoopy is back. I hope you don't feel overwhelmed  ;D
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 25, 2011, 05:30:17 PM
Not really.

Just hundreds of things to update, thousands of emails and posts to answer ...  ;D
Title: Re: Stop Spammer
Post by: smitch6 on February 26, 2011, 02:51:11 AM
Yes this defo works with RC5 :)
Title: Re: Stop Spammer
Post by: Andrew Evenstar on February 26, 2011, 10:40:36 AM
I have a question, the top of my forum says:

There are 2 members awaiting approval.

however, no members are waiting for approval. has anyone had this bug in regards to this add on?

Thanks.
Title: Re: Stop Spammer
Post by: Wizzlefits on February 26, 2011, 11:38:53 AM
Quote
1.- This problem only occurs when you delete from the page "View all members" a member who is waiting for approval. But it never happens if you delete this member from the page "Members waiting for approval".

So one solution to avoid this problem is to delete always the bad guys from the page "Members waiting for approval".
Title: Re: Stop Spammer
Post by: Storman™ on February 26, 2011, 12:28:33 PM
Quote1.- This problem only occurs when you delete from the page "View all members" a member who is waiting for approval. But it never happens if you delete this member from the page "Members waiting for approval".

So one solution to avoid this problem is to delete always the bad guys from the page "Members waiting for approval".

I've noticed this same issue that Andrew Evenstar mentioned.

However, on my "Members waiting for Approval" page, I don't have an option to delete them, hence I do from "View all members" (this is with 1.1.12).
Title: Re: Stop Spammer
Post by: Wizzlefits on February 26, 2011, 01:09:26 PM
"reject" is the same as deleting them.
I don't suggest using "reject and send email". as the email will most likely bounce, for days. ;)

If you don't currently have any waiting for approval, just wait until you do and then reject them and that will clear the phantom member count.
Title: Re: Stop Spammer
Post by: Andrew Evenstar on February 26, 2011, 08:41:22 PM
Quote from: Wizzlefits on February 26, 2011, 01:09:26 PM
"reject" is the same as deleting them.
I don't suggest using "reject and send email". as the email will most likely bounce, for days. ;)

If you don't currently have any waiting for approval, just wait until you do and then reject them and that will clear the phantom member count.

I'll do that and post back. Thanks :)
Title: Re: Stop Spammer
Post by: hercululu on March 02, 2011, 01:28:25 PM
Quote from: Living Donor on February 15, 2011, 04:08:03 PM
Like iwords, I installed the latest version of Stop Spammer into SMF 1.1.13 and received a similar error message but different line number:

8: Undefined index: stopspammer_faildb_sub
File: /home/content/57/zzzzzzz/html/forum/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 532

Other than this message in the Forum Error Log, everything seems to be functioning correctly. Any reason I should be concerned?

Installed and same issue
8: Undefined index: stopspammer_faildb_sub
File: /<snip>/Themes/default/Register.template.php
Line: 539

537-539 in register template are
// Test if mod StopSpammer is OK
$txt['stopspammer_ok'] = stopspammer_test_mod_ok();
$stopspammer_faildb_sub = $txt['stopspammer_faildb_sub'];


Is there a repair?
Title: Re: Stop Spammer
Post by: Wizzlefits on March 02, 2011, 03:34:39 PM
First install Disable Template Eval (http://custom.simplemachines.org/mods/index.php?mod=2054)
This will allow 1.1.13 to show the real error.

They finally added this to 2.0 xxx, which I really wish they would have included in some update for 1.1.xxx.
That bloody template eval will cause you to run in circles chasing phantom errors. lol!
Title: Re: Stop Spammer
Post by: Arantor on March 02, 2011, 04:38:17 PM
It took some convincing even to get it added for 2.0 as I recall...
Title: Re: Stop Spammer
Post by: spikeweb on March 10, 2011, 04:30:06 AM
Just installed the mod on 1.X and translated to french the missing sentences :)

Checking my error log, I have the following message multiple times :

8: Undefined index: id
Fichier: /home/mypath/Sources/ManageMembers.php
Ligne: 736

Any idea to correct this ?

Thanks ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 10, 2011, 08:34:02 AM
It's an error already reported before and it will be sorted in the next version.

It only happens when you check or report members from the pages "Waiting for approval / activation", but it never happens when you report members from the page "View all members".

Anyway you can ignore those errors, because even with them the mod works properly.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on March 16, 2011, 09:26:22 AM
Thanks so much for your help with the yellow bug Snoopy. :) I didn't realize I still was using an old version  :-[

Now my fiance needs to also fix it as he also has the same old version.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 16, 2011, 11:56:42 AM
No problem.

BTW, if he gets any troubles updating, tell him to call me.  ;)
Title: Re: Stop Spammer
Post by: Angie on Dialysis on March 16, 2011, 03:06:48 PM
Quote from: snoopy_virtual on March 16, 2011, 11:56:42 AM
No problem.

BTW, if he gets any troubles updating, tell him to call me.  ;)

Okay :) He gets home after ...well .. could be 2 or 3am your time...
Title: Re: Stop Spammer
Post by: Kindred on March 18, 2011, 09:55:16 AM
Actually, there seems to be a problem with "reject"

rejecting a spam-user results in the account being deleted. However, the account was still created and counted in the "new members this month" count.

I originally thought that we were using the OTHER SFS mod...  (argh) however, it appears to be this mod... and this one definitely has a problem:

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 400 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 Spammer
Post by: rthrash on March 18, 2011, 10:13:48 AM
Running into a problem where I'm not able to report spammers after manually upgrading to the latest release. It just reloads the page and nothing. I had to enable the curl method for the mod to report it was working properly as indicated in the known issues by modifying the (I didn't have a problem with the earlier 2.2 version and this). http://www.simplemachines.org/community/index.php?topic=282969.msg1857198#msg1857198

I am getting one error:
Quote8: Undefined index: id
File: /public_html/*******/forums/Sources/ManageMembers.php
Line: 734

I'm running SMF 1.1.13 ... any suggestions to get my reporting working again?
Title: Re: Stop Spammer
Post by: rthrash on March 18, 2011, 05:43:35 PM
Scratch that ... turns out in fact to be the the previously reported not checking the user when reporting. This is a pretty big usability issue and a problem for us considering we typically block 40+ spam registrations a day. Any possibility someone could point us in the right direction to flag+report before the next release?
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 19, 2011, 01:33:02 AM
@Kindred

Yes, the mod has a few problems with the forum stats. Not only the one you are pointing out, but a few more I found.

Anyway, as you said, it's not an urgent issue, as the mod is stopping the spammers even if it doesn't count them well.

I have it in my TODO list but, as I have a lot of more urgent things to do first, it will take me some time to do it.

But I will sort it in due time (I hope)  ;)

=============

@rthrash

That problem you are reporting is more urgent than the another one, but it doesn't have an easy solution.

It was caused when I updated the mod from version 2.3.8 to the new one 2.3.9

Somebody else reported another bug in version 2.3.8 and gave us one possible solution, but when I applied that solution in version 2.3.9, it caused this new bug.

The problem is I cannot just revert what we changed there, as it would bring back the old bug (a lot worse than the one we have just now).

What I need to do is find a way to sort both bugs at the same time, but I haven't found it yet. That's why I said it doesn't have an easy solution.

========

Anyway, check the config page to be sure you have written there your API key.

A few months ago the admin in stopforumspam web site changed the rules (due to a lot of abuse) and now nobody can report a spammer without asking first for their own API key.
Title: Re: Stop Spammer
Post by: rthrash on March 19, 2011, 10:17:34 AM
We've used our own API key for several years but thanks for the head's up. Looking forward to simultaneous check/report. Where in the code are those bits handled and I'll see if we can figure out a way to help on that front. Thanks!
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 19, 2011, 07:51:22 PM
You can try replacing the file StopSpammer.php (inside your Sources folder) with the attached one.

I haven't tested it yet, but it should sort the problem having to report and check twice every member.

The reason why I couldn't check that yet is because I have very good anti-spam programs in all my forums, so I only have to check or report 1 spammer every 2 or 3 months (and I have 7 very busy forums) so every time I want to do some checks I need to create a special test forum for that with no other anti-spam programs (only this mod).

It is not normal to have a forum where you need to check or report 40 or more a day.

What other anti-spam programs you use apart from this mod?
Title: Re: Stop Spammer
Post by: rthrash on March 20, 2011, 09:11:39 PM
Thank you that works as expected now.

Quick question: if we wanted to auto-reject when an email address matches, how challenging would that be to do?
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 21, 2011, 11:48:15 AM
The quick answer is that it would be very easy to do if we wanted to do it.

We have talked about that a lot of times in this topic. A quick search through it will show you some of that conversations and you will see the reasons why we are not doing it.

Anyway, as you can see if you search the topic, my main concern for the next version of the mod (apart from sorting the wrong stats count, and some other minor problems) is to try to reduce as much as possible the number of false positives, so I still don't know if I will add something like that in the next version or not.

In the mean time we prefer to check manually all the members stopped by this mod. As I said in my previous post, every admin with good anti-spam measures in their forum only have to check 2 or 3 spammers a month. It is not normal to have a forum where you need to check or report 40 or more a day, so I will repeat the question that you haven't answered yet:

What other anti-spam programs you use apart from this mod?
Title: Re: Stop Spammer
Post by: Kindred on March 21, 2011, 12:00:40 PM
after the first burst of about 600 in the first 3 weeks, I am down to about three/four a month.
Title: Re: Stop Spammer
Post by: rthrash on March 21, 2011, 12:16:27 PM
Sorry I should have been more clear: we're getting 50+ registration attempts that are being blocked. We only report 2-3 a day but I'm sure some slip through the cracks due to the volume of posts. When their IP and email matches though I'd like to auto-reject them. I just did that with about 40 this AM and will have another round to go this PM.

The current heavy abuse pattern seems to be *+*@gmail.com matched in SFS database plus a matching IP. Names are typically (x)FirstLast(y) where x and y are single-character random letters on front/back of actual generated names. If the email + IP match, I'll never approve them and it would be helpful to not have to ever see them in the first place. For every 50 manually rejected, we're approving 2-3 that were flagged.

We blocked registration attempts from *@yahoo.com altogether since that's an insanely huge source of comment spammers (~140,000 blocked registration attempts from there). We've not really done much more than hard Captcha which I hate, but it's a necessary evil.

I suspect you'll have some recommendations including httpBL (which we're working on now)?

Thank you very much for taking the time to respond! :D
Title: Re: Stop Spammer
Post by: Kindred on March 21, 2011, 01:26:32 PM
I Use BadBehavior, HttpBL/HoneyPot and StopSpammer all combined.
I have also banned all mail.ru addresses

As I said, after the initial surge/catch, we're down to 3-4 a month
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 21, 2011, 02:18:38 PM
I don't use BadBehavior because I started to see how it works (reading the code) and I saw there was some things inside it that make it not fully compatible with mod httpBL and I really like that one a lot more.

The author of mod BadBehavior (butchs) has already pointed out to me inside my personal forum (http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=411.0) one of this problems, but (as I already told him in my forum) I haven't got time just now to sort it. If I ever have some spare time I will do my own version of mod BadBehavior, because I think that's the one that need to be modified to make them compatible.

In the mean time (as I also told butchs in my forum), if he thinks is mod httpBL the one needing a change and it's so easy to do as just adding a die() somewhere, he should do his own version of mod httpBL instead.

QuoteSorry I should have been more clear: we're getting 50+ registration attempts that are being blocked.

That's exactly what I was saying. Getting 50+ registration attempts a day is too much. I only get 2 or 3 a month.

I have in all my web sites CrawlTrack as a first firewall to stop hackers attempts (the best one I know so far). But the real version from the official site: http://www.crawltrack.net/ Not any of the modified versions I have seen in other places. The real version works perfect with SMF (as it does with Mambo, WordPress, Joomla, etc) and don't need any modification at all.

And then to stop spammers I use mod httpBL, mod StopSpammer and a couple of good Anti-spam questions.

QuoteWe've not really done much more than hard Captcha which I hate, but it's a necessary evil.

I don't like captchas at all.

All the spam-bots I know can sort all the known captchas very easy and they are only a nuisance for humans.
Title: Re: Stop Spammer
Post by: lextalionis on March 22, 2011, 10:01:52 AM
Okay, something weird went wrong today.

First the details:
http://www.motleypixel.com
SMF 1.1.13
TP 1 beta 4
Below are packages installed:



**Note, I installed Fight Spam version .1  about a month before Stop Spammer (well over a year ago).  Yes I know it shows running, but I honestly can't say that it's enabled or not.  Basically I have forgotten all it every did and have just ignored it (it wasn't very good to put it politely).  Just understand that Stop Spammer has worked flawlessly until today.   My last major update or change to the forum was about 6 weeks ago when I jumped from SMF 1.1.11 to 1.1.13.

Installed this mod about a year ago (haven't updated it at all and in my installed packages it just says 2.3).  Up until today it has worked flawlessly...I get about 10 spammers per day.  About twice a week I'll receive a spam post and I'll head to admin center and report these members, delete all posts/topics, and delete their accounts.  Another thing that happens often is that registered spammers in the DB are marked and put into "awaiting approval" so I will clean up that queue weekly too.

So today I received a spam post...actually about 10 spam post from this user:

cunaa123 Posts: 8 (N/A per day) Position: Newbie IP: 60.177.204.84 Hostname:  84.204.177.60.broad.hz.zj.dynamic.163data.com.cn

So I found the user w/in admin center, check the checkbox next to the name and reported this user as a spammer...the popup window came up asking if I'm sure I want to do this and I clicked OK.  Then suddenly I was logged out as admin and my account was awaiting admin approval...yep...that's right.  See screen shot below of my account in smf_members table...issue I found is that I, along with all 682 members are now tagged yellow "awaiting approval" which I suspect is a value of 3 in "is_activated".  I changed my value back to 1, repeated the process with user cunaa123 and bam, it happened again.  Now here's the issue, I can reset everyone back to is_activated=1 but I'm unsure if all 682 members are good members...hummm...my initial thought is they should be because all spammer accounts are 1. Reported 2. Posts deleted and 3. Account is deleted.  Here's what's seems worrisome...seems anytime I report a member or muck with Stop Spammer, is seems to bounce the used account (admin or moderator) into an awaiting approval state...bad!

Wow, sorry for all the detail.  Would like to ask, what is value 8 for is_spammer?  The screen shot below is my admin account and right now my account shows as white (not spammer) so I assume value 8 is good.  But interestingly enough I check one of the 682 "now" yellow "suspect" members  and their value is 8 too?

Help please :)

Title: Re: Stop Spammer
Post by: snoopy_virtual on March 22, 2011, 10:53:02 AM
@lextalionis

What you are describing there is something we called more than a year ago "the yellow bug" because, under some special conditions, it change the value for "is_spammer" of all your members to 8 (suspicious) with yellow colour and the value of "is_activated" to 3 (waiting approval).

This bug has been there since M-DVD did originally the mod in 2008 but, as the conditions for it to occur are very rare, nobody had seen it before until I discovered it in February 2010, so it was present in all the mod versions from 1.0 until 2.3.6

Of course that bug is not present in the versions I have done since then, from 2.3.7 until the more recent 2.3.9

You can find more information about it in my personal forum:

http://www.snoopyvirtualstudio.com/foro/index.php?topic=296.msg1263#msg1263

Anyway, the first thing you need to do is to change (in all your members) the value of "is_activated" to 1 (normal member) and the value of "is_spammer" to 0 (not spammer).

As it is too slow to do that manually inside the DB one by one, and as (back in Feb 2010) when I was trying to find what was causing this bug I had to do that hundreds of times (every time I checked something new), I created a small script to do that in just a second (with only one click).

You can find that script (called "yellow_bug_medicine") in my forum, but I have also attached it here for you (so you can do it faster).

Just unzip it and read the readme.txt inside it to see how to use it.

After that un-install the version 2.3 you have in your forum and install the new one 2.3.9
Title: Re: Stop Spammer
Post by: lextalionis on March 22, 2011, 10:58:55 AM
Excellent, thanks for the prompt reply.  I will do as you say and report back later.

Okay I'm back up...2.3.9 seemed to install properly...I registered a new API since I didn't know how to retrieve my original one.  Only thing that seems different is now when I report that member it gets submitted fine because I see the member in my stop forum spam account, but the member details in my from in admin/members didn't update to red right away (automatically), instead I had to then click "check members" and that went out and update the user to red...is this normal?

I will also install and use httpBL as it seems good as a secondary backup.

Thanks,
Roy
Title: Re: Stop Spammer
Post by: busterone on March 22, 2011, 06:03:40 PM
I can affirm httpBL as a good move. The two mods work fantastic together, and I have never seen a conflict between them.

As a second bonus, by installing a honeypot(to use with httpBL, the honeypot helps catch all kinds of nasties. Just blocking spammers from your forum is a good thing, but helping catch them is even better.  :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 22, 2011, 09:47:58 PM
Quote from: lextalionis on March 22, 2011, 10:58:55 AM
Only thing that seems different is now when I report that member it gets submitted fine because I see the member in my stop forum spam account, but the member details in my from in admin/members didn't update to red right away (automatically), instead I had to then click "check members" and that went out and update the user to red...is this normal?

Read from reply #1192 to reply #1195

We are still testing the file I attached there, so I am not sure if it's good enough, but it seems to sort that problem.
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on March 23, 2011, 05:35:35 AM
I would like to thank the creator of this mod and all those to have done work and continue to do work on it!


A spambot got past my hard captcha, random security questions, and forum firewall! But wasn't able to sneak past stop spammer!  :)

Thank you stop spammer.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on March 24, 2011, 06:25:30 PM
Quote from: snoopy_virtual on March 22, 2011, 10:53:02 AM
What you are describing there is something we called more than a year ago "the yellow bug" because, under some special conditions, it change the value for "is_spammer" of all your members to 8 (suspicious) with yellow colour and the value of "is_activated" to 3 (waiting approval).

This bug has been there since M-DVD did originally the mod in 2008 but, as the conditions for it to occur are very rare, nobody had seen it before until I discovered it in February 2010, so it was present in all the mod versions from 1.0 until 2.3.6

Of course that bug is not present in the versions I have done since then, from 2.3.7 until the more recent 2.3.9

Looks like I wasn't the only one to get that "Yellow Bug" in March this year. :)

Like the name (medicine) by the way ;)

Also thanks to you Snoopy I am getting more confident in uninstalling old versions and putting in the latest. I upgraded one of the forums with the version susceptible to the big just today and all went fine.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 25, 2011, 09:08:37 AM
@Angie

As you saw when we were doing it through TeamViewer, it's very easy to update a mod using the Packages Manager when there are no errors.

And even when there are errors, it tells you what file is the one with the problem.

If you get any errors when updating a mod in any of your forums give a call again through Skype and we will sort it.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on March 26, 2011, 06:27:21 AM
Quote from: snoopy_virtual on March 25, 2011, 09:08:37 AM
@Angie

As you saw when we were doing it through TeamViewer, it's very easy to update a mod using the Packages Manager when there are no errors.

And even when there are errors, it tells you what file is the one with the problem.

If you get any errors when updating a mod in any of your forums give a call again through Skype and we will sort it.

Gracias Snoopy :) (Did I spell thank you correctly this time? lol)
Title: Re: Stop Spammer
Post by: butchs on March 27, 2011, 07:56:47 PM
Quote from: snoopy_virtual on March 21, 2011, 02:18:38 PM
I don't use BadBehavior because I started to see how it works (reading the code) and I saw there was some things inside it that make it not fully compatible with mod httpBL and I really like that one a lot more.

That is not true.  There is no incompatibility.  They work fine together it is just that BB is catching some of your table scraps.

BB code is now loaded after you mod in SMF, so if there was a bad bot your mod should block them and the bot should never be seen in that hit.  Since the bot you try to block makes it to BB mod that means you mod is not being fully blocking what it should block every time.

I tried to explain that it seems that you failed to stop code execution in your warning page.  Hence your mod will try to block and log a spammer, the code will still execute and BB just may catch it (if it meets the criterion).  This could be a bot trick but I was not the first one to see it and will not be the last.

"die();" the line before "?>" is all I recommend you try.  How hard is that?

Quote from: snoopy_virtual on March 21, 2011, 02:18:38 PM
The author of mod BadBehavior (butchs) has already pointed out to me inside my personal forum (http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=411.0) one of this problems, but (as I already told him in my forum) I haven't got time just now to sort it. If I ever have some spare time I will do my own version of mod BadBehavior, because I think that's the one that need to be modified to make them compatible.

I am not the core author of BB (http://bad-behavior.ioerror.us/).  I am simply the port author.  Bad Behavior core is used by thousands of sites world wide.  Most of the code especially the BB warning page has been taken from the tried and true core.

Quote from: snoopy_virtual on March 21, 2011, 02:18:38 PM
In the mean time (as I also told butchs in my forum), if he thinks is mod httpBL the one needing a change and it's so easy to do as just adding a die() somewhere, he should do his own version of mod httpBL instead.

If that is what you want the next release of BB will have httpBL feature available for public use.  I will not take it much further than the core author though.   No, I will not re-write your mod.

The feature has been tested since I stopped using your mod.
Title: Re: Stop Spammer
Post by: naitram on March 28, 2011, 09:36:39 AM
i have updated to 2.3.9 and applied for my API key

the MOD passes its internal check

Your host can make remote connection with the DB

when i try and report a spammer the screen just reloads and does not appear to submit anything
Title: Re: Stop Spammer
Post by: Wizzlefits on March 28, 2011, 10:40:50 AM
If you check your "My Spammers (http://www.stopforumspam.com/myspammers)" page a Stop Forum Spam you'll see the ones you just submitted. (might have to login first)
Title: Re: Stop Spammer
Post by: rthrash on March 28, 2011, 10:41:44 AM
@naitram
With 2.3.9 you have to check the person you just reported. I had the same issue, and Snoopy provided a replacement file somewhere in this thread that fixed it for me.
Title: Re: Stop Spammer
Post by: rthrash on March 28, 2011, 10:46:26 AM
Quote from: snoopy_virtual on March 21, 2011, 02:18:38 PM
I have in all my web sites CrawlTrack as a first firewall to stop hackers attempts (the best one I know so far). But the real version from the official site: http://www.crawltrack.net/ Not any of the modified versions I have seen in other places. The real version works perfect with SMF (as it does with Mambo, WordPress, Joomla, etc) and don't need any modification at all.

...

And then to stop spammers I use mod httpBL, mod StopSpammer and a couple of good Anti-spam questions.

Thanks for the reference to Crawltrack; we'll definitely try that out. When you prevent registrations on an IP based on httpBL, how long before you expire the IP Address block? Or is that even the right question? ;)
Title: Re: Stop Spammer
Post by: naitram on March 28, 2011, 10:54:30 AM
Quote from: rthrash on March 28, 2011, 10:41:44 AM
@naitram
With 2.3.9 you have to check the person you just reported. I had the same issue, and Snoopy provided a replacement file somewhere in this thread that fixed it for me.

if i check them its like they have never been reported.
Title: Re: Stop Spammer
Post by: rthrash on March 28, 2011, 11:00:56 AM
Hmmm ... something else must be wrong then. You'll have to wait for a better answer from someone else. Sorry I couldn't be of assistance.
Title: Re: Stop Spammer
Post by: naitram on March 28, 2011, 11:07:03 AM
thats ok, i appreciate the response
Title: Re: Stop Spammer
Post by: Wizzlefits on March 28, 2011, 11:27:53 AM
Quote from: naitram on March 28, 2011, 09:36:39 AM
i have updated to 2.3.9 and applied for my API key

the MOD passes its internal check

Your host can make remote connection with the DB

when i try and report a spammer the screen just reloads and does not appear to submit anything
The member should turn red when the page reloads and be put into "Awaiting Approval".
Is the reported member in there?
Also, what version of SMF are you running?
Title: Re: Stop Spammer
Post by: naitram on March 28, 2011, 12:11:18 PM
if i sniff the wire during a check member i see
GET /api?ip=110.82.149.188&username=dunkshoes6g&email=house4dZwu%40yahoo.com HTTP/1.0
Host: www.stopforumspam.com
User-Agent: PHP/SMF
Connection: close



HTTP/1.1 200 OK
Date: Mon, 28 Mar 2011 16:03:45 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.12
Vary: Accept-Encoding,User-Agent
Content-Length: 244
Connection: close
Content-Type: text


trying to report a member i get (yes not my real API key)
POST /add HTTP/1.0
Host: www.stopforumspam.com
User-Agent: PHP/SMF
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 93

username=dunkshoes6g&ip_addr=110.82.149.188&[email protected]&api_key=XXXXXXXXXXXXXXHTTP/1.1 200 OK

Date: Mon, 28 Mar 2011 16:07:16 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.12
Vary: Accept-Encoding,User-Agent
Content-Length: 329
Connection: close
Content-Type: text/html



<!-- Return bool(true)
--><br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/sfs/domains/stopforumspam.com/public_html/add.php:29) in <b>/home/sfs/domains/stopforumspam.com/public_html/add.php</b> on line <b>139</b><br />
<p>maintenance mode record processing deferred</p>


Title: Re: Stop Spammer
Post by: butchs on March 28, 2011, 12:15:01 PM
Quote from: rthrash on March 28, 2011, 10:46:26 AM
Thanks for the reference to Crawltrack; we'll definitely try that out. When you prevent registrations on an IP based on httpBL, how long before you expire the IP Address block? Or is that even the right question? ;)

CrawlTrack does Web Analytics and is useful.  It's companion CrawlProtect has some anti-hacking protection.  Out of the box CrawlProtect is not compatible with SMF; however, this link will tell you how to set it up:  CrawlProtect for SMF (http://community.smfhelper.info/index.php/topic,5222.0.html)
:)
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 28, 2011, 01:28:24 PM
Quote from: butchs on March 27, 2011, 07:56:47 PM
"die();" the line before "?>" is all I recommend you try.  How hard is that?

It's very hard for me, as I never add lines that are not logical. (Or at least I never add them on purpose).

Anyway I have already answered that in its proper place. (http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=411.msg1767#msg1767)

No need to repeat it again.

Quote from: butchs on March 27, 2011, 07:56:47 PM
I am not the core author of BB (http://bad-behavior.ioerror.us/).  I am simply the port author.  Bad Behavior core is used by thousands of sites world wide.  Most of the code especially the BB warning page has been taken from the tried and true core.

I never said that the core program bad-behavior from http://bad-behavior.ioerror.us/ was not compatible with any of my mods. Of course it is compatible.

What it's not compatible with my mod httpBL is the way you have used to implement bad-behavior inside SMF.

Quote from: rthrash on March 28, 2011, 10:46:26 AM
When you prevent registrations on an IP based on httpBL, how long before you expire the IP Address block? Or is that even the right question? ;)

It's better to keep topics separate. This one is for support with mod StopSpammer, not mod httpBL.

Anyway I would answer your question if I could understand it.

Could you please explain it a little more? (if possible in the proper topic)

Quote from: naitram on March 28, 2011, 09:36:39 AM
i have updated to 2.3.9 and applied for my API key

the MOD passes its internal check

Your host can make remote connection with the DB

when i try and report a spammer the screen just reloads and does not appear to submit anything

I have seen all the rest of the answers about this problem and still don't know why it's happening to you.

I will think a little more about it and I will let you know if I find anything.

It would be a lot easier anyway if we could talk through Skype or something like this, so I can see the problem a little better.

Quote from: butchs on March 28, 2011, 12:15:01 PM
CrawlTrack does Web Analytics and is useful.  It's companion CrawlProtect has some anti-hacking protection.  Out of the box CrawlProtect is not compatible with SMF; however, this link will tell you how to set it up:  CrawlProtect for SMF (http://community.smfhelper.info/index.php/topic,5222.0.html)
:)

That's not true

Crawltrack (apart from very good Web Analytics) is the perfect protection anti-hacking. It's completely compatible with SMF and doesn't need any modification at all.

CrawlProtect is another anti-hacking possibility, but I like more Crawltrack. Never tried both of them together though. Maybe I will do that one of this days.
Title: Re: Stop Spammer
Post by: Kindred on March 28, 2011, 01:43:02 PM
BTW: I have Bad Behavior, Stop Spammer and HttpBL installed and working together on two sites...
Title: Re: Stop Spammer
Post by: naitram on March 28, 2011, 04:51:13 PM
all set, had an old entry in a host file
Title: Re: Stop Spammer
Post by: nzbutterfly on March 29, 2011, 06:26:52 AM
Hi Snoopy,

I too, have the issue where when reporting a spammer, the reloaded page appears that I haven't done anything. Really, it has, I login to SFS & they are there (had to delete double entries as well). So, not a major, but as someone said, just a annoyance really.

I recently updated SMF from 1.1.11 to 1.1.13, Stop Spammer from 2.3.7 to 2.3.9 & httpBL from 2.4 to 2.5.1

Also, I get the line error;
8: Undefined index: id
File: /home1/nzbutter/public_html/discuss/Sources/ManageMembers.php
Line: 736

which for me is;
if ($value == $user_info['id'] || '1' == $value)

This enabled me to work out that Stop Spammer was the offender. I went through all the parsed comments from the Mods home page, with no difference, hence I ended up here. Anyway, saw you post #1206 saying look at #1192-#1195 (http://www.simplemachines.org/community/index.php?topic=283309.msg2992258#msg2992258), which I have done. I will download the file & give it a go next. So will report back in a few days hopefully saying it's worked out.

I note that posts #1212 (http://www.simplemachines.org/community/index.php?topic=283309.msg3001399#msg3001399)-#1220 + #1222 are regarding the same issue.

Any chance that a report to BotScout could be included in the future?
(botscout.com/bot_submitter.htm)

Take care,
Robert.
Title: Re: Stop Spammer
Post by: nzbutterfly on March 29, 2011, 07:01:59 AM
Dropped the experimential file in from post #1195 (http://www.simplemachines.org/community/index.php?topic=283309.msg2993508#msg2993508)
So far so good.

Decided I would disable, then re-enable the Stop Spammer (just in case it made a difference). Well nothing is broke, but did get a new error log (not sure if it's an issue yet);
index.php?action=regcenter;sa=settings
8: Undefined index: stopspammer_faildb_sub
File: /home1/nzbutter/public_html/discuss/Themes/default/Register.template.php (admin_settings sub template - eval?)
Line: 529

Which for me is;
$stopspammer_faildb_sub = $txt['stopspammer_faildb_sub'];

Quote from: the section
   // Test if mod StopSpammer is OK
   $txt['stopspammer_ok'] = stopspammer_test_mod_ok();
   $stopspammer_faildb_sub = $txt['stopspammer_faildb_sub'];

On reading this, I suspect it means that there is no Stop Spammer DB connection at that moment. Am I correct?

(Just disabled it again, got the same error immediately, then all is happy when the mod is re-enabled).

So I have no concerns about this error, but throught you might like to know about it.

Robert.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 29, 2011, 01:52:38 PM
Hi Robert:

QuoteI too, have the issue where when reporting a spammer, the reloaded page appears that I haven't done anything.

Yes, I have tested already the file I attached in post #1195 and it sort that issue, so I will add that solution in the next mod update.

In the mean time use that file to sort it.

QuoteError:

8: Undefined index: id

That's a known bug of version 2.3.9. It will be sorted in the next version. It's not an important error though. Only annoying. The mod works OK even with that error.

QuoteAny chance that a report to BotScout could be included in the future?

I have been thinking about it lately. Some kind of Super-Anti-Spam mod that would check and report all the known spammers DBs. Not only the DBs in ProjectHoneyPot, StopForumSpam and BotScout, but all the rest of them.

There is already a brilliant tool called FSLC done by our friend Gunner to do that. More info here:

http://www.gunnerinc.com/fslcinfo.htm

I have already talked with Gunner about it. The problem is his tool has been done in Assembly and I am not really good with it, so to convert that to a mod in SMF (using PHP instead) I will need to re-do all the tool from scratch. A lot of time and work needed.

Maybe I will do it anyway sometime, but in the mean time I would suggest you to use FSLC. It's very fast and easy to use.

I have even seen a video in Youtube done by an extremist anti-spam group explaining how to use it: http://www.youtube.com/watch?v=3yDpyfL-1x8

Quote8: Undefined index: stopspammer_faildb_sub

It's not normal to get that error if you updated properly from 2.3.7 to 2.3.9

I can see anyway you are getting the information of the error with a (admin_settings sub template - eval?)

It's better to see the errors with template eval disabled (and your forum will work faster also). It is already a core feature in SMF 2.0, but for SMF 1.1.x you will need a mod to do it.

Can you please install Arantor's mod Disable Template Eval (http://custom.simplemachines.org/mods/index.php?mod=2054) and check again if you are still getting that error?

QuoteOn reading this, I suspect it means that there is no Stop Spammer DB connection at that moment. Am I correct?

No. You shouldn't get that error either with or without connection with the DB.

Let me know if everything is OK  ;)
Title: Re: Stop Spammer
Post by: nzbutterfly on March 29, 2011, 08:55:44 PM
Hi Snoopy,

Thanks for your reply.

The new Stop Spammer file has done the trick & the icons update accordenly now.

The 8: Undefined index: id doesn't bother me. Didn't realise it was a separtate bug through.

Thanks for the FSLC & CrawlTrack links. Still deciding on CrawlTrack presently as I got more important items to update on the website.

Quote from: snoopy_virtual on March 29, 2011, 01:52:38 PM
Quote8: Undefined index: stopspammer_faildb_sub

It's not normal to get that error if you updated properly from 2.3.7 to 2.3.9

I can see anyway you are getting the information of the error with a (admin_settings sub template - eval?)

It's better to see the errors with template eval disabled (and your forum will work faster also). It is already a core feature in SMF 2.0, but for SMF 1.1.x you will need a mod to do it.

Can you please install Arantor's mod Disable Template Eval (http://custom.simplemachines.org/mods/index.php?mod=2054) and check again if you are still getting that error?

QuoteOn reading this, I suspect it means that there is no Stop Spammer DB connection at that moment. Am I correct?

No. You shouldn't get that error either with or without connection with the DB.

I have installed Disable Template Eval 1.2. But on disabling Stop Spammer, I still get the same error (apart from the eval part)
8: Undefined index: stopspammer_faildb_sub
File: /home1/nzbutter/public_html/discuss/Themes/default/Register.template.php
Line: 529


When I upgraded the forum from 1.1.11 to 1.1.13, I uninstalled all the mods first. Upgraded the forum, then added the mods back one-by-one, checking they had my prefered options, API keys, etc. I then over-wrote the existing stopspammer.php file with the new one mentioned above.

To be honest, I'm not worried by this error as I don't plan to have the mod disabled. But figured you would like to know of it's existance.

The mod is working as expected, so I'm happy with it.

Take care,
Robert.
Title: Re: Stop Spammer
Post by: busterone on March 29, 2011, 09:18:04 PM
QuoteI have even seen a video in Youtube done by an extremist anti-spam group explaining how to use it: http://www.youtube.com/watch?v=3yDpyfL-1x8
I have no idea who that could be.   ;)    ;D
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 30, 2011, 05:41:48 AM
Quote from: nzbutterfly on March 29, 2011, 08:55:44 PM
QuoteError:
8: Undefined index: stopspammer_faildb_sub

To be honest, I'm not worried by this error as I don't plan to have the mod disabled. But figured you would like to know of it's existance.

As I said that error shouldn't be there, so It's good you told me. I have added it to my TODO list to check it out more closely.

After all it may mean there is another bug somewhere. Who knows.

Quote from: busterone on March 29, 2011, 09:18:04 PM
QuoteI have even seen a video in Youtube done by an extremist anti-spam group explaining how to use it: http://www.youtube.com/watch?v=3yDpyfL-1x8
I have no idea who that could be.   ;)    ;D

I don't know also who that "Spam Busterz" group are, but whoever they are, they are definitely doing a brilliant work.  ;)
Title: Re: Stop Spammer
Post by: Kindred on March 30, 2011, 07:29:59 AM
That underlined index is just a missing text string.
Title: Re: Stop Spammer
Post by: Wizzlefits on March 30, 2011, 12:55:08 PM
Quote
Error:
8: Undefined index: stopspammer_faildb_sub

I found how to replicate that error.
If, SS is turned on, and only "check IP" is checked, it will cause that error, and say connection to SFS failed.

If, "Check email OR Check Username" is set to check it works fine with no error.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 30, 2011, 02:28:08 PM
Interesting.

Then it's definitely a bug.

I will look for it.
Title: Re: Stop Spammer
Post by: nzbutterfly on April 03, 2011, 05:56:47 PM
Hi,

RE;
Error:
8: Undefined index: stopspammer_faildb_sub

I have all 3 ticked (Check their username, Check their email & Check their IP) & don't get the error when it's turned on, but get it once for every time I turn it off.

Quote from: snoopy_virtual
I don't know also who that "Spam Busterz" group are, but whoever they are, they are definitely doing a brilliant work.  ;)
Agree. Forum Spam List Checker is a great little program. I'd recommend people to get it as well as it's a great reporting tool.

RE;
FSpamlist
Since the only way of submitting bot details to their db is via their mod (link below), does anyone know if it has conflicts with StopSpammer, MOD httpBL or Bot Buster? I feel that yet another anti-spam mod is going to start slowing sign-up down too much & I find that StopSpammer & MOD httpBL seem to stop over 70% of dodgy sign-ups between them.
(temerc.com/forums/viewtopic.php?f=79&t=6180&sid=c3877d5a767372cb157b489dba76cc50)

Take care,
Robert.
Title: Re: Stop Spammer
Post by: Another Rob on April 03, 2011, 11:25:20 PM
I'm running this, what I would like to do is add a second button next to the spam magnifying glass links to check folks username & email in google. So the link would be http://www.google.com/#sclient=psy&hl=en&q=[email, username or ip] as well as the http://www.stopforumspam.com/search?q=[email, username or ip]

What files would i need to edit?
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 04, 2011, 06:55:43 AM
Quote from: nzbutterfly on April 03, 2011, 05:56:47 PM
RE;
FSpamlist
Since the only way of submitting bot details to their db is via their mod (link below), does anyone know if it has conflicts with StopSpammer, MOD httpBL or Bot Buster?
(temerc.com/forums/viewtopic.php?f=79&t=6180&sid=c3877d5a767372cb157b489dba76cc50)

I didn't know they had already a mod for that, so I don't know if it's compatible with the rest or not. I will check it out.

Anybody else here is already using it?

Quote from: nzbutterfly on April 03, 2011, 05:56:47 PM
I feel that yet another anti-spam mod is going to start slowing sign-up down too much & I find that StopSpammer & MOD httpBL seem to stop over 70% of dodgy sign-ups between them.

That would depend on the amount of visits you have in your forum every day and the power of your server.

I suppose that will be a case of test and see if it's better to have it or not.

Quote from: Another Rob on April 03, 2011, 11:25:20 PM
I'm running this, what I would like to do is add a second button next to the spam magnifying glass links to check folks username & email in google. So the link would be http://www.google.com/#sclient=psy&hl=en&q=[email, username or ip] as well as the http://www.stopforumspam.com/search?q=[email, username or ip]

What files would i need to edit?

That would depend on the version of SMF and the version of this mod you are using.

Which ones are them?
Title: Re: Stop Spammer
Post by: Another Rob on April 09, 2011, 09:48:55 AM
Quote from: Another Rob on April 03, 2011, 11:25:20 PM
I'm running this, what I would like to do is add a second button next to the spam magnifying glass links to check folks username & email in google. So the link would be http://www.google.com/#sclient=psy&hl=en&q=[email, username or ip] as well as the http://www.stopforumspam.com/search?q=[email, username or ip]

What files would i need to edit?

That would depend on the version of SMF and the version of this mod you are using.

Which ones are them?
[/quote]

SMF 2.0RC3 & Stop Spammer 2.3.9
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 10, 2011, 07:52:55 AM
@Another Rob

This mod is not compatible with SMF 2 RC3, so I don't know if it's working properly in your forum.

Also from RC3 to the actual RC5 a lot of security problems have been found and sorted, so I would suggest you to update your forum when possible.

Anyway, I have been thinking about your question to add those links to google search and I think the easiest way for you to do it will be modifying the function sprintfspamer inside the file StopSpammer.php.

When you asked that question the other day I thought you should modify all the links one by one, and that depends on the version of SMF you are using (that's why I asked) but if you try to add the links inside the file ManageMembers.php (that's were they are in SMF 2.x) it would be a lot more complicated and you would need to modify it in a lot of places, but inside the file StopSpammer.php you will need to do only a small modification:

Look for the file StopSpammer.php inside your /Sources/ folder.

Inside that file look for the function sprintfspamer. (Starts at line 142)

Replace the line:


return $format1 . '<a href="'. $url . '">' . implode($value[$index], $format2) . '</a>';


With:


$googleLink = '<a href="http://www.google.com/#sclient=psy&hl=en&q=' . urlencode($value[$index]) . '">(whatever picture or text you want to use here)</a> ';

return $googleLink . $format1 . '<a href="'. $url . '">' . implode($value[$index], $format2) . '</a>';


That will take care of all the links at the same time, as the $value[$index] changes in every link and takes the value of email, username or ip accordingly.

===========

Just one small detail:

This mod adds those kind of links only in 3 columns: username, email and ip, but not in the 4th column that you have in that list (the column for the "real name").

Doing the modification I have suggested will add a link to google search in the 4 columns: username, real name, email and ip

If you don't want that link in the column for the "real name" change the modification to:


$googleLink = $type != 0 ? '<a href="http://www.google.com/#sclient=psy&hl=en&q=' . urlencode($value[$index]) . '">(whatever picture or text you want to use here)</a> ' : '';

return $googleLink . $format1 . '<a href="'. $url . '">' . implode($value[$index], $format2) . '</a>';


Because $type 0 is the one I use for the real name, $type 1 for the IP, 2 for the username and 3 for the email.

===========

I don't know the level you have understanding PHP or HTML, so I don't know if this was clear enough for you.

If you don't understand something let me know and I will explain it more slowly.

===========

Another small detail:

I haven't checked that modification, so I am only 99% sure it's right (I may have forgotten something) so let me know if it doesn't work as expected and I will check why.
Title: Re: Stop Spammer
Post by: pedalo on April 15, 2011, 06:52:38 AM
Hello.

I have searched the forum but couldn't find anywhere where people have reported this problem of mine. Apologies if this has been posted/reported already.

It's nothing major really. I have installed this module on one of my SMF forums ( version 1.1.13 ).

When I go to: Admin > Members > View All Members (index.php?action=viewmembers;sa=all) I get a full list of all my registered members. This list includes the spammers that have been blocked as well, however, the paging links on the top of the page only shows enough page links to accomodate listing the non-spammer members. So if I go to the last page, I don't really see the last member that should be listed there.

To better explain for example: Let's say I have 30 members that are not spammers. And let's also say I have 30 members who are spammers but are blocked with the mod. And let's also say that my "View All Members" page on the admin area displays only 30 records per page.

If I go to my "View All Members" page I will only see Page 1 link, there would be no Page 2 link, but the list below it shows the blocked spammers together with non-spammers, which should add up to 60 members. 60 members = 2 pages. So I can't access half of my members until I go to the "Approve Members" page and actually manually reject all the spammers to remove them from the list on the "View All Members" page. Hope you understand what I'm trying to say.

I did not notice this issue on my 2.0 RC5 version forum, but I'm not 100% sure that this problem doesn't exist on this version too. I've tried looking in the code to see if I can find the issue, but I'm a newbie on SMF so at the mo it's beyong me. I hope someone has a quick fix. Thanks.
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 15, 2011, 03:02:56 PM
Quote from: pedalo on April 15, 2011, 06:52:38 AM
When I go to: Admin > Members > View All Members (index.php?action=viewmembers;sa=all) I get a full list of all my registered members. This list includes the spammers that have been blocked as well, however, the paging links on the top of the page only shows enough page links to accomodate listing the non-spammer members. So if I go to the last page, I don't really see the last member that should be listed there.

...

I hope someone has a quick fix. Thanks.

I noticed that problem long time ago.

It's nothing to do with this mod (as far as I know) but a problem in the way SMF count the members when there are a lot of "non-approved" ones.

I am not 100% sure but I think the problem is only in SMF 1.x, not in 2.x

I have tried a few times as well to find a solution, but for the moment the only solution I have found (as you said) is to delete as soon as possible all the "non-approved" members.

Anyway, since I installed the rest of anti-spam mods I have in my forums I only get 1 "non-approved" member every 3 months, so I have not been too worried about this problem lately.
Title: Re: Stop Spammer
Post by: Kindred on April 15, 2011, 03:27:43 PM
it's actually a slightly bigger problem/annoyance in that, members who are flagged as potential spammers are still counted in the "new members" count in the forum stats.  The issue seems to be the code-point at which the user is switched from a standard registration to a "potential spammer - needs approval" registration status.   Apparently this mod does the spammer check AFTER the user has already been counted. The author of the other stopspammer mod indicates that his does not do this...
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 15, 2011, 06:18:04 PM
That other problem was already sorted (more or less) after some contributions by a few other members here in this topic.

I am still working on them (putting all the suggestions together and checking that everything works as expected) but hopefully the new version I am doing will sort most of the bugs found until today.

Cannot promise exactly when this new version will be ready, as I need to work on this whenever I have some free time, but I hope it will be soon.
Title: Re: Stop Spammer
Post by: lupus on April 18, 2011, 11:47:08 AM
Okay I have a pretty small Issue i guess i reported one of my users and now it says everyone has to be checked.

Which means I can't login to the forum and neither can anyone else as it says we need authorising by an Admin.  Well I am an admin and if i can't get in to sort myself how can I sort anyone else?

Is there anything in the table I can change to sort this issue out?

Title: Re: Stop Spammer
Post by: Wizzlefits on April 18, 2011, 12:31:29 PM
To turn Stop Spammer off, go to db_prefix_"settings"
search for stopspammer_enable and change the value from 1 to 0
that will shut it off.

But I'm not seeing how reporting one member is causing the problem.
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 18, 2011, 01:24:54 PM
Quote from: lupus on April 18, 2011, 11:47:08 AM
Okay I have a pretty small Issue i guess i reported one of my users and now it says everyone has to be checked.

Which means I can't login to the forum and neither can anyone else as it says we need authorising by an Admin.  Well I am an admin and if i can't get in to sort myself how can I sort anyone else?

Is there anything in the table I can change to sort this issue out?

It looks like you were using a very old version of this mod and you got "the yellow bug".

Please read this:

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

If that's not what you were trying to say, tell us what version of SMF and what version of the mod you are using and tell us again the symptoms to see if we can sort it out.

Quote from: Wizzlefits on April 18, 2011, 12:31:29 PM
To turn Stop Spammer off, go to db_prefix_"settings"
search for stopspammer_enable and change the value from 1 to 0
that will shut it off.

If it's the yellow bug, turning the mod ON or OFF won't sort the problem at all.
Title: Re: Stop Spammer
Post by: Wizzlefits on April 18, 2011, 06:11:15 PM
Forgot all about the Yellow Bug!  :-[
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 18, 2011, 06:23:15 PM
It's normal that you forgot about it, because that was a problem we sort more than a year ago.  ;)
Title: Re: Stop Spammer
Post by: lupus on April 19, 2011, 05:16:22 AM
Thanks thats the one indeed.

If i want to instal the new version do i need to remove the old one first or does it install on top of a prevous version?  Just wondering if i'll lose all my settings.

Title: Re: Stop Spammer
Post by: snoopy_virtual on April 19, 2011, 07:06:54 AM
Uninstall the old version first and then install the new one.

You won't loose any of your settings if you are using SMF 1.1.13 (you didn't answered that question yet).

If you are using SMF 2.x be sure during uninstall don't mark the option "Remove all data associated with this modification" and you won't loose your settings either.
Title: Re: Stop Spammer
Post by: sharingsunshine on April 20, 2011, 05:42:38 PM
I upgraded to 1.1.13 without uninstalling the mods.  I was told in the httpBL forum to uninstall the mods and then install them again.  Both had warnings when I uninstalled them, but I wasn't sure how to work around them.  The httpBL worked fine but the stop spam now when I press the members link I get this error:

Parse error: syntax error, unexpected ',' in /home/thefruga/public_html/smf/Themes/default/ManageMembers.template.php on line 92

the code on 92 is
', (!$modSettings['stopspammer_enable'] ? '' : '<tr class="titlebg">

Please help and if you can advise best practices on upgrading in the future that would be great too.

Randal
Title: Re: Stop Spammer
Post by: sharingsunshine on April 20, 2011, 06:14:08 PM
it seems there is some double code in function template_view_members I have looked in the forum and this is addressed but the code isn't the same.  Can you tell me how to get the source code changed ManageMember.template.php

If I had that I could fix this.
Title: Re: Stop Spammer
Post by: Wizzlefits on April 20, 2011, 08:33:55 PM
Looks like you have 2 instances of the same code, because the first install of Stop Spammer was never un-installed.
Before we go any further...
Is it a default installation of 1.1.13, or is it heavily modded?
If it's a default install, we can fix this much easier.

Title: Re: Stop Spammer
Post by: sharingsunshine on April 20, 2011, 09:46:21 PM
It only has the following mods:

TFL Mods

Email Permission Mod
Stop Spammer
httpBL
Disable TemplateEval

so not sure if that is heavy or not.
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 22, 2011, 06:57:14 PM
Hi sharingsunshine

Send me your ManageMember.template.php file (either by email : info [at] snoopyvirtualstudio [dot] com or just here attached to a post) and I will put it right in a minute and send it back to you.

I think it's the fastest solution, as that will be easier for me than trying to explain all the changes you will need to do.

Send me also the file Register.template.php (you will find it also in the folder /Themes/default/ ) as I suppose you will have problems with that one as well even if you don't see them.

And the next time you do an upgrade remember to un-install all the mods you have before upgrading and re-install them again after that. It's the best way to avoid problems.  ;)
Title: Re: Stop Spammer
Post by: Col on May 07, 2011, 07:09:10 AM
This is a very nice mod, with a well thought out UI functionality within the existing SMF system. One small  thing that I think would help when reviewing a large number of accounts, is the ability to sort by several parameters: username AND/OR Email Address AND/OR IP Address. I have a lot of fake accounts to sort through (that never made it to the forum boards because of other measures I have in place, but, nevertheless, continue to clutter-up the membership list) - it would be helpful if I could sort them, for example, based upon those that fail Email AND IP Address, as I consider these to be surefire spammers. I could multi-check them all, and delete them all will with a couple of clicks (well, 30 accounts at a time at least).

Thank you for developing this very helpful modification.
Title: Re: Stop Spammer
Post by: Col on May 07, 2011, 09:21:14 AM
Hi again,

I've just noticed that the number of posts is not indicated in Awaiting Approval section. This would be a useful way to help filter out the false positives. On my forum, spammer always have a post count of zero (because I make new members first post to a board there posts are not counted). I expect, because of Stop Spammer (and other anti-spam mods), most would-be-spammers will have a zero post count on most forums. Any chance of adding this column?
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 07, 2011, 10:10:18 AM
The problem is I normally only have time to develop the programs/plug-ins/mods that I actually use myself in my own (or my customers) forums/web-sites. And even with those, I never manage to find enough time to do everything I would like to.

Since (more than a year ago) I managed to get mod httpBL to work as I wanted and set up properly the anti-spam questions in all the forums I administer (9 just now counting my own ones and my customer's ones) I only need to check with mod StopSpammer one or two new members every month.

And also (as I have already said in a lot of places) I have already started to get all my forums ready to move them from SMF to Wedge, so very soon I won't be using myself this mod any longer.

Of course I am not going to leave without support all the people using my SMF mods.

Even if I don't use them any more I will continue answering all the questions about them and publishing new versions to sort bugs, but I don't think I will have time to add any new features to any of them.

Anyway there is one thing I don't understand from your question.

You said:

Quote
I have a lot of fake accounts to sort through (that never made it to the forum boards because of other measures I have in place, but, nevertheless, continue to clutter-up the membership list)

Which other security measures do you have?

I have never seen a forum with proper security measures and a lot of fakes accounts in the membership list to check every day.

Quote from: Col on May 07, 2011, 09:21:14 AM
I've just noticed that the number of posts is not indicated in Awaiting Approval section.
...
Any chance of adding this column?

This can be done with a separate mod (don't need to be included in this one, as it's a general SMF feature) and I don't think it's very difficult at all.

I don't know if there is already a mod to do that, but you can check the modifications section or ask any of the modders working for SMF to see if any of them would do it for you.
Title: Re: Stop Spammer
Post by: thechronic2001 on May 12, 2011, 05:02:19 PM
hi guys,
nice mod, looks very good, i didnt realise exactly what the spammers could do. thanks for doing this mod,,, but

i have followed your guide down to the T and i have problems,

the code from yout tut on here http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2;language=english#ayuda


';

/*****************
** httpBL START **
*****************/
global $sourcedir, $modSettings;
if ($modSettings['httpBL_enable'])
{
require_once($sourcedir . '/httpBL_Subs.php');
$honeyLink = httpBL_honeylink($modSettings['httpBL_honeyPot_link'], $modSettings['httpBL_honeyPot_word']);
echo $honeyLink;
}
/*****************
**  httpBL END  **
*****************/
   
    echo '


when i add it to my test page www.acid-gaming.co.uk/login.php the page dosplays incorrectly
http://www.acid-gaming.co.uk/logincapture.PNG

any ideas on what ive done wrong?
Title: Re: Stop Spammer
Post by: Wizzlefits on May 12, 2011, 05:29:39 PM
That happens when the code is outside a <?php bunch of code ?>
If you PM snoopy or me your test page we might be able to fix it. Faster than typing 2 pages of instructions. lol!
Although, it must be called through ssi.php. If it is not, it wont work anyway.
Title: Re: Stop Spammer
Post by: thechronic2001 on May 12, 2011, 07:05:26 PM
pm sent, thanks for your reply ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 13, 2011, 08:54:13 AM
@thechronic2001

There is one thing I don't understand.

That code you wrote there is for mod httpBL and this topic is for support with mod StopSpammer.

Are you installing both mods or only one?

And BTW, you could have sent the PM to both of us. I cannot see it.
Title: Re: Stop Spammer
Post by: thechronic2001 on May 13, 2011, 03:29:16 PM
sorry mate, i installed both of them, i just got confused on what was the problem as i was working from both your tutorials at the time and it was a long night lol
all sorted now, thanks Wizzlefits for helping me out and thanks for the mod snoopy looks impressive  ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 14, 2011, 06:25:08 AM
Glad to hear the problem is sorted.  ;)
Title: Re: Stop Spammer
Post by: gimmiefreebies on May 16, 2011, 02:23:43 PM
Quote from: jrstark on December 16, 2010, 01:28:08 PM
I just installed this mod.  I see others talking about checking their entire member list, but I can't find how to do this.

Link to faq:
http://www.simplemachines.org/community/index.php?topic=283309.msg1920848#post_database (http://www.simplemachines.org/community/index.php?topic=283309.msg1920848#post_database)

FYI - the FAQ doesn't really explain how to check the whole existing member list. I have 500+ pages of members and would rather not have to check each member, or even each page.  Is there a way to check the entire member list all at once?

Thanks for any help. :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 17, 2011, 03:46:05 AM
The quick answer is you need to check every page one by one. There is no other way. Let me try to explain it a little more:

It depends on the kind of server you have, but all the servers have a limit on how big a script they can handle and for how long.

Checking the members with this script to see if they are or not inside the known spammers database uses server time and resources, and my experience is that most servers cannot handle more than 30 members at a time, so that's why I did the script to be able to check only one page at a time. (The normal settings when you install SMF for the first time is to have 30 members per page).

Of course, as I said, it depends on the kind of server you have, so if you think your server is very powerful and your host won't complain if you use a lot of its resources, you can try and change the number of members per page (don't remember just now where is it, but it's somewhere inside the admin section of the forum) and experiment putting there a bigger number.

For example, if you put 500 members in every page you will need to check only 30 pages, but if you try this and you see the system hung down, you will need to try with a lower number.

Anyway, I would suggest you to put first your forum in maintenance mode while you are doing this, to be sure that you are the only one using the forum at that moment (and save server resources).

The good thing is you only need to check once the full list of your members. Once you have done that, if your forum is configured properly and you have the right mods installed, you will need to check manually only a couple of members a month.

And remember (if you do this change) to put the number of members per page back to 30 (more or less) when you finish, or it will be very difficult for you to manage your member's list.
Title: Re: Stop Spammer
Post by: gimmiefreebies on May 17, 2011, 02:21:47 PM
Okay, thanks so much for your reply!
Title: Re: Stop Spammer
Post by: teos55 on May 25, 2011, 09:52:20 AM
SMF 1.1.3 default theme Simple Portal 2.3.3

  Uninstalling stop spammer 2.3.9  fails on Modifications.spanish-utf8.php

  Checked the file.   Has white space in "//   MOD Stop Spammer - START" and
                                                          "//      MOD Stop Spammer - END"

Using notepadd++, I couldnt manage to remove them. Can you pls provide a working one
with no white space in it.

Mine attached

nb. copying Modifications.english-utf8.php  "test successful" to Modifications.spanish-ut8.php also fails.
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 26, 2011, 08:31:36 AM
I have been checking that file and I have seen that the problem is somebody has opened the file with a Windows program (either Notepad, Wordpad or something similar).

Those programs sometimes add at the end of each line a hidden \r symbol (carriage return) without telling you they are doing it, and also the UTF-8 encoding was changed, as those programs don't normally treat the encoding properly.

To edit any file used in a program (like these ones for example) you need to open them always with proper programs. Never use Notepad, Wordpad, Word, or any of these ****** programs.

If you have Linux, almost any of the text editors on there are good, but I always use "gedit".

If you use only windows, the best program I know to edit these kind of files in windows is a program called "Notepad++" (it's free and open source, so download it from their official site).

==============

I have edited the file to correct those mistakes, so now it should give you no errors when un-installing.

==============

Anyway, in this case you didn't had to worry too much about it. The error you were getting with this file when you were un-installing the mod was because the un-installer was trying to delete all the lines about this mod inside that file but couldn't do it because the lines had been changed since the installation.

That was the only thing the un-installer needed to do with this file.

You could have ignore the error completely, continue with the un-install and delete the lines inside the file yourself manually. (All the lines from "//   MOD Stop Spammer - START" to "//   MOD Stop Spammer - END").

Of course you didn't knew that and anyway if you had edited the file with the windows Notepad you could have leave it unusable for other mods.
Title: Re: Stop Spammer
Post by: teos55 on May 26, 2011, 08:38:50 AM
  With the modified spanish-utf8, I still get the same error, so I'll manually remove the lines .
Pls also note that I use notepad++  with the symbol show option for all and utf8 clicked, I see the same white space at //  --> MOD ...

  Maybe it's my notepad++ level that causes the error but I used same notepad++ for all php files I changed upto now ( maybe 100s)
Thanks for the info provided....
Title: Re: Stop Spammer
Post by: teos55 on May 26, 2011, 08:40:54 AM
 Oops , sorry,

  I made the changes in test system, but accidentally tried to uninstall in production :-),
Now it works ....

Thanks for the efforts ...
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 26, 2011, 08:52:32 AM
I am not very sure about all the symbols you can see with Notepad++ as I have used it only a few times, but in all these PHP files you should have always at the end of each line only a \n symbol (new line).

All the lines in the file you gave me had at the end of each line 2 symbols \r and \n (carriage return and new line) that is the standard for windows files.
Title: Re: Stop Spammer
Post by: teos55 on May 26, 2011, 08:56:13 AM
  You're right in that every file has CRLF  ( Carriage return, linefeed) . But this is valid for all php files
I've updated upto now  (source and language files) , and didnt face nay problem.
I dont know...
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 26, 2011, 09:39:43 AM
That depends on who is been doing the files.

In some mods you can see that all the lines have CRLF at the end and other mods have only LF.

All of them should have only LF, but if one mod has CRLF when you are installing it and you don't change that, you won't have any problem when you un-install it.

It is strange what you say about Source files. Maybe in your forum they have been modified somehow. If you download a new original copy of SMF and you check the Source files you should see they have only LF at the end of each line.

Or maybe you have something wrong in the configuration of your Notepad++, I don't know.

The more strange thing is when you say that all your Source files have CRLF and they work. I don't understand it.
Title: Re: Stop Spammer
Post by: teos55 on May 26, 2011, 10:24:11 AM
  Sorry for misleading, yes checked source files from largeupgrade, they all have only LF at the end of each line.
  What I ment is, I always use the same notepad++ with the same settings (parms) for all type of mods upto now. I didnt notice the difference.
Thanks for clerifying.
Title: Re: Stop Spammer
Post by: teos55 on May 26, 2011, 11:02:12 AM
  Found a solution with notepad++  5.9.

- Open the file with crlf
- Choose edit option  "EOL"
- this option has  windows, unix and mac options,  choose unix
- viola !!!  All lines end with only LF


Thanks again leading me to search for this. 

hxxp // sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Replacing_Newlines

Endless learning :-)
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 26, 2011, 02:27:27 PM
The day that I don't learn a new thing will be a very sad day for me.  ;)

Asking questions, looking for answers and always trying to learn something new is the way all the Science has always develop. And it's also a lot of fun.  ;D
Title: Re: Stop Spammer
Post by: GlitchPC on June 07, 2011, 02:28:01 PM
Thanks, for a GREAT mod!

Getting this error after install:

http://xxxxxxxx.xxx/index.php?action=admin;area=regcenter;sa=settings
8: Undefined index: stopspammer_faildb_sub
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/ManageRegistration.php
Line: 283


I get this error when enabling, or disabling your mod.

Line 283 of ManageRegistration.php:

array('check', 'notify_new_registration'),

Any suggestions?
Title: Re: Stop Spammer
Post by: cassb on June 07, 2011, 05:04:20 PM
I locked myself out of my forum because I accidentally checked the box for my account and then ran "Check" to check all accounts for spammers.  Apparently the request didn't go through, but in the meantime now all accounts are locked waiting for Admin approval, including mine.  How can I restore my account?

Thanks!
Bryan
Title: Re: Stop Spammer
Post by: GlitchPC on June 07, 2011, 05:27:32 PM
Something may be amiss with the install of the mod, though I'm not the coder.  In a perfect install...the option to select an Admin account is not available.  How you were able to select your account (if you're an Admin) is beyond me.
Title: Re: Stop Spammer
Post by: cassb on June 07, 2011, 09:58:32 PM
Quote from: GlitchPC on June 07, 2011, 05:27:32 PM
Something may be amiss with the install of the mod, though I'm not the coder.  In a perfect install...the option to select an Admin account is not available.  How you were able to select your account (if you're an Admin) is beyond me.

Yeah -- well I just went to the members page and selected all and hit the "Check" link and voila.  :-)
Title: Re: Stop Spammer
Post by: busterone on June 07, 2011, 11:20:08 PM
Quote from: cassb on June 07, 2011, 05:04:20 PM
I locked myself out of my forum because I accidentally checked the box for my account and then ran "Check" to check all accounts for spammers.  Apparently the request didn't go through, but in the meantime now all accounts are locked waiting for Admin approval, including mine.  How can I restore my account?

Thanks!
Bryan
You did not say which version of SMF you are using so I will post for both of them. In your host's control panel, go to phpmyadmin and run the following query for your username.   replace yourusername below with your actual username
1.1.x
UPDATE smf_members SET is_activated = 1 WHERE memberName = 'yourusername';

for 2.0
UPDATE smf_members SET is_activated = 1 WHERE member_name = 'yourusername';

That will activate your admin account. Then you can log in to your forum and approve all the rest.
What version of stop spammer do you have installed?
Title: Re: Stop Spammer
Post by: cassb on June 08, 2011, 04:59:00 PM
Quote from: busterone on June 07, 2011, 11:20:08 PM
Quote from: cassb on June 07, 2011, 05:04:20 PM
I locked myself out of my forum because I accidentally checked the box for my account and then ran "Check" to check all accounts for spammers.  Apparently the request didn't go through, but in the meantime now all accounts are locked waiting for Admin approval, including mine.  How can I restore my account?

Thanks!
Bryan
You did not say which version of SMF you are using so I will post for both of them. In your host's control panel, go to phpmyadmin and run the following query for your username.   replace yourusername below with your actual username
1.1.x
UPDATE smf_members SET is_activated = 1 WHERE memberName = 'yourusername';

for 2.0
UPDATE smf_members SET is_activated = 1 WHERE member_name = 'yourusername';

That will activate your admin account. Then you can log in to your forum and approve all the rest.
What version of stop spammer do you have installed?

I'm on version "Powered by SMF 1.1.11".   Thank you, that SQL did it for me.  :-)

Now, I'm back to the original problem, where I'm trying to run a spammer check on about 150 people who registered but are not approved yet.  My guess is that most are spammers.  But when I check them in the Manage Members screen and then click on the Check These Members button, they all get the status of "Suspect: This member couldn't be checked.  Check now."  Maybe I'm not even using Stop Spammer?  It's been so long since I installed it, I can't remember what the name was now.  lol  Maybe it was called "Stop Forum Spam"?

Bryan

Edit:  Wait, I found the zip file I used to install the Stop Spammer add-on.  It was StopSpammer_v2_3.zip.  So maybe it's pretty old?  Regardless... it doesn't seem to be working any more.

Edit #2: I uninstalled and reinstalled the Stop Spammers mod and it works now!  yay  I also updated SMF to 1.1.12 as well.  All is good now, thanks!
Title: Re: Stop Spammer
Post by: busterone on June 08, 2011, 05:53:36 PM
Yes, you had an old version that had the "yellow bug"  See about 20 or more pages back.
Glad it's now working for you.   :)
Title: Re: Stop Spammer
Post by: Kindred on June 08, 2011, 06:05:54 PM
you should have updated SMF to version 1.1.13
Title: Re: Stop Spammer
Post by: busterone on June 08, 2011, 06:06:55 PM
Good catch, I missed that. Indeed, 1.1.12 needs updating, unless it is a typo.
Title: Re: Stop Spammer
Post by: Wizzlefits on June 08, 2011, 07:46:57 PM
Prolly a typo, cause he just upgraded from 1.1.11.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 09, 2011, 09:29:48 AM
@cassb

Sorry I didn't see your post earlier. The yellow bug was the reason why we stopped using the version 2.3 of this mod more than a year and a half ago.

I suppose you have it sorted now, but just in case you can see more info here:

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

You should be using now SMF 1.1.13 and StopSpammer 2.3.9 (current versions of both).

=======

@GlitchPC

Quote from: GlitchPC on June 07, 2011, 02:28:01 PM
Getting this error after install:

http://xxxxxxxx.xxx/index.php?action=admin;area=regcenter;sa=settings
8: Undefined index: stopspammer_faildb_sub
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/ManageRegistration.php
Line: 283


I get this error when enabling, or disabling your mod.

Line 283 of ManageRegistration.php:

array('check', 'notify_new_registration'),

Any suggestions?

Sorry I missed that one too. I will try this evening to find out why you are having this error.

In the mean time, just a couple of questions:

What version of SMF and what version of the mod are you using?

Are you still getting the error or you managed to sort it yourself since you reported it?
Title: Re: Stop Spammer
Post by: GlitchPC on June 11, 2011, 08:58:53 PM
Great mod!  Thank you...

Problem with one of my themes...see attached images.  The SMF Core Theme has no issues...see attached.  The Anecdota theme has issue...see attached.

I'm not much into coding but, can follow directions if anyone has a suggestion on how to fix the issue.  I'm not sure if I should be posting this issue here...or with the forum thread for this particular theme.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 12, 2011, 08:03:51 AM
@GlitchPC

You still didn't answer the questions I asked you a few days ago:

What version of SMF are you using?

What version of the mod?

Did you sorted yourself the another error you were reporting a few days ago?

And now that you report another problem with the Theme Anecdota I need to ask you another question:

What version of Anecdota Theme are you using?

For example you can see this forum I have here:

http://www.snoopyvirtualstudio.com/miel/

In that forum I am using SMF 2.0 RC5, mod StopSpammer 2.3.9 and Anecdota RC4 and I have no problems at all.

I should have updated in that forum the Theme to the latest version Crip did last 12th of April for RC5, but I haven't bother yet because that's not a real forum (it's just a test for different things) but as I said, I haven't got any problems with the Theme.

So please tell us what versions you are using so we can try to help you.

And don't forget to tell us if you already sorted the another problem you had or not.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 12, 2011, 08:12:08 AM
You can see here what I mean.

That's the way I see that with Anecdota:
Title: Re: Stop Spammer
Post by: GlitchPC on June 12, 2011, 09:09:57 AM
@snoopy_virtual...thanks for the reply.

To answer your questions:

I'm using SMF 2.0 RC5, which was a full upgrade from SMF 1.1.13.
I'm using Stop Spammer 2.3.9.
I'm using Anecdota (2.0 RC5).

The earlier issue I had was fixed by updating file permissions then re-installing this mod.  However, I still have some cosmetic errors as reported in my previous post.  I see yours is being displayed correctly but, mine is not.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 12, 2011, 04:44:27 PM
Don't understand it.

The only differences I see between your forum and mine are:

1.- Your forum is a full upgrade from 1.1.13 to 2.0 RC5 while mine was a new install in RC3 and then I did the small upgrades to RC4 and RC5

2.- You are using the latest version of Anecdota while I am still using the version for RC4

I don't see why any of those 2 differences can have anything to do with the difference in the display.

I will think about it a little more and I will tell you if I find out what's the problem.
Title: Re: Stop Spammer
Post by: GlitchPC on June 12, 2011, 05:21:50 PM
On that same note...

Just wanted you to know that I just upgraded to SMF 2.0 Gold.  Now, there are all sorts of issues with that particular theme...so, I deleted it.  Also, is this mod compatible with SMF 2.0 Gold?
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 12, 2011, 05:31:09 PM
I have no idea, as I don't plan to upgrade any of my forums to 2.0 final just now.

For a more extensive explanation you can read the answer I gave here to the same question an another one of my mods:

http://www.simplemachines.org/community/index.php?topic=366399.msg3071573#msg3071573
Title: Re: Stop Spammer
Post by: GlitchPC on June 12, 2011, 05:47:52 PM
No prob...I guess I'll just wait and see.  No worries, mate.

Anyhow...thanks for all the help.  Now...back to the grind.  :)
Title: Re: Stop Spammer
Post by: busterone on June 12, 2011, 06:06:14 PM
It installed and is working well on 2.0.   :)
Title: Re: Stop Spammer
Post by: GlitchPC on June 13, 2011, 02:28:48 PM
snoopy_virtual...

Just to let you know...I just installed the latest version of Anecdota for use with SMF 2.0 Gold.  I'm still having the same issue I  was having when I made this post:   http://www.simplemachines.org/community/index.php?topic=283309.msg3070302#msg3070302

I know you're probably pretty busy...but, if you get the chance...can you take a look to see if you can figure out what's happening?

Here's the HTML associated with that particular section of the page:

<div class="flow_auto">
<div class="floatleft">
<div class="pagesection">Pages: [<strong>1</strong>] </div>
</div>
<div class="floatright">
<div class="additional_row titlebg">

<div style="text-align: center">69 Spammers blocked up until today</div></div>
<div class="additional_row titlebg">
<div style="margin: auto" class="leyend_stopspammer">
<img src="http://glitchpc.net/Themes/default/images/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> Not Spammer: This data wasn't in a DB. But you can check<br />
<img src="http://glitchpc.net/Themes/default/images/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> Suspect: This member couldn't be checked. Check now<br />
<img src="http://glitchpc.net/Themes/default/images/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> Spammer: See more info of activity of this spammer<br />

</div></div>
<div class="additional_row titlebg" style="text-align: right;">
<label>In Stop Forum Spam Web:</label>
<input type="submit" name="spammers_checks" value="Check these Members" onclick="return confirm('Are you sure you want to check the selected members?');" />
<input type="submit" name="spammers_report" value="Report these Members" onclick="return confirm('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.');" /></div>
<div class="additional_row" style="text-align: right;"><input type="submit" name="delete_members" value="Delete Selected Members" onclick="return confirm('Are you sure you want to delete the selected members?');" class="button_submit" /></div>
</div>
</div>

<input type="hidden" name="ce22671fb" value="503a3ef3dfecdc2a97c6d4be784b39cc" />
<input type="hidden" name="sort" value="user_name" />
</div>
</form>
</div>
</div><br class="clear" /></td>


I'll keep my fingers crossed...hoping you have a stroke of genius...and figure it out.


Thanks, again...
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 13, 2011, 08:18:27 PM
That's exactly the same code I have in mine so the only place I can think it may be different is in the css file.

Can you look inside the folder /Themes/Anecdota/css/ and attach here the file index.css so I can compare it with mine?
Title: Re: Stop Spammer
Post by: GlitchPC on June 14, 2011, 02:22:26 AM
Okay...here's the css...attached
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 14, 2011, 11:18:12 AM
The differences between your CSS file and mine are too many, because they are 2 very different versions of the same Theme.

But I cannot find which one of those differences is responsible for the error.

Anyway, I just remembered that ages ago (when we were starting with this mod) we added there a CSS class inside that DIV just in case one day we wanted to change the style of that area:


<div style="margin: auto" class="leyend_stopspammer">


So maybe if we just define that class inside the CSS file and play a little with it that would do the trick.

For example, try adding at the end of the index.css file this:


.leyend_stopspammer {
clear: both;
}


Just in case you don't know too much CSS and don't understand what I am talking about, I have done it already in the file attached.
Title: Re: Stop Spammer
Post by: GlitchPC on June 14, 2011, 11:36:19 AM
Added...but made no difference.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 14, 2011, 03:04:09 PM
I run out of ideas. I thought the problem had something to do with the "float".

Just one thing:

After you changed de CSS did you refresh the page a couple of times to be sure the cache of your browser was empty and was displaying the page properly?
Title: Re: Stop Spammer
Post by: TurtleKicker on June 14, 2011, 03:59:29 PM
Quote from: busterone on June 12, 2011, 06:06:14 PM
It installed and is working well on 2.0.   :)

So to clarify: will this install and work fine on 2.0 final if you simply emulate RC5 during install?
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 14, 2011, 04:19:43 PM
As far as I know you don't need to emulate anything.

As I said before, I haven't tried it yet because I am not planning to use 2.0, but a few people already reported here that the mod installed and it's working properly in 2.0 final without emulation.
Title: Re: Stop Spammer
Post by: GlitchPC on June 14, 2011, 05:24:16 PM
Quote from: snoopy_virtual on June 14, 2011, 03:04:09 PM
I run out of ideas. I thought the problem had something to do with the "float".

Just one thing:

After you changed de CSS did you refresh the page a couple of times to be sure the cache of your browser was empty and was displaying the page properly?

Yes, I did...still have the same issue.  This is really frustrating...
Title: Re: Stop Spammer
Post by: Martine M on June 14, 2011, 05:34:39 PM
I upgraded from SMF 1.13 to 2.0 and installed version 2.3.9.
And here to it isn't working fine any more :(

"Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.
If the problem persists ask for help in the official support forum."

I really hope there is a solution for this cause I find it a very good mod.

If any solution to this is posted already I am sorry, bit tired for reading it all through today, I hope if needed to do it tomorrow.
Title: Re: Stop Spammer
Post by: Kindred on June 14, 2011, 05:38:17 PM
that is anot a problem with the mod and there is nothing that anyone here can do about it. it looks like the  SFS site is currently down.
Title: Re: Stop Spammer
Post by: GlitchPC on June 14, 2011, 05:40:48 PM
I just noticed something...

Checking the source of the page with the issue I'm having...I've noticed you've used <div> containers to add the block on the Admin/Members page.

Why didn't you use a table?  It probably would solve the issue I'm having with the css...along with making it look much neater (imho).
Title: Re: Stop Spammer
Post by: Martine M on June 14, 2011, 05:53:35 PM
Quote from: Kindred on June 14, 2011, 05:38:17 PM
that is anot a problem with the mod and there is nothing that anyone here can do about it. it looks like the  SFS site is currently down.

Thank goodness for that, then it will sort itself out. Thanks
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 14, 2011, 06:00:41 PM
Quote from: enitram on June 14, 2011, 05:34:39 PM
"Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.
If the problem persists ask for help in the official support forum."

Quote from: Kindred on June 14, 2011, 05:38:17 PM
that is anot a problem with the mod and there is nothing that anyone here can do about it. it looks like the  SFS site is currently down.

I have been already a few hours in contact with some internet groups to see what is going on.

It looks like a DDoS attack. We are not sure where it's coming from but I would bet it's coming from the same ones responsible for the latest spammers attacks since last Friday.

Quote from: GlitchPC on June 14, 2011, 05:40:48 PM
I just noticed something...

Checking the source of the page with the issue I'm having...I've noticed you've used <div> containers to add the block on the Admin/Members page.

Why didn't you use a table?  It probably would solve the issue I'm having with the css...along with making it look much neater (imho).

I used tables in SMF 1.1.x and I wanted to use them as well in 2.0 but I couldn't because of the way 2.0 it's done. Those divs appear there automatically. I didn't put them there.

Anyway that has not been a problem before for anybody else as far as I know.
Title: Re: Stop Spammer
Post by: Martine M on June 14, 2011, 06:07:32 PM
oh that's not so good then, hope that it will be solved soon not only for me, for you to.
My reaction was maybe a bit light before. sorry cause it is no fun for you.
There are just so many spammers I was a bit scared that stop spammer wasn't working fine anymore. because I lost peoplesign already to.
Title: Re: Stop Spammer
Post by: Chris K on June 14, 2011, 06:19:05 PM
Ive just upgraded from 1.13/1.14 to 2.0 RC5 and its not connecting to the database? - I have tried setting it back to the default theme but it seems to make no difference. I tried uninstalling it and reinstalling it also no change :(
Its installing fine, and setting the options etc.. but doesnt seem to be able to connect?
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 14, 2011, 06:24:22 PM
@enitram

In all my 8 forums crawltrack, httpBL and the anti-spam questions are working properly.

I was saying yesterday I haven't had a spammer in the last 3 months, but thinking about it today I thinks is 5 months already. I lost count.

I am more worry for Paul (the admin of stopforumspam). I haven't been able to contact him yet.

Quote from: Chris K on June 14, 2011, 06:19:05 PM
Ive just upgraded from 1.13/1.14 to 2.0 RC5 and its not connecting to the database? - I have tried setting it back to the default theme but it seems to make no difference. I tried uninstalling it and reinstalling it also no change :(
Its installing fine, and setting the options etc.. but doesnt seem to be able to connect?

That's exactly what we are talking about. Please read a few post before yours.

From here onwards:

http://www.simplemachines.org/community/index.php?topic=283309.msg3075173#msg3075173
Title: Re: Stop Spammer
Post by: DrBermant on June 14, 2011, 06:39:37 PM
Quote from: Kindred on June 14, 2011, 05:38:17 PM
that is anot a problem with the mod and there is nothing that anyone here can do about it. it looks like the  SFS site is currently down.

http://www.stopforumspam.com/

has been down this afternoon. That means part of the mod cannot work. 

I wonder if they are having a DNS attack? Anyone know what is going on? I have never seen this issue before with that site. Click on a magnifier and you check out a factor. But have been getting yellow can't check members that has shown up for the first time.

Michael Bermant, M.D.
Title: Re: Stop Spammer
Post by: busterone on June 14, 2011, 06:58:37 PM
It was just posted a few posts back. It appears to be a DDOS attack, but none of us have had any contact with the staff there yet. We all suspected that this was coming. There was some talk among the spammer's networks that slipped out about an upcoming attack against SFS. That was about a week or more ago. At this time though, it is nothing but guesswork until Paul or another staff member at SFS can confirm what is going on.
Title: Re: Stop Spammer
Post by: Chris K on June 14, 2011, 06:59:11 PM
ah ok.. ill keep checking periodically and hope it sorts itself.. its out of my hands then  :'(
Title: Re: Stop Spammer
Post by: mistercheah on June 14, 2011, 08:07:58 PM
Just successfully installed on 1.1.14. Thanks a lot and keep up the good work.
Title: Re: Stop Spammer
Post by: Chas Large on June 15, 2011, 12:50:19 AM
Just installed on 2.0 full and it looks OK but of course with SFS down can't check any members. The look and layout looks the same as RC5 did.

I guess lots of people upgrading and reinstalling this does not help the load on SFS servers either? Anyway, still the best mod I've ever used for SMF. :)
Title: Re: Stop Spammer
Post by: Killer600 on June 15, 2011, 03:48:44 AM
Quote from: Nerd3D on December 03, 2009, 10:56:35 PM
When I click Check This User I get Unsupported operand at line 247 which is

$_POST += addslashes__recursive(@unserialize($search_params));

SMF 1.1.11

SMF 2.0 RC5:
Fatal error: Unsupported operand types in /hd1/users/i5006/www/Sources/ManageMembers.php on line 241


Line 241 from ManageMembers.php:
$_POST += @unserialize(base64_decode($_REQUEST['params']));
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 15, 2011, 05:46:28 AM
@everybody

Good news: Servers are back on line.  ;)

@Killer600

That problem only happens when you are checking just one member with the link M-DVD added in September 2009 to the profile page (the one that says "Check this member").

I thought that was sorted in the new versions I have done from 2010 onwards, but apparently there is still something wrong there. I will check it whenever I have some time.

I didn't notice it because I never use that link. To check members I go to Admin => Members => View all members, click on the ID column to sort them by ID (old ones first, new ones at the end) and then go to the last page, select just the latest members and check them.

This way it always works perfect.
Title: Re: Stop Spammer
Post by: aelthric on June 15, 2011, 06:03:18 AM
Most definitely noticed a massive increase in attempts at signups since SFS went down, thanks to Snoopy his excellent mod places them into "awaiting approval" while SFS remains unreachable...

It is also noticeable that popular SMF forums that I know are not running this mod seem to be having problems, so all props to snoopy for at least keeping our forums with the mod installed operational...
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 15, 2011, 06:24:25 AM
Thanks mate. ;)

BTW, I was yesterday so busy trying to find out why the server was not working, that I forgot to remember everybody to use FSLC manually to check if somebody is a spammer when there is no connection with the servers.

Just in case anybody doesn't know what is FSLC, it is a brilliant tool done by our friend Gunner to check if somebody is a spammer using a lot of anti-spam servers. If one or 2 of the servers are down, it's not a problem because FSLC uses a lot of them. More info and download here:

http://www.gunnerinc.com/fslcinfo.htm
Title: Re: Stop Spammer
Post by: aelthric on June 15, 2011, 06:34:12 AM
Thank you snoopy, I didn't know about FSLC before you mentioned it so I am now looking into clearing all those "Awaiting Approval" sign ups while SFS is down...

Once again thank you...

Do you have a plan in the future to add a facility in the Mod to seek another one of these DB's if SFS is down in the future?

Not that I am implying you haven't already done enough to help us ;D
Title: Re: Stop Spammer
Post by: TurtleKicker on June 15, 2011, 10:38:56 AM
Had not heard of FSLC before either, thanks for the tip. Unfortunately, when I try to do a search, it just auto-closes so it doesn't appear to be working for me.
Title: Re: Stop Spammer
Post by: dougiefresh on June 15, 2011, 12:51:53 PM
Thank you for the wonderful mod!  I thought I'd let everybody know that when I updated my forum from 2.0 RC5 to 2.0 Gold, I had to reinstall all my mods.  This mod installed without issues and without emulation.  Hope this info helps someone!
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 15, 2011, 01:48:10 PM
Quote from: aelthric on June 15, 2011, 06:34:12 AM
... I am now looking into clearing all those "Awaiting Approval" sign ups while SFS is down...

Don't understand what you mean. The API (the part of the server in charge of check and reports) has been back on for a lot of hours already.

The last time I checked the web page was still off for maintenance but the API has been working all day, so you can check the spammers with the mod.

Quote from: aelthric on June 15, 2011, 06:34:12 AM
Do you have a plan in the future to add a facility in the Mod to seek another one of these DB's if SFS is down in the future?

We have already talked here in this thread about doing a kind of "Super Anti Spam Mod" combining the way httpBL and Stop Spammer work and adding also all the rest of anti-spam DBs. I also talk a lot with Gunner, because we both work together in another community that is just dedicated to fight spammers using all the means we can find, so we have already talked there about this project I have.

But just now it's only a project for the future and I am not sure if I will ever find time to do it. My main priorities just now are the new rock band I am doing (you may have notice I changed my sig a few days ago  ;D ) and the work I have to do in Wedge.

With the band I am very busy: composing songs, practising with them, looking for musicians (we haven't got a bass player yet), doing the web site (I am the only one in the band with coding skills), etc.

With Wedge I am not so busy just now (just giving a few ideas here and there) but as soon as the first alpha version is out I will be very busy helping with the translation into Spanish, testing it in a few of my forums to help debugging it, etc.

We will see what the future brings.  ;)

Quote from: sremick on June 15, 2011, 10:38:56 AM
Had not heard of FSLC before either, thanks for the tip. Unfortunately, when I try to do a search, it just auto-closes so it doesn't appear to be working for me.

It would be better if you ask that in Gunner's forum:

http://www.gunnerinc.com/board1/index.php

They will help you with that a lot better than me.
Title: Re: Stop Spammer
Post by: aelthric on June 15, 2011, 02:16:46 PM
Yeah I don't understand either, they are all still yellowed out as though the DB is still unreachable <Shrugs> it will sort itself out eventually ;D

Sorry I cannot help you with bass playing, I can make a sax sound like someone is throttling a goose if that helps ;D

Anyway I was just sort of thinking aloud textually when musing on the possibilities of the total anti spam mod, like I said you have provided us an absolutely invaluable mod already and I thank you for it ;D

Take care

aelthric
Title: Re: Stop Spammer
Post by: catfished on June 15, 2011, 02:28:16 PM
Quote from: snoopy_virtual on June 15, 2011, 01:48:10 PM

Don't understand what you mean. The API (the part of the server in charge of check and reports) has been back on for a lot of hours already.

The last time I checked the web page was still off for maintenance but the API has been working all day, so you can check the spammers with the mod.


Not working at all for me. They are all still yellowed out here as well, If I click on any Stop Spammer icons, I get various error messages such as "BAD GATEWAY". Obvious spammers that should be in red are not. It appears from here as if nothing to do with SS is working anymore.
Title: Re: Stop Spammer
Post by: DrBermant on June 15, 2011, 03:13:40 PM
Quote from: catfished on June 15, 2011, 02:28:16 PM
Quote from: snoopy_virtual on June 15, 2011, 01:48:10 PM

Don't understand what you mean. The API (the part of the server in charge of check and reports) has been back on for a lot of hours already.

The last time I checked the web page was still off for maintenance but the API has been working all day, so you can check the spammers with the mod.


Not working at all for me. They are all still yellowed out here as well, If I click on any Stop Spammer icons, I get various error messages such as "BAD GATEWAY". Obvious spammers that should be in red are not. It appears from here as if nothing to do with SS is working anymore.

Select all of the yellow icon account square boxes, then choose: Check these members. If the API is working, it will process the yellow accounts and change them to red or blue. If it is not working, they will remain yellow. Clicking on any magnifier icon still is not working at this time for me either.

Hope this helps,

Michael Bermant, M.D.
Title: Re: Stop Spammer
Post by: Adi. on June 15, 2011, 04:05:34 PM
is there any way to check all members?

I already have over 40k members before installing the mod.
Title: Re: Stop Spammer
Post by: DrBermant on June 15, 2011, 04:24:15 PM
Quote from: Adi. on June 15, 2011, 04:05:34 PM
is there any way to check all members?

I already have over 40k members before installing the mod.

The top of column box will check all those loaded on that page. But 40K requests might be a real load on a free resource to expect that many requests to be handled at one time. Anyway, if your members are not spamming you now, why do you need to check them all?  If they are spamming, then check the spammers. That makes sense to me.

However, I am not knowledgeable enough about such issues to offer a definitive response on this issue.

Hope this helps,

Micheal Bermant, M.D.
Title: Re: Stop Spammer
Post by: whatnow on June 15, 2011, 04:56:08 PM
I installed this MOD   http://custom.simplemachines.org/mods/index.php?mod=1516

and it worked like a charm, no more spammers for the last 6 hours!
Title: Re: Stop Spammer
Post by: Adi. on June 15, 2011, 05:31:18 PM
Quote from: DrBermant on June 15, 2011, 04:24:15 PM
Quote from: Adi. on June 15, 2011, 04:05:34 PM
is there any way to check all members?

I already have over 40k members before installing the mod.

The top of column box will check all those loaded on that page. But 40K requests might be a real load on a free resource to expect that many requests to be handled at one time. Anyway, if your members are not spamming you now, why do you need to check them all?  If they are spamming, then check the spammers. That makes sense to me.

However, I am not knowledgeable enough about such issues to offer a definitive response on this issue.

Hope this helps,

Micheal Bermant, M.D.

The thing is sometimes bots register for usernames and wait for days before they start spamming. So, it's hard to catch.

But, anyway thanks for the response.


This is a really great mod.

Thanks for developing and sharing it.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 15, 2011, 07:07:19 PM
If you want to see more info on the state of the SFS server you can follow it here:

https://twitter.com/#!/StopForumSpam

Quote from: Adi. on June 15, 2011, 04:05:34 PM
is there any way to check all members?

I already have over 40k members before installing the mod.

I have already answered that question a few times in this thread and my answer has been always what DrBermant has just told you.

Trying to check too many members at the same time can be very stressing for your server and I would not recommend it. Just need to be patience and check a few at a time.

Quote from: whatnow on June 15, 2011, 04:56:08 PM
I installed this MOD   http://custom.simplemachines.org/mods/index.php?mod=1516

and it worked like a charm, no more spammers for the last 6 hours!

That mod you are talking about is the "Anti-Spam Verification Questions" I am always recommending everybody to have.

The last time I talked about it was just yesterday, here:
http://www.simplemachines.org/community/index.php?topic=283309.msg3075236#msg3075236

And I even recommend it in the tutorial about mod httpBL here:
http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2;language=english
Title: Re: Stop Spammer
Post by: Killer600 on June 16, 2011, 04:12:19 AM
Quote from: snoopy_virtual on June 15, 2011, 05:46:28 AM
That problem only happens when you are checking just one member with the link M-DVD added in September 2009 to the profile page (the one that says "Check this member").

"Check this member" works correctly. Error is shown when i want to report selected users.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 16, 2011, 05:04:28 AM
Quote from: GlitchPC on June 14, 2011, 05:24:16 PM
Quote from: snoopy_virtual on June 14, 2011, 03:04:09 PM
I run out of ideas. I thought the problem had something to do with the "float".

Just one thing:

After you changed de CSS did you refresh the page a couple of times to be sure the cache of your browser was empty and was displaying the page properly?

Yes, I did...still have the same issue.  This is really frustrating...

Try changing the CSS part I added to this one instead:


.leyend_stopspammer {
background-color: #00639C;
}


Or any other colour you like.

That should do the trick. (I hope).
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 16, 2011, 05:08:53 AM
Quote from: Killer600 on June 16, 2011, 04:12:19 AM
Quote from: snoopy_virtual on June 15, 2011, 05:46:28 AM
That problem only happens when you are checking just one member with the link M-DVD added in September 2009 to the profile page (the one that says "Check this member").

"Check this member" works correctly. Error is shown when i want to report selected users.

That's a different error then.

You are reporting them from the "View all members" page or from "Waiting approval"?

Both pages do it in a different way and I would need to look in different places to find the error.
Title: Re: Stop Spammer
Post by: Killer600 on June 16, 2011, 05:30:24 AM
Page "View all members".
Title: Re: Stop Spammer
Post by: GlitchPC on June 16, 2011, 05:37:22 AM
Quote from: snoopy_virtual on June 16, 2011, 05:04:28 AM
Quote from: GlitchPC on June 14, 2011, 05:24:16 PM
Quote from: snoopy_virtual on June 14, 2011, 03:04:09 PM
I run out of ideas. I thought the problem had something to do with the "float".

Just one thing:

After you changed de CSS did you refresh the page a couple of times to be sure the cache of your browser was empty and was displaying the page properly?

Yes, I did...still have the same issue.  This is really frustrating...

Try changing the CSS part I added to this one instead:


.leyend_stopspammer {
background-color: #00639C;
}


Or any other colour you like.

That should do the trick. (I hope).

We have a winner!!!!  See attached...
Thanks for getting this to work...now I have one more skin to fix...and some new portal software to find...and I'll be a happy camper.
Title: Re: Stop Spammer
Post by: Piwaille on June 16, 2011, 09:28:31 AM
hello

O:) i've haven(t read anything about the mod ... just downloaded it and installed (not event configured yet :-[ ) ..
but I've read that the french wasn't translated ... so I've done it :

$txt['stopspammer_profilecheck'] = 'V&eacute;rifier ce membre';
$txt['stopspammer_limitexceded'] = 'Vous avez d&eacute;pass&eacute; la limite de 5000 requ&ecirc;tes/jour.<br /> Vous devrez attendre demain pour une nouvelle v&eacute;rification.';
$txt['stopspammer_api_key'] = 'Votre cl&eacute; pour l\'API';
$txt['stopspammer_api_key_sub'] = 'Si vous voulez utiliser voter propre clef, vous devez d\'abord visiter <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> pour vous enregistrer et en obtenir une. Si vous n\'avez pas de cle, laissez cette case vide et le mod utilisera la cl&eacute; par d&eacute;faut.';
$txt['stopspammer_check_sub1'] = '<br />Si le mod Stop spammer est actif, nous v&eacute;rifierons chaque membre :';
$txt['stopspammer_check_name'] = 'V&eacute;rifier les pseudo';
$txt['stopspammer_check_mail'] = 'V&eacute;rifier les adresses email';
$txt['stopspammer_check_ip'] = 'V&eacute;rifier les adresses IP';
$txt['stopspammer_check_sub2'] = 'Par d&eacute;faut,&agrave; chaque fois que vous v&eacute;rifiez un membre avec le mod Stop spammer, il v&eacute;rifiera les pseudo, adreses email et IP. Si vous avez trop de faux positifs &agrave; cause des pseudo, vous pouvez annuler cette option.  Nous ne vous recommandons pas d\'annuler les 2 autres options (mails et IP) sauf si vous savez ce que vous faites.';


and the UTF8 :
$txt['stopspammer_profilecheck'] = 'Vérifier ce membre';
$txt['stopspammer_limitexceded'] = 'Vous avez dépassé la limite de 5000 requêtes/jour.<br /> Vous devrez attendre demain pour une nouvelle vérification.';
$txt['stopspammer_api_key'] = 'Votre clé pour l\'API';
$txt['stopspammer_api_key_sub'] = 'Si vous voulez utiliser voter propre clef, vous devez d\'abord visiter <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> pour vous enregistrer et en obtenir une. Si vous n\'avez pas de cle, laissez cette case vide et le mod utilisera la clé par défaut.';
$txt['stopspammer_check_sub1'] = '<br />Si le mod Stop spammer est actif, nous vérifierons chaque membre :';
$txt['stopspammer_check_name'] = 'Vérifier les pseudo';
$txt['stopspammer_check_mail'] = 'Vérifier les adresses email';
$txt['stopspammer_check_ip'] = 'Vérifier les adresses IP';
$txt['stopspammer_check_sub2'] = 'Par défaut,à chaque fois que vous vérifiez un membre avec le mod Stop spammer, il vérifiera les pseudo, adreses email et IP. Si vous avez trop de faux positifs à cause des pseudo, vous pouvez annuler cette option.  Nous ne vous recommandons pas d\'annuler les 2 autres options (mails et IP) sauf si vous savez ce que vous faites.';

Title: Re: Stop Spammer
Post by: flutter on June 16, 2011, 01:52:22 PM
Sorry if this has been asked before and you can't do it. 

I love this mod and it's saved me many times.  I'm having problems right now though with up to 100 of these bots and spammers trying to sign up every day.  At one time when I was only getting a couple a day I could ban them so they couldn't sign up again.  Is thee anyway this could be added to the mod? 

Like in the drop down box have one that says reject and ban?

Thanks for this mod, I'd have given up my forum a long time ago if I had to put up with all those spammers.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 16, 2011, 02:31:03 PM
@piwaille

It has been fully translated to French and other languages, but I didn't have time yet to add all those new languages to the mod.

Thanks anyway for your contribution.

@flutter

You can get that very easy with mod httpBL. With that mod the spammers ban themselves automatically.

I didn't have one spammer (nor had to even check one single member) in the last 5 months.

This tutorial may help you understand it:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2;language=english
Title: Re: Stop Spammer
Post by: flutter on June 16, 2011, 05:26:01 PM
Ok, I read about the mod but I'm unsure on a couple of things.  It seems to recommend me using all three stop spam mods, i.e. this one and project honeypot, etc.  Is that right, I'd be best wih all three of them and this other mod?

Also, I have tiny portal and it says it covers tiny portal but I also have a downloads system, download pro.  Will it affect that?  My forum is set to not let anyone come on the forum without activating their account.  Ive had problems with mods before so I'm unsure about trying out new things.  I'm not a pro with this, still learning but I spend too much time on these spammers and they're making me crazy.

Any info you can give me would be appreciated
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 16, 2011, 05:54:52 PM
I have in all my forums one firewall anti-hackers (the best one available is Crawltrack from http://www.crawltrack.net/ ) and those 3 anti-spam mods (StopSpammer, httpBL and the questions)

With that configuration I have been completely free of spammers in the last 5 months.

I administer 8 different forums and everyone of them have different other mods and Themes and I haven't got any compatibility issues.

Also there are a lot of people using this anti-spam mods and normally there are no compatibility issues, and when every now and then there is a problem, they tell me what is wrong and I sort it for them.  ;D
Title: Re: Stop Spammer
Post by: DrBermant on June 16, 2011, 10:02:57 PM
Snoopy, I really enjoy learning from you. Thank you for all the time you spend teaching.

Off topic:

Your new logo. I went and used Google to translate your page on the design of the logo. I color calibrate my computer screens as images are critical to my real profession of Plastic Surgery. Your new logo SVS looks great on the flat wallpaper version, but does not translate to the billiard ball. The rest of the words show, but the first letters are lost. I did a screen shot and uploaded here. If that is the effect to not see the SVS, then you have achieved it. Magnify the image and the issue is the color of the first letters is too close to the ball's color. Look at the size image in photoshop and blow it up and you can see what I am referring to. Try to use the quick selection tool and the background and letters select together too easily, not something you want if planning on having the eye pick it up easily. I took a few minutes and played in PS and that is the second image with the SVS as you had it with the initial art. No, I did not have the time to fix the missing color on the top and bottom of the sphere, but that should demonstrate the idea. No, I do not like the distortion of the sphere effect, but I was trying to move in the direction of your concept. I would also increase visual contrast even more since at a smaller size the SVS still is less visible.

Sorry, this is not the place to post it, but did not know where to do so and I have not clue to post in Spanish. Glad to help as much as I can by messaging me or emailing me.

But back on point, thank you for your work.

Michael Bermant, M.D.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 17, 2011, 06:40:45 AM
@DrBermant

As this is something that has nothing to do with mod Stop Spammer, I have answered you in my personal forum.  ;)

You can see the answer here:

http://www.snoopyvirtualstudio.com/foro/index.php?topic=420.0
Title: Re: Stop Spammer
Post by: mvc on June 18, 2011, 01:27:57 AM
I recently installed this item and it works fine.  I initially set it up to check username as well as email and IP.  Checking username was a mistake and I no longer want to check on that, but I cannot find where I can change there parameters.   Where do I do that?  Note, I also have the  honey pot mod installed
Title: Re: Stop Spammer
Post by: busterone on June 18, 2011, 02:09:55 AM
look in admin-registration-settings
Title: Re: Stop Spammer
Post by: Max22 on June 18, 2011, 05:53:41 AM
This file 'install_1.php' executes some sql queries... are you sure that, if I decide to uninstall this mod, these changes will be completely deleted from my db?

Apparently, there is no sql cleaning code.
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 18, 2011, 11:01:10 AM
Quote from: Max22 on June 18, 2011, 05:53:41 AM
This file 'install_1.php' executes some sql queries... are you sure that, if I decide to uninstall this mod, these changes will be completely deleted from my db?

Apparently, there is no sql cleaning code.

If you install the mod in SMF 2.0 doing it properly with the Package Manager, it will remember the changes to the database and will un-do them if you un-install the mod. (Or at least that's what the manual says. I haven't checked it).

If you install the mod in SMF 1.1.x it won't clean it, as it never does for the rest of the mods.

Now that you mention it, I could have added a piece of code to clean the DB as well on un-install, (even if it's not the default thing in the rest of the mods) but you need to remember I started doing my anti-spam mods just for me, when they started attacking my forums 3 or 4 years ago. And I didn't plan to un-install these mods.

If I ever do a new version of this mod I will remember to add that.
Title: Re: Stop Spammer
Post by: Kindred on June 18, 2011, 11:39:53 AM
do note: The 2.0 db clean only (should) happen if you tell it to. A standard uninstall should not remove database details.
Title: Re: Stop Spammer
Post by: busterone on June 18, 2011, 11:47:46 AM
I prefer db details to not be removed from any mod's uninstaller myself.  In the event of uninstall and reinstall of a newer version, etc. The info will always be there, and it takes up very little space in the db
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 18, 2011, 12:18:50 PM
Well ... yes

I was thinking more on a kind of option on uninstall that would ask you if you want to delete the DB data or not.

Of course only for SMF 1.1.x emulating the way 2.0 does it already.

Anyway (as I said) that will be only if I ever do a new version of this mod (and if I find a way to implement that  ;D ).
Title: Re: Stop Spammer
Post by: DrBermant on June 18, 2011, 11:59:43 PM
Thank you for the 2.0 gold OK.

Michael Bermant, M.D.
Title: Re: Stop Spammer
Post by: PopUpSteve on June 19, 2011, 12:42:22 AM
Quote from: Adi. on June 15, 2011, 04:05:34 PM
is there any way to check all members?

I already have over 40k members before installing the mod.
I hear you. I have over 25k members. I'm just doing a page at a time and grateful for this life saving mod.
Title: Re: Stop Spammer not working at all for me
Post by: zap275 on June 21, 2011, 03:57:12 PM
Hi All,

I have been looking for answers the past two days with no luck.

I'm being hit hard by spammers currently.  Very small forum related to my business/industry.

I am running SMF 2.0 gold.

I have installed these mods

Mod Name Version 
1. Stop Spammer 2.3.9
2. Dance 1.0
3. CATINTHEHAT 1.0 
4. ALIEN 1.0 
5. httpBL 2.5.1


I have installed and uninstalled Stop Spammer and httpBL a couple times with no result.  I have the Honey Pot in place and API keys for Stop Spammer and Honey Pot.

I can see NONE of the changes or options the documentation shows for these mods.  I am using CurveLife theme, and tried to place the code

/*****************
** httpBL START **
*****************/
global $sourcedir, $modSettings;
if ($modSettings['httpBL_enable'])
{
require_once($sourcedir . '/httpBL_Subs.php');
$honeyLink = httpBL_honeylink($modSettings['httpBL_honeyPot_link'], $modSettings['httpBL_honeyPot_word']);
echo $honeyLink;
}
/*****************
**  httpBL END  **
*****************/
   
    echo '


I am not a programmer, but understand it enough to know I did it correctly.  However, it comepletely breaks the site until removed.

I'm lost.  If I am missing some documentation or something, can you please point me in the correct direction?

Thanks!
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 21, 2011, 05:40:06 PM
First of all:

For me the most important thing to stop spammers in my forums is the "Anti-Spam Questions". Do you have them activated?

In SMF 1.1.x they are not installed by default and there is a mod to add them, but you say you are running SMF 2.0 so they are there already. You just need to activate them.

Go to Admin => Configuration => Security and Moderation => Anti-Spam, scroll down to the "Verification Questions" and set up at least one question (with its answer).

In all my forums, apart from the mods Stop Spammer and httpBL, I have those questions activated and didn't have a spammer in the last 5 months.

============

Now, about your other question:

That piece of code you are talking about has nothing to do with mod Stop Spammer but httpBL, and this is the support topic for mod Stop Spammer.

Anyway it's not a big deal as I wrote both.

I think the quickest way will be if you send me your index.template.php file (either attached here or in the httpBL support topic or by email to info [at] snoopyvirtualstudio [dot] com) and I will modify it for you.

Anyway in that piece of code you wrote there you were missing one line with a siglequote and a semicolon.

The code you need to insert is:


';

/*****************
** httpBL START **
*****************/
global $sourcedir, $modSettings;
if ($modSettings['httpBL_enable'])
{
require_once($sourcedir . '/httpBL_Subs.php');
$honeyLink = httpBL_honeylink($modSettings['httpBL_honeyPot_link'], $modSettings['httpBL_honeyPot_word']);
echo $honeyLink;
}
/*****************
**  httpBL END  **
*****************/
   
    echo '


You may also find useful the question our friend Sea Mac was asking me here:
http://www.simplemachines.org/community/index.php?topic=366399.msg3080909#msg3080909

And the answer I gave him here:
http://www.simplemachines.org/community/index.php?topic=366399.msg3081023#msg3081023
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 21, 2011, 06:05:05 PM
@zap275

Thinking about it, just realized you said you are using SMF 2.0 so you don't need to do those changes to your index.template.php yourself.

I have been checking the tutorial I wrote and it's not clear there (will need to clarify that) but all that part is only for the people using SMF 1.1.x

In SMF 2.0 you have the option (when you are installing a mod) to click on "Install the mod in other Themes apart from the default one" (don't know exactly how it's called because I don't use it, but it's something like it) and tell it to install it in your particular Theme. It will do those changes for you automatically.

The people using SMF 1.1.x don't have that option.
Title: Re: Stop Spammer
Post by: SD-X on June 25, 2011, 07:42:16 AM
Quote from: snoopy_virtual on June 18, 2011, 11:01:10 AM
Quote from: Max22 on June 18, 2011, 05:53:41 AM
This file 'install_1.php' executes some sql queries... are you sure that, if I decide to uninstall this mod, these changes will be completely deleted from my db?

Apparently, there is no sql cleaning code.

If you install the mod in SMF 2.0 doing it properly with the Package Manager, it will remember the changes to the database and will un-do them if you un-install the mod. (Or at least that's what the manual says. I haven't checked it).

If you install the mod in SMF 1.1.x it won't clean it, as it never does for the rest of the mods.

Now that you mention it, I could have added a piece of code to clean the DB as well on un-install, (even if it's not the default thing in the rest of the mods) but you need to remember I started doing my anti-spam mods just for me, when they started attacking my forums 3 or 4 years ago. And I didn't plan to un-install these mods.

If I ever do a new version of this mod I will remember to add that.
Yes, it doesn't uninstall, but I personally find this useful because then it saves my information between mod updates and forum upgrades. Maybe it would be better to make this option upon uninstall via a checkbox, if implemented, so those of us that are simply doing reinstalls don't lose our database files. :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 25, 2011, 08:05:30 AM
Yes of course. That's obvious.

Most of the times you just uninstall a mod because you are doing some upgrades, so you are going to reinstall it again.

That option of deleting the data would be good only if you are uninstalling a mod because you are not planning to use it any more.
Title: Re: Stop Spammer
Post by: SD-X on June 25, 2011, 10:21:00 PM
Exactly what I was trying to say, thank you! :)
Title: Re: Stop Spammer
Post by: zap275 on June 30, 2011, 11:48:56 PM
Well, Stop Spammer (nor httpBL) are working like the instructions show them to.  However, I've just been checking the IPs manually and that's working for now.  Thanks Snoopy for the help.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 01, 2011, 08:32:43 AM
Quote from: zap275 on June 30, 2011, 11:48:56 PM
Well, Stop Spammer (nor httpBL) are working like the instructions show them to.  However, I've just been checking the IPs manually and that's working for now.  Thanks Snoopy for the help.

None of them are working as they should? That's strange.

Do you have any messenger program? I use Skype, MSN and Yahoo and I have them open almost all day long.

If you have any of them let me know and I will try to contact you, so we can see what's the problem.

I suppose (if you haven't got too much experience installing mods in SMF) you may have done something wrong when you were installing those mods and it will take me only a few minutes to find out the error if we can talk directly through a messenger. (I hope).
Title: Re: Stop Spammer
Post by: SD-X on July 02, 2011, 08:34:35 AM
Quote from: snoopy_virtual on July 01, 2011, 08:32:43 AM
Quote from: zap275 on June 30, 2011, 11:48:56 PM
Well, Stop Spammer (nor httpBL) are working like the instructions show them to.  However, I've just been checking the IPs manually and that's working for now.  Thanks Snoopy for the help.

None of them are working as they should? That's strange.

Do you have any messenger program? I use Skype, MSN and Yahoo and I have them open almost all day long.

If you have any of them let me know and I will try to contact you, so we can see what's the problem.

I suppose (if you haven't got too much experience installing mods in SMF) you may have done something wrong when you were installing those mods and it will take me only a few minutes to find out the error if we can talk directly through a messenger. (I hope).
I've noticed that lately I haven't had anything pop up for StopSpammer for approving registrations. I'm not sure if it's because an additional mod I installed is catching everything before StopSpammer gets to it or not, but it seems fairly odd. I'll report back if I can track it down as I'm a bit suspicious on this myself.

Edit: Another forum I'm using last had entries for approval from the 29th, so I'm going to watch both and see if any new bot registrations come up. Given how often they register on the other forum, I'm quite surprised that there hasn't been any since then.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 02, 2011, 10:17:08 AM
For example mod httpBL and the Anti-Spam Questions both act before mod Stop Spammer. So if you have mod httpBL configured properly and at least a good Anti-Spam Question they will catch almost all the possible spammers, so none of them will ever reach mod Stop Spammer.

In most of my forums the last time mod Stop Spammer had to stop one was almost a year ago.
Title: Re: Stop Spammer
Post by: SD-X on July 02, 2011, 10:51:23 AM
Quote from: snoopy_virtual on July 02, 2011, 10:17:08 AM
For example mod httpBL and the Anti-Spam Questions both act before mod Stop Spammer. So if you have mod httpBL configured properly and at least a good Anti-Spam Question they will catch almost all the possible spammers, so none of them will ever reach mod Stop Spammer.

In most of my forums the last time mod Stop Spammer had to stop one was almost a year ago.
Well originally I had only Mod httpBL and StopSpammer, but believe it or not, StopSpammer was still catching a good amount of spammers every day with both mods active. My StopSpammer actually has about ten times the amount of spammers caught than Mod httpBL does, and they've been installed the same amount of time. My only curiosity is a new mod I installed that works similarly to them, querying another database, so I'm wondering if it's stopping them before they can even register. I also installed a ReCaptcha mod, but we all know that barely stops anything these days, and my other forum that has both your mods installed has it as well, and they still get through.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 02, 2011, 11:36:41 AM
Quote from: SugarD-x on July 02, 2011, 10:51:23 AM
Well originally I had only Mod httpBL and StopSpammer, but believe it or not, StopSpammer was still catching a good amount of spammers every day with both mods active. My StopSpammer actually has about ten times the amount of spammers caught than Mod httpBL does, and they've been installed the same amount of time.

It takes a lot of time studying the logs and understanding exactly how httpBL is working in every particular forum until you get the best configuration for that mod (to stop as many spammers as possible but don't cause any troubles to your legit members). But anyway what makes a big difference is the Anti-Spam Questions. You haven't got them activated?

You should. They are more effective than any captcha or than all the anti-spam mods put together.

I forgot what version of SMF you are using. Is it 1.1.14 or 2.0? You can activate the Anti-Spam Questions for both, but the way to do it is different.

Quote from: SugarD-x on July 02, 2011, 10:51:23 AM
My only curiosity is a new mod I installed that works similarly to them, querying another database, so I'm wondering if it's stopping them before they can even register.

What mod is that? The only other mod I am aware of, that query a different database is Akismet (http://custom.simplemachines.org/mods/index.php?mod=544). Is there any other one?

I still have (hidden somewhere in my long TODO list) a plan to contact all the anti-spam modders to work together in a big "Super Anti-Spam mod" or at least be sure that all our individual mods are all compatible with each other, so every time I hear about a new anti-spam mod, I write it there in my TODO list to analyse it (to see what it does and how it does it) and contact the author.

I haven't talked about that with live627 yet (the author of Akismet) but we have been working together lately a lot in another big project and the relation between us is very good, so I suppose we will end up talking about that eventually.
Title: Re: Stop Spammer
Post by: SD-X on July 02, 2011, 12:50:17 PM
Quote from: snoopy_virtual on July 02, 2011, 11:36:41 AM
Quote from: SugarD-x on July 02, 2011, 10:51:23 AM
Well originally I had only Mod httpBL and StopSpammer, but believe it or not, StopSpammer was still catching a good amount of spammers every day with both mods active. My StopSpammer actually has about ten times the amount of spammers caught than Mod httpBL does, and they've been installed the same amount of time.

It takes a lot of time studying the logs and understanding exactly how httpBL is working in every particular forum until you get the best configuration for that mod (to stop as many spammers as possible but don't cause any troubles to your legit members). But anyway what makes a big difference is the Anti-Spam Questions. You haven't got them activated?

You should. They are more effective than any captcha or than all the anti-spam mods put together.

I forgot what version of SMF you are using. Is it 1.1.14 or 2.0? You can activate the Anti-Spam Questions for both, but the way to do it is different.

Quote from: SugarD-x on July 02, 2011, 10:51:23 AM
My only curiosity is a new mod I installed that works similarly to them, querying another database, so I'm wondering if it's stopping them before they can even register.

What mod is that? The only other mod I am aware of, that query a different database is Akismet (http://custom.simplemachines.org/mods/index.php?mod=544). Is there any other one?

I still have (hidden somewhere in my long TODO list) a plan to contact all the anti-spam modders to work together in a big "Super Anti-Spam mod" or at least be sure that all our individual mods are all compatible with each other, so every time I hear about a new anti-spam mod, I write it there in my TODO list to analyse it (to see what it does and how it does it) and contact the author.

I haven't talked about that with live627 yet (the author of Akismet) but we have been working together lately a lot in another big project and the relation between us is very good, so I suppose we will end up talking about that eventually.
I'll just number this since you brought up a lot of good points :) :

1. I don't use the Anti-Spam Questions. I've found that with so many users trying different versions of the same answer, it's easy to cause them trouble when registering, and anything simple to answer only in one way would be math-related questions, and those are pointless now because most bots can do them just fine hahaha...
2. I'm using 2.0 Gold now. Your mods actually catch everything either at or before registration. They never go beyond that. I just added the third mod and re-added ReCaptcha to slow them down even further, even though I didn't really need to.
3. The mod is called Bot Buster (http://custom.simplemachines.org/mods/index.php?mod=1599). :)
It doesn't seem to have any compatibility issues, and the author even stated there were no known ones before I installed it. May add the one you mentioned as well just to "over-protect" myself. Still don't need that many, but it can't really hurt!
4. I think the Super Anti-Spam mod would be amazing. Honestly if you guys pull it off, you might even be able to get others to port it to other forum softwares, which could reduce the attacks for everyone even further. I know there's a PHPBB3 version of StopSpammer already out called Anti-Spam ACP. It's almost the same as your's, but obviously is made by someone else using different code. Works just as well also.
Thinking about what you just said though...all those databases combined into "Super Mods" could possibly put a big dent in the spammer/mal-bot community. With enough interest people may even consider doing the same outside of just forums, eventually implementing it on websites and email systems. Would be a pretty good defense if you ask me, especially with IPv6 coming to the internet as the new standard in the near future.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 02, 2011, 01:38:28 PM
QuoteI don't use the Anti-Spam Questions. I've found that with so many users trying different versions of the same answer, it's easy to cause them trouble when registering

Take a look for example at what I did in this forum:

http://www.snoopyvirtualstudio.com/tom-keenan-fans-club/smf/index.php?action=register

Note the big (green over black) sign I have put underneath the Anti-Spam Question.

That forum is dedicated to a famous country singer who died a few years ago when he was already very old, so most of his fans are very old people with very few computer knowledge and none of them had any trouble signing for an account, and the last time I had an spammer there was ages ago.

QuoteThe mod is called Bot Buster.

I didn't know that one, and it's being there since 2009. Odd.

Well, if the author is the same Mike I think it is, you won't have any problems with that one, because he's very good with code. In fact I also collaborate a lot with this one in another different project and have been talking with him a lot lately. Funny enough he never mention he had this mod here. Maybe he thought I already knew ...

I will ask him.  ;)

QuoteI know there's a PHPBB3 version of StopSpammer already out called Anti-Spam ACP

I am not very sure because I have never used phpBB, but when M-DVD and me started working in our first anti-spam mod, we did it copying some of the functions from a phpBB mod we had seen inside stopforumspam site, so in fact it can be the other way round (our mod a version of that phpBB mod you mention). Anyway that was so many years ago and we changed later our mod so much that it would be very difficult to tell for sure.
Title: Re: Stop Spammer
Post by: SD-X on July 02, 2011, 07:50:22 PM
Quote from: snoopy_virtual on July 02, 2011, 01:38:28 PM
QuoteI don't use the Anti-Spam Questions. I've found that with so many users trying different versions of the same answer, it's easy to cause them trouble when registering

Take a look for example at what I did in this forum:

http://www.snoopyvirtualstudio.com/tom-keenan-fans-club/smf/index.php?action=register

Note the big (green over black) sign I have put underneath the Anti-Spam Question.

That forum is dedicated to a famous country singer who died a few years ago when he was already very old, so most of his fans are very old people with very few computer knowledge and none of them had any trouble signing for an account, and the last time I had an spammer there was ages ago.

QuoteThe mod is called Bot Buster.

I didn't know that one, and it's being there since 2009. Odd.

Well, if the author is the same Mike I think it is, you won't have any problems with that one, because he's very good with code. In fact I also collaborate a lot with this one in another different project and have been talking with him a lot lately. Funny enough he never mention he had this mod here. Maybe he thought I already knew ...

I will ask him.  ;)

QuoteI know there's a PHPBB3 version of StopSpammer already out called Anti-Spam ACP

I am not very sure because I have never used phpBB, but when M-DVD and me started working in our first anti-spam mod, we did it copying some of the functions from a phpBB mod we had seen inside stopforumspam site, so in fact it can be the other way round (our mod a version of that phpBB mod you mention). Anyway that was so many years ago and we changed later our mod so much that it would be very difficult to tell for sure.
Very nice Anti-Spam questions. May give that a try if the bots get through, but your mod works so well right now I think I'll hold off. I don't mind approving or denying them since I have username matches turned out as well, and some of the forums I administrate have usernames that also match generic spammer names, such as people's real-life first names.

As for Bot Buster, I know what you mean. I literally just discovered it recently. I forget who brought it up, but someone very recently told me about it, so I figured I might as well use it too. It's very limited compared to your mod as everything is automated in the background, so there's no way to tell who is denied and who isn't, but unless something went wrong with the other mods, it's working VERY well, hence my curiosity in that other post regarding that user saying StopSpammer wasn't working. :)

P.S. Here's Anti-Spam ACP. The author started publishing updates on his own website instead because he only gives technical support if you pay, assuming it's not a bug in the mod itself.
http://lithiumstudios.org/forum/viewtopic.php?f=31&t=941


Edit: Well, looks like you have some competition ;)
http://custom.simplemachines.org/mods/index.php?mod=1519
http://custom.simplemachines.org/mods/index.php?mod=1849

Edit: Today, (a day later than this post's original date), I had one bot reach Stop Spammer and request admin approval, so it seems that it is working after all. I guess the other mod was just slowing them down so much it never made it that far! :)
Title: Re: Stop Spammer
Post by: Rob Lightbody on July 06, 2011, 01:40:28 PM
Quote from: Mayhem30 on January 22, 2011, 01:34:33 PM
When using this mod, if I go to : Admin > Members > Awaiting Activation - and checkmark anyones name and click on the "Check these members" button, it fills up my error log with these messages  :

8: Undefined index: id
File: /www-data/example.com/forum/Sources/ManageMembers.php
Line: 736


I'm using the latest v2.3.9

I'm getting this too (on 1.1.14)  :(  .  Apart from that, this mod is great.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 06, 2011, 06:25:43 PM
Quote from: Rob Lightbody on July 06, 2011, 01:40:28 PM
Quote from: Mayhem30 on January 22, 2011, 01:34:33 PM
When using this mod, if I go to : Admin > Members > Awaiting Activation - and checkmark anyones name and click on the "Check these members" button, it fills up my error log with these messages  :

8: Undefined index: id
File: /www-data/example.com/forum/Sources/ManageMembers.php
Line: 736


I'm using the latest v2.3.9

I'm getting this too (on 1.1.14)  :(  .  Apart from that, this mod is great.

That's a known bug of version 2.3.9. It will be sorted in the next version. It's not an important error though. Only annoying. The mod works OK even with that error.
Title: Re: Stop Spammer
Post by: SilverLining on July 11, 2011, 05:10:38 AM
Hi guys. Thanks for an awesome mod.

I have a question: I've noticed that a lot of the account this mod catch on my site are accounts with IPs that are already in my banned list! Is there any way to have these accounts get rejected automatically? It feels a bit silly to keep having to reject accounts that are already banned. I was surprised they could register at all, to be honest...
Title: Re: Stop Spammer
Post by: SD-X on July 11, 2011, 05:23:31 AM
If you ban the IP's route via your ban section in the Admin Control Panel, they won't be able to access the register URL. I'm guessing you're likely only banning the full IP's themselves. Try banning the route via "##.##.*.*", replacing the # symbols with the actual numbers, and leaving the *'s in there as they are wildcards.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 05:57:53 AM
@SilverLining

If you do a quick search through this thread you will see all the times we have talked about "white lists", "black lists" "banning members" and the problems we can have with "false positives".

We have always reached the conclusion that doing any kind of automatic action with this mod could lead to disaster because you could stop accessing your forum honest members at the same time as spammers.

Banning members is not a good solution, because the spammers normally change their IPs too often. If you want to ban manually all the possible spammers in your forum you will have to do a lot of manual work and you will need a very big database.

What you need to add to mod Stop Spammer is one mod that make the spammers fall into traps so they ban themselves automatically, like mod httpBL. You can see more info in this tutorial I wrote some time ago:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2;language=english

Be careful though if you are installing more anti-spam mods together with these mods Stop Spammer and httpBL. Some of them are compatible and others not, so you better ask first.
Title: Re: Stop Spammer
Post by: SD-X on July 11, 2011, 06:00:34 AM
Quote from: snoopy_virtual on July 11, 2011, 05:57:53 AM
@SilverLining

If you do a quick search through this thread you will see all the times we have talked about "white lists", "black lists" "banning members" and the problems we can have with "false positives".

We have always reached the conclusion that doing any kind of automatic action with this mod could lead to disaster because you could stop accessing your forum honest members at the same time as spammers.

Banning members is not a good solution, because the spammers normally change their IPs too often. If you want to ban manually all the possible spammers in your forum you will have to do a lot of manual work and you will need a very big database.

What you need to add to mod Stop Spammer is one mod that make the spammers fall into traps so they ban themselves automatically, like mod httpBL. You can see more info in this tutorial I wrote some time ago:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2;language=english

Be careful though if you are installing more anti-spam mods together with these mods Stop Spammer and httpBL. Some of them are compatible and others not, so you better ask first.

Just quickly touching on that, I can confirm that Mod httpBL, StopSpammer, Bot Buster, and ReCaptcha For SMF are all compatible in SMF 2.0 Gold with one another and have no conflicts.
Title: Re: Stop Spammer
Post by: SilverLining on July 11, 2011, 06:24:18 AM
@SugarD-x, that's what I've been doing tough. Some spammers have come back on the same exact IP that's been banned, and some have come back on the same range as banned with the asterisk technique. SO I'll have XX.XX.XXX.* banned and still someone with that IP (and whatever numbers instead of *) turn up in the filter.

@snoopy-virtual, I am already doing a lot of manual work setting up IP bans. The problem is it's all for nothing because the next day the same IP (or an IP in the same range if I've banned with wildcards) has registered a new account and been caught by the filter again. I will have a look at the second mod though and see if it helps. Thanks.

Honestly, I'm starting to think it's useless to ban them at all if they can still register.
Title: Re: Stop Spammer
Post by: SD-X on July 11, 2011, 06:34:31 AM
Ban as XX.XX.*.* and not XX.XX.XX.* because otherwise you are not getting the full route ;)
Title: Re: Stop Spammer
Post by: SilverLining on July 11, 2011, 07:23:06 AM
Either way if I ban XX.Xx.XX.* someone with XX.XX.XX.* shouldn't be turning up in my spam filter, should they? I mean, ban should mean banned, whether I use wildcards or not.
Title: Re: Stop Spammer
Post by: SD-X on July 11, 2011, 07:32:54 AM
Correct, but if the route is XX.XX.YY.* and you banned XX.XX.XX.* then they will get through. Are you sure the third set matches despite the ban? If so then something is wrong with your forum's ban system.
Title: Re: Stop Spammer
Post by: bugstomper on July 11, 2011, 07:58:45 AM
Quote from: SilverLining on July 11, 2011, 07:23:06 AMif I ban XX.Xx.XX.* someone with XX.XX.XX.* shouldn't be turning up in my spam filter, should they?

I've seen similar, which turned out to be a result of spammers using not very good proxies to hide their real ip addresses. SMF figures out their real ip address in what it shows in their profile and when enforcing a ban, but displays the proxy address next to their messages. It's confusing and I don't know a good solution, but here is a thread in the SMF forums that contains some of the technical details in a reply near the end of the thread: IP detection behind a reverse proxy (http://www.simplemachines.org/community/index.php?topic=151317.0)

I think your best bet is to do what Snoopy says he does and use the Anti-Spam Questions mod (or the built in feature for that in SMF 2.0) along with Stop Spammer and httpBL mods. Most of those spammers I have seen that are behind proxies are bots that are stopped cold by Anti-Spam Questions.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 08:03:19 AM
Quote from: SilverLining on July 11, 2011, 06:24:18 AM
Honestly, I'm starting to think it's useless to ban them at all if they can still register.

I arrived to that conclusion 2 years ago and stopped using the ban system completely.

Quote from: SugarD-x on July 11, 2011, 06:34:31 AM
Ban as XX.XX.*.* and not XX.XX.XX.* because otherwise you are not getting the full route ;)

Using that system you can ban half a country if you are not careful.
Title: Re: Stop Spammer
Post by: SD-X on July 11, 2011, 08:18:03 AM
Quote from: snoopy_virtual on July 11, 2011, 08:03:19 AM
Quote from: SilverLining on July 11, 2011, 06:24:18 AM
Honestly, I'm starting to think it's useless to ban them at all if they can still register.

I arrived to that conclusion 2 years ago and stopped using the ban system completely.

Quote from: SugarD-x on July 11, 2011, 06:34:31 AM
Ban as XX.XX.*.* and not XX.XX.XX.* because otherwise you are not getting the full route ;)

Using that system you can ban half a country if you are not careful.
Well if the bots are matching that same route every time with different IP's in the last one or two sets then it's usually not an issue because it shows it's a network route instead of one leased by IP via an ISP. For example, the annoying bot network that uses 109.230.*.* stupidly uses that same network route every time, making it obvious that it's owned by a spammer itself and not an ISP since it never changes, but yes, as you said, being careful is always a good idea.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 09:09:14 AM
For example banning 109.230.*.* you will ban half of Iran and other parts of the middle East.

Are you saying all the people in those countries are ALL OF THEM spammers?

That for example is one of the reasons why mods Forum Firewall and bad-behavior are not compatible with my mods Stop Spammer and httpBL. I have friends in a lot of countries around the world and I have always considered there are good and bad people in all those countries. I am not American and of course I don't think all "non-American" people are suspicious (as those other mods do).

I also had to design my mods to work properly in a lot of different forums, and not only in small forums visited only by a few people from the same country with just a couple of things in common (like for example a small forum of Americans interested in a particular kind of cars) but all possible kinds of forums in the world.

(Of course another reason why mods Forum Firewall and bad-behavior are not compatible with my mods is because they were designed like that on purpose, but that's another story ...  ;D )
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 10:10:27 AM
Quote from: snoopy_virtual on July 11, 2011, 09:09:14 AM
For example banning 109.230.*.* you will ban half of Iran and other parts of the middle East.

Doing a better search I have found also some parts of Ontario (Canada) use that IP range as well.

I could add here a funny commentary about that, but I know a particular lady from Canada that could bite me if I do. So I better don't. (For those who know it has something to do with balloons ...  ;D ).
Title: Re: Stop Spammer
Post by: SD-X on July 11, 2011, 10:29:28 AM
Hahaha...bad boy Snoopy!
Title: Re: Stop Spammer
Post by: SilverLining on July 11, 2011, 11:08:42 AM
@SugarD-X, yes, I'm sure. I've even had cases where a completely identical blocked ip has registered several days in a row.

@bugstomper, thanks for the info. I think the techy stuff will go a bit above my head but at least I know I'm not mad and imagining it, ha! Too bad there's no solution though...

@snoopy_virtual, all right, thanks for the info. That just sucks, I wonder why they even include a ban system if it doesn't work. Back to rejecting 30-40 fake accounts per day then I guess. I don't even have 30-40 actual members, lol! Oh, the things we do for our forums. As a fellow non-American, I do appreciate you designing your mods for an international audience though! =)


Also: Omg, I actually recognize that IP address. I feel like such a techy geek! *proud* It's like getting some obscure movie reference for the first time.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 11:23:25 AM
Quote from: SilverLining on July 11, 2011, 11:08:42 AM
Too bad there's no solution though...

Of course there is a solution, and bugstomper just told you:

Quote from: bugstomper on July 11, 2011, 07:58:45 AM
I think your best bet is to do what Snoopy says he does and use the Anti-Spam Questions mod (or the built in feature for that in SMF 2.0) along with Stop Spammer and httpBL mods. Most of those spammers I have seen that are behind proxies are bots that are stopped cold by Anti-Spam Questions.

Have you read the tutorial I was suggesting?

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2;language=english

Quote from: SilverLining on July 11, 2011, 11:08:42 AM
Back to rejecting 30-40 fake accounts per day then I guess.

Not at all. I administer 8 different forums just now and the last time I had to reject one fake account was last October (if I remember properly).
Title: Re: Stop Spammer
Post by: SilverLining on July 11, 2011, 11:38:06 AM
I've had bad luck with the security questions in the past, but I'll try it again I guess. I guess my prospective members just didn't know what to answer :P And I'll try the other mod you mentioned too. Thanks again.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 11:47:24 AM
Quote from: SilverLining on July 11, 2011, 11:38:06 AM
I've had bad luck with the security questions in the past, but I'll try it again I guess. I guess my prospective members just didn't know what to answer :P

Take a look for example at what I did in this forum:

http://www.snoopyvirtualstudio.com/tom-keenan-fans-club/smf/index.php?action=register

Note the big (green over black) sign I have put underneath the Anti-Spam Question.

That forum is dedicated to a famous country singer who died a few years ago when he was already very old, so most of his fans are very old people with very few computer knowledge and none of them had any trouble signing for an account.
Title: Re: Stop Spammer
Post by: bugstomper on July 11, 2011, 12:19:22 PM
Quote from: SilverLining on July 11, 2011, 11:38:06 AMI've had bad luck with the security questions in the past

You can make it as simple as possible and it will be enough to stop a bot because the bot does not understand anything at all. A question like "Please type the four letter word beginning with f, Plain as the nose on your ____" or "Type the five letter word beginning with n and ending with t  that is the opposite of day" or "Type the color of the sky, four letters beginning with b"

The question really can be that easy and a bot still will not get it. Some bots will insert "yes" or "no" into a box, so don't ask any yes or no questions. And a few might look for arithmetic expressions, so "1+1=" might not be the best choice. But anything that you make up will not be in the repertoire of a bot.

Of course, if you want to go all out, here is my favorite of all time, a real CAPTCHA from a science oriented forum :)

Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 01:23:27 PM
QuoteOf course, if you want to go all out, here is my favorite of all time, a real CAPTCHA from a science oriented forum

But that's too easy. A = 3
Title: Re: Stop Spammer
Post by: bugstomper on July 11, 2011, 03:48:56 PM
Quote from: snoopy_virtual on July 11, 2011, 01:23:27 PMBut that's too easy. A = 3

It looks like you forgot to multiply by the constant coefficients of x when you did the chain rule. The answer is 14. I've never see a spam bot that got the chain rule right either :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 06:23:01 PM
What you're talking about:

I cannot write it properly here because there is no Latex, but let's just write "pi" like "n" and see if I can write it more or less in a way that can be understood:

A = d/dx [7 * sin (6 * x) + 4 * cos (7 * x + n / 2)] | x=2n =
   = 7 * d/dx [sin (6 * x)] + 4 * d/dx [cos (7 * x + n / 2)] | x=2n =
   = 7 *     cos (6 * x)      -  4 *      sin (7 * x + n / 2) | x=2n

Now. When x=2n we have:

A =  7 * cos (12 * n) -  4 * sin (14 * n + n / 2)

But  cos (12 * n) = 1  because 12 times pi is the same than 6 full circles of 360º each so:
cos (12 * n) = cos (6 * 360º) = cos (0º) = 1

And for the same reason:
sin (14 * n + n / 2) = sin (n / 2) = sin (90º) = 1

So we have:

A =  7 * 1 -  4 * 1 = 7 - 4 = 3
QED
 
Title: Re: Stop Spammer
Post by: butchs on July 11, 2011, 07:02:33 PM
Quote from: bugstomper on July 11, 2011, 03:48:56 PM
It looks like you forgot to multiply by the constant coefficients of x when you did the chain rule. The answer is 14. I've never see a spam bot that got the chain rule right either :)

Awe, Snoopy is not a spammer.  Or is he??  :)
Title: Re: Stop Spammer
Post by: busterone on July 11, 2011, 07:06:54 PM
He he.   :D
I would fail myself.  I haven't had to do any higher mathematics for about 30 years now. I forgot most of it since my school years. I never needed it in the real world, so it slipped right away.  :)
Title: Re: Stop Spammer
Post by: bugstomper on July 11, 2011, 07:15:40 PM
Quote from: snoopy_virtual on July 11, 2011, 06:23:01 PMA = d/dx [7 * sin (6 * x) + 4 * cos (7 * x + n / 2)] | x=2n =
   = 7 * d/dx [sin (6 * x)] + 4 * d/dx [cos (7 * x + n / 2)] | x=2n =

Yes, I did guess exactly where your error was. The chain rule says

  d u(v(x)) / dx =  (du/dv) * (dv/dx)

Applying that to the derivative of sin(6x)

let f(x) = sin(6x)
let u(v) = sin(v)
let v(x) = 6x

so f(x) = u(v(x))

du(v)/dv = d(sin(v))/dv = cos(v)
dv(x)/dx = d(6x)/dx = 6

By the chain rule
  d(sin(6x))/dx
= df(x)/dx  = du/dv * dv/dx
= cos(v) * 6
= cos(6x) * 6
= 6*cos(6x)

You missed a similar factor of 7 in the derivative of cos(7x+pi/2)

So the answer comes out to be 6*7 - 7*4 instead of 7 - 4
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 07:51:21 PM
You are right.

I did the calculation in my head too quickly when I saw it was so easy and did it wrong.

Actually when I was writing it there trying to explain it I had the feeling it was wrong, but it's difficult to read maths properly without proper formatting, so a minute ago I went to look for a pen and paper (to do it properly) and just found out the answer was 14 almost at the same time I saw there was a new message here.  ;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 11, 2011, 08:07:13 PM
Quote from: busterone on July 11, 2011, 07:06:54 PM
He he.   :D
I would fail myself.  I haven't had to do any higher mathematics for about 30 years now. I forgot most of it since my school years. I never needed it in the real world, so it slipped right away.  :)

Cammon, you call that "higher mathematics"? That's what we used to do at school when I was 14. You should see then what we used to do in the last year of the University.  ;D

Of course the names we were using were different. For example I have never called that "chain rule" but "la derivada de una función de función" (the derivative of a function of a function). The result is the same though.
Title: Re: Stop Spammer
Post by: SilverLining on July 12, 2011, 04:50:57 AM
@snoopy_virtual, lol, that's handy! Is having an explanatory text like that a built-in feature or something you have to modify?

@Can you ask them to type a certain work backwards? Or might a bot get that?
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 12, 2011, 09:11:45 AM
The main idea of those Anti-Spam Questions is to have them different in any forum.

Bots can read questions, but they cannot understand them. The only way they can ever give a right answer is if it's already programmed into their database, and a botmaster is never going to program a question and answer inside a bot's database unless is a question that has been repeated in a lot of places.

For example there are a few questions that have been seen a lot of times in a lot of webs:

"What color is an orange"
"1+1="
etc

If you use one of them common questions, there are a lot of probabilities than maybe a bot has already the answer programmed into their database, so what you need to do is to create a brand new question that nobody has used before. It doesn't matter at all how easy is the question. If it's an original one the bots won't be able to answer it.

Quote from: SilverLining on July 12, 2011, 04:50:57 AM
Is having an explanatory text like that a built-in feature or something you have to modify?

Is not in SMF Anti-Spam Questions by default. I have modified my questions in every one of my forums to be completely different in every forum I administer for the same reason I was explaining before.

If you get me through Skype I will help you to create something original for your forum if you cannot see a way to do it yourself.
Title: Re: Stop Spammer
Post by: imburner on July 12, 2011, 03:03:08 PM
I am having a problem loading it on a site that the owners previously attempted to install it on. I have not had the time to try to debug it yet but I wanted to see if there is any issues with database files being thrown off by previous versions or by similar anti spam plugins? I would love this to run on the site as its currently being plagued by spammers. Please advise and thank you for the help!
Title: Re: Stop Spammer
Post by: SilverLining on July 12, 2011, 03:48:21 PM
@snoopy_virtual, my forum is fairly niched so if I make a q that has to do with the topic it shouldn't be in any database. But if I feel I need an explanatory text and I can't figure out how to code it myself I will certainly take you up on that offer! =) Btw, this thread and its people rock! I've asked about the ban problem in the general board and days go without answer. Same goes for most mods it seems, it takes a while to answer or you don't really find anyone who can help you because the mod's creator doesn't want to do anything that caters to a specific person's needs. That's understandable of course, but it's so awesome to find people who actually are happy to answer questions and help out as readily as here! =)
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 12, 2011, 05:19:59 PM
Quote from: imburner on July 12, 2011, 03:03:08 PM
I am having a problem loading it on a site that the owners previously attempted to install it on. I have not had the time to try to debug it yet but I wanted to see if there is any issues with database files being thrown off by previous versions or by similar anti spam plugins? I would love this to run on the site as its currently being plagued by spammers. Please advise and thank you for the help!

Yes, it can be a big problem if there was already an attempt to install this mod that wasn't completed or fully uninstalled later. You would need to check manually to see if there are pieces of code of this mod left and delete them before trying to install it again.

Also there are other anti spam mods (or pieces of them if they were not uninstalled properly) that can interfere with this mod. But not all of them. Some anti spam mods are fully compatible with this one.

Could you tell me what version of SMF are you using?

Could you also give me a list of the mods installed just now and also another list of the mods that you think were installed but not uninstalled properly?

Quote from: SilverLining on July 12, 2011, 03:48:21 PM
@snoopy_virtual, my forum is fairly niched so if I make a q that has to do with the topic it shouldn't be in any database. But if I feel I need an explanatory text and I can't figure out how to code it myself I will certainly take you up on that offer! =)

If you already have mod httpBL (if I remember properly you have) you can go to the httpBL help section and you will see when I am connected or not and how can you get me.  ;)

Quote from: SilverLining on July 12, 2011, 03:48:21 PM
Btw, this thread and its people rock! I've asked about the ban problem in the general board and days go without answer. Same goes for most mods it seems, it takes a while to answer or you don't really find anyone who can help you because the mod's creator doesn't want to do anything that caters to a specific person's needs. That's understandable of course, but it's so awesome to find people who actually are happy to answer questions and help out as readily as here! =)

Well ... Thanks.  ;)

I suppose that's the way I am.  Anyway I don't always answer quickly. Some times I am too busy and don't see a question for a few days. The good thing is I have a good bunch of collaborators always ready to help when I'm not here.  ;D
Title: Re: Stop Spammer
Post by: imburner on July 13, 2011, 02:58:39 AM
Unfortunately I already tried to remove and delete the other spam programs but as I suspected traces are still lingering in the database or edited files. Is there a way I can pull this up with the database and manually remove anything? I did take a database backup so I can hunt through there if needed.  Please advise and thanks for the plugin and support!

Currently running.. (which is now allowing the Stop spammer plugin to run half way by halting new members to the awaiting activation stage.) SMF 1.1.14
Mod Name    Version    
1.    SMF 1.0.21 / 1.1.13 Update    1.0    [ List Files ] [ Delete ]
2.    AjaxChat Integration    2.5    [ List Files ] [ Delete ]
3.    Stop Spammer    2.3.9    [ Uninstall ] [ List Files ] [ Delete ]
4.    SMF 1.0.20 / 1.1.12 Update    1.0    [ List Files ] [ Delete ]
5.    SMF 1.0.21 / 1.1.13 Update    1.0    [ List Files ] [ Delete ]
6.    SMF 1.1.14 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
7.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0

Quote from: snoopy_virtual on July 12, 2011, 05:19:59 PM
Quote from: imburner on July 12, 2011, 03:03:08 PM
I am having a problem loading it on a site that the owners previously attempted to install it on. I have not had the time to try to debug it yet but I wanted to see if there is any issues with database files being thrown off by previous versions or by similar anti spam plugins? I would love this to run on the site as its currently being plagued by spammers. Please advise and thank you for the help!
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 13, 2011, 09:08:10 AM
As I can see in that list, most of the packages you have are only updates from one version of SMF to a newer one.

The only problem I can see there is the "SMF 1.0.21 / 1.1.13 Update" that appears twice in the list (#1 and #5) but I suppose that must be an internal error in the package manager and I don't think you should worry about it too much, as you have already applied the update to 1.1.14 (#6) apparently without problems.

I wonder though what happened with the updates to 1.1.10 and 1.1.11. I can see the update to 1.1.9 and from 1.1.12 onwards, but not those 2.

So really the only mods you have (as far as the package manager can see) are "AjaxChat Integration 2.5" and "Stop Spammer 2.3.9".

As you said, Stop Spammer 2.3.9 is not working properly, and I can also see that AjaxChat Integration must also have some kind of problem because it doesn't have the [ Uninstall ] option that all the packages properly installed have. As far as I know that mod has no problems with Stop Spammer, but if it's not installed properly it may have some unexpected issues.

On top of that, (as you said) you have "already tried to remove and delete the other spam programs" but as they don't appear in that list, I don't know which ones are them, so I cannot tell you exactly what changes they could have done to your database if you don't tell me their names.

So if that forum was mine I will do a drastic clean-up to both the files inside the forum (doing a full upgrade to 1.1.14) and the database (doing also there a full upgrade to 1.1.14 and a manual check up looking for all the changes every mod may have done).

The changes inside the database are not so important though. I would leave that for later and concentrate first in the full upgrade (both in the files and the database).

Let's go step by step.

The first thing you need to do if you want to do this drastic clean-up is start with all the files inside your forum:

1.- Go to the proper place (http://download.simplemachines.org/index.php?archive;version=62) and download the SMF 1.1.14 - upgrade original package.

2.- If you are using the default Theme, the newer version is already included in that package, but if you are using any other Theme, you need to go to the place where you got it from and download a version made specially for SMF 1.1.14

If nobody have done an updated version for your Theme you cannot continue doing this full upgrade. In that case stop here, don't do the rest of the steps and contact me to tell me what Theme is that. Even better, send me the Theme you are using by email and I will try to update it for you.

3.- If you are using the default Theme or if you have found an updated version for the Theme you are using you can continue, so put your forum in "maintenance mode" so nothing get changed in the database while you are working on this upgrade.

4.a.- Upload all the files and folders inside the SMF 1.1.14 - upgrade package to your forum overwriting all the files there (to be sure there are no more edits made by any mod and that all the files are like they would be in a fresh install).

4.b.- If you are not using the default Theme delete first all the files in the Theme you are using and upload all the new ones in the updated version you got. (If you just over-write the files there you may leave some unwanted ones that can cause problems).

5.- Visit with your browser the file upgrade.php (it's one of the files inside the package you have just uploaded to your forum) and execute it to be sure everything inside your database is up-to-date as well.

6.- When you finish with that file upgrade.php delete it from the server together with all the files related to it (all the files like "upgrade.whatever.sql").

7.- Delete all the packages you have in the Package Manager. All the packages to update from one version of SMF to a newer one are no use now that you have a fresh copy of 1.1.14. And the 2 mods you have there ("AjaxChat Integration 2.5" and "Stop Spammer 2.3.9") may be corrupted.

8.- Get a fresh copy of the latest versions of both mods (checking first they are compatible with SMF 1.1.14) and install them again. The latest version of Stop Spammer is 3.2.9 and it's compatible with SMF 1.1.14 but the latest version of AjaxChat Integration is 3.2.1 and as far as I can see is not compatible with SMF 1.1.14. If I were you I would ask the author before installing it.

9.- Take your forum out of the "maintenance mode".

10.a.- If mod Stop Spammer is working now properly (go to admin => members => registration => settings and scroll down to see if there is a green sign saying so) relax, have a beer and be happy.  ;D

10.b.- If it's not working properly, don't relax, nor have a beer and let me know what's wrong.
Title: Re: Stop Spammer
Post by: imburner on July 14, 2011, 06:22:20 PM
Alright so the forum is live so I was hoping to create a fresh install and update the files and database?

1: Create a new forum with 1.1.14 or the 2.0 as recommended

2: The theme I believe is custom or possibly a hacked up theme to meet requirements on the site.

3: Import files and database

Pmed you the site and eagerly waiting your response. Thanks for the excellent level of support!
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 14, 2011, 08:46:36 PM
There are a couple of things I don't understand.

Why did you send me a link to your forum?

Were you hoping that I may recognize the name of the Theme you are using just looking at it?

I don't know how many millions of Themes are there, but I can assure you there are a lot of them, and it's a lot more difficult if it's a Theme that has been created expressly for that forum.  :)

I was telling you the process you should have done when you were upgrading a live forum to 1.1.14 because it's obvious it's not working properly. (Don't understand why you said your forum is live, because all the forums I work with are live, and that's why one of the points I was telling you was to put it in maintenance mode while working on the process).

But it doesn't matter if you are going to do that process or if you want to do a fresh install. In both cases you will need to use a Theme that it's made for the version of SMF you are using. So you still will have exactly the same problem in both cases.

Now let's try to analyze the 3 steps you want to do:

Quote1: Create a new forum with 1.1.14 or the 2.0 as recommended

It's up to you if you want to go to 1.1.14 or 2.0

In my case I am upgrading all my forums to 1.1.14 (haven't finished yet though, I have upgraded only 3 of them and the rest are still in 1.1.13) and I am not going to upgrade any of them to 2.0 because I prefer to wait a few months until Wedge is finished. I don't see any point upgrading all my forums from 1.1.14 to 2.0 and then upgrade them all again in a few months to Wedge. For me it makes more sense to wait and then upgrade all of them directly from 1.1.14 to Wedge in just one process.

But if you are not planning yo move to Wedge, they say that 2.0 is supposed to be better than 1.1.14 but I cannot say for sure because I haven't try it yet.

Anyway even if you are planning to move to Wedge later, if you are going to do a fresh install instead of an upgrade, I suppose it would make more sense to do it with 2.0

Quote2: The theme I believe is custom or possibly a hacked up theme to meet requirements on the site.

I have already talked about that. Whatever you do, you need a Theme made specifically for the version you are using.

Quote3: Import files and database

Either if you do the proper full upgrade I recommended you, or if you do a fresh install, importing the files from the old forum to the new forum will make no sense at all. Those files have mistakes and the reason to do a full upgrade or a fresh install is to be sure all the files are the way they are supposed to be.

Importing the database from the old forum to the new forum, yes it's needed if you are doing a fresh install. It's not needed if you are doing the full upgrade I was talking about yesterday because in that case there is only one forum and one database.

Anyway in both cases you will need to clean the database of all the rubbish left from all the mods installed and uninstalled wrongly.

If you know the names of all the mods, that's a very easy process, because you just need to look in the installer of every mod and see what changes it's supposed to do in the database.

Even if you only know the names of a few mods, you can try just to undo the changes those few mods did and it should be enough, because most of the problems with mods uninstalled wrongly are inside the files. I have only seen a couple of mods that make dangerous changes to the database. Most of those changes are harmless if you leave them there after uninstalling a mod.

Anyway if you want to do a fresh 2.0 install may be you won't need to clean the database.

I left the SMF support team last December and I have been working with Wedge since then, so I don't know exactly what they have been doing here, but I suppose they must have done a kind of script to import a database from a 1.1.x forum to a 2.0 forum extracting only the good data and leaving the rubbish behind.

At least that's what we are doing in Wedge with our scripts to import the data from a forum 1.1.x to Wedge or a 2.0 to Wedge.

So, if they have already done a script to do that, you will just need to apply it.

But you will need to ask somebody in the SMF support team where is that script and how it works, as I don't know it.
Title: Re: Stop Spammer
Post by: imburner on July 14, 2011, 11:05:01 PM
Alright I am slightly confused now. I went to the database to look for additional strings to delete but have no clue where to start. The old database I was going to look at for the mods apparently is corrupt since I was backing it up from the smf forum and not through phpmyadmin at the time.

Please let me know the easiest way possible to accomplish this, and thank you for the time.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 15, 2011, 12:45:15 AM
Either I haven't explained myself correctly or you didn't understand.

When you have problems with mods uninstalled wrongly the database is not important at all, the main problems are always in the files.

To clean the files you either need to do a full upgrade, following all the steps I told you a few posts ago or do a new clean install.

Have you already decided which one are you going to do?

And anyway, to help you better with this process you need to tell me the names of the mods you had problems with. Without knowing those names it's impossible to know where to look into the database. I already asked you that a few times and you didn't answer yet.

Is it a big secret or something?
Title: Re: Stop Spammer
Post by: imburner on July 15, 2011, 02:06:52 AM
I do not know the names of the old mods as I either deleted or uninstalled them and not sure where to look to see. There is no secrets here other than the url which I did not want to post publicly.

I will try to disable the theme and upgrade per your suggestion above, but want to get full clarification before I end up trashing a site that people are using currently.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 15, 2011, 07:36:04 AM
I started with SMF so many years ago that sometimes I forget how it was for me when I was a newbie.

Re-reading again everything I was telling you in the previous posts I just realized half of it (if not all) may sounds to you as Chinese.  ;D

Maybe it would be better to do this talking directly using microphones. Do you use Skype, Yahoo or MSN?

The people who use my other mod httpBL have inside it a small module that tells them what I am doing at any moment and if I am connected to talk with me. As you haven't got that mod, you can see if I am connected or not here:

http://www.snoopyvirtualstudio.com/contact.php?language=english

I have even added there a "Time Table".  ;D

All the upgrade process I was telling you may look complicated, but it's really easy (once you know what you are doing) and the only step that may take some time is uploading all the files via FTP. The rest of the steps shouldn't take you more than a few minutes really.
Title: Re: Stop Spammer
Post by: imburner on July 16, 2011, 06:32:58 AM
You are a excellent coder that showed me many tricks yesterday, and I thank you greatly!
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 16, 2011, 06:57:29 AM
You are welcome.

I told you doing it through Skype and TeamViewer it was a lot easier.  ;)
Title: Re: Stop Spammer
Post by: thechronic2001 on July 16, 2011, 05:17:26 PM
just a update,

been using this for a while now,,, excellent mod, nice job guys, the amount of spammers ive prevented getting into my forum is unreal, probably more blocked than i have registered members ;)

thanks guys, keep up the good work ;)
Title: Re: Stop Spammer
Post by: scythe944 on July 20, 2011, 02:32:47 PM
This is a great mod, but ever since upgrading to 2.0 Gold, I don't think it has worked.  Is there going to be an update soon I hope?
Title: Re: Stop Spammer
Post by: Kindred on July 20, 2011, 02:43:59 PM
works fine for me on 2.0 final
Title: Re: Stop Spammer
Post by: Nosy on July 20, 2011, 02:45:50 PM
Hi,

I've read a lot in this thread, but can't find a hint for my problem.

Installed version is SMF 1.1.14
- as Test Forum
- the (real) Forum

All Modifikations are first tested in the Test Forum and afterwards implementated in the Real Forum
Installed Mods are:
- AjaxChat Integration    3.2.1   
- Tapatalk SMF Plugin    1.2.0   
- Aeva Media add German    1.1b   
- Skype Integration   2.1.2   
- Simple Image Upload    1.1.0   
- SMF 1.1.14 Update    1.0
- Aeva Media    1.3   
- httpBL    2.5.1   
and a
- Countdown (PHP Code Snippet)

Today I parsed the Mod Stop Spammer, changed all files manually, expanded the smf_settings table, get the API from StopForumSpam ...
=> in Test Forum it works perfectly
=> in the Real Forum if I go to : Admin > Members > Awaiting Activation or to if I go to : Admin > Members >Show Members
I receive the error Message
"Unknown column 'is_spammer' in 'field list'
Datei: /.../Forum/Sources/ManageMembers.php
Zeile: 703 " (Awaiting Activation)

or

"Unknown column 'is_spammer' in 'field list'
Datei: /.../Forum/Sources/ManageMembers.php
Zeile: 515 " (show Members)

Hope I get a hint here.

Greetings
Claudia
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 21, 2011, 06:47:40 AM
Try uploading this file to the root of your forum an execute it.
(Just visit it with your browser going to hxxp://<your_site>/<your_forum>/install_1.php)

It looks like you did the changes in the database properly inside the test forum but not in the real one. This file will tell you if the changes were done properly or not and will do them if needed.

NOTICE:
This file will work only in SMF 1.1.x (the one Nosy is using) not in 2.0
Title: Re: Stop Spammer
Post by: Nosy on July 21, 2011, 09:35:00 AM
 :) It works! I'm happy. Thanks a lot.

And I figured out, what made the difference. A month ago I installed the Mod Stop Spammer already in the Test Forum with the Packet Manager. I had an error message with an template-file and deinstalled it. But still the right expansions in the database have been made.

Because of that error message I parsed the Mod and made the changes manuell in the *.php files. They are all correct.
But the last step shows only:
INSERT IGNORE INTO
{$db_prefix}settings
(variable, value)
VALUES   ('stopspammer_count' ,'0'),
('stopspammer_enable','0'),
('stopspammer_show01','1'),
('stopspammer_faildb','2'),
('stopspammer_api_key',''),
('stopspammer_check_name','0'),
('stopspammer_check_mail','1'),
('stopspammer_check_ip

So I only worked on the smf_settings table (and corrected the last row). The error message correlates towards the smf_members table. These instructions havn't been parsed.

Btw: A great mod!!! In combination with httpBL a great support.

Greetings to all
Claudia
Title: Re: Stop Spammer
Post by: GraphicJunki on July 23, 2011, 05:22:42 AM
this Mod is  awsome thank you  ;D
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 25, 2011, 04:26:45 AM
@saffz

You're welcome.  ;)

@Kaitlyn

Could you give us more details:

SMF version you are using.

List of mods you have installed and what version of each one you have. (And if possible in what order did you install them).

When exactly that problem started. Was it just after you installed mod Stop Spammer?

I mean, I don't think this problem has anything to do with this mod, as the sub-action "sa=usernamecheck" it's not defined inside it.
Title: Re: Stop Spammer
Post by: scythe944 on July 25, 2011, 01:52:51 PM
Quote from: Kindred on July 20, 2011, 02:43:59 PM
works fine for me on 2.0 final

I must have some permission problems then.  When I try to remove the mod (in hopes that I could re-install) it gives me test failed messages.
Title: Re: Stop Spammer
Post by: Kindred on July 25, 2011, 03:11:10 PM
well, either it did not completely install, thus causing uninstallation errors...   or anothe rmod has since modified the target code...   just like with errors in INSTALLATION, errors in UNINSTALLATION require manual effort
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 29, 2011, 07:55:33 AM
@Kaitlyn

You still didn't tell us what SMF version you are using.

Anyway, you have a big list of mods installed and I don't know all of them, so I am not very sure where those errors can be coming from.

A couple of things are sure though:

1.- Mod Stop Spammer has nothing to do with the sub-action "sa=usernamecheck". Maybe some of the other mods has this sub-action, but as I said I cannot be sure without checking all their code one by one, and there are too many of them.

2.- Mod Forum Firewall is not compatible with mod Stop Spammer (as already stated many times before). Maybe it has nothing to do with this error you are getting just now (I don't know) but they will give you problems working together in the same forum.
Title: Re: Stop Spammer
Post by: butchs on July 29, 2011, 07:41:57 PM
Quote from: snoopy_virtual on July 29, 2011, 07:55:33 AM
2.- Mod Forum Firewall is not compatible with mod Stop Spammer (as already stated many times before). Maybe it has nothing to do with this error you are getting just now (I don't know) but they will give you problems working together in the same forum.

That is not true I have used both since Forum Firewall was created.  No problems what-so-ever!  Stop spreading untruths.
Title: Re: Stop Spammer
Post by: SD-X on July 29, 2011, 08:16:41 PM
Quote from: butchs on July 29, 2011, 07:41:57 PM
Quote from: snoopy_virtual on July 29, 2011, 07:55:33 AM
2.- Mod Forum Firewall is not compatible with mod Stop Spammer (as already stated many times before). Maybe it has nothing to do with this error you are getting just now (I don't know) but they will give you problems working together in the same forum.

That is not true I have used both since Forum Firewall was created.  No problems what-so-ever!  Stop spreading untruths.
He meant it is not compatible with StopSpammer. How about you stop spreading "untruths" and play nice. I'm sick of you two fighting.
Title: Re: Stop Spammer
Post by: butchs on July 30, 2011, 06:58:40 AM
Quote from: SugarD-x on July 29, 2011, 08:16:41 PM
He meant it is not compatible with StopSpammer. How about you stop spreading "untruths" and play nice. I'm sick of you two fighting.

FALSE!  I have used both mods with no issue for over a year.

I am tired of people making unwarranted false statements about compatibility.

This "fight" is all about snoopy pushing wedge via his warez.  It has nothing to do with compatibility.
Title: Re: Stop Spammer
Post by: SD-X on July 30, 2011, 01:10:34 PM
Quote from: butchs on July 30, 2011, 06:58:40 AM
Quote from: SugarD-x on July 29, 2011, 08:16:41 PM
He meant it is not compatible with StopSpammer. How about you stop spreading "untruths" and play nice. I'm sick of you two fighting.

FALSE!  I have used both mods with no issue for over a year.

I am tired of people making unwarranted false statements about compatibility.

This "fight" is all about snoopy pushing wedge via his warez.  It has nothing to do with compatibility.
Just because they work without error does not make them compatible. There could be underlying issues between the two that have been reported. Quit trying to pick fights and work with him to resolve it. All you two have done since I found out about your little "war" with each other is moan about how it's the other person's fault.
Title: Re: Stop Spammer
Post by: butchs on July 30, 2011, 04:30:10 PM
You need to prove you case or stop the games.

FF scans information sent through a URL by an outside visitor and ignores all information between SMF, its database and the world.  Stop spammer calls a remote database from within SMF.  This traffic is ignored by FF.  There is absolutely no possible way for the two to interfere with each other.
Title: Re: Stop Spammer
Post by: SD-X on July 30, 2011, 04:36:27 PM
Quote from: butchs on July 30, 2011, 04:30:10 PM
You need to prove you case or stop the games.

FF scans information sent through a URL by an outside visitor and ignores all information between SMF, its database and the world.  Stop spammer calls a remote database from within SMF.  This traffic is ignored by FF.  There is absolutely no possible way for the two to interfere with each other.
How they work doesn't mean they can't conflict. There are other ways. I'm not saying it's true, I'm just saying it's possible. I have no case to prove. You two need to stop acting like children and learn to get along instead of shifting the blame.
Title: Re: Stop Spammer
Post by: butchs on July 30, 2011, 04:44:07 PM
Who is shifting blame?  If there was a known incompatibility, I would have fixed it within a week.  It is important to me to maintain compatibility with all major anti-spam mods.  I have released many minor bug fixes.  That is how I roll.  Show me the incompatibility, because I do not believe it exists.
Title: Re: Stop Spammer
Post by: Kindred on July 30, 2011, 05:09:53 PM
actually, I have both of them installed and running just fine, as far as I am aware....
Title: Re: Stop Spammer
Post by: SD-X on July 30, 2011, 05:13:28 PM
Quote from: butchs on July 30, 2011, 04:44:07 PM
Who is shifting blame?  If there was a known incompatibility, I would have fixed it within a week.  It is important to me to maintain compatibility with all major anti-spam mods.  I have released many minor bug fixes.  That is how I roll.  Show me the incompatibility, because I do not believe it exists.
Once again, work with him rather than point fingers and blame. Same goes to you Snoopy. You guys are being too immature about this. Your mods are for the good of the community to fight against something evil, so why are you arguing over something so stupid? Come on now guys...seriously...
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 30, 2011, 06:06:51 PM
Sorry, but I am not aware of being arguing about anything. The only thing I was trying to do was to help Kaitlyn that apparently has a problem (and apparently everybody else forgot about it).

I know I shouldn't do it because the problem Kaitlyn has is not with this mod, but that's the way I am.

Do you think it would have been better I haven't tried to help?
Title: Re: Stop Spammer
Post by: SD-X on July 30, 2011, 06:09:54 PM
Quote from: snoopy_virtual on July 30, 2011, 06:06:51 PM
Sorry, but I am not aware of being arguing about anything. The only thing I was trying to do was to help Kaitlyn that apparently has a problem (and apparently everybody else forgot about it).

I know I shouldn't do it because the problem Kaitlyn has is not with this mod, but that's the way I am.

Do you think it would have been better I haven't tried to help?
Not saying that. I was referring to you two modders always arguing over who's fault it is. I want you two to get along!
Title: Re: Stop Spammer
Post by: butchs on July 30, 2011, 06:47:20 PM
We get along...
Title: Re: Stop Spammer
Post by: SD-X on July 30, 2011, 06:49:16 PM
It shows :P
Title: Re: Stop Spammer
Post by: butchs on July 30, 2011, 06:50:04 PM
Kaitlyn,
Can you post your current Register.php file as an attachment?
Title: Re: Stop Spammer
Post by: butchs on July 31, 2011, 08:06:44 AM
Quote from: Kaitlyn on July 30, 2011, 07:59:46 PM
opened a new smf in winrar to see the file for register.php and it seems the code is the same but not sure why the error keeps happening with this one username and several others

The code there looks good.  Are the ip addresses being used the same as the actual user?  Could be a bot trying to crack the users password.  Try to do a search on the ip's used.
Title: Re: Stop Spammer
Post by: bugstomper on July 31, 2011, 08:52:38 AM
Quote from: Kaitlyn on July 30, 2011, 07:59:46 PMstristr() [<a href='function.stristr'>function.stristr</a>]: Empty delimiterFile: /home/human/public_html/Sources/Register.php
Line: 837

if (stristr($context['checked_username'], $txt['guest_title']) !== false) is line 837

That error is saying that it is not finding the line in Themes/YOURTHEME/languages/index.YOURLANGUAGE.php in which it says (for example in Themes/default/languages/index.english.php)

$txt['guest_title'] = 'Guest';

Well, the error actually says that $txt['guest_title'] is not set or that it is set to the empty string "". That could happen if the line that sets it does not exist in the language file you are using, or if that file says $txt['guest_title']="" or if something is unsetting the $txt array after the language flle is read.

I don't see why it would happen with some usernames and not others. And if your language file really is messed up and doesn't set $txt['guest_title'] to something, then all the places where you are supposed to see, for example "Welcome Guest" would not have "Guest" in it.
Title: Re: Stop Spammer
Post by: SD-X on July 31, 2011, 01:38:16 PM
Just throwing my two cents in, but the part where you said it only happens on some usernames and not others stood out to me. I'm not a modder or a coder, so this isn't really my area of expertise, but any chance it's caused by specific characters in usernames?
Title: Re: Stop Spammer
Post by: busterone on July 31, 2011, 02:03:10 PM
I lean towards butchs' idea as well. It would help to see the server access logs for the exact time that these errors occur. They may be bots or a human hacker attempting to inject something other than the username and password for that user. 
Title: Re: Stop Spammer
Post by: bugstomper on July 31, 2011, 02:17:54 PM
The user name shows up in the error message, where it says username=samsmith2 so there are no funny characters in it.

That line of code is during registration after the proposed user name being registered has been checked for illegal characters and if it is a duplicate of an existing user name, and now is being checked to make sure it is not the word "Guest" in the current language. The error is in getting the current language text string "Guest" from the current theme's index.LANGUAGE.php file. The string comes back as either undefined or an empty "" string, and that results in the error message.

That said, it makes no sense to me that it only happens with some user names and not others, as the error message is not about the user name string, it is about the "Guest" string. It would make more sense if it turns out that something else happens sporadically and it doesn't always happen with a particular user name.

You can look at the the errors and see if username= is always the sane user name. You can also check the access logs looking for  lines with /index.php?action=register;sa=usernamecheck;xml;username= to see if it happens every time someone tries to register or only some of the time.
Title: Re: Stop Spammer
Post by: busterone on July 31, 2011, 02:41:30 PM
That is possible, but if "guest" is not defined in the current theme's language file, it should default back to the default theme's language files. (in theory anyway).

It is certainly odd that it only occurs on a few select names, and not all.
Title: Re: Stop Spammer
Post by: butchs on July 31, 2011, 08:19:46 PM
Quote from: Kaitlyn on July 31, 2011, 08:07:09 PM
we had other users be able to register on our forum with no problems and the username samsmith doesn't even exist on our forum

Classic dictionary attacker ploy.   I hate to say this but the problem is solved:  As snoopy says it is not stop forum spam.  Maybe you need to adjust your robots.txt file as described in the ForumFirewall thread and reinstall the latest version.

If not maybe, you need one of the two mods that support project honeypot.

Title: Re: Stop Spammer
Post by: davidhs on August 07, 2011, 04:11:00 PM
Hello,

I wanted to install this MOD in a forum 2.0 RC2, but only works in RC4 and next.

I write a version for SMF 2.0 RC2 and StopSpammer 2.3.9 runs in my forum :)

This may be useful for someone. I only change file install_2.xml, line 344. I replace
$context['unapproved_members'] = (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 2) || !empty($modSettings['approveAccountDeletion']) ? $modSettings['unapprovedMembers'] : 0;]]></search>
for
$context['unapproved_members'] = !empty($modSettings['registration_method']) && $modSettings['registration_method'] == 2 ? $modSettings['unapprovedMembers'] : 0;]]></search>
Title: Re: Stop Spammer
Post by: busterone on August 07, 2011, 04:38:16 PM
Nice work, but there are not many still using RC2. There are security issues in RC4 and previous that you may want to consider. Upgrading to 2.0 final (or at least RC5) would be your best bet to keep your forum safe.
Title: Re: Stop Spammer
Post by: davidhs on August 07, 2011, 04:56:49 PM
Quote from: busterone on August 07, 2011, 04:38:16 PM
Nice work, but there are not many still using RC2. There are security issues in RC4 and previous that you may want to consider. Upgrading to 2.0 final (or at least RC5) would be your best bet to keep your forum safe.
I know, but I have not time to update :(
Title: Re: Stop Spammer
Post by: SD-X on August 07, 2011, 04:59:49 PM
Quote from: davidhs on August 07, 2011, 04:56:49 PM
Quote from: busterone on August 07, 2011, 04:38:16 PM
Nice work, but there are not many still using RC2. There are security issues in RC4 and previous that you may want to consider. Upgrading to 2.0 final (or at least RC5) would be your best bet to keep your forum safe.
I know, but I have not time to update :(
You should make time. There are serious security issues with the version you are using.

http://www.simplemachines.org/community/index.php?topic=422954.0
Title: Re: Stop Spammer
Post by: wlchase on August 09, 2011, 12:24:16 PM
OK, got a weird one.

I just upgraded from 1.1.14 to 2.0, and was going back to install the various mods we use, this one included. I ran the script for Stop Spammer, the check looked good, but it asked for ftp credentials to create directories, etc. I entered them, checked the connection, then hit the go button, and wham! 500 Internal Server error!

I could still ftp, the cPanel stuff worked, but access to the website via a browser was a no-go.

I checked all the permissions, all looked OK, so I contacted our hosting co. to see if they had any problems or ideas.

I'm on CharlottezWeb and the structure is /home/czforums and the site is under /home/czforums/public_html. Turns out the permissions for /home/czforums had gotten changed to 777! (?)

The hosting guy fixed that, I went back to the installation of the mod and this time, when I got the ftp request

QuoteFTP Information Required
Some of the files the package manager needs to modify are not writable.
This needs to be changed by logging into FTP and using it to chmod or
create the files and folders. Your FTP information may be temporarily
cached for proper operation of the package manager. Note you can also do
this manually using an FTP client - to view a list of the affected files
please click here.

I clicked there and saw

QuoteThe following files need to made writable to continue installation:

    /home
    /home
    /home
    /home
    /home
    /home
    /home
    /home
    /home
    /home
    /home
    /home

This doesn't look kosher!

Is this a mod issue, an SMF issue, a host issue or a me issue?

TIA!
Bill

Title: Re: Stop Spammer
Post by: snoopy_virtual on August 09, 2011, 04:14:35 PM
An SMF issue, and one very common as far as I have heard.

I cannot help you there because I never had this problem before, but I'm sure if you check the support forums for SMF 2.0 you will find a lot of topics talking about it.
Title: Re: Stop Spammer
Post by: Exsharaen on August 10, 2011, 12:14:46 AM
Hi snoopy,

I noticed the language pack is 2 minor version behind the mod. The mod is v2.3.9, but the language pack is v2.3.7. I checked the error log and there seems two strings are missing:

stopspammer_enable_sub
stopspammer_all_ok

I tried to find those in the languages.xml and none to find. What are the strings for these two text?

Thanks :)
Title: Re: Stop Spammer
Post by: HoverClub on August 10, 2011, 10:40:06 AM
This may not be classed as a true bug but it does end up generating critical errors (Administration login attempt!).  When a user is viewing their profile (?action=profile) and they click the Action menu->Check Member it takes them to the admin section (/index.php?action=admin;area=viewmembers;sa=query;..... - where they are asked to re-enter a password (as an admin).  Most users aren't admins so this generates the above error.

Looks like the Check Member option should only be available to mods or admins? 
Profiles.php line 318 +++
'checkmember' => array(
'label' => $txt['stopspammer_profilecheck'],
'custom_url' => $scripturl . '?action=admin;area=viewmembers;sa=query;params=' . base64_encode(serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))),
'enabled' => $cur_profile['id_group'] != 1 && !in_array(1, explode(',', $cur_profile['additional_groups'])),
'sc' => 'get',
'permission' => array(
'own' => array('profile_remove_any', 'profile_remove_own'),
'any' => array('profile_remove_any', 'moderate_forum'),
),
),
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 11, 2011, 01:10:51 PM
@Exsharaen

Inside the latest version 2.3.9, inside the file languages.xml (or languages_utf8.xml depending on your encoding) you can see all these new lines:


// 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 <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> to sign up for one and write it here. If you haven\'t got one you cannot report spammers with this mod.<br /><br />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 <a href="http://www.snoopyvirtualstudio.com/contact.php?language=english" target="_blank">see more info here</a>.';

// 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<br /><br />You need to register on their site first, ask them for an API key and then navigate inside your forum to:<br />Admin => Members => Registration => Settings<br />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 <a href="http://www.snoopyvirtualstudio.com/foro/index.php?board=31.0" target="_blank">official support forum</a>.';
$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'] = '<a href="http://www.snoopyvirtualstudio.com/foro/index.php?board=31.0" target="_blank">Please update it here whenever you can</a> 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.';


Both lines you were talking about are there.

================

@HoverClub

I cannot check that just now because I am not using SMF 2.0 (and haven't got any intention of doing it) but it looks like you are right.
Title: Re: Stop Spammer
Post by: Gargoyle on August 13, 2011, 10:25:38 PM
@ snoopy....

I just installed this mod! I found a link to it from Project honey pot. Very cool package here... While I was looking around for the mod I found a site that looked like it was run by Snoopy.. At the top it had a funny little blurb about how many spammers the site has blocked.

I am wondering if the code to display how many spammers have been blocked was something you could share with me. I found it very amusing and would like to use it as well.

Thanks!
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 14, 2011, 06:56:56 AM
@Gargoyle

I suppose you are talking about my personal forum, because that's the only place where I have put something like that. It is a forum where anybody can ask any kind of question about computers (security, programming, graphic design, games, etc, etc) and all the rest of the members will try to answer the question to help the guy who asked it (at least in theory, at the end of the day, I am the only one answering most of the questions :lol:).

Inside my server I have lots of different sites (all of them connected with each other and using the same database, but using different software and different design), but to be sure if it's one of my sites you just need to check if the address start with www.snoopyvirtualstudio.com because that's the address of my main server and all the sites inside it are in different sub-folders inside that server.

If that's the page you are talking about, I already explained before how I had done that "funny little blurb about how many spammers the site has blocked". You can see it here:

http://www.simplemachines.org/community/index.php?topic=366399.msg2864983#msg2864983

The only thing I didn't explained then was that, to do the small floating window that appears when you put your mouse over the picture, I used a javascript program called "Tipster" created by Angus Turnbull that you can download for free from www.twinhelix.com

Another thing I didn't explained then was that, in fact, the number showing in my forum is the total of spammers caught by both mods Stop Spammer and httpBL.

As I was saying in that post the amount of spammers caught by mod httpBL is inside the variable $modSettings['httpBL_count']

If you want to add also the spammers caught by mod Stop Spammer, they are inside the variable $modSettings['stopspammer_count']

So if you want to use both you should do something like:


$total_spammers_caught = $modSettings['httpBL_count'] + $modSettings['stopspammer_count'];


And use that variable $total_spammers_caught instead.

I suppose you get the idea.
Title: Re: Stop Spammer
Post by: Gargoyle on August 14, 2011, 10:40:39 AM
Okay thanks much for the info!!!

I can't wait to get a nice little count displayed for all to see... Loving this mod!!
Title: Re: Stop Spammer
Post by: rosuvladut on August 17, 2011, 05:36:30 AM
Can I ban all Awaiting approval users?
If I select reject,their accounts are deleted...
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 17, 2011, 03:34:21 PM
As we have said here thousands of times, banning people is no good at all against spammers.

It would be too long to explain why, but searching a little this topic will show you why.
Title: Re: Stop Spammer
Post by: JoeyD0831 on August 18, 2011, 03:25:32 PM
I installed http:BL and wanted to install Stop Spammer as well. However, when I went to install, I got this message:

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

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

I'm using SMF 2.0 Final and my list of mods are:

1.    Member Color Link    3.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    Stop Spammer    2.3.9    [ Install Mod ] [ List Files ] [ Delete ]
3.    Join date and Location in Posts    1.2    [ Uninstall ] [ List Files ] [ Delete ]
4.    Reason For Editing Mod    2.3.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    Gamer IDs    1.2    [ Uninstall ] [ List Files ] [ Delete ]
6.    Countdown BBCode    2.0    [ Uninstall ] [ List Files ] [ Delete ]
7.    PortaMx 1.4    1.4    [ Uninstall ] [ List Files ] [ Delete ]
8.    SMF Gallery Lite    3.1.1    [ Uninstall ] [ List Files ] [ Delete ]
9.    Country Flags    1.1.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    Quick Ban on Account Delete    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]
11.    Yet Another Global Announcements Mod    2.7.4    [ Uninstall ] [ List Files ] [ Delete ]
12.    SMF Staff Page    1.7    [ Uninstall ] [ List Files ] [ Delete ]
13.    Aeva ~ Auto-Embed Video & Audio    7.1    [ Uninstall ] [ List Files ] [ Delete ]
14.    Profile Comments    2.0.2    [ Uninstall ] [ List Files ] [ Delete ]
15.    httpBL    2.5.1    [ Uninstall ] [ List Files ] [ Delete ]
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 19, 2011, 07:17:32 AM
When there is an error like that you need to edit manually the files with the error, because that means one of the other mods has already edited the place this mod is trying to edit.

If the only error you have is in this file, if you don't know how to edit it manually, the quickest way would be if you send me your file Subs-Members.php (exactly the way you have it just now) and I will edit it manually for you.

Either attach it here in a post or send it to me in an email to info [at] snoopyvirtualstudio [dot] com

That would be a lot easier than trying to teach you how to do it.
Title: Re: Stop Spammer
Post by: JoeyD0831 on August 19, 2011, 06:47:13 PM
I don't mind editing .php myself, I would just need the "Find Code:" and "Add after:"

Would it just be this? I got this from the StopSpammer manual install instructions

Find:
'validation_code' => $validation_code,
Add Before:

'is_spammer' => empty($regOptions['spammer']) ? 0 : $regOptions['spammer'],


Find:
mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.icq, mem.aim, mem.yim, mem.msn, mem.member_ip, mem.member_ip2, mem.last_login,
Replace with:
mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.icq, mem.aim, mem.yim, mem.msn, mem.member_ip, mem.member_ip2, mem.last_login, mem.is_spammer,
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 20, 2011, 06:51:05 AM
That's exactly the 2 edits you would need to do inside the file Subs-Members.php if yours was an original one.

The problem is, that's what your Package Manager was trying to do when you tried to install the mod, and it found the first one but couldn't find the second one.

Apparently one of the other mods must have edited that line and now it's not exactly like that.

You just need to be a little more clever that the Package Manager, find that line and guess how you need to modify it.

I cannot tell you exactly without seeing your file.
Title: Re: Stop Spammer
Post by: JoeyD0831 on August 20, 2011, 06:27:51 PM
Here you go, please let me know what you change.

Also, once the Subs-members.php is fixed, how would I install Stop Spammer? Would I do it through the package manager like normal then replace the broken Subs-Members.php with the new copy or replace the broken one first then install with the package manager?

Thanks
Title: Re: Stop Spammer
Post by: thenexttrillions on August 22, 2011, 09:50:18 PM
Hey man,
I can't say thank you enough for your awesome mod.
I had been received more than 900 signed up from spammers in less than 2 weeks.

This mod less my busy monitoring of my forum to get rid of spammers. Now, they are in my waiting approval list.

This is really cool.
Every SMF must have mod.
Cheers!
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 23, 2011, 07:30:23 AM
@thenexttrillions

You are welcome  ;)

@JoeyD0831

Sorry I didn't see your post before. Here you have your Subs-Members.php file already edited.

As I suspected, the first edit was the same one you were saying:

Find: (line 650)

'validation_code' => $validation_code,


Add Before:

'is_spammer' => empty($regOptions['spammer']) ? 0 : $regOptions['spammer'],


But the second one was already modified by one of your mods (one about games) so instead of find:

mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.icq, mem.aim, mem.yim, mem.msn, mem.member_ip, mem.member_ip2, mem.last_login,


(as it should be in a normal Subs-Members.php file) in your case I found (lines 1213 and 1214)

mem.id_member, mem.member_name, mem.real_name, mem.email_address,
mem.gamer_xbgt, mem.gamer_psn, mem.gamer_steam, mem.icq, mem.aim, mem.yim, mem.msn, mem.member_ip, mem.member_ip2, mem.last_login,


and I replaced them with:

mem.id_member, mem.member_name, mem.real_name, mem.email_address,
mem.gamer_xbgt, mem.gamer_psn, mem.gamer_steam, mem.icq, mem.aim, mem.yim, mem.msn, mem.member_ip, mem.member_ip2, mem.last_login, mem.is_spammer,


Now you can install the mod. The best way is to proceed with the installation in the Packages Manager before (ignoring the errors about that file) and replace the file Subs-Members.php with the new one already edited after that.

Then go to Admin => Members => Registration => Settings and scrolling down the page you should see the options to activate the mod.
Title: Re: Stop Spammer
Post by: JoeyD0831 on August 23, 2011, 09:27:11 PM
Seems to be working! However I couldn't get an API key because I use a Yahoo email and StopForumSpam denies it so I'll have to create a hotmail or something to access their database
Title: Re: Stop Spammer
Post by: imburner on August 24, 2011, 03:08:34 AM
Just made a donation to the Snoopy Virtual Studio. Thanks for the help! http://www.snoopyvirtualstudio.com/index.php
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 24, 2011, 05:30:15 PM
@JoeyD0831 You don't need an API key if you only want to check if some members are spammers. The API key is only used if you want to report new spammers (that were not in the database before) to add their data.

Anyway, I think the hotmail accounts are not allowed too to join their site. Not 100% sure though. You can try.

Quote from: imburner on August 24, 2011, 03:08:34 AM
Just made a donation to the Snoopy Virtual Studio. Thanks for the help!

Oh, it was you? I saw it this morning and I was wondering. Thanks a lot  ;)
Title: Re: Stop Spammer
Post by: yogesh_gamer on August 25, 2011, 11:24:42 AM
I installed a mod to stop spammer..
Today, i got a surprise...
He is not spammer and i am unable to approve his/her account....
there are only 2 options...
sorry for bad english
attachment will explain all details
Title: Re: Stop Spammer
Post by: Kindred on August 25, 2011, 11:57:27 AM
this is a confusion on the back-end of SMF.

In this specific case, the user has requested that his account be deleted.
You have "require admin approval to delete accounts" set in your SMF admin settings.
This approval is not "approval to add a user" but rather "approval to confirm the account delete request"


Unfortunately, SMF uses the same term and even the same general location for both new user approvals and user delete request approvals.
Title: Re: Stop Spammer
Post by: yogesh_gamer on August 25, 2011, 12:38:16 PM
okay sir
actually this was for first time..
i didn't knew that..

Thanks
Title: Re: Stop Spammer
Post by: Gargoyle on August 25, 2011, 07:08:40 PM
One question...

How does the list of spammers get updated? What steps do I need to take to update the list?

Sorry that was 2 questions.
Title: Re: Stop Spammer
Post by: busterone on August 25, 2011, 07:18:11 PM
Do you mean the database at Stop forum Spam? That is updated by the users reporting spammers and more importantly, many spambot trap sites. (honeypots)
Each time the Stop spammer mod connects to Stop Forum Spam to query the database, it queries a continually updating database. You do not have to do anything within your forum to get the updated info.
Title: Re: Stop Spammer
Post by: Gargoyle on August 27, 2011, 12:32:40 PM
Thank you for the reply and information! ;D
Title: Re: Stop Spammer
Post by: busterone on August 27, 2011, 04:48:08 PM
Quite welcome.  :)
Title: Re: Stop Spammer
Post by: Martine M on August 31, 2011, 03:55:44 AM
I presume that because now I installed httpBL where I got an API key, that I have to put the same API key in the settings panel of Stop Spammer?
Title: Re: Stop Spammer
Post by: busterone on August 31, 2011, 07:01:53 PM
No, you need to register at Stop Forum Spam (http://www.stopforumspam.com) and obtain an API key from them. The two are separate sites and two completely different modifications.
Title: Re: Stop Spammer
Post by: Martine M on August 31, 2011, 07:09:12 PM
Thanks busterone
Title: Re: Stop Spammer
Post by: busterone on August 31, 2011, 07:14:17 PM
Quite Welcome  :)
Title: Re: Stop Spammer
Post by: bruce86 on September 22, 2011, 04:40:19 AM
the Italian translation for version 2.3.9 is not there, right?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 22, 2011, 05:02:35 AM
Sorry, I still didn't have time to sort all the latest translations.

Here you have the full Italian translation:


// MOD Stop Spammer - Italian translation
$txt['stopspammer_error'] = 'Errore con il DB anti SPAM. Connessione fallita.<br />
Per favore, riprova più tardi o contatta il webmaster';

$txt['stopspammer_count'] = 'Spammer sono stati bloccati fino ad oggi';
$txt['stopspammer_title'] = 'Cerca ulteriori informazioni in `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Abilita/Disabilita la MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Mostra il link "Ulteriori Informazioni" per tutti i Membri';
$txt['stopspammer_show01_sub'] = 'Puoi controllare qualsiasi membro in qualsiasi momento con un semplice click';

$txt['stopspammer_faildb'] = 'Se la connessione fallisce con il DB anti SPAM...';
$txt['stopspammer_fail01'] = 'Mostra l\'errore e interrompi la registrazione';
$txt['stopspammer_fail02'] = 'Permetti l\'immediata registrazione';
$txt['stopspammer_fail03'] = 'Approvazione  e mostra l\'icona per il controllo';
$txt['stopspammer_faildb1_sub'] = 'Il tuo host può stabilire connessioni remote con il DB';
$txt['stopspammer_faildb2_sub'] = 'Il tuo host non è stato in grado di stabilire connessioni remote con il DB, riprova più tardi<br />
Se continua, guarda il topic di supporto e cerca ';

$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Non Spammer: questo dato non era nel DB. Puoi però verificare';
$txt['stopspammer_leyd02'] = 'Sospetto: non è stato possibile controllare questo membro. Controlla ora';

$txt['stopspammer_leyd03'] = 'Spammer: vedi ulteriori informazioni sull\'attività di questo spammer';

$txt['stopspammer_profilecheck'] = 'Controlla questo membro';
$txt['stopspammer_limitexceded'] = 'Hai superato il limite di controllo (5000 API queries per giorno).<br />Devi aspettare fino a domani per controllare di nuovo.';

$txt['in_stop_forum_spam'] = 'Nel sito web Stop Forum Spam:';
$txt['spammers_checks'] = 'Controlla questi membri';
$txt['spammers_report'] = 'Segnala questi membri';
$txt['confirm_spammers_checks'] = 'Sei sicuro di voler controllare i membri selezionati?';
$txt['confirm_spammers_report'] = 'Sei sicuro di voler segnalare i membri selezionati?\n\nConsidera che quando segnali un membro a SFS, egli è marcato come spammer in tutto il mondo\ne non sarà abilitato a usare qualsiasi forum connesso a SFS in tutto il mondo.\n\nSegnalali solo se sei completamente sicuro che sono spammer e, se per caso commetti un errore,\navverti il prima possibile il creatore della mod per correggere l\'errore nel database di SFS.';

$txt['stopspammer_api_key'] = 'La tua API key';

$txt['stopspammer_check_name'] = 'Controlla il suo username';
$txt['stopspammer_check_mail'] = 'Controlla la sua email';
$txt['stopspammer_check_ip'] = 'Controlla il suo IP';
$txt['stopspammer_check_sub2'] = 'Di default, ogni volta che controlli un membro con MOD Stop Spammer verrà controllato il suo username, email e IP. Se ottieni troppi falsi positivi a causa dei loro usernames puoi spegnere questa opzione. Non ti raccomandiamo di spegnere le altre due opzioni (il controllo della email e dell\'IP) se non sai cosa stai facendo.';

// Changed from 2.3.8 to 2.3.9
$txt['stopspammer_check_sub1'] = '<br />Se MOD Stop Spammer è abilitato, ogni volta controlleremo un membro:';
$txt['stopspammer_api_key_sub'] = 'Se vuoi usare la tua API key devi andare prima su <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> per segnarti in modo da averne una e da scriverla qui. Se non ne hai una lascia non potrai segnare gli spammers con questo mod.<br /><br />Se hai bisogno di aiuto con questa configurazione o con qualsiasi altra cosa riguardante Mod Stop Spammer, a parte il supporto dai forums, puoi anche chiedere aiuto online. Se hai già istallato Mod httpBL puoi vedere come chiedere aiuto andando su Amministra => MOD httpBL => Aiuto. Se non lo hai puoi andare qui <a href="http://www.snoopyvirtualstudio.com/contact.php?language=english" target="_blank">per vedere altre informazioni</a>';


// New in version 2.3.9
$txt['stopspammer_settings'] = 'Configurazioni MOD Stop Spammer';
$txt['stopspammer_enable_sub'] = 'Con questa check-box selezionata il mod è ON. Con questa check-box non selezionata il mod è OFF.';
$txt['stopspammer_error_no_api_key'] = 'Non hai segnalare uno spammer senza una API key da www.stopforumspam.com<br /><br />Devi essere registrato al loro sito prima, chiedere una API key e quindi navigare all\'interno del forum su:<br />Amministra => Utenti => Registrazioni => Configurazioni<br />Scendi sotto alle configurazioni Stop Spammer, e scrivi la tua API key, quindi salva le tue configurazioni.';
$txt['stopspammer_no_connect_1'] = 'Mod Stop Spammer è ON ma non c\'è connessione con Stop Forum Spam. Prova più tardi.';
$txt['stopspammer_no_connect_2'] = 'Se il tuo problema persiste chiedi aiuto nel <a href="http://www.snoopyvirtualstudio.com/foro/index.php?board=31.0" target="_blank">forum ufficiale di supporto</a>.';
$txt['stopspammer_new_version_1'] = 'Mod Stop Spammer è ON ma deve essere aggiornato.';

$txt['stopspammer_new_version_2'] = 'C\'è una nuova versione di questo mod. La versione che hai è: ';
$txt['stopspammer_new_version_3'] = '<a href="http://www.snoopyvirtualstudio.com/foro/index.php?board=31.0" target="_blank">Prego aggiorna appena puoi</a> alla nuova versione: ';
$txt['stopspammer_all_ok'] = 'Mod Stop Spammer è ON, è aggiornato e la connessione con Stop Forum Spam è perfetta.';
$txt['stopspammer_is_off'] = 'Mod Stop Spammer è OFF.';
// MOD Stop Spammer - END


Look inside your /Themes/default/languages/ folder for the file Modifications.italian.php or the file Modifications.italian-utf8.php (depending if you are using UTF8 or not) and add inside that file all those lines.
Title: Re: Stop Spammer
Post by: bruce86 on September 22, 2011, 05:13:11 AM
Thanks..;)
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 23, 2011, 02:06:03 AM
Prego  ;D
Title: Re: Stop Spammer
Post by: bruce86 on September 23, 2011, 04:05:36 AM
Quote from: snoopy_virtual on September 23, 2011, 02:06:03 AM
Prego  ;D
Ahahahah, sei la seconda persona che me lo fà, simpatici :D
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 23, 2011, 12:51:05 PM
Y supongo que no seré el último.  :)
Title: Re: Stop Spammer
Post by: bruce86 on September 23, 2011, 01:34:43 PM
Quote from: snoopy_virtual on September 23, 2011, 12:51:05 PM
Y supongo que no seré el último.  :)
Español? Bueno..:D
Title: Re: Stop Spammer
Post by: outlawsys on October 03, 2011, 01:07:59 AM
This mod works well, has cut down considerably on spam bots,thanks
Title: Re: Stop Spammer
Post by: V@no on October 25, 2011, 11:41:49 PM
Hello!

Our forum is getting 50+ spammers registrations a day, and maybe 1-2 spam posts a day, which is pretty good proportion if you ask me (using reCAPTCHA + httpBL). Is there a way automatically delete these blacklisted accounts rather then mark them for approval?

Thank you.
Title: Re: Stop Spammer
Post by: busterone on October 26, 2011, 12:00:40 AM
I seem to recall snoopy posting about that some time ago, but I am not sure how long ago, or how many pages back it was. The short answer is probably not. The reason is that there is a possibility for false positives, especially if you have the check username option activated.  My suggestion is to click the red icon next to each name in the approval queue and look at the SFS database results on that registrant.  Often with dynamic IPs, a spammer will get reported and then move on to another IP. An innocent user will then get that same IP later.  Also, there are a lot of common usernames out there, and it is a possibility that the registrant may not be a spammer at all, but that a spammer happened to also use that name at some point.

If the registrant is flagged by two or all three criteria, and there is a long list on that user, then you are pretty well guaranteed it is a spammer, but I have had cases where only the ip is flagged and when I check the SFS database, it was only reported once or twice 6 months earlier with a different username and email address. That is probably an innocent with a dynamic IP and he/she got the misfortune of getting assigned that IP.

I seriously doubt that this mod will ever be coded to auto reject registrations simply for those reasons.
Title: Re: Stop Spammer
Post by: V@no on October 26, 2011, 12:20:48 AM
The username is not being checked as it turned out to be more problematic then useful.
As you can imagine check manually 50+ users a day is pretty much full time job, so it's unacceptable.

I don't know if the SFS API allows get the list of records for an IP/email, but if it allows then perhaps the mod could have a criteria at which number of records in the database the registration should be automatically rejected, or even if both IP/email are flagged, then reject. Worrying about possible false positives should be left to the admins, not the mod's creator ;) (other words, having an option is better then not having an option)

[EDIT]
while I was typing this message two more spammers tried to register... >:(
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 26, 2011, 04:34:13 AM
That means your mod httpBL is not working.

Looks for the answer I gave to Sea Mac when he reported a similar problem last June:

http://www.simplemachines.org/community/index.php?topic=366399.msg3081023#msg3081023

You can read also from there onwards, as there was some discussion about that problem at the time.
Title: Re: Stop Spammer
Post by: V@no on October 26, 2011, 07:18:14 AM
Quote from: snoopy_virtual on October 26, 2011, 04:34:13 AM
That means your mod httpBL is not working.
httpBL spam logs shows a new entry every 2-4 minutes, it does seems like it's working.
Unless both honeypot and sfs share the same database it's very much possible that the spammers we get that able register are not in HP database yet. (and no, their IP not showed in httpBL logs)

I'll try your modifications suggestions, but I feel it won't help for this particular "issue"

P.S.
The anti-spam questions is a good idea, but it might not work on multi-language forums, unless a simple math used for the questions/answeres, but that probably won't be good enough.
Title: Re: Stop Spammer
Post by: V@no on October 26, 2011, 07:18:01 PM
I'm having problem with reporting a member. I've registered http://www.stopforumspam.com/signup and got API key, added it to SMF settings, but whenever I try report someone the page simply refreshes. I've tried signup for API key with www.example.com/forum/, www.example.com/, example.com/ - nothing works.

Using SMF 1.1.15 with Stop Spammer v3.20. With v3.16 without any API key it worked just fine...

[EDIT]
It seems after reporting a member the MOD does not re-check member and doesn't flag them. After I clicked on "check member" it showed it as flagged. A bug or it's intentional?
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 26, 2011, 09:25:29 PM
Quote from: V@no on October 26, 2011, 07:18:01 PM
It seems after reporting a member the MOD does not re-check member and doesn't flag them. After I clicked on "check member" it showed it as flagged. A bug or it's intentional?

Sorry, it's a bug.
Title: Re: Stop Spammer
Post by: V@no on November 01, 2011, 01:45:37 AM
Another bug (could be related to the one above), is when a user being checked manually and get flagged, it's status changes to "awaiting approval", but the number of members awaiting approval on top left corner of the page (under admin's name) doesn't get updated.
Title: Re: Stop Spammer
Post by: V@no on November 06, 2011, 09:23:15 PM
Could someone please point me where is the part that changes user to "awaiting approval" status during registration? Even if the author disagree that such registrations should be removed immediately, I still would like to have that done even if the changes in the code has to be done manually...

Thank you.

P.S.
Another annoyance is when admin session expired and clicked on "check member" after login it redirects to the list of awaiting approval, not to the check member page.
Title: Re: Stop Spammer
Post by: busterone on November 06, 2011, 09:49:57 PM
Look in /Sources/StopSpammer.php
Title: Re: Stop Spammer
Post by: V@no on November 06, 2011, 10:30:06 PM
Thanks.
For now I've added in /Sources/Register.php above
// Include the additional options that might have been filled in.


This:
if ($modSettings['stopspammer_enable'] && $regOptions['spammer'] && $regOptions['spammer'] != 8)
fatal_error("Registration denied.");
Title: Re: Stop Spammer
Post by: busterone on November 06, 2011, 10:36:17 PM
Glad you made it work. It isn't what I would personally want for myself, but if it works for you, then that is what matters. :)
Title: Re: Stop Spammer
Post by: V@no on November 07, 2011, 02:45:28 AM
Here is a fixed version of StopSpammer.php that fixes:

- user stays activated and not flagged after being reported
- after user reported no link with number of members awaiting approval showed/updated at the header


P.S.
regarding rejecting registrations if blacklisted (my code above), I've decided to reject only if email is blacklisted and flagged IP+email appears more then 5 times in the database (required attached StopSpammer.php):
global $checkDBSpammerCounter;
if ($modSettings['stopspammer_enable'] && $regOptions['spammer'] & 4 && $checkDBSpammerCounter > 5)
fatal_error("Registration denied.");
Title: Re: Stop Spammer
Post by: smitch6 on November 09, 2011, 05:17:23 PM
Hi has anyone tried this with 2.0.1 yet pls?
Title: Re: Stop Spammer
Post by: Kindred on November 09, 2011, 05:21:01 PM
yup....   I have it running on 2.0.1 with a few dozen other mods.

Just installed last night, with no issues
Title: Re: Stop Spammer
Post by: smitch6 on November 09, 2011, 05:37:45 PM
brill thanks :)
Title: Re: Stop Spammer
Post by: in5d on November 17, 2011, 06:34:47 PM
I tried to upload this program and it shut down my forum.

I opened the files and successfully did a "Test Connection".  Once I selected "Proceed" I got the following message:

[an error occurred while processing this directive]

I tried to use repair_settings.php to no avail.

Any suggestions?
Title: Re: Stop Spammer
Post by: busterone on November 17, 2011, 06:36:49 PM
How exactly did you "upload"  this mod, and did you install it through the package manager?
Title: Re: Stop Spammer
Post by: in5d on November 17, 2011, 06:41:11 PM
yes

http://maya12-21-2012.com/2012forum/
Title: Re: Stop Spammer
Post by: busterone on November 17, 2011, 06:41:58 PM
when you clicked install, were there any errors displayed first?
Title: Re: Stop Spammer
Post by: in5d on November 17, 2011, 06:42:41 PM
Quote from: busterone on November 17, 2011, 06:41:58 PM
when you clicked install, were there any errors displayed first?

none, and the "Test Connection" was perfect too
Title: Re: Stop Spammer
Post by: in5d on November 17, 2011, 06:47:37 PM
Title: Re: Stop Spammer
Post by: busterone on November 17, 2011, 06:51:32 PM
Ok, I hope you made a backup before you attempted the mod install.
If you did, then simply restore all your files with the backup made previous to the install. If not, there is still a way to restore.
In your /Packages/backup folder will be a file similar to this- 2011.xx.xx_before_StopSpammer.tar.gz.  It will have the date that you installed the mod, presumably today's date.  Download that archive and extract it's contents. It will have a copy of every file that was modified for the mod installation. Use those files to overwrite the ones on your server to restore your forum. Be sure to note the folder structure in the extracted archive and make sure you upload every file to each respective folder. 
Title: Re: Stop Spammer
Post by: in5d on November 17, 2011, 06:55:37 PM
Quote from: busterone on November 17, 2011, 06:51:32 PM
Ok, I hope you made a backup before you attempted the mod install.
If you did, then simply restore all your files with the backup made previous to the install. If not, there is still a way to restore.
In your /Packages/backup folder will be a file similar to this- 2011.xx.xx_before_StopSpammer.tar.gz.  It will have the date that you installed the mod, presumably today's date.  Download that archive and extract it's contents. It will have a copy of every file that was modified for the mod installation. Use those files to overwrite the ones on your server to restore your forum. Be sure to note the folder structure in the extracted archive and make sure you upload every file to each respective folder.

thanks for your help! 

I usually I make a backup but for some reason, I didn't this time.

I'm not the most pc savvy person...any advice before I try this?

Title: Re: Stop Spammer
Post by: busterone on November 17, 2011, 07:01:06 PM
Not much else I can offer besides restoring your files to the state before the mod install. I am not sure what went wrong myself. Snoopy is recovering from an accident, so I am not sure if he will be visiting soon or not, but he could probably track down what went wrong himself if he does drop in.  You could always recover, make a backup, and try it again, but there is a chance that it may do the exact same thing.  :)
Title: Re: Stop Spammer
Post by: in5d on November 17, 2011, 07:41:21 PM
Quote from: busterone on November 17, 2011, 06:51:32 PM
2011.xx.xx_before_StopSpammer.tar.gz. 
isn't in that folder but the following were there:

2010-09-05_before_StopSpammer.tar.gz
2010-05-11_before_StopSpammer.tar.gz
2010-02-01_before_StopSpammer.tar.gz

Title: Re: Stop Spammer
Post by: busterone on November 17, 2011, 08:23:24 PM
It appears that you have installed it at least 3 times previously.  This is odd that today's did not create an archive. 
Do you have many other mods installed? 
The only other option at this point would be to download the large upgrade of your SMF version, extract it, and then upload the entire folders and files overwriting your forums files. Of course, you would then have to reinstall all your mods over again.

important note to remember- always backup before making major changes or mod installs.

Edited thought-
the only files edited by this mod are
./Sources/ManageRegistration.php
./Sources/ManageMembers.php
./Sources/Register.php
./Sources/Subs.php
./Sources/Subs-Members.php
./Sources/Profile.php
./Themes/default/languages/Modifications.english.php
You could probably get by with only uploading those files, but any mod installed that used any of those files would also stop working.
Title: Re: Stop Spammer
Post by: busterone on November 17, 2011, 08:39:44 PM
I apologize for forgetting this. I should have mentioned it before, but I have a distraction going on here at home.  :)
If you are comfortable directly editing php files, then you can go to the Stop Spammer download page, look to the far right of the screen and parse it for your version. Then use that information to reverse the edits made to those files I listed in the previous post.  That will prevent you from having to reinstall any other modifications that you are using.
Title: Re: Stop Spammer
Post by: in5d on November 19, 2011, 07:13:28 AM
thank you once again for your input.  Forgive my ignorance, but how does one "parse"?
Title: Re: Stop Spammer
Post by: in5d on November 19, 2011, 07:23:17 AM
I'm wondering if the error is caused by my server?

The reason I installed this program was because my server notified me of suspicious activity on my forum from a specific IP, which I subsequently banned before installing Stop Spammer. 

This mod requests your host name and password, which may have also been seen as suspicious activity by my server.  Without making any modifications, my other forum (which had a working version of this program) is not operable now.
Title: Re: Stop Spammer
Post by: Kindred on November 19, 2011, 07:47:25 AM
Huh? ???

Do ou mean that you are asked for your FTP information when you install this mod?  If so, that is completely normal for many mods, because the system need spear mission to write new or edit existing files, and SMF uses FTP to do that.
Title: Re: Stop Spammer
Post by: in5d on November 19, 2011, 07:59:41 AM
Quote from: Kindred on November 19, 2011, 07:47:25 AM
Huh? ???

Do ou mean that you are asked for your FTP information when you install this mod?  If so, that is completely normal for many mods, because the system need spear mission to write new or edit existing files, and SMF uses FTP to do that.

yes, that was the issue.  I just contacted my server and they needed to adjust the permissions on their end to allow this mod to work.  On the other forum where this mod was installed and fully functional, it is now back up and running after the permissions were changed.

Unfortunately, the forum where I had the initial problem is down because I tried to follow this advice (which is great, but I'm a pc dolt):

QuoteIn your /Packages/backup folder will be a file similar to this- 2011.xx.xx_before_StopSpammer.tar.gz.  It will have the date that you installed the mod, presumably today's date.  Download that archive and extract it's contents. It will have a copy of every file that was modified for the mod installation. Use those files to overwrite the ones on your server to restore your forum. Be sure to note the folder structure in the extracted archive and make sure you upload every file to each respective folder. 

...and somehow I screwed it up.

Now I'm getting this message:

Database Error: Unknown column 'logTime' in 'where clause'
File: /home/in5dco5/public_html/maya12-21-2012/2012forum/Sources/Subs.php
Line: 2617

Line 2617 in Subs.php:
WHERE " . ($do_delete ? "logTime < NOW() - INTERVAL " . ($modSettings['lastActive'] * 60) . ' SECOND' : '') . ($do_delete && !empty($ID_MEMBER) ? ' OR ' : '') . (empty($ID_MEMBER) ? '' : "ID_MEMBER = $ID_MEMBER"), __FILE__, __LINE__);


Is there a way of backing out this upload to revert the forum back to the way it was before the installation?  As noted, there is not a recent backup to my forum.
Title: Re: Stop Spammer
Post by: Robin1989 on November 21, 2011, 05:05:47 PM
is 209,000 spammers caught a lot for a forum?
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on November 23, 2011, 02:17:03 PM
Quote from: Robin1989 on November 21, 2011, 05:05:47 PM
is 209,000 spammers caught a lot for a forum?

Screenshot requested.  :L
Title: Re: Stop Spammer
Post by: Robin1989 on November 25, 2011, 07:47:37 AM
ok i will attach a screenshot - we have been using this mod for probably over a year now i think
Title: Re: Stop Spammer
Post by: żεχเ๏ภ on November 26, 2011, 05:01:05 PM
Quote from: Robin1989 on November 25, 2011, 07:47:37 AM
ok i will attach a screenshot - we have been using this mod for probably over a year now i think

It's caught 5k more spammers just in the last 5 days? Wow :L
Title: Re: Stop Spammer
Post by: Robin1989 on November 28, 2011, 07:52:46 AM
yeah - i get the feeling someone doesnt like us
Title: Re: Stop Spammer
Post by: societyofrobots on November 28, 2011, 11:47:00 AM
I got a problem. Before upgrading from 1.1.9 to 2.0.1, I stupidly forgot to uninstall the mod. It worked fine before upgrading. So anyway, after upgrading, I re-installed the mod and it didn't give any errors.

See attached. The little red image next to the Username, Email, and IP that identifies which one triggered the spam check isn't showing up. There is also no check/report buttons.

Lastly, in the user summary, there is no way to report the spammer.

What can I do to fix this?

(ps - it won't let me uninstall the mod as it gives me Test failed on every single file)
1. Execute Modification ./Sources/ManageRegistration.php Test failed
1. Replace ./Sources/ManageRegistration.php Test failed
2. Replace ./Sources/ManageRegistration.php Test failed
2. Execute Modification ./Sources/ManageMembers.php Test failed
1. Replace ./Sources/ManageMembers.php Test failed
2. Replace ./Sources/ManageMembers.php Test failed
3. Replace ./Sources/ManageMembers.php Test failed
4. Replace ./Sources/ManageMembers.php Test failed
5. Replace ./Sources/ManageMembers.php Test failed
6. Replace ./Sources/ManageMembers.php Test failed
7. Replace ./Sources/ManageMembers.php Test failed
8. Replace ./Sources/ManageMembers.php Test failed
9. Replace ./Sources/ManageMembers.php Test failed
10. Replace ./Sources/ManageMembers.php Test failed
11. Replace ./Sources/ManageMembers.php Test failed
12. Replace ./Sources/ManageMembers.php Test failed
13. Replace ./Sources/ManageMembers.php Test failed
3. Execute Modification ./Sources/Register.php Test failed
1. Replace ./Sources/Register.php Test failed
4. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test failed
5. Execute Modification ./Sources/Subs-Members.php Test failed
1. Replace ./Sources/Subs-Members.php Test failed
2. Replace ./Sources/Subs-Members.php Test failed
6. Execute Modification ./Sources/Profile.php Test failed
1. Replace ./Sources/Profile.php Test failed
7. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
1. Add Before ./Themes/default/languages/Modifications.english.php Test failed
8. Execute Modification ./Themes/default/languages/Modifications.english_british.php Skipping file
9. Execute Modification ./Themes/default/languages/Modifications.spanish.php Skipping file
10. Execute Modification ./Themes/default/languages/Modifications.spanish_es.php Skipping file
11. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php Skipping file
12. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
13. Execute Modification ./Themes/default/languages/Modifications.english_british-utf8.php Skipping file
14. Execute Modification ./Themes/default/languages/Modifications.spanish-utf8.php Skipping file
15. Execute Modification ./Themes/default/languages/Modifications.spanish_es-utf8.php Skipping file
16. Execute Modification ./Themes/default/languages/Modifications.spanish_latin-utf8.php Skipping file
17. Delete File ./Sources/StopSpammer.php
18. Delete File ./Themes/default/images/icons/spammer.gif
19. Delete File ./Themes/default/images/icons/suspect.gif
20. Delete File ./Themes/default/images/icons/moreinfo.gif
UnInstall in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
Core Theme
Delete File ./Themes/core/images/icons/spammer.gif
Delete File ./Themes/core/images/icons/suspect.gif
Delete File ./Themes/core/images/icons/moreinfo.gif
Title: Re: Stop Spammer
Post by: busterone on November 28, 2011, 06:22:06 PM
If it installed with no errors, and now it shows errors for all the files needed to edit, you may have a permissions issue. Have you changed any file and folder permissions since the installation?  I would check permissions firstly to see if they are writable by the forum.

If that fails, how many other mods are you using, and did you install them after installing Stop spammer when you upgraded? It is also possible that one or more have made changes to those files that Stop Spammer needs to edit, but I tend to think it is a permissions thing since every single edit that the mod requires gives an error.
Title: Re: Stop Spammer
Post by: societyofrobots on November 28, 2011, 11:34:41 PM
Quote from: busterone on November 28, 2011, 06:22:06 PM
If it installed with no errors, and now it shows errors for all the files needed to edit, you may have a permissions issue. Have you changed any file and folder permissions since the installation?  I would check permissions firstly to see if they are writable by the forum.
What should the permissions be? Everything in my Sources folder is chmod 644, for example. (I feel like the answer to this is somewhere but I can't seem to find it)

Quote
If that fails, how many other mods are you using, and did you install them after installing Stop spammer when you upgraded? It is also possible that one or more have made changes to those files that Stop Spammer needs to edit, but I tend to think it is a permissions thing since every single edit that the mod requires gives an error.
Yea, I installed about 10 other mods after Stop Spammer. I tried uninstalling as many as I could (to figure out the Stop Spammer issue), but 5 of them remaining are also now giving me at least one Test Failed so I can't remove them.
Title: Re: Stop Spammer
Post by: busterone on November 28, 2011, 11:50:24 PM
644 should work. Mine are at 644 as well with no issues, so probably not the issue.
Somewhere along the line since the upgrade, it sounds like one or more mod installs or uninstalls have left code where it shouldn't be, or your upgrade from 1.1.x to 2.0 wasn't complete.

You can download the large upgrade pack(you probably already have it since you upgraded) to your computer, unzip it, and then upload all the files to your forum, overwriting everything. That will give you all new files to work with. Of course, after that you will have to reinstall all mods. The database info for any mods will still be intact, so you should not lose any info if any of your mods require it. 
Title: Re: Stop Spammer
Post by: societyofrobots on November 29, 2011, 12:45:58 AM
I just reinstalled the forum again, then reinstalled Stop Spammer. It turns out I must have forgotten to click the check box at the bottom that says install for 'Core Theme'. 'The Awaiting Approval (5)' page is now correctly working.

But that only fixed one of the issues.

On the Profile Page of the individual spammers, I cannot find a way to 'check/report this spammer'. It looks just like in the image above. Ideas?
Title: Re: Stop Spammer
Post by: busterone on November 29, 2011, 01:25:05 AM
It should be under actions- check this member
Sorry, I uploaded the wrong image. Corrected.   :)
Title: Re: Stop Spammer
Post by: societyofrobots on November 29, 2011, 02:05:38 AM
ah! ok, it's there. thanks! :)
Title: Re: Stop Spammer
Post by: busterone on November 29, 2011, 06:04:49 PM
Good deal.  :)
Any other issues or are you good now?
Title: Re: Stop Spammer
Post by: societyofrobots on November 30, 2011, 01:27:50 AM
Well, there is that annoying bug where I have to Check the member after Reporting for him to be actually tagged as a spammer. This wasn't a problem with earlier versions, and I assumed it'd be fixed soon? :P
Title: Re: Stop Spammer
Post by: yungblood on November 30, 2011, 02:26:44 AM
I just installed Stop Spammer 2.3.9 on SMF 2.0.1. The install seemed to go clean, but I am missing a lot. When I look at all members, I see nothing new. And on the registration/setting page, I'm missing the last 3 lines. Where's my connection to Stop Forum Spam? See images...
Title: Re: Stop Spammer
Post by: busterone on November 30, 2011, 06:01:19 PM
Quote from: societyofrobots on November 30, 2011, 01:27:50 AM
Well, there is that annoying bug where I have to Check the member after Reporting for him to be actually tagged as a spammer. This wasn't a problem with earlier versions, and I assumed it'd be fixed soon? :P
Yea, I remember that. I presume that snoopy will, but he has been absent. He was recovering from an accident, and I haven't seen him on a couple of other sites that we are both active on either.  I need to check into his site to see if he is ok and recovering/or recovered.  For now, I guess it will remain as is until he says otherwise.   :)
Title: Re: Stop Spammer
Post by: busterone on November 30, 2011, 06:04:36 PM
Quote from: yungblood on November 30, 2011, 02:26:44 AM
I just installed Stop Spammer 2.3.9 on SMF 2.0.1. The install seemed to go clean, but I am missing a lot. When I look at all members, I see nothing new. And on the registration/setting page, I'm missing the last 3 lines. Where's my connection to Stop Forum Spam? See images...
It looks like some template edits did not get completed even though the package manager said it did, presuming it did. Did package manager display any errors previous to completing the install?
Title: Re: Stop Spammer
Post by: V@no on November 30, 2011, 08:06:47 PM
Quote from: societyofrobots on November 30, 2011, 01:27:50 AM
Well, there is that annoying bug where I have to Check the member after Reporting for him to be actually tagged as a spammer. This wasn't a problem with earlier versions, and I assumed it'd be fixed soon? :P
http://www.simplemachines.org/community/index.php?topic=283309.msg3202373#msg3202373
Title: Re: Stop Spammer
Post by: yungblood on November 30, 2011, 09:27:30 PM
Quote from: busterone on November 30, 2011, 06:04:36 PM
Quote from: yungblood on November 30, 2011, 02:26:44 AM
I just installed Stop Spammer 2.3.9 on SMF 2.0.1. The install seemed to go clean, but I am missing a lot. When I look at all members, I see nothing new. And on the registration/setting page, I'm missing the last 3 lines. Where's my connection to Stop Forum Spam? See images...
It looks like some template edits did not get completed even though the package manager said it did, presuming it did. Did package manager display any errors previous to completing the install?
It didn't display any errors... So how do I fix it?
Title: Re: Stop Spammer
Post by: busterone on November 30, 2011, 09:39:09 PM
There are a few different ways to go, depending upon your patience and skill level with editing php files.
The simplest method is to uninstall the mod, and then try to reinstall to see if it installs correctly. If the edits were not completed properly on the initial install, you will see plenty of errors on the uninstall attempt, most likely due to code that it wants to remove, but isn't there.

You can also go the the mod download page and look to the far right. Choose your SMF version and then click the parse button. It will then display all the file edits that the mod makes, and you can manually edit each respective file.  see screenie below

AND--- Always back up your files before attempting any mod installations  :)

Title: Re: Stop Spammer
Post by: snoopy_virtual on December 01, 2011, 03:05:25 AM
Quote from: busterone on November 30, 2011, 06:01:19 PM
I presume that snoopy will, but he has been absent. He was recovering from an accident, and I haven't seen him on a couple of other sites that we are both active on either.  I need to check into his site to see if he is ok and recovering/or recovered.

I am almost fully recovered, but I have been too busy with the new Rock Band I am doing. We are going to do our first concert in a few days at a big Rock Festival and we have a million things to sort.

I have been following your conversation though, but I haven't said anything because you are doing a very good job explaining everything.  ;D

BTW, in the other site you were talking about I keep getting just a lot of "oops!" and cannot get in. I sent an email to wizzle, but didn't get any answer yet.
Title: Re: Stop Spammer
Post by: busterone on December 01, 2011, 08:40:26 AM
Yea, I got the same thing.  :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 18, 2011, 06:25:58 AM
I got a private message asking me again about the problem with the people getting the error:

Quote
Undefined index: stopspammer_faildb_sub

I thought I have already answered that question, because I sorted that bug ages ago, but I have been looking for it and cannot find it. I suppose I have answered the question in private (either PM, email or Skype) and forgot to say something here.

So this time I am going to answer the question here, so everybody with the same error can see the solution:

Look for the file Sources/StopSpammer.php

Search for:


function stopspammer_test_mod_ok()
{
global $txt, $modSettings, $sourcedir;

// Check first if it's enabled
if ($modSettings['stopspammer_enable'] == 1)
{
require_once($sourcedir . '/Subs-Package.php');

// Check connection
$lookup = checkDBSpammer('127.0.0.1', 'Test_Conection_DB', '[email protected]', true);

$txt['stopspammer_faildb_sub'] = $lookup ? '<span style="color: #008000">' . $txt['stopspammer_faildb1_sub'] . '</span>' : '<span class="error">'.$txt['stopspammer_faildb2_sub'].$txt['stopspammer_not_translate'].'</span>';

// Check version
$internal_version = '2.3.9';


Replace with:


function stopspammer_test_mod_ok()
{
global $txt, $modSettings, $sourcedir;

require_once($sourcedir . '/Subs-Package.php');

// Check connection
$lookup = checkDBSpammer('127.0.0.1', 'Test_Conection_DB', '[email protected]', true);

$txt['stopspammer_faildb_sub'] = $lookup ? '<span style="color: #008000">' . $txt['stopspammer_faildb1_sub'] . '</span>' : '<span class="error">' . $txt['stopspammer_faildb2_sub'] . $txt['stopspammer_not_translate'] . '</span>';

// Check first if it's enabled
if ($modSettings['stopspammer_enable'] == 1)
{
// Check version
$internal_version = '2.3.9';


In fact, doing the new version of this mod for Wedge, I have already sorted all the bugs left in it. One of these days, as soon as I find some spear time, I should put it all together and publish a final version for this mod without any bugs.

The problem is, as I am not going to use SMF any more in any of my forums, I am using the little spare time I have, working on the Wedge version for my mods.

But, as I said, even if I am not using SMF any longer, it's not nice lo leave here a version with a lot of bugs. It would be a lot nicer to say goodbye to SMF with a bug free version of all my mods.

And the other problem is I had no spare free time at all since last July, when we started the Rock Band Tebas. With all the work we had finding musicians, composing songs, recording our first demo-CD, etc (apart from the accident that kept me in hospital all October and half of November) I have been too busy.

But as soon as we finish the recording of our second demo-CD (that we are doing just now) I will try to find some time and do these bug-free versions of my mods.

By the way, if any of you like Rock, get inside our web site and download our songs. We are putting them there as soon as they are recorded so everybody can download them for free.  ;)
Title: Re: Stop Spammer
Post by: ukhalik2 on December 18, 2011, 02:19:06 PM
Hello,

This mod is corrupt or bad.
This mod asks for ftp on the installation page. When I give it, and click on install i get internet server error 500, that i have to get fixed from the hosting support.

Any help?
Title: Re: Stop Spammer
Post by: busterone on December 18, 2011, 02:53:28 PM
The files that need to be edited must not be writable by your forum. Check your file permissions.
Title: Re: Stop Spammer
Post by: SD-X on January 09, 2012, 07:35:19 PM
All working on SMF 2.0.1 and 2.0.2!
Title: Re: Stop Spammer
Post by: davegior on January 17, 2012, 11:04:39 AM
I can now not view or log on as Admin or any user to my forum since installing the Mod.
Please help! pronto.

An Error Has Occurred!
Sorry Guest, you are banned from using this forum!
INVALID EMAIL USED TO REGISTER
This ban is not set to expire.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 17, 2012, 12:03:57 PM
It looks like you have installed an old version of the mod with the "yellow bug", sorted almost 2 years ago now.

Read first this answer I wrote almost a year ago to help somebody else with the same problem:

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

If that's not your case, please tell us what version of SMF you are using, what version of the mod you installed and what other mods you have in your forum.
Title: Re: Stop Spammer
Post by: davegior on January 17, 2012, 12:13:42 PM
Hey snoopy thank so much for getting back to me.
I'm using SMF 2.0.2 and I downloaded the mod yesterday from the mod listing here. Don't know the version because I can't access any thing here.
I just received and email from a member who said: pictures all do not load and the format of the website is in a mess
Title: Re: Stop Spammer
Post by: davegior on January 17, 2012, 12:38:58 PM
There were 8 .php files edited today, if I replace them w/ a backup from a week ago, do you think I will be able to get my forum back up and running?

update:
Well that didn't work, still locked out.
Guess I have to restore all my old backups files that I backed up on 1/1/12
Title: Re: Stop Spammer
Post by: davegior on January 17, 2012, 12:45:06 PM
I found out that the mod was: StopSpammer_v2_3_9.zip
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 17, 2012, 01:08:09 PM
Quote from: davegior on January 17, 2012, 12:13:42 PM
I'm using SMF 2.0.2 and I downloaded the mod yesterday from the mod listing here. Don't know the version because I can't access any thing here.

If you downloaded it from here it must be the latest version 2.3.9 and that one haven't got the yellow bug, so it must be some other problem.

You didn't tell me what other mods you have. I suppose you haven't tried to install this mod if you have already installed one of the mods that are not compatible with this one, like Forum Firewall, Bad Behavior or any other. But then again maybe you didn't know they were not compatible ...

Quote from: davegior on January 17, 2012, 12:38:58 PM
There were 8 .php files edited today, if I replace them w/ a backup from a week ago, do you think I will be able to get my forum back up and running?

update:
Well that didn't work, still locked out.
Guess I have to restore all my old backups files that I backed up on 1/1/12

You can find backups inside the folder your_forum/Packages/backups

Normally SMF do always a backup before installing a mod.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 17, 2012, 01:15:51 PM
Another possible solution:

If you can access your database using phpMyAdmin or similar, look for the tables smf_ban_items and smf_ban_groups (maybe the names in your forum are different if you changed the prefix smf_ with any other one).

Inside that tables look for the ban that is stopping you and delete it.
Title: Re: Stop Spammer
Post by: davegior on January 17, 2012, 01:54:25 PM
Quote from: snoopy_virtual on January 17, 2012, 01:15:51 PM
Another possible solution:

If you can access your database using phpMyAdmin or similar, look for the tables smf_ban_items and smf_ban_groups (maybe the names in your forum are different if you changed the prefix smf_ with any other one).

Inside that tables look for the ban that is stopping you and delete it.

I just completed a full copy of my smf/ folder including sub folders and files from my hard drive to my server. The file dates are 1/1/12.
After completing the copy I still have an error:
An Error Has Occurred!
Sorry Guest, you are banned from using this forum!
INVALID EMAIL USED TO REGISTER
This ban is not set to expire.

I did register for a key for the MOD STOPSPAMMER, could this somehow be banning me? I replaced every file??
Title: Re: Stop Spammer
Post by: davegior on January 17, 2012, 02:38:00 PM
Quote from: snoopy_virtual on January 17, 2012, 01:15:51 PM
Another possible solution:

If you can access your database using phpMyAdmin or similar, look for the tables smf_ban_items and smf_ban_groups (maybe the names in your forum are different if you changed the prefix smf_ with any other one).

Inside that tables look for the ban that is stopping you and delete it.

I looked in site the both tables and didn't see anything blocking me. I deleted a few that I didn't have a comment on why I banned them. Still not working. Can I delete ALL inside the table next?
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 17, 2012, 03:17:52 PM
You only replaced the files in your forum, but not the database and I think the problem is in your database.

Haven't you got a backup of your database?

Quote from: davegior on January 17, 2012, 02:38:00 PM
I looked in site the both tables and didn't see anything blocking me. I deleted a few that I didn't have a comment on why I banned them. Still not working. Can I delete ALL inside the table next?

Yes you can delete them all. That will only mean that nobody will be banned and you will need to add manually later any ban that you want to have.

QuoteI did register for a key for the MOD STOPSPAMMER, could this somehow be banning me?

Being registered or not in Stop Forum Spam has nothing to do with this problem. In fact I don't think this mod has anything to do with the problem either. It must come from somewhere else.

Are you sure you haven't being hacked?

BTW, what is the url of your forum so I can see it and try to find out more possible solutions?
Title: Re: Stop Spammer
Post by: davegior on January 17, 2012, 03:31:07 PM
Thank you Snoopy for all your help.
I deleted all email bans and I am able to log on okay. I still see the ban list just no triggers are there. But that's okay with me.

I had a member that I created for testing w/ a bogus email address. Maybe because it showed the same IP address as me the administrator was I banned?
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.

Thank You Snoop
Title: Re: Stop Spammer
Post by: 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...
Title: Re: Stop Spammer
Post by: davegior on January 17, 2012, 03:55:01 PM
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.
Title: Re: Stop Spammer
Post by: Kindred on January 17, 2012, 04:01:01 PM
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******.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 17, 2012, 04:29:26 PM
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.
Title: Re: Stop Spammer
Post by: Kindred on January 17, 2012, 04:31:18 PM
indeed... I have questions, plus bad behavior+httBL, plus Stop Spammer installed....
Title: Re: Stop Spammer
Post by: SD-X on January 17, 2012, 04:40:36 PM
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.
Title: Re: Stop Spammer
Post by: 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.
Title: Re: Stop Spammer
Post by: SD-X on January 17, 2012, 04:55:22 PM
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 ;)
Title: Re: Stop Spammer
Post by: zkhan86 on January 25, 2012, 05:16:12 AM
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
Title: Re: Stop Spammer
Post by: Kindred on January 25, 2012, 07:32:55 AM
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
Title: Re: Stop Spammer
Post by: zkhan86 on January 25, 2012, 08:35:13 AM
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.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 25, 2012, 12:42:36 PM
Inside /Themes/default/languages/
Title: Re: Stop Spammer
Post by: zkhan86 on January 25, 2012, 02:29:43 PM
Sorry, But  it is already at the end attaching is the file, for your reference.
Title: Re: Stop Spammer
Post by: Kindred on January 25, 2012, 02:42:54 PM
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...
Title: Re: Stop Spammer
Post by: 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.
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 25, 2012, 02:59:27 PM
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.
Title: Re: Stop Spammer
Post by: zkhan86 on January 25, 2012, 03:17:17 PM
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.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 25, 2012, 03:24:18 PM
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.
Title: Re: Stop Spammer
Post by: zkhan86 on January 25, 2012, 03:46:18 PM
Error fixed. Followed this => http://www.simplemachines.org/community/index.php?topic=283309.1130;wap

Proud of you guys!!!! Thanks.
Title: Re: Stop Spammer
Post by: TarantinoArchives on January 29, 2012, 08:10:59 AM
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!
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 29, 2012, 08:58:00 AM
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.
Title: Re: Stop Spammer
Post by: TarantinoArchives on January 29, 2012, 09:00:26 AM
Quote from: snoopy_virtual on January 29, 2012, 08:58:00 AM
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.

Hi and many thanks for the quick reply.

I am using 2.0.2

I don't really know what went wrong, the FTP upload test said successful, but no files were modified and no SQL queries written. So I made the file changes manually, but I miss the SQL queries. Could you post them? Many thanks!
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 29, 2012, 09:23:17 AM
What FTP transfer? You are not supposed to install a mod using FTP.

Why didn't you use the Packages Manager?

Anyway, if you have started already doing manual changes to files, maybe is too late to use the Packages Manager now, unless you un-do manually all the changes again.

And anyway, the SQL queries will depend on exactly what changes have you made to the files, because there are a few different ways of doing those changes. Which one did you follow? I mean: Where did you get the list of the changes needed for this mod and exactly on what point in that list are you just now?
Title: Re: Stop Spammer
Post by: TarantinoArchives on January 29, 2012, 09:27:27 AM
Quote from: snoopy_virtual on January 29, 2012, 09:23:17 AM
What FTP transfer? You are not supposed to install a mod using FTP.

Why didn't you use the Packages Manager?

Anyway, if you have started already doing manual changes to files, maybe is too late to use the Packages Manager now, unless you un-do manually all the changes again.

And anyway, the SQL queries will depend on exactly what changes have you made to the files, because there are a few different ways of doing those changes. Which one did you follow? I mean: Where did you get the list of the changes needed for this mod and exactly on what point in that list are you just now?

the package manager asks for FTP Login to make changes, that is what I meant. I never really understood why SMF's package manager doesn't work as well as let's say Wordpress' but that's a different issue.

I have followed the changes from the parse function of the mod page, which lists all the changes that should be applied, which I did (except those for additional languages).
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 29, 2012, 10:16:03 AM
If the package manager asked you for FTP Login to make changes, you have something wrong there. You are not going to be able to install any mod properly doing it that way.

Anyway, that's another different problem now that you have done all the changes "parsed" on that list. The next time you are going to install another mod you should ask for help to learn how to install a mod properly. It's a lot easier and faster once you know how to do it.

But just now, if you are sure you have done properly all the changes in the "parsed" list, follow these steps:

-Take the attached file "install_2.php". (Don't use the one inside the package StopSpammer_v2_3_9.zip because that one was not executable. Use the one I have attached today to this post)

-Upload that file to the root of your forum. In your case I suppose it would be http://www.spaghetti-western.net/forum/

-Visit the file just once with any browser to execute it. That's it: Visit the web page http://www.spaghetti-western.net/forum/install_2.php

-As soon as you see a sign saying "Database changes done", delete that file from your server.

-Do the last instruction on the list, uploading 4 files to your forum:

QuoteFile Operations
Move the included file "StopSpammer.php" to "./Sources".
Move the included file "spammer.gif" to "./Themes/default/images/icons".
Move the included file "suspect.gif" to "./Themes/default/images/icons".
Move the included file "moreinfo.gif" to "./Themes/default/images/icons".

-Check the configuration page from this mod to be sure it's working properly. That would be in your case: http://www.spaghetti-western.net/forum/index.php?action=admin;area=regcenter;sa=settings

-Click on the checkbox "Enable/Disable MOD Stop Spammer" and save the settings.

If you have done everything properly you should see a green sign saying: "Mod Stop Spammer is ON, it is up-to-date and the connection with Stop Forum Spam is perfect.". If you cannot see it let me know.
Title: Re: Stop Spammer
Post by: TarantinoArchives on January 29, 2012, 10:24:44 AM
Quote from: snoopy_virtual on January 29, 2012, 10:16:03 AM
If the package manager asked you for FTP Login to make changes, you have something wrong there. You are not going to be able to install any mod properly doing it that way.

Anyway, that's another different problem now that you have done all the changes "parsed" on that list. The next time you are going to install another mod you should ask for help to learn how to install a mod properly. It's a lot easier and faster once you know how to do it

I agree :)

Quote
But just now, if you are sure you have done properly all the changes in the "parsed" list, follow these steps:

-Take the attached file "install_2.php". (Don't use the one inside the package StopSpammer_v2_3_9.zip because that one was not executable. Use the one I have attached today to this post)

-Upload that file to the root of your forum. In your case I suppose it would be http://www.spaghetti-western.net/forum/

-Visit the file just once with any browser to execute it. That's it: Visit the web page http://www.spaghetti-western.net/forum/install_2.php

-As soon as you see a sign saying "Database changes done", delete that file from your server.

that does not work. chmodded the file correctly, but all I get is a blank screen. does it need any other files in the root directory to work?

Quote
-Do the last instruction on the list, uploading 4 files to your forum:

QuoteFile Operations
Move the included file "StopSpammer.php" to "./Sources".
Move the included file "spammer.gif" to "./Themes/default/images/icons".
Move the included file "suspect.gif" to "./Themes/default/images/icons".
Move the included file "moreinfo.gif" to "./Themes/default/images/icons".
they are already in place

Quote
-Check the configuration page from this mod to be sure it's working properly. That would be in your case: http://www.spaghetti-western.net/forum/index.php?action=admin;area=regcenter;sa=settings

-Click on the checkbox "Enable/Disable MOD Stop Spammer" and save the settings.

If you have done everything properly you should see a green sign saying: "Mod Stop Spammer is ON, it is up-to-date and the connection with Stop Forum Spam is perfect.". If you cannot see it let me know.

these steps I had already done, and the MOD is already green and "working", but as I said, there were never any database changes made I suppose, to a lot of the actual functions of the mod won't work, such as reporting users etc. I created an "is_spammer" column in the database, but that's really not sufficient :)

thanks for your help, I think we're getting close
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 29, 2012, 10:41:55 AM
Quote
Quote
...

-Take the attached file "install_2.php". (Don't use the one inside the package StopSpammer_v2_3_9.zip because that one was not executable. Use the one I have attached today to this post)

...
that does not work. chmodded the file correctly, but all I get is a blank screen. does it need any other files in the root directory to work?

Don't use the one inside the package StopSpammer_v2_3_9.zip because that one was not executable. Use the one I have attached today to my last post.

I can see it still says "downloaded 0 times".

Inside the root of your forum you must have a lot of files, like agreement.txt, index.php, SSI.php, Settings.php, etc.
Title: Re: Stop Spammer
Post by: TarantinoArchives on January 29, 2012, 10:49:03 AM
I am sorry, must've misunderstood that part. Followed the instructions and seems to work now. Many many thanks! Now that I am able to use the mod, may I make a feature suggestion?

Once I click "report selected", it might be cool to have a "report, ban and delete selected" :) or is that somewhere and I am not seeing it?

Again, many thanks and keep up the great work!
Title: Re: Stop Spammer
Post by: snoopy_virtual on January 29, 2012, 11:03:58 AM
As I have already explained a couple of times, I stopped being interested in using SMF for my forums a year ago, so I am not developing any more software for SMF (or adding any more things to software done previously).

As soon as Wedge is finished I will move all my forums to it and I will continue developing my anti-spam mods for Wedge.

I am here only trying to help people with the mods I did, because I feel I am responsible for giving that kind of support, but as I said I am not interested in continue developing them here.
Title: Re: Stop Spammer
Post by: TarantinoArchives on January 29, 2012, 11:07:36 AM
interesting, I will keep an eye out for Wedge
Title: Re: Stop Spammer
Post by: dyndev on February 27, 2012, 08:45:17 PM
I've just installed this on a forum and it's works great, thanks :)
Title: Re: Stop Spammer
Post by: TarantinoArchives on February 28, 2012, 02:27:04 AM
the problem I have is that still hundreds of spammers register every day. while they are properly detected and I can review them, I don't want them to even be able to register... that's why I am going through all the trouble... any hints?
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 28, 2012, 02:39:03 AM
I have in all my sites the best firewall available, Crawltrack, from http://www.crawltrack.net/ as a first protection. Then I have in all my forums mod httpBL, mod StopSpammer and one good anti-spam question. With the firewall and these 3 anti-spam protections working together, the last time one spammer managed to register in one of my forums was more than 2 years ago.

Did you read this tutorial?:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2;language=english
Title: Re: Stop Spammer
Post by: PopUpSteve on March 02, 2012, 05:09:00 PM
I use a three tier system to block spammers.

I have an average of 800 attempted spam hit a day but using the above I only have to deal with maybe 2 per week.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 02, 2012, 05:31:06 PM
The last time I had to deal with one spammer was 2 years ago. And I have 10 forums.
Title: Re: Stop Spammer
Post by: PopUpSteve on March 02, 2012, 07:12:50 PM
Well, when I say "deal" I mean where it gets as far as step #3 and I have to add them to my Ban List and delete them from the requested registration list. But I have not had any get past that point in almost a year.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 03, 2012, 05:32:19 AM
That's what I mean.

In my forums they never reach that point, so mod StopSpammer never has to stop any of them and I don't need to do anything. Everything is automatic.

In fact I keep mod StopSpammer in my forums just like a last security measure (just in case) but I never see it working, because spammers never reach it, so every time I want to check if StopSpammer is working properly or not, I need to de-activate the other anti-spam programs.
Title: Re: Stop Spammer
Post by: PopUpSteve on March 03, 2012, 11:35:32 AM
Wow, that's impressive, I will look into using your methods. Thanks
Title: Re: Stop Spammer
Post by: reddriver on March 05, 2012, 12:29:13 PM
I have this problem after upgrade forum to 2.02

I installed the mod but seems that didn't install nothing after changed in Sources/ManageRegistration.php , Sources/ManageMembers.php , Sources/Subs.php e Modifications.english.php ( where give me error ) i got this (look to image )
I have 2tone like theme
any help will be appreciate
thanks
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 05, 2012, 12:41:21 PM
How did you install it? Using the Package Manager or manually using the parser?
Title: Re: Stop Spammer
Post by: reddriver on March 05, 2012, 12:50:18 PM
Quote from: snoopy_virtual on March 05, 2012, 12:41:21 PM
How did you install it? Using the Package Manager or manually using the parser?

package manager and btw also httpBL mod have the same problem . installed but nothing
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 05, 2012, 02:31:53 PM
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
Title: Re: Stop Spammer
Post by: chr05210084 on March 12, 2012, 06:09:56 AM
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.
Title: Re: Stop Spammer
Post by: Kindred on March 12, 2012, 07:35:25 AM
http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Stop Spammer
Post by: Refalm on March 22, 2012, 01:03:53 PM
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.
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 22, 2012, 02:09:12 PM
http://www.simplemachines.org/community/index.php?topic=366399.msg3293976#msg3293976
Title: Re: Stop Spammer
Post by: Storman™ on March 31, 2012, 01:49:35 PM
I understand from StopForumSpam (http://www.stopforumspam.com) 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....  ;)
Title: Re: Stop Spammer not working with smf 1.1.16?
Post by: 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.
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 17, 2012, 12:18:09 PM
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 (http://custom.simplemachines.org/mods/index.php?mod=2155) 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.
Title: Re: Stop Spammer
Post by: busterone on April 17, 2012, 06:34:16 PM
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.   :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 17, 2012, 06:59:06 PM
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.
Title: Re: Stop Spammer
Post by: busterone on April 17, 2012, 07:07:25 PM
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. :)
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 17, 2012, 07:27:19 PM
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
Title: Re: Stop Spammer
Post by: AumoeLooure on May 08, 2012, 05:23:24 PM
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?
Title: Re: Stop Spammer
Post by: Herrie on May 09, 2012, 02:13:37 AM
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?
Title: Re: Stop Spammer
Post by: 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?
Title: Re: Stop Spammer
Post by: 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? 
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 29, 2012, 03:32:22 PM
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.
Title: Re: Stop Spammer
Post by: busterone on June 29, 2012, 04:35:12 PM
Ahh, you are right. I was thinking of httpBL instead.  It's possible that SFS was down at the moment.   :)
Title: Re: Stop Spammer
Post by: Sudhakar Arjunan on July 12, 2012, 02:29:02 AM
Wonderful mod i have every admired.
Title: Re: Stop Spammer
Post by: MoreBloodWine on August 05, 2012, 02:19:47 PM
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.
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 06, 2012, 06:04:17 AM
As far as I know it's working with all the new versions of SMF.
Title: Re: Stop Spammer
Post by: MoreBloodWine on August 06, 2012, 12:34:57 PM
Good to know ;-)
Title: Re: Stop Spammer
Post by: lurkalot on August 29, 2012, 04:37:22 AM
Using this great mod on a couple of sites already, and seems to work b=very well.  But just built as new site running SMF 2.0.2 and all seemed to be working except in my custom theme the notification at the top of the page is missing, this bit as in your image attached.

Everything else seems to be working, but I have to switch back to the SMF default theme to see the members waiting approval.

Any help would be appreciated.

Title: Re: Stop Spammer
Post by: Branko. on August 29, 2012, 06:09:00 AM
Administration Center>Registration>Settings Notify administrators when a new member joins

The line should appear as soon as you actually have members requiring activation

...Or something in your custom theme??
Title: Re: Stop Spammer
Post by: lurkalot on August 29, 2012, 12:24:28 PM
Quote from: Branko. on August 29, 2012, 06:09:00 AM
Administration Center>Registration>Settings Notify administrators when a new member joins

The line should appear as soon as you actually have members requiring activation

...Or something in your custom theme??



Thanks, already got that set, hence why it works with the SMF default theme. ;)  It must be a problem with my custom theme, but what?
Title: Re: Stop Spammer
Post by: Branko. on August 29, 2012, 12:32:59 PM
..and custom theme is ?
Title: Re: Stop Spammer
Post by: lurkalot on August 29, 2012, 12:46:15 PM
Quote from: Branko. on August 29, 2012, 12:32:59 PM
..and custom theme is ?

Sorry, it's one I had made for me originally, but it's available now from GraphicJunki  It's the theme in use here on my site http://guitaristguild.com called "Camera Craniums"
Title: Re: Stop Spammer
Post by: Texan78 on August 29, 2012, 04:08:10 PM
Quote from: lurkalot on August 29, 2012, 12:46:15 PM
Quote from: Branko. on August 29, 2012, 12:32:59 PM
..and custom theme is ?

Sorry, it's one I had made for me originally, but it's available now from GraphicJunki  It's the theme in use here on my site http://guitaristguild.com called "Camera Craniums"

Sounds like you need to make the required edits that were done in the default theme in your custom theme as well. Those edits are not done by default, hence why it's not showing.
Title: Re: Stop Spammer
Post by: MrManager on September 08, 2012, 08:46:01 PM
This mod stopped working for me about a week ago, with the following message in the admin panel:

    Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.
    If the problem persists ask for help in the official support forum.

Does anybody else have this problem? Why would it just stop working all of a sudden?
Title: Re: Stop Spammer
Post by: busterone on September 08, 2012, 09:31:37 PM
There have been some intermittent problems with the server at Stop Forum Spam. The team has been working on it and the API connection is not working as of this post.  I can't log into the site right now either.  I am sure pedigree will have it all back running smoothly soon.
Title: Re: Stop Spammer
Post by: thernlund on September 09, 2012, 04:06:05 AM
The API seems to be working at api.stopforumspam.org.

Supposedly this is to prevent similar problems in the future.  See their Twitter feed at: http://twitter.com/StopForumSpam

I changed the URL on line 28 of StopSpammer.php to the one above and it works fine.


-T.
Title: Re: Stop Spammer
Post by: SD-X on September 09, 2012, 07:23:32 PM
I noticed the outage yesterday too. I couldn't even visit their website because I was getting "connection reset" errors.
Title: Re: Stop Spammer
Post by: Texan78 on September 10, 2012, 11:55:01 AM
Seems to be working fine now, at least for me. I am getting...

QuoteMod Stop Spammer is ON, it is up-to-date and the connection with Stop Forum Spam is perfect.
Title: Re: Stop Spammer
Post by: SD-X on September 10, 2012, 12:12:41 PM
Quote from: Texan78 on September 10, 2012, 11:55:01 AM
Seems to be working fine now, at least for me. I am getting...

QuoteMod Stop Spammer is ON, it is up-to-date and the connection with Stop Forum Spam is perfect.
Same here. Looks like the website has resolved it's issues. :)
Title: Re: Stop Spammer
Post by: Jade Elizabeth on September 18, 2012, 06:58:56 AM
It would be fantastic if this mod came with some sort of "check all" script. If your forum has been hit hard with spam, having some sort of time lapsed file that would just check everyone would be fantastic and time saving... Especially when the forum has 5000 members already ha ha.
Title: Re: Stop Spammer
Post by: Jade Elizabeth on September 18, 2012, 07:22:29 AM
Also I keep getting these and it's annoying:

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
Title: Re: Stop Spammer
Post by: PopUpSteve on September 18, 2012, 06:10:02 PM
I hear you. When I scanned my member base I had over 25k members. I just started doing a page at a time. It didn't take that long to go through them page by page.

I'm grateful for this life saving mod. In the last few weeks, the database went down a few time for a day or two and the spammer just swarmed in.
Title: Re: Stop Spammer
Post by: busterone on September 18, 2012, 06:52:59 PM
Quote from: Jade Elizabeth on September 18, 2012, 06:58:56 AM
It would be fantastic if this mod came with some sort of "check all" script. If your forum has been hit hard with spam, having some sort of time lapsed file that would just check everyone would be fantastic and time saving... Especially when the forum has 5000 members already ha ha.
That would be a great addition, but unless snoopy has changed his mind recently, I don't expect to see it. He stated a few times that he isn't going to make any major changes or additions to this mod, only what is necessary for SMF core changes. (if needed for next upgrade version) He is working on his Wedge version instead.

Quote from: Jade Elizabeth on September 18, 2012, 07:22:29 AM
Also I keep getting these and it's annoying:

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
When exactly are you getting those, when a user tries to register, or when you do manual checks?

Would you by chance happen to be using Chrome? If so, you may be a victim of the Chrome bug.
http://www.google.com/#hl=en&sclient=psy-ab&q=error+324+chrome&oq=Error+324&gs_l=hp.1.1.0l4.0.0.1.18591.0.0.0.0.0.0.0.0..0.0.les%3Beesh..0.0...1.Tnat792OK48&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&fp=59062836329f24fc&biw=1600&bih=720
Title: Re: Stop Spammer
Post by: Jade Elizabeth on September 19, 2012, 01:08:38 AM
When I do manual checks.


ALSO it's not a major addition, it should be a really tiny thing to do that works in the background.
Title: Re: Stop Spammer
Post by: park4bmx on September 21, 2012, 09:39:41 AM
yeah i have the mod installed for like 2 months now and it keeps sating Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.

iv done so many thing to try fix it.

i have contacted my host providers to ask if fsockopen is open which is.
looked for what kind of port need to be open but didn't see any.
I have tested to see if the database is used correctly.
and some more..

Im running SMF 2.0.2
usingcPanel
and the mod installs 100% with the MOD Installer.

so i came here for help :X
Title: Re: Stop Spammer
Post by: busterone on September 21, 2012, 06:22:47 PM
Quote from: Jade Elizabeth on September 19, 2012, 01:08:38 AM
When I do manual checks.


ALSO it's not a major addition, it should be a really tiny thing to do that works in the background.
I believe I should let snoopy look into this one.  :)

Quote from: park4bmx on September 21, 2012, 09:39:41 AM
yeah i have the mod installed for like 2 months now and it keeps sating Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.

iv done so many thing to try fix it.

i have contacted my host providers to ask if fsockopen is open which is.
looked for what kind of port need to be open but didn't see any.
I have tested to see if the database is used correctly.
and some more..

Im running SMF 2.0.2
usingcPanel
and the mod installs 100% with the MOD Installer.

so i came here for help :X
Have you gone to Stop Forum Spam's website and obtained an API? If so, is the API key correctly inserted in this mod's admin area.?
Title: Re: Stop Spammer
Post by: park4bmx on September 22, 2012, 05:10:38 PM
Quote from: busterone on September 21, 2012, 06:22:47 PM
Quote from: Jade Elizabeth on September 19, 2012, 01:08:38 AM
When I do manual checks.


ALSO it's not a major addition, it should be a really tiny thing to do that works in the background.
I believe I should let snoopy look into this one.  :)

Quote from: park4bmx on September 21, 2012, 09:39:41 AM
yeah i have the mod installed for like 2 months now and it keeps sating Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.

iv done so many thing to try fix it.

i have contacted my host providers to ask if fsockopen is open which is.
looked for what kind of port need to be open but didn't see any.
I have tested to see if the database is used correctly.
and some more..

Im running SMF 2.0.2
usingcPanel
and the mod installs 100% with the MOD Installer.

so i came here for help :X
Have you gone to Stop Forum Spam's website and obtained an API? If so, is the API key correctly inserted in this mod's admin area.?
yes, i have inserted in the registers-settings area.
i evan made 2 API keys but no luck
Title: Re: Stop Spammer
Post by: busterone on September 22, 2012, 06:57:18 PM
If the mod is installed with no errors, and the admin area says it is on, the API is inserted, then there is the possibility that there is some restriction on your host's end, or the IP that your hosting server is residing on may be blocked for some reason. Who is your host?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 23, 2012, 11:32:10 AM
The API is only needed to report new spammers. You don't need an API if you only want to check if your visitors are spammers.

If there is a problem with the connexion with SFS server must be because something else. Cannot guess what else though.
Title: Re: Stop Spammer
Post by: park4bmx on September 23, 2012, 02:02:25 PM
my host is: hosting24
Title: Re: Stop Spammer
Post by: Jade Elizabeth on September 24, 2012, 03:52:25 AM
So Snoopy, what do you think of my idea? :D

I installed on a forum with 16,000 members and I kid you not only 700 of them are not spam. I ended up just removing anyone who hadnt logged in in a month who had no posts just so I could go through the list checking everyone lol.

ALSO it craps out on me if I search for 30 so I had to set it to 20 a page, which was ******ty cause it gave me more pages ha ha.
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 24, 2012, 07:32:12 AM
Quote from: Jade Elizabeth on September 24, 2012, 03:52:25 AM
So Snoopy, what do you think of my idea? :D

Sorry Jade, I have no spare time just now and that change you are talking about looks like a big one.

The way this mod was done in the first place make it impossible to check more than 20 or 30 members at a time.

For that thing to work I would need to change completely the way the mod works. Or create a brand new mod.

In fact the reason why I created my other anti-spam mod httpBL was that.
Title: Re: Stop Spammer
Post by: Jade Elizabeth on September 24, 2012, 09:39:25 AM
I understand, just wanted your opinion :). Why can't you leave it function as is, but make it check the members one at a time every day daily maintenance is done if they havent been checked? That would just be a variable in the DB for like Is_Spammer_Checked and then it can gather 20 that arent on maint and send them? Would that be easier?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 25, 2012, 09:24:48 AM
Actually what this mod would need is a complete re-write.
Title: Re: Stop Spammer
Post by: park4bmx on September 26, 2012, 09:29:00 AM
Quote from: park4bmx on September 21, 2012, 09:39:41 AM
yeah i have the mod installed for like 2 months now and it keeps sating Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.

iv done so many thing to try fix it.

i have contacted my host providers to ask if fsockopen is open which is.
looked for what kind of port need to be open but didn't see any.
I have tested to see if the database is used correctly.
and some more..

Im running SMF 2.0.2
usingcPanel
and the mod installs 100% with the MOD Installer.

so i came here for help :X
yeah if someone could help me out, still tring to solve this :X
Title: Re: Stop Spammer
Post by: HoverClub on November 17, 2012, 04:17:41 AM
Quote from: Herrie on May 09, 2012, 02:13:37 AM
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
....
Does anyone have an idea on how to sort this?

Old post I know but this error also came up with me.  It's caused by someone attempting registration without an email address (or a user name).  The Stop Spammer code hook is before the email verification in SMF so throws an error.  It's easily fixed:

In Register.php, replace if ($modSettings['stopspammer_enable'])

with: if ($modSettings['stopspammer_enable'] AND regOptions['username']!='' AND regOptions['email']!='')

Title: Re: Stop Spammer
Post by: TourFL on November 19, 2012, 04:04:02 AM
Thanks HoverClub!
But did you mean

if ($modSettings['stopspammer_enable'] AND regOptions['username']!='' AND regOptions['email']!='')
Title: Re: Stop Spammer
Post by: HoverClub on November 19, 2012, 04:21:31 AM
Yep- fixed now thanks!
Title: Re: Stop Spammer
Post by: TourFL on November 19, 2012, 05:05:01 AM
Still a little bit missing to make it work, so here is the corrected line  ;)


if ($modSettings['stopspammer_enable'] && $regOptions['username'] != '' && $regOptions['email'] != '')

Title: Re: Stop Spammer
Post by: samscholes on November 24, 2012, 07:20:42 PM
When I go to Manage Members on my SMF forum the Stop Spammer information starting with "7253 Spammers blocked up until today" and the related information and buttons, shows up twice.

See screenshot.

What is going on? It doesn't appear to be installed twice. Please let me know.
Title: Re: Stop Spammer
Post by: SD-X on November 24, 2012, 07:30:29 PM
Quote from: samscholes on November 24, 2012, 07:20:42 PM
When I go to Manage Members on my SMF forum the Stop Spammer information starting with "7253 Spammers blocked up until today" and the related information and buttons, shows up twice.

See screenshot.

What is going on? It doesn't appear to be installed twice. Please let me know.
You might've installed that section for your custom theme and bugged it when you did such. Assuming it's not installed twice elsewhere, you should be able to open the file where that modification was done and just remove the doubled code.
Title: Re: Stop Spammer
Post by: busterone on November 24, 2012, 10:39:17 PM
look in ./Sources/ManageMembers.php to find the doubled code edit. 
Title: Re: Stop Spammer
Post by: samscholes on November 26, 2012, 07:54:11 PM
That worked. Thank you very much.
Title: Re: Stop Spammer
Post by: CBG on December 13, 2012, 12:25:18 PM
Hi,

Sorry if this has been asked before.
Can this be used on Guest area post, where a guest can make a post?
Or is it just for Registration.

Thanks
Title: Re: Stop Spammer
Post by: Kindred on December 13, 2012, 12:26:34 PM
just for registration
Title: Re: Stop Spammer
Post by: SD-X on December 17, 2012, 01:35:16 PM
I hate to keep spamming this in every mod topic, but does anyone know if this mod is compatible with SMF 2.0.3? I haven't tested it yet.
Title: Re: Stop Spammer
Post by: Kindred on December 17, 2012, 01:56:12 PM
SugarD,
you need to a) calm down and b) try it...   most mods will have no appreciable difference between 2.0.0 and 2.0.3
Title: Re: Stop Spammer
Post by: SD-X on December 17, 2012, 01:57:36 PM
Quote from: Kindred on December 17, 2012, 01:56:12 PM
SugarD,
you need to a) calm down and b) try it...   most mods will have no appreciable difference between 2.0.0 and 2.0.3
I'm completely calm. I'm just seeing if anyone else has had any issues before I upgrade. I have a lot of mods installed on a live forum that can't be down for a long period of time.
Title: Re: Stop Spammer
Post by: briggz5d on December 21, 2012, 12:21:13 PM
Quote from: Kindred on December 13, 2012, 12:26:34 PM
just for registration
Yes, i just upgraded to 2.0.3 and had to Uninstall and Install about 9 of my 10 mods but everything works great.
Some mods still require emulating 2.0, 2.0.2 etc
Title: Re: Stop Spammer
Post by: busterone on December 21, 2012, 10:17:38 PM
Working just fine with 2.03.
Using the package manager update method had no effect on installed mods. The security update doesn't touch any of the files that this mod uses.
Title: Re: Stop Spammer
Post by: Deadairdave on December 24, 2012, 07:53:30 PM
Quote from: busterone on December 21, 2012, 10:17:38 PM
Working just fine with 2.03.
Using the package manager update method had no effect on installed mods. The security update doesn't touch any of the files that this mod uses.

I used Cute FTP Pro to install the 'Large' upgrade.  That went fine and I was able to use the usual 'mysite.com/upgrade.php'.  On going to package manager, all but 2 mods required reinstalling, dunno why 2 seemed to be installed, but I've left them as is.  I guess it may be as they were installed through the emulator option.  I've been able to reinstall all my mods without a problem, but what I would say is, check that there's not a newer version available specifically for 2.0.3.  None of my mods have that option, all being for 2.0.2, but working fine. ;)

Dave.
Title: Re: Stop Spammer
Post by: Kindred on December 24, 2012, 08:14:38 PM
there should have been no need to use the large upgrade package, since the large upgrade package replaces files - the patch package would have done the same without requiring any reinstall
Title: Re: Stop Spammer
Post by: Jade Elizabeth on December 29, 2012, 03:47:12 AM
I'm using this mod on a site that's supposed to catch spammers. Trouble is I want it to still check to see if the member is a spammer (to see if it is in the SFS database)....but I don't want admin approval to be forced if they are. I want it to just let them register instantly like I've set on rego. That way I can catch the ones posting or making profile spam.

Can you help me do this please? :)

Quote from: Jade Elizabeth on September 24, 2012, 09:39:25 AM
I understand, just wanted your opinion :). Why can't you leave it function as is, but make it check the members one at a time every day daily maintenance is done if they havent been checked? That would just be a variable in the DB for like Is_Spammer_Checked and then it can gather 20 that arent on maint and send them? Would that be easier?
Quote from: snoopy_virtual on September 25, 2012, 09:24:48 AM
Actually what this mod would need is a complete re-write.

Surely not if it's some little side add-on?
Title: Check Member admin task in members profile
Post by: Lou69 on December 30, 2012, 10:04:23 AM
When one has selected the option in Permissions for Regular members to have the ability to delete their account, there will also appear under the 'Actions' bar the option to 'Check this member', which should be an Admin function only.

I made the below changes in Profile.php. Is this the best way to handle removing the 'Check this member' option from the Regular members profile?


Original code ...


'checkmember' => array(
'label' => $txt['stopspammer_profilecheck'],
'custom_url' => $scripturl . '?action=admin;area=viewmembers;sa=query;params=' . base64_encode(serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))),
'enabled' => $cur_profile['id_group'] != 1 && !in_array(1, explode(',', $cur_profile['additional_groups'])),
'sc' => 'get',
'permission' => array(
'own' => array('profile_remove_any', 'profile_remove_own'),
'any' => array('profile_remove_any', 'moderate_forum'),
),
),




Modified code ...


'checkmember' => array(
'label' => $txt['stopspammer_profilecheck'],
'custom_url' => $scripturl . '?action=admin;area=viewmembers;sa=query;params=' . base64_encode(serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))),
'enabled' => $cur_profile['id_group'] != 1 && !in_array(1, explode(',', $cur_profile['additional_groups'])),
'sc' => 'get',
'permission' => array(
'own' => array('admin_forum'),
'any' => array('admin_forum'),
),
),




The above change permits Admin users to see the 'Check this member' under each user profile but, Global Moderators, Regular members can not access this function. Is this an acceptable fix? Any suggestions?
Title: Re: Stop Spammer
Post by: DarkAngel612 on January 04, 2013, 06:40:35 PM
I have a question about the actions list in this mod.

I have had it for quite some time and love the way it works with httpBL mod and have stopped many spammers from coming in but my question is this---

Especially after forum updates, the actions list changes to this one pictured -- note that there is only activate, delete and remind selections

Sometimes I get the listing that shows the listing with Approve, Approve require activation

That is what I want since the boards are set to require activation of new member...

I have checked settings and nothing has changed, it appeared with the approve parts 2 days ago when a spammer was listed (in red) along with another member request that was approved requiring activation.

Ideas of what is going on here...and how to make it stay with the approval choices

***EDIT***
I added another image of one of our other rforums with the listing the way I mentioned...this one changes too but not often. Is it changed when there are no red/orange name is the list?

I am using SMF 2.0.3 and various themes (which I checked in each theme too)

Title: Re: Stop Spammer
Post by: Lou69 on January 04, 2013, 10:04:32 PM
I think you are wanting to have a consistent colour around the data area that is just below the '588 Spammer blocked ...' section? If so, Snoopy recommended something similar to this in a previous post. Change the background to match your background or what ever colour you want. On my sites I added the border information.

Add the below code to the bottom of your index.css file.  If you search the StopSpammer files for the " .leyend_stopspammer " you will find it referenced in one of the files. I don't recall which one it is.


/* Fix for Stop Spammer visual style */
.leyend_stopspammer
{
    border: solid 1px;
    background-color: #EAE9E9;
}
Title: Re: Stop Spammer
Post by: DarkAngel612 on January 04, 2013, 10:19:01 PM
Thanks Lou69, if that was supposed to answer my question then nope that is not what I wanted----which is a moot point right now.

I was actually running in here just now, to post to DISREGARD the ramblings of an old woman...me

I was just being my old idiotic self...of course I newver make mistakes ya know it just seems like it...LOL

I figured out that the box with the selections changes with the area viewed. In the area to approve/disapprove it will say approve with activation --- while in the area to see those that have been approved and yet to log in and activate their account-----that one will say activate and send email.


Sorry for being an idiot but hey 2013 is still young (I am not) so I have the entire year to keep goofing up.
Title: Re: Stop Spammer
Post by: Lou69 on January 05, 2013, 12:15:17 AM
Tis ok  :)   I misunderstood what you needed.   :)

Title: Re: Stop Spammer
Post by: snoopy_virtual on January 05, 2013, 04:58:53 AM
Hi DarkAngel:

Anyway, this mod has nothing to do with the elements in that list you are talking about.

It's the code in SMF itself who make that list, and the mod doesn't modify it.
Title: Re: Stop Spammer
Post by: DarkAngel612 on January 05, 2013, 05:21:39 AM
thanks for the info and good to know in case another dodo like me thinks it is doing something wrong. I need a handler
Title: Re: Stop Spammer
Post by: Lou69 on January 05, 2013, 09:36:44 AM
@snoopy_virtual ... have you given any more thought to releasing the bug fixes you posted about previously in this thread?

thanks

Title: Re: Stop Spammer
Post by: snoopy_virtual on January 05, 2013, 08:07:20 PM
We will see.

If I ever find some spare time ...

Every time I finish one thing I find another 10 urgent things waiting to be done.
Title: Re: Stop Spammer
Post by: teos55 on January 06, 2013, 04:43:22 AM
smf 2.0.3  default theme curve  simple portal 2.3.5

  Noticed that my stop spammer mod is the old version ( 1.0)  I tried to uninstall and install the new version 2.3.9

Uninstall  failed at who.tamplate.php  but parse does not list who.template.php ( 2.3.9) so I dont know what to delete .

Can you pls help ?

May I install new version without removing v1.0 ?l

nb.  OK Solved.  opend xml file and extracted the to be added item from there.

Now installed v2.3.9  seems ok so far :-)
Title: Re: Stop Spammer
Post by: BigMike on January 09, 2013, 12:46:05 AM
Hello SMF,

First HUGE thanks to M-DVD, snoopy_virtual, and any others that have put in time to develop this mod. I just discovered StopForumSpam yesterday and am having great results with it on my Drupal CMS site.

I am running SMF v2.0.3 and just installed this mod manually and everything seems to be working fine.

Only Problem: Removing members now takes forever, and I really mean forever. I don't know how the request doesn't time out in my browser. My server load goes up from 0.2 to about 1.5 for a solid ten mins before Firefox reloads the page with the member account removed. The process that goes sky high is mysql.

I am using my API key configured correctly and I get the green text for both "Your host can make remote connection with the DB" and "...the connection with Stop Forum Spam is perfect".

I Disabled this mod and then tried to delete another account (I checked manually and verified spam) and SMF also took ten something minutes to complete the request.

Question: I can't possibly read all 84 pages here, I tried searching, Has anyone else experienced this, and if so, what is the fix?

I checked my error log and its empty. All the functionality as described in the mod seems to be working as expected.

If I'm the only one to report this, does anyone know how to trouble shoot mysql, maybe where its error log is on my CentOS/Apache/cPanel server, or how to inspect what queries are holding it up?

MANY Thanks for the help. This MOD is long overdue on our large forum (almost 1 million posts)

Regards,
BigMike

EDIT: Sorry, discovered I have some issue with my SMF, unrelated to this mod.
Title: Re: Stop Spammer
Post by: MoreBloodWine on January 09, 2013, 01:02:37 AM
Question, instead of putting them (spam users) in a pending list to which you need to "tick" and then reject. Is it possible to just have them rejected and not go into an awaiting response list ? I get hit daily with a lot of spam bots and it just makes sense for me to have this option. This way users can set how to handle these "user".

Ex: When ticked this option automatically rejects these signups.

Like right now they all show as red in the list, then users who have issues getting checked are yellow. Well these yellow users should still be put in a pending lit to be checked later but those users who are "red" that had no issues sgetting checked are just automatically rejected.
Title: Re: Stop Spammer
Post by: BigMike on January 09, 2013, 01:23:02 AM
Quote from: MoreBloodWine on January 09, 2013, 01:02:37 AM
Question, instead of putting them (spam users) in a pending list to which you need to "tick" and then reject. Is it possible to just have them rejected
The SFS mod for Drupal has an option to check for a minimum number of previously reported entries in the Spam Database. If the user has been reported more than this amount to SFS, then the registration is blocked entirely and the user is reported to your API key/account.

The Drupal mod explains it this way, and includes the following default values:

QuoteA user account or an attempted user registration will be deemed a spammer if the email, username, or IP address has been reported to www.stopforumspam.com more times than the following thresholds.
Number of times the email has been reported is equal to or more than: 1
Number of times the username has been reported is equal to or more than: Don't use username as a criteria
Number of times the IP address has been reported is equal to or more than: 20

If the user passes these tests, and deemed a spammer, then after submitting her registration information is presented with a configurable message. The default message is, "Your email address or username is blacklisted."

------

Quote from: BigMike on January 09, 2013, 12:46:05 AMOnly Problem: Removing members now takes forever, and I really mean forever. I don't know how the request doesn't time out in my browser. My server load goes up from 0.2 to about 1.5 for a solid ten mins before Firefox reloads the page with the member account removed. The process that goes sky high is mysql.
Regarding my issue with really slow member deletion, I was thinking that since I just installed this mod, maybe I don't have something else configured to work with it? For example, I require Email Activation and do not Require Approval. My option for "Method of registration employed for new members" is and has always been set to "Email Activation". I am not using the "Admin Approval" however within the hour that I've been running this mod I now have something I've never seen in my life, "There is one member awaiting approval." ! And when I go here there is 1 member in red, a known spammer.

I can't see the activation method having anything to do with member deletion however... But I'm to the point where I'm scratching my head now.

Thanks
Mike
Title: Re: Stop Spammer
Post by: BigMike on January 09, 2013, 01:38:01 AM
Quote from: Jade Elizabeth on September 24, 2012, 03:52:25 AM
I installed on a forum with 16,000 members and I kid you not only 700 of them are not spam. I ended up just removing anyone who hadnt logged in in a month who had no posts just so I could go through the list checking everyone

Quote from: Jade Elizabeth on September 24, 2012, 09:39:25 AM
...  check the members one at a time every day daily maintenance is done if they havent been checked? That would just be a variable in the DB for like Is_Spammer_Checked and then it can gather 20 that arent on maint and send them? Would that be easier?
The mod for Drupal also has this functionality. What it does is every time cron runs, which for active sites can be every hour, there is a configurable quantity of members that are checked starting at a configurable member number.

The mod explains this as follows,

QuoteScan existing accounts
This module can also check existing user accounts to see if they are known spammers. It works by checking user accounts with increasing uid's ie. user id 2, 3, 4 etc during cron. Any existing users found to be known spammers are logged. Blocked user accounts are not checked.
Maximum number of user accounts to check per cron:
Action to take: None, just log it OR Block user account OR Delete user account
Continue scanning after this user id: 1

The max # of account to scan per cron was blank by default, and I am currently doing 40 accounts every 3 hours. There is a warning message to not scan too many accounts because if your site queries SFS too often then you won't be able to use the service until the end of the day. The "continue scanning after this user id" option is also a text field which is a nice option. In case I want to start scanning from the user account 20000, I can just enter this so as to not scan old accounts.

It also provides scanning stats, which for my Drupal site currently looks like this (I just installed this mod yesterday):
QuoteScan status
Accounts checked: 270, Accounts remaining: 23262
The last checked user account is: kakudu69 (uid 272)

Regards,
BigMike
Title: Re: Stop Spammer
Post by: MoreBloodWine on January 09, 2013, 01:48:14 AM
You talking about this or is it just too late and I'm being dumb ? I don't even pretend to know what drupal is lol.

http://custom.simplemachines.org/mods/index.php?mod=1519

Mind you that was last updated in 2011 but I guess is still functional for the few comments on the last page I read. Either way I'd like something that does what I ask and this mod carries the name of what your talking about.

That said, would the SFS mod or whatever be used in conjunction with this mod or as a replacement ? If in conjunction I kinda see some compatability issues coming up given how this mod handles "members" and how I'd like them handled which you said SFS does.
Title: Re: Stop Spammer
Post by: BigMike on January 09, 2013, 01:54:15 AM
Drupal is an open sourced content management system, https://drupal.org/. To get an idea of what can be done with Drupal, see https://drupal.org/case-studies. All of those sites are built from scratch right on top of Drupal.

Quote from: MoreBloodWine on January 09, 2013, 01:48:14 AM
http://custom.simplemachines.org/mods/index.php?mod=1519

Mind you that was last updated in 2011 but I guess is still functional for the few comments on the last page I read. Either way I'd like something that does what I ask and this mod carries the name of what your talking about.
Ohhhhh. This is very nice. Why do we have two of these mods for SMF? :D

Just parsed it. It's only a registration blocker .....which is exactly what is needed. It doesn't post the spammers back to the DB so it doesn't proactively aid in the reduction of spam.

It is nice to have the interactive features of Stop Spammer. You're right, these two should be combined.
Title: Re: Stop Spammer
Post by: MoreBloodWine on January 09, 2013, 01:59:52 AM
Thxx for that but I guess what I shoulda asked is if you know of a mod that does everything you talked about for SMF. If anything, I might jut use the outdated mod since that i effectively what I gues I'm after, a registratin blocker for spam bots.
Title: Re: Stop Spammer
Post by: BigMike on January 09, 2013, 02:18:23 AM
No sorry I do not. The mod I quoted is for a different software.

I am still trouble shooting my user delete issue, but I gotta get to sleep for work tomorrow. I just deleted one user and tracked the time. From the Awaiting Approval screen, I check marked one red spammer and selected 'Reject' from the SMF drop down at 11:03:45 PM. The page finally reloaded with the user gone at 11:15:44 PM. Twelve minutes to delete one member. I'll look into this some more tomorrow after work

G'Night from the west coast,
BigMike
Title: Re: Stop Spammer
Post by: BigMike on January 09, 2013, 03:45:48 AM
Well, I couldn't sleep because I was thinking about this, and I just removed the mod and went to delete a (spammer) user and low-and-behold it is taking f-o-r-e-v-e-r!!

CRAP, something is wrong with my SMF, NOT this mod. Sorry for the false alarm :(

BigMike
Title: Re: Stop Spammer
Post by: teos55 on January 09, 2013, 04:24:45 AM
Have you checked the "server" error log through cpanel or whatever tool you have ?  Repair DB and settings might help ...
Title: Re: Stop Spammer
Post by: BigMike on January 09, 2013, 04:22:11 PM
Good tips.
I downloaded a general server log from cPanel and its just a bunch of GET commands and what looks like normal things.
I ran repair_settings.php and there actually was one problem, "Queryless URLs" had no value for some reason so I set it to the recommended "Off".

I think I need to look at queries maybe but I'm not sure where phpMyAdmin stores logs yet. In case anyone else is experiencing this, I have begun replying to the following thread: http://www.simplemachines.org/community/index.php?topic=479645

Thanks
Mike

Edit: Haha after running repair_settings.php half the text and images on my forum are missing :P Gotta figure out whats up lol

Edit 2: Figured it out. repair_settings reset my forum's theme to the default theme, when in fact we are using a different theme that looks nearly identical. Gonna delete a known spammer member and see if setting 'Queryless URLs' to 'Off' fixed the issue or not :D

Edit 3: Nope, didn't fix it. I think its good to have the value set so I thank you again. Cheers!
Title: Re: Stop Spammer
Post by: Jade Elizabeth on January 10, 2013, 12:22:05 AM
Quote from: BigMike on January 09, 2013, 12:46:05 AM
Hello SMF,

First HUGE thanks to M-DVD, snoopy_virtual, and any others that have put in time to develop this mod. I just discovered StopForumSpam yesterday and am having great results with it on my Drupal CMS site.

I am running SMF v2.0.3 and just installed this mod manually and everything seems to be working fine.

Only Problem: Removing members now takes forever, and I really mean forever. I don't know how the request doesn't time out in my browser. My server load goes up from 0.2 to about 1.5 for a solid ten mins before Firefox reloads the page with the member account removed. The process that goes sky high is mysql.

I am using my API key configured correctly and I get the green text for both "Your host can make remote connection with the DB" and "...the connection with Stop Forum Spam is perfect".

I Disabled this mod and then tried to delete another account (I checked manually and verified spam) and SMF also took ten something minutes to complete the request.

Question: I can't possibly read all 84 pages here, I tried searching, Has anyone else experienced this, and if so, what is the fix?

I checked my error log and its empty. All the functionality as described in the mod seems to be working as expected.

If I'm the only one to report this, does anyone know how to trouble shoot mysql, maybe where its error log is on my CentOS/Apache/cPanel server, or how to inspect what queries are holding it up?

MANY Thanks for the help. This MOD is long overdue on our large forum (almost 1 million posts)

Regards,
BigMike

EDIT: Sorry, discovered I have some issue with my SMF, unrelated to this mod.

Just search the topic silly, up the top right when in topics the search box changes to "in this topic" :).
Title: Re: Stop Spammer
Post by: BigMike on January 10, 2013, 10:24:59 AM
Quote from: Jade Elizabeth on January 10, 2013, 12:22:05 AM
Just search the topic silly, up the top right when in topics the search box changes to "in this topic" :).
I did do this as well as the forum as a whole. :D Didn't find anything, and for good reason as my issue ended up not being related ;) (I chose not to delete my original post since I'm referencing it in other posts as well as other topics and as well as other forums!) :)


Edit: Side note: I figured my issue out and posted a crude fix at the mod author's site here (http://www.smfpacks.com/b65/possible-bug-relating-removal-users/1448/msg7690#msg7690). It looks to be a bug with SMF Likes Pro when a member is removed that has never performed any likes.

Related to Stop Spammer, I never knew about this bug until I tried removing Spammers that were in the Awaiting Admin Approval category. From my uneducated research it looks like SMF Likes Pro is not programmed correctly to handle this!
Title: Re: Stop Spammer
Post by: BigMike on January 10, 2013, 03:27:46 PM
Quote from: M-DVD on December 31, 2008, 07:31:43 AM
Features:

...

  • When registering a user, will compare their data (nickname, IP and mail) with the DB "Stop Forum Spam". If match any data, then the user is inactive 'Waiting for Approval'.

...

  • It keeps a record number of all Spammers Blocked to date

Hey guys,

Now that I got everything working well and am reporting and rejecting registrations, I am wondering if this mod blocks the re-registrations of those previously reported and rejected?

Otherwise, I'll just be going around in circles reporting & rejecting the same spammers.

I checked my Ban list and there are no new bans being created.

I know there is another mod that will prevent spammers from registering, but then I loose the ability to report them to SFS. I am just wondering if this mod adds any protection from those who administrators have spent the time reporting and rejecting?

Thanks!
BigMike
Title: Re: Stop Spammer
Post by: Kindred on January 10, 2013, 05:30:02 PM
This does not add any bans, as far as I know...   it just checks against the SFS database.
The benefit of reporting is that you contribute to the SFS database...  it has no prevention for the same spammer trying to register on your site multiple times...

I will say that, with the standard Q&A (part of SMF 2.0.x) and the bad behavior + HTTPBL mod, this mod only triggers about once a month for me these days...
Title: Re: Stop Spammer
Post by: DarkAngel612 on January 10, 2013, 07:06:27 PM
I have this one and the HttpBL mod and between them both I have no re-registering of the "naughty" folks. I can ban them, make sure at least 3 triggers are showing clicked then delete their account totally so they do not muck up my member listing too.

The only problem is that occasionally I have to manually add a wannabe member cause they are not spammers but the info was close enough...lol

I also have a join reason mod and boy can they come up with some doozies as reason why they wish to join.
Title: Registration Questions?
Post by: Ed2 on February 11, 2013, 08:50:12 AM
This program is working great.. on my other forum been using Anti-Spam Verification Questions which eliminates just about all bot applicants.  Seems that Stop Spammer opens the door for BOT applicants..yes it catches them..but I continuously have to delete identified spammers.

Is there any way to incorporate "Anti-Spam Verification Questions" with "Stop Spammer"?

Thanks
Title: Re: Stop Spammer
Post by: Kindred on February 11, 2013, 10:13:42 AM
questions are a standard feature in SMF 2.0
Title: Re: Stop Spammer
Post by: Ed2 on February 11, 2013, 11:10:38 AM
Quote from: Kindred on February 11, 2013, 10:13:42 AM
questions are a standard feature in SMF 2.0

Where is the question menu? I can't locate it in my SMF 2.0 Admin area.
Title: Re: Stop Spammer
Post by: Kindred on February 11, 2013, 11:22:32 AM
http://wiki.simplemachines.org/smf/Security_and_Moderation
Title: Re: Stop Spammer
Post by: Ed2 on February 11, 2013, 12:56:55 PM
Quote from: Kindred on February 11, 2013, 11:22:32 AM
http://wiki.simplemachines.org/smf/Security_and_Moderation

Kindred

THANK YOU...could not locate that info on my own and I did look.
Title: Re: Stop Spammer
Post by: SD-X on February 11, 2013, 03:49:17 PM
Quote from: Ed2 on February 11, 2013, 12:56:55 PM
Quote from: Kindred on February 11, 2013, 11:22:32 AM
http://wiki.simplemachines.org/smf/Security_and_Moderation

Kindred

THANK YOU...could not locate that info on my own and I did look.
If you still can't find it, in SMF 2.0.x: Admin -> Configuration -> Security and Moderation -> Anti-Spam -> Scroll down to "Verification Questions".
It will be in a different location in SMF 1.x, however I don't have that specific information available off-hand.
Title: Re: Stop Spammer
Post by: Arantor on February 11, 2013, 03:49:58 PM
SMF 1.1 does not have verification questions built in.
Title: Re: Stop Spammer
Post by: SD-X on February 11, 2013, 03:57:27 PM
Quote from: Arantor on February 11, 2013, 03:49:58 PM
SMF 1.1 does not have verification questions built in.
Ah, thank you. :)
Title: Re: Stop Spammer
Post by: Herman's Mixen on February 11, 2013, 03:59:39 PM
You can use Solved Media (https://portal.solvemedia.com/portal/help/pub/SMF/) as an solution for 1.1.x also its an solution for 2.x ;)

Register at their site for the API's
Title: Re: Stop Spammer
Post by: Kindred on February 11, 2013, 04:46:31 PM
questions do not exist in SMF 1.1.x unless you added the mod.
Title: Re: Stop Spammer
Post by: Angie on Dialysis on March 04, 2013, 11:39:30 PM
Quote from: Kindred on February 11, 2013, 04:46:31 PM
questions do not exist in SMF 1.1.x unless you added the mod.
That is why I use Anti-Spam Verification Questions for SMF 1.1.7 (http://custom.simplemachines.org/mods/index.php?mod=1516) and it seems to have worked well .. but I also use Stop Spammer as well as HttpBL mod..
Title: Re: Stop Spammer
Post by: thurmag on March 13, 2013, 04:35:38 PM
We would like to re-install StopSpammer on our SMF website... but I see that version SMF 1.1.18 is not available anywhere for the newer SMF version.  Is there a different version of this I can install?  We had at one time StopSpammer version 2.3.7 installed.  Thanks for any help you can provide.

-Gary-
Title: Re: Stop Spammer
Post by: DarkAngel612 on March 13, 2013, 06:25:38 PM
Quote from: thurmag on March 13, 2013, 04:35:38 PM
We would like to re-install StopSpammer on our SMF website... but I see that version SMF 1.1.18 is not available anywhere for the newer SMF version.  Is there a different version of this I can install?  We had at one time StopSpammer version 2.3.7 installed.  Thanks for any help you can provide.

-Gary-

version 2.3.9 has both 1.1+ and 2.0+ installer info inside the one zip. I have this one installed in our 2.0 and 1.1.8 forums
Title: Re: Stop Spammer
Post by: SD-X on March 14, 2013, 05:19:10 AM
Quote from: DarkAngel612 on March 13, 2013, 06:25:38 PM
Quote from: thurmag on March 13, 2013, 04:35:38 PM
We would like to re-install StopSpammer on our SMF website... but I see that version SMF 1.1.18 is not available anywhere for the newer SMF version.  Is there a different version of this I can install?  We had at one time StopSpammer version 2.3.7 installed.  Thanks for any help you can provide.

-Gary-

version 2.3.9 has both 1.1+ and 2.0+ installer info inside the one zip. I have this one installed in our 2.0 and 1.1.8 forums
Appears the mod's compatibility list here on SMF's site is outdated unfortunately. Glad to hear that you confirmed it was compatible. :)




On a side note, how come you guys aren't on the latest version of SMF 1 yet? There are several serious security issues that have been fixed since your versions. I would highly recommend you get fully updated.
Title: Re: Stop Spammer
Post by: DarkAngel612 on March 14, 2013, 07:10:14 PM
oh and I forgot that I updated the mod to the latest 2.5.1 and it does work in both versions...love it. But if you want to have them answer questions when registering you will need to upgrade to version 2.0.4 of SMF
Title: Re: Stop Spammer
Post by: Maniaka on March 17, 2013, 02:39:01 PM
No work on last version SMF
Title: Re: Stop Spammer
Post by: SD-X on March 17, 2013, 02:40:57 PM
Quote from: Maniaka on March 17, 2013, 02:39:01 PM
No work on last version SMF
It does. You have something else preventing you from installing it.
Title: Re: Stop Spammer
Post by: Kindred on March 17, 2013, 02:41:23 PM
works fine on SMF 2.0.4. I have it running on 6 sites and just installed it into a new site.
Title: Re: Stop Spammer
Post by: palik on March 19, 2013, 08:00:25 AM
Hi,

this mod is fantastic, but I'd like to ask a feature for forum owners, that have several hundred or thousand users that was registered before installing this mod. for now i have to click thru 96 pages of members and this is a lot of work. It would be great if we could "check all users" and then "remove red users" :)
Title: Re: Stop Spammer
Post by: SD-X on March 19, 2013, 08:05:03 AM
Quote from: palik on March 19, 2013, 08:00:25 AM
Hi,

this mod is fantastic, but I'd like to ask a feature for forum owners, that have several hundred or thousand users that was registered before installing this mod. for now i have to click thru 96 pages of members and this is a lot of work. It would be great if we could "check all users" and then "remove red users" :)
Any users caught as spammers should automatically require admin validation, so those will be moved to the same location as previously, from which you can do a "remove all" via the checkboxes. As for checking all of them, unfortunately this is a limitation on the spam database's end. They only allow so many connections at a time, so doing it any other way would effectively "DoS" them with an overload of queries at one time. I agree that it sucks that we can't do a simple "check all users" method in the mod, but it's for the safety of the beloved spam database that this awesome mod works with. Remember that the mod also does username matches too, so not everyone in red is necessarily a spammer. You should always review all the users you plan to delete before you actually delete them. :)
Title: Re: Stop Spammer
Post by: thurmag on March 19, 2013, 12:48:17 PM
Quote from: DarkAngel612 on March 13, 2013, 06:25:38 PM
Quote from: thurmag on March 13, 2013, 04:35:38 PM
We would like to re-install StopSpammer on our SMF website... but I see that version SMF 1.1.18 is not available anywhere for the newer SMF version.  Is there a different version of this I can install?  We had at one time StopSpammer version 2.3.7 installed.  Thanks for any help you can provide.

-Gary-

version 2.3.9 has both 1.1+ and 2.0+ installer info inside the one zip. I have this one installed in our 2.0 and 1.1.8 forums

Thanks for the info... I'll give this a shot!

-Gary-
Title: Re: Stop Spammer
Post by: gfmorris on April 08, 2013, 12:30:48 AM
I am quite the fan of this plugin, as it saves me lots of time.  I do have one request that should be reasonably easy to make.  With a setting, allow an administrator to have the program deny any sort of registration if both email and IP are shown as bad in SFS.  I can get 300+ bad registrations a day, and 80%+ have both as bad.  It would be very helpful to not have to wade through all of those and spend my time looking at the ones that might not be spam.

GFM
Title: Re: Stop Spammer
Post by: Kindred on April 08, 2013, 07:42:44 AM
I would suggest that if you are getting 300+ spam registrations a day, that you need to implement some additional layers of protection.

I barely get one or two registrations flagged as spam in a MONTH any more.
Bad behavior+HttpBL, stop Spammer and the SMF questions...
Title: Re: Stop Spammer
Post by: PopUpSteve on April 11, 2013, 06:00:13 PM
Quote from: Kindred on April 08, 2013, 07:42:44 AM
I would suggest that if you are getting 300+ spam registrations a day, that you need to implement some additional layers of protection.
Really, or try something like notCaptcha (http://custom.simplemachines.org/mods/index.php?mod=2932). It will stop all those nasty spam-bots.  ;D

You need a 1-2 punch to stop all those the spam registrations.
Title: Re: Stop Spammer
Post by: busterone on April 11, 2013, 06:22:43 PM
Quote from: gfmorris on April 08, 2013, 12:30:48 AM
I am quite the fan of this plugin, as it saves me lots of time.  I do have one request that should be reasonably easy to make.  With a setting, allow an administrator to have the program deny any sort of registration if both email and IP are shown as bad in SFS.  I can get 300+ bad registrations a day, and 80%+ have both as bad.  It would be very helpful to not have to wade through all of those and spend my time looking at the ones that might not be spam.

GFM
A good set of registration questions will stop the bots dead in their tracks. Make sure it isn't some easy to google question, or some simple ones like what color is an orange.  It is better to make them pertain to your forum's niche that only prospective human members could answer. 
Title: Re: Stop Spammer
Post by: NeonFlash on April 13, 2013, 03:22:33 AM
Hi,

I am facing a problem with the Stop Spammer mod version 2.3.9 after upgrading my SMF Forum to the latest version 2.0.4

Previously the Stop Spammer mod was working good for me.

Now the problem I face is, after installing the Stop Spammer mod, it is unable to connect to the Stop Forum Spam DB, the error is as shown below:

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

What could be the possible reasons and how do I fix this?

Is there a more recent version of the Stop Spammer mod that I need to install? I checked the following URL:

http://custom.simplemachines.org/mods/index.php?mod=1547

and it still says, that the latest version of 2.3.9

Any help would be appreciated. I have disabled the registrations on my Forum to prevent any Spammers from registering here.
Title: Re: Stop Spammer
Post by: SD-X on April 13, 2013, 03:28:38 AM
It should work fine with 2.0.4, so check your host's permissions and any other mods you have installed. :)
Title: Re: Stop Spammer
Post by: NeonFlash on April 13, 2013, 03:31:33 AM
@SugarD-x: Thanks for the quick reply. What permissions and settings do I need to check?

I have only one mod installed and that is: Stop Spammer version 2.3.9

I checked this in the Admin Panel -> Package Manager -> Browse Packages
Title: Re: Stop Spammer
Post by: NeonFlash on April 13, 2013, 03:38:55 AM
Do I need to check the permissions of Stopspammer.php file?

I logged into my Cpanel and in the SMF's Sources folder, the permissions of Stopspammer.php are: 640

please let me know what modifications I need to make.

is there some kind of error logging I can enable which will let me debug this further? Like what is preventing the script from connecting to the SFS database.
Title: Re: Stop Spammer
Post by: SD-X on April 13, 2013, 03:39:06 AM
Quote from: NeonFlash on April 13, 2013, 03:31:33 AM
@SugarD-x: Thanks for the quick reply. What permissions and settings do I need to check?

I have only one mod installed and that is: Stop Spammer version 2.3.9

I checked this in the Admin Panel -> Package Manager -> Browse Packages
You're welcome!

When I say your host's permissions, I mean what your hosting service allows. They may be blocking StopSpammer from connecting. I believe, if I remember correctly, it uses fsockopen() to connect. If the problem doesn't resolve itself after a day or so, I'd recommend talking to them and seeing if that is blocked. :)

As for the mods, if it's the only one you have installed, then it's not that.

Also, be careful to not double-post. Please use the edit button in the future. ;)
Title: Re: Stop Spammer
Post by: NeonFlash on April 13, 2013, 03:52:55 AM
Thanks, I will not double post.

It should not be an issue with the Hosting Provider, because this Mod was working properly for me previously on the same hosting. The only thing which has changed from before is the SMF version which was upgraded.

I checked the source code of StopSpammer.php and I think it uses the following code snippet to test the connection in checkDBSpammer() function:


$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) : '');

// Try to download.
require_once($sourcedir . '/Subs-Package.php');
$down_ok = fetch_web_data($remoteXML);

// Test Host Connection
if ($test) return (bool)$down_ok;

// Connection Failed
if (!$down_ok)
if ($modSettings['stopspammer_faildb'])
return ('1' == $modSettings['stopspammer_faildb'] ? 0 : 8);


if $down_ok is set to 0, then it will display the faildb error.

The permissions for both, StopSpammer.php and Subs-Package.php are set to 640. Could this problem arise due to the permission settings of these two files?

Could you please confirm what should be the settings for these two?

I can try uninstalling and reinstalling the mod as well as an option.

This mod was installed around 1 week ago and the connection failure issue with the SFS database still persists.

***************************************

Edit:

I checked it further and the fetch_web_data() function called by StopSpammer.php to connect to stopforumspam.com API is defined in Subs-Package.php.

And yes, it appears that it makes use of fsockopen():

// Get the contents of a URL, irrespective of allow_url_fopen.
function fetch_web_data($url, $post_data = '', $keep_alive = false, $redirection_level = 0)
{
global $webmaster_email;
static $keep_alive_dom = null, $keep_alive_fp = null;
....
...
if (empty($fp))
{
// Open the socket on the port we want...
$fp = @fsockopen(($match[2] ? 'ssl://' : '') . $match[3], empty($match[5]) ? ($match[2] ? 443 : 80) : $match[5], $err, $err, 5);
if (!$fp)
return false;
}


***************************************************

Edit again:

I just uploaded a PHP script to my site through FTP to check the settings of PHP.ini and fsockopen() is not disabled:

disable_functions: link,symlink

only the link() and symlink() functions are disabled.

Thanks.
Title: Re: Stop Spammer
Post by: Kindred on April 13, 2013, 07:51:14 AM
it is not a problem with smf or with the mod...   sometimes the sfs db goes down
Title: Re: Stop Spammer
Post by: SD-X on April 13, 2013, 09:40:16 PM
Quote from: Kindred on April 13, 2013, 07:51:14 AM
it is not a problem with smf or with the mod...   sometimes the sfs db goes down
The database wasn't down at the time he posted.
Title: Re: Stop Spammer
Post by: SnowRaptor on May 06, 2013, 09:12:38 PM
I couldn't find in the documentation if it is possible to complitely block registrations pro stopfrumspam matches. Is it possible? If not, can I add this as a feature request? ;)

Thanks
Title: Re: Stop Spammer
Post by: SD-X on May 06, 2013, 11:46:15 PM
Quote from: SnowRaptor on May 06, 2013, 09:12:38 PM
I couldn't find in the documentation if it is possible to complitely block registrations pro stopfrumspam matches. Is it possible? If not, can I add this as a feature request? ;)

Thanks
This mod only flags them after registering if caught in the database, not before.
Title: Re: Stop Spammer
Post by: SnowRaptor on May 07, 2013, 01:09:43 AM
Sorry, I was not clear. I was asking if, instead of sending the spammers registration to be manually approved, it is possble to completely remove them automatically.

My forum uses manual approval of members because of recurrent trolls and the spammers end up polluting the approval page.
Title: Re: Stop Spammer
Post by: Kindred on May 07, 2013, 02:08:14 AM
No, you were clear....

But the mid does not do that and would require recoding to do so...
And considering the number of false positives from sfs, I would suggest that never be an option..,
Title: Re: Stop Spammer
Post by: SnowRaptor on May 07, 2013, 02:41:53 AM
Thanks.

Well, the "flags" are already a big help.
Title: Re: Stop Spammer
Post by: SD-X on May 08, 2013, 05:14:33 AM
Please don't open the above images guys. They are malicious.
Title: Re: Stop Spammer
Post by: tonyx on July 26, 2013, 04:47:52 AM
Hi all,

I like your MOD, if you need some help with Italian translation I'll be happy to help you!

Ciao
Title: Re: Stop Spammer
Post by: chrishicks on July 27, 2013, 11:37:58 PM
Has anyone ever had the experience where when going through members and checking them against the SFS db that it sometimes doesn't flag them even though when manually checking them by clicking on the username and/or email it shows that they are in the system? Example: I see member "spambot1" with the email "[email protected]". I put a check in the box and hit check member and it comes back as them being clean and doesn't flag them. However if I click on the username or email to have the SFS page popup it shows both the username and email in the system well over 50 times each. I had the idea that maybe the db was down when I checked so I tried another member, let's call him "spambot2", on the same page and it flagged them right away when checked. Go back to the "spambot1" user and again they don't flag. I of course can delete the person on my own which I do, I was just wondering if it may be something screwy with my install somewhere. I recently updated from an outdated version(2.2 I think it was) to 2.3.9 so I figured I'd ask.
Title: Re: Stop Spammer
Post by: mili123 on July 29, 2013, 12:06:44 PM
How I can check all my members with this mod? I know how I can check one page of members but I have 4000 pages with members, how to check all?

Thanks.
Title: Re: Stop Spammer
Post by: Kindred on July 29, 2013, 12:13:54 PM
there is no way to do that....    and submitting 4000 pages of requests (at 50 per page, that would be 20,000 requests) would probably be a violation of the SFS database ToS. (In other words, don't do it... don't try to do it)
Title: Re: Stop Spammer
Post by: PopUpSteve on July 29, 2013, 05:20:31 PM
Quote from: mili123 on July 29, 2013, 12:06:44 PM
How I can check all my members with this mod?
One page of members at a time. It really doesn't take that long. Just order a pizza and by the time it arrives, you'll be 1/2 way done.
Title: Re: Stop Spammer
Post by: SpirakosDafuq on July 29, 2013, 09:59:49 PM
i search for some mods and this is good mod thanks :)
Title: Re: Stop Spammer
Post by: rajeshvv on July 31, 2013, 08:45:24 AM
HI
this mod was working fantastic :)
successfully got API and working gr8 by blocking the spammers with the Stop Spammer mod.
Am having 12 spammers blocked until today.. tats interesting.. but where can I see the blocked spammers data I mean blocked spammers manually by admin.
could anyone help me out here.. how to see the blocked spammers in my forum?
am seeing nothing in the my spammers option in the menu options in this  http://www.stopforumspam.com website under my profile):
Title: Re: Stop Spammer
Post by: PopUpSteve on July 31, 2013, 04:21:22 PM
If I'm following your question correctly, you would go to "Admin" / "Members" / "Awaiting Approval" on your forum. Depending what your settings are for the MOD, you would see what SFS has flagged as reported spammers. It could be one, some, or all of these items:
If the icon () in front of one of those items is red, then that item was found in the SFS database as a reported spammer. If it's blue, then that item passed. If it's yellow, then that item could not be checked. Most likely, when it's yellow the connection to SFS is down. You should keep checking the yellow ones until they either pass (blue) or fail (red).

When the icon is red, you can click on it and see all the reports for that item on SFS.

The way I use the reports is like this.

Not to offend anyone but, since the subject matter on my site would really only be of legitimate interest to people in only a few countries, mostly English speaking countries, I block IP Address ranges from other countries. I've developed the list over the last two years as spammers hit my site and their IP is flagged in SFS with numerous entries. The top five ranges are:


Banned Entity
Hits
IP: 180.*.*.*
131,973
IP: 60.166-175.*.*
44,070
IP: 123.112-127.*.*
17,000
IP: 27.152-159.*.*
11,571

Anyone hitting my site from a banned IP Range will get the following message:
QuoteYour IP Address range and/or Email Domain has been flagged for excessive spamming.

If you are a registered member and are receiving this message, please make note of the time/date & IP address and report it to the website administrator.

That way, I don't have to deal with repeat spammers. Right now, I have 582 IP Ranges blocked with a total of 361,489 hits in just over two years.

If you see there are only a few reports on an IP Address with the reported dates are spread out, and they all have different email addresses (and the one you are checking is not on the email list), then it's most likely not a spammer.

But this is just how I use the MOD. You have to develop your own method of managing the reported spammers.
Title: Re: Stop Spammer
Post by: MoreBloodWine on August 21, 2013, 10:31:28 PM
Correct me if I'm wrong but this used the same check system at stopforumspam that the mod Stop Forum Spam uses right ?

If so, I think I might uninstall Stop Forum Spam since this mod does the same thing it does with the ability to check, approve members etc.
Title: Re: Stop Spammer
Post by: Kindred on August 21, 2013, 10:38:04 PM
both mods do that same thing, to the best of my knowledge....
Title: Re: Stop Spammer
Post by: MoreBloodWine on August 21, 2013, 11:53:27 PM
Quote from: Kindred on August 21, 2013, 10:38:04 PM
both mods do that same thing, to the best of my knowledge....
Yes and no, this one has functionality the other does not. My question was that they both use the same site stopforumspam.com for their checks.

Either way I'll probably just end up removing the other mod since as you said they both do the same thing with this one having more functionality.
Title: Re: Stop Spammer
Post by: Kindred on August 22, 2013, 07:19:32 AM
yes, they both hit the SFS database
Title: Re: Stop Spammer
Post by: busterone on August 22, 2013, 07:24:22 PM
I tried them both out at the same time on test sites, and this one does have more functionality, so I went with this one. That was at least 2 years ago, maybe longer, so unless the other one has made some major changes,  this one is the one.  :)
Title: Re: Stop Spammer
Post by: butchs on August 23, 2013, 09:05:21 PM
I use a variant of this mod.  Possibly an older version.  It does a great job.
Title: Re: Stop Spammer
Post by: kitz on August 28, 2013, 10:04:39 AM
Any suggestion for help please.   Ive been using this mod successfully for about 5yrs since it first started and Ive been using v2.3.9 for quite a while without issue.

About 2 months ago we started having to manually check new users, didnt think too much of it at the time since it's only a couple a day.
Then about 2 weeks ago, I noticed that it seemed to be highlighting all new registrations be they good or bad.  ie the yellow magnifying glass.   

Now I am aware that SFS has been down for the past couple of days, but it should now be up again - linky (http://www.isitdownrightnow.com/stopforumspam.com.html).

When I look at Admin > Members > Registration > Settings.   I see the following message "Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later."


My server has FSOCKOPEN
Ive not installed any new mods in over a year (Tapatalk)  & the other mod I have is httpBL


-----

Edited to add after having checked my admin logs against the new users.. its been flagging all new accounts since about the 15th of July.

Other measures such as the honeypot, registration questions, blacklists etc normally catch most first line spammers, but SFS is very useful as another defence and picks up on average a couple a day that have got through the other methods.

Title: Re: Stop Spammer
Post by: Cutter65 on September 01, 2013, 06:37:18 PM
Quote from: kitz on August 28, 2013, 10:04:39 AM
Any suggestion for help please.   Ive been using this mod successfully for about 5yrs since it first started and Ive been using v2.3.9 for quite a while without issue.

About 2 months ago we started having to manually check new users, didnt think too much of it at the time since it's only a couple a day.
Then about 2 weeks ago, I noticed that it seemed to be highlighting all new registrations be they good or bad.  ie the yellow magnifying glass.   

Now I am aware that SFS has been down for the past couple of days, but it should now be up again - linky (http://www.isitdownrightnow.com/stopforumspam.com.html).

When I look at Admin > Members > Registration > Settings.   I see the following message "Mod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later."


My server has FSOCKOPEN
Ive not installed any new mods in over a year (Tapatalk)  & the other mod I have is httpBL


-----

Edited to add after having checked my admin logs against the new users.. its been flagging all new accounts since about the 15th of July.

Other measures such as the honeypot, registration questions, blacklists etc normally catch most first line spammers, but SFS is very useful as another defence and picks up on average a couple a day that have got through the other methods.



I have been having to do all manual checking from new members also lately. Maybe stopforumspam has changed there code or something.
Title: Re: Stop Spammer
Post by: Cutter65 on September 02, 2013, 10:45:45 AM
I found the fix for the connecting to the database issue on the stopforumspam forum.

http://www.stopforumspam.com/forum/viewtopic.php?id=5521

You will need to edit your Stop Spammer.php file

Find
//$remoteXML = 'http://www.stopforumspam.com/api?' . ('127.0.0.1' != $check_ip ? "ip={$check_ip}&" : '') . 'username=' . urlencode($check_name) . '&email=' . $check_mail;
$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) : '');


Change the API url to this
//$remoteXML = 'http://us.stopforumspam.org/api?' . ('127.0.0.1' != $check_ip ? "ip={$check_ip}&" : '') . 'username=' . urlencode($check_name) . '&email=' . $check_mail;
$remoteXML = 'http://us.stopforumspam.org/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) : '');
Title: Re: Stop Spammer
Post by: Mordecki on September 15, 2013, 10:16:38 AM
Hello there,
i have been browsing this topic and tried to find answer to my question but i couldn't find any solution, can someone help me out ?
The thing is, i can't install packages from Admin panel because whenever i upload any package, the page turns white and i can't do anything anymore.
So i tried to do the manual installation, and i followed all steps, and i am having just that one error when i enter Admin panel > Members > View all members.

QuoteUnknown column 'mem.is_spammer' in 'field list'
File: /public_html/forum/Sources/Subs-Members.php
Line: 1223

And this is something i can't figure out because i already added the definition of spammer like the instructions said

Quote'member_ip' => $regOptions['interface'] == 'admin' ? '127.0.0.1' : $user_info['ip'],
'member_ip2' => $regOptions['interface'] == 'admin' ? '127.0.0.1' : $_SERVER['BAN_CHECK_IP'],
'is_spammer' => empty($regOptions['spammer']) ? 0 : $regOptions['spammer'],
'validation_code' => $validation_code,
'real_name' => $regOptions['username'],

I'm running on SMF 2.0.5.
Apologies if this was already mentioned but i couldn't find it anywhere.
Recently my forum has been constantly under spam attacks, so i would really appreciate help with this.

Thanks !
Title: Re: Stop Spammer
Post by: Kindred on September 15, 2013, 11:54:49 AM
You did not do the database portion of the install.

For the white screen issue, read the FAQ in the wiki
Title: Re: Stop Spammer
Post by: OliB150 on September 15, 2013, 02:10:07 PM
Been using SFS for a while now and thought the other day "It would be really useful if there was a mod for this..." so I checked and here it was.

It has all the functionality I was looking for, but one thing I've noticed whilst using it was that when pressing "Report these members" on the "Awaiting Approval" page, I think it would also be a good function to delete them. Or at least give the option to.
Title: Re: Stop Spammer
Post by: NeonFlash on September 18, 2013, 12:21:58 AM
My issue with the SFS mod on the SMF forum continues. It is unable to connect to the SFS API successfully to check the members.

I have discussed more about it earlier in the post here:

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

I also noticed that another member, kitz, is facing a similar issue with the Mod as well in this post:

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

I tried the suggestion provided by Cutter65 here:

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

But that did not make it work. I changed the Domain in the code to us.stopforumspam.com as suggested, but the issue persists.

By the way, I think the API is no longer active at us.stopforumspam.com right now.

In the StopSpammer.php file, it forms the remoteXML data as follows:

http://www.stopforumspam.com/api?ip=120.33.245.134&username=eunnfbql77&email=lighthillto%40sina.com

This entire remoteXML data is passed to the fetch_web_data() function and the return value is stored in $down_ok which is later checked to confirm whether connection to SFS db failed or not.

$down_ok = fetch_web_data($remoteXML);

fetch_web_data() does make use of the Fsockopen() function, but as is the case with the other member, kitz here, in my case also, this PHP function is not blocked or disabled.

Now, if you use this URL:

http://www.stopforumspam.com/api?ip=120.33.245.134&username=eunnfbql77&email=lighthillto%40sina.com

to check the status of a member with the name: "eunnfbql77", IP address: 120.33.245.134 and email address: "[email protected]", you will notice that the API responds successfully flagging on the IP address and the Email Address.

But the connection fails when it is made through the PHP script executing on my site. So, yes, most likely, there is something that is preventing the connection to be made.

Now, how do I check this?

Is there a way to log any outbound connection attempt from my site? Probably then, I could go to the Admin Panel, check any particular member on the Forum, click the "Check this Member" button and then look up the log file to see whether my site attempted a connection to SFS API or not.

If there is such a way, then it would help to resolve the issue.

Thanks.
Title: Re: Stop Spammer
Post by: kitz on September 20, 2013, 10:36:30 AM
Ive still not got to the bottom of this and currently the mod has been removed, but I would really like to get it working again.

At one point I thought it would be a good idea to remove the mod and start again with a fresh package, but it refuses to install/uninstall correctly as you can see here (http://www.simplemachines.org/community/index.php?topic=510409.msg3601820#msg3601820).  It mucked up my site, but luckily I was able to restore from a backup.   Storman kindly tried to assist but he couldnt get it to work either suggesting perhaps it was a permissions issue.   
My hosts have assured me it isnt, and they even SSH'd into the server to attempt a change of settings themselves, but still cant get this installed and working right.

I've no idea why it worked fine for 5 yrs, then sometime around July the API just stopped working... nor why now I cant get it to install again correctly.

Thank you for responding, I thought I was on my own with this.

QuoteBut the connection fails when it is made through the PHP script executing on my site.

Ditto - I cant find any reason for this, my hosts are even letting me test another server and Im just waiting for them to set it up.   
Should add this isnt a cheapo package,  nor is it shared hosting and there's no reason why I should have permission issues.
Title: Re: Stop Spammer
Post by: MoreBloodWine on October 24, 2013, 02:48:39 AM
I don't know if it's this mod or Stop Forum Spam 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 Spammer
Post by: DarkAngel612 on October 24, 2013, 03:39:55 AM
personally I welcome these notices...they are not an error per se but can be very helpful. You go to the banning section and enter the triggers for email and ip then hit ban and that takes care of the spammer. otherwise if not wanted then just clear out the error log
Title: Re: Stop Spammer
Post by: busterone on October 24, 2013, 09:02:45 AM
I have been using this mod for several years and have never had an error like that in my forum error log. The mod has blocked over 69,000 attempts in those 2 years without that error so I wonder if it comes from some custom coding on your site.
Title: Re: Stop Spammer
Post by: Kindred on October 24, 2013, 09:32:30 AM
It also seems that MoreBloodWine might have **BOTH** of the SFS mods installed, despite the fact that they do the same thing...
Title: Re: Stop Spammer
Post by: DarkAngel612 on October 25, 2013, 02:04:39 AM
It is possible since I do remember getting them myself. I also had both installed at the same time and since keeping this mod only---I had maybe 3 in one year.
Title: Re: Stop Spammer
Post by: kitz on October 25, 2013, 09:08:53 PM
Quote from: NeonFlash on September 18, 2013, 12:21:58 AM
My issue with the SFS mod on the SMF forum continues. It is unable to connect to the SFS API successfully to check the members.

I have discussed more about it earlier in the post here:

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

I also noticed that another member, kitz, is facing a similar issue with the Mod as well in this post:

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



Neon Flash, whats the situation now with you?   Mine has been ok for the past few weeks and Ive not noticed any problems.   Whatever it was causing the issue (I suspect it was a problem at SFS) seems to have gone away for me :touch wood:
Title: Re: Stop Spammer
Post by: kitz on October 25, 2013, 09:11:30 PM
Quote from: MoreBloodWine on October 24, 2013, 02:48:39 AM
I don't know if it's this mod or Stop Forum Spam that produces thesee "errors" but assuming it's this mod. I don't really care to know that these "errors" happen.

Ive been running Stop Spammer for about 5 years, never seen one of those errors that I can recall.   I dont run the other SFS mod as IMHO they duplicate each other.
Title: Re: Stop Spammer
Post by: Sea Mac on November 01, 2013, 09:16:37 PM
This MOD appears to be incompatible with SMF 2.0.6
It wiped out my forum during install - apparently corrupting my "Posts template" beyond repairing.

And now I can't even restore it with an "Upgrade" package ...

at least MOD httpBL was working before my forum got wiped out by MOD Stop Spammer

Title: Re: Stop Spammer
Post by: busterone on November 01, 2013, 09:44:34 PM
This mod does not touch post.template.php in the /Themes/default folder nor post.php in /Sources
There must be something else gone wrong in your forum. 

It only edits  ./Sources/ManageRegistration.php, ./Sources/ManageMembers.php, ./Sources/Register.php, ./Sources/Subs.php, /Sources/Subs-Members.php, ./Sources/Profile.php, ./Themes/default/languages/Modifications.english.php and adds  StopSpammer.php to ./Sources
Title: Re: Stop Spammer
Post by: Sea Mac on November 01, 2013, 10:26:07 PM
It was the second MOD I reinstalled After a Upgrade to 2.0.6
MOD httpBL was the first reinstall - during the Install of Stop Spammer everything froze up and went white: and nothing I could do could restore it short of a clean 2.0.6 and a repair_settings.php run ...

It will probably be fine on this clean install of 2.0.6 though ...
Title: Re: Stop Spammer
Post by: kitz on November 02, 2013, 12:14:37 AM
Im running both StopSpammer and MOD httpBL on 2.0.6.   They were both already installed though before I upgraded to 2.0.6
Title: Re: Stop Spammer
Post by: Kindred on November 02, 2013, 12:19:45 AM
1- there is no way that this mod could "wipe out" your forum. period.
2- this mod runs just fine on 2.0.6. I have it installed on 5 different sites running 2.0.6
3- Why did you have to reinstall anyway?  The 2.0.6 update patch would have updated your 2.0.5 installation just like a mod, with no pain.
Title: Re: Stop Spammer
Post by: Gryzor on November 22, 2013, 03:52:54 AM
Quote from: Cutter65 on September 02, 2013, 10:45:45 AM
I found the fix for the connecting to the database issue on the stopforumspam forum.

http://www.stopforumspam.com/forum/viewtopic.php?id=5521

You will need to edit your Stop Spammer.php file

Find
//$remoteXML = 'http://www.stopforumspam.com/api?' . ('127.0.0.1' != $check_ip ? "ip={$check_ip}&" : '') . 'username=' . urlencode($check_name) . '&email=' . $check_mail;
$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) : '');


Change the API url to this
//$remoteXML = 'http://us.stopforumspam.org/api?' . ('127.0.0.1' != $check_ip ? "ip={$check_ip}&" : '') . 'username=' . urlencode($check_name) . '&email=' . $check_mail;
$remoteXML = 'http://us.stopforumspam.org/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) : '');


Oh, thanks man, thanks so much for sharing this :)
Title: Re: Stop Spammer
Post by: imrich on November 23, 2013, 07:55:26 PM
After a couple of years of not having any spam, my forum just recently started getting attacked, so I installed this mod. Right away it started working, thanks!

However, I'm having one problem with it on my forum. I'm using SMF 2.0.6.  After installing this mod, I no longer see the options to be able to set my registration anti-spam questions, nor the level of Captcha.

I'm wondering why, as the mod seemed to install without any errors and otherwise seems to be working. I'm able to set all the options for this mod in the admin registration settings page.

Any idea where my other settings went?

Please be gentle with me if this is a known issue, I admit that I haven't yet searched all 89 pages of this thread yet.
Title: Re: Stop Spammer
Post by: Arantor on November 23, 2013, 07:58:45 PM
The mod did fix a bug in the base SMF with the anti spam questions but nothing that should have caused the issue you're seeing.

When you say 'you're unable to set the options', what exactly do you mean? The page is blank? Settings you put in don't get saved?
Title: Re: Stop Spammer
Post by: lurkalot on November 24, 2013, 05:27:24 AM
Quote from: imrich on November 23, 2013, 07:55:26 PM

I'm wondering why, as the mod seemed to install without any errors and otherwise seems to be working. I'm able to set all the options for this mod in the admin registration settings page.

Any idea where my other settings went?


So they have disappeared from,  Admin > Configuration > Security and Moderation > Anti Spam ?
Title: Re: Stop Spammer
Post by: imrich on November 24, 2013, 05:38:22 PM
What I meant is that the page didn't display completely, but . . .

This is strange... they are back again!  But I'm now checking via a different browser on a different computer. I can't imagine what would have caused this.

Although I wouldn't expect this to make a difference, please disregard this report until I get some time to do some more testing and can get back to my original computer in my office.

Thanks for your quick response to my questions, this is yet another reason why SMF is so nice to use! Great support!!  8)
Title: Re: Stop Spammer
Post by: DarkAngel612 on November 24, 2013, 06:21:51 PM
Quote from: imrich on November 24, 2013, 05:38:22 PM
What I meant is that the page didn't display completely, but . . .

This is strange... they are back again!  But I'm now checking via a different browser on a different computer. I can't imagine what would have caused this.

Although I wouldn't expect this to make a difference, please disregard this report until I get some time to do some more testing and can get back to my original computer in my office.

Thanks for your quick response to my questions, this is yet another reason why SMF is so nice to use! Great support!!  8)

if not theme specific it might just be the browser taking its time to recache the pages....mine has been doing that a lot and it really plays havoc when I edit a file and go to browser , refresh page, then may 3 more and even deleting cache and restarting browser and STILL it looks the same. Then a few hours later or the next day it looks right.
Title: Re: Stop Spammer
Post by: Candice on November 24, 2013, 08:18:48 PM
This is what I'd recommend to you who want spam out of your forum!
Title: Re: Stop Spammer
Post by: imrich on November 25, 2013, 07:45:43 AM
Quote from: DarkAngel612 on November 24, 2013, 06:21:51 PM
Quote from: imrich on November 24, 2013, 05:38:22 PM
What I meant is that the page didn't display completely, but . . .

This is strange... they are back again!  But I'm now checking via a different browser on a different computer. I can't imagine what would have caused this.

Although I wouldn't expect this to make a difference, please disregard this report until I get some time to do some more testing and can get back to my original computer in my office.

Thanks for your quick response to my questions, this is yet another reason why SMF is so nice to use! Great support!!  8)

if not theme specific it might just be the browser taking its time to recache the pages....mine has been doing that a lot and it really plays havoc when I edit a file and go to browser , refresh page, then may 3 more and even deleting cache and restarting browser and STILL it looks the same. Then a few hours later or the next day it looks right.

I'm back on my original PC using the original browser. All seems to be working ok now. So perhaps it was some sort of caching issue. I'm just surprised as I've never run into this before. It's not like this is the first time I've used SMF or installed a mod.  Next time I'll try to be more patient.

Sorry again for the false alarm.
Title: Re: Stop Spammer
Post by: DarkAngel612 on November 25, 2013, 03:09:24 PM

Quote from: imrich on November 24, 2013, 05:38:22 PM

I'm back on my original PC using the original browser. All seems to be working ok now. So perhaps it was some sort of caching issue. I'm just surprised as I've never run into this before. It's not like this is the first time I've used SMF or installed a mod.  Next time I'll try to be more patient.
Sorry again for the false alarm.


I don't think an apology is need, one never knows when it is a false alarm or not and alerting others is good for just in case a bug snuck in and we need to find the can of Raid...LOL

I have had these cache problems years ago but lately with the latest updates to Firefox it got worse so much that I could post a reply and it would spin until doomsday then if I stop open in new window, there is the post....so along with other problems I encountered and slowness I started with SeaMOnkey (really close relative to netscape and FF)

It might be the weather in your area??? I know my ISP said it might have to do with mine too.

Thanks for posting back about it behaving for now.
Title: Re: Stop Spammer
Post by: SeaChaser on December 05, 2013, 11:57:40 AM
I have been using this spam blocker for a while and it works very well. One area I would like some help with is when deleting spammer accounts. After I ban them using their username and email address, I generally delete their accounts. When I do that, many times they come back and try to join again using the same user name. Since their previous account was deleted, the user name block is also deleted leaving just a block on the email. If they come back in with a new email address using the old username, I have to block them again. Is there a way to delete their accounts but leave their username on the ban list?

TIA,
-SC
Title: Re: Stop Spammer
Post by: Arantor on December 05, 2013, 12:04:05 PM
No there isn't a way to do that.

You could just leave the account in place, though... if they're banned, they're not able to use it.
Title: Re: Stop Spammer
Post by: PopUpSteve on December 06, 2013, 02:35:47 PM
Well, as I posted previously, I ban IP ranges in areas that would have no business viewing my forum. Here are 48 of 595 entries (these 48 have 1,000 hits or more) that I have in my ban list. Maybe this will help someone get a head start on blocking some spammers. If anyone wants a deeper list, just let me know. There are another 146 entries that have 100 to 999 hits.


Banned entityHits
IP: 180.*.*.*135641
IP: 60.166-175.*.*44207
IP: 123.112-127.*.*18744
IP: 27.152-159.*.*18116
IP: 110.80-87.*.*8676
IP: 117.24-31.*.*8443
IP: 220.181.*.*8364
IP: 91.236.74-75.*6884
IP: 120.40-43.*.*6306
IP: 91.207.4-9.*6303
IP: 46.17.96-99.*6189
IP: 175.44.0-31.*5829
IP: 46.118-119.*.*4984
IP: 121.204-207.*.*4977
IP: 120.32-39.*.*4478
IP: 222.76-79.*.*4365
IP: 220.160-162.*.*3775
IP: 88.160-191.*.*3580
IP: 198.2.192-255.*3384
IP: 178.137.128-255.*3276
IP: 193.105.210.*3173
IP: 91.237.249.*3051
IP: 188.143.232-234.*2863
IP: 222.184-191.*.*2686
IP: 91.201.64-67.*2542
IP: 112.111.176-191.*2531
IP: 111.72-79.*.*2521
IP: 178.137.0-127.*2458
IP: 95.24-30.*.*2357
IP: 178.151.17.*2317
IP: 59.56-61.*.*2266
IP: 110.88-91.*.*2245
IP: 142.4.96-127.*2218
IP: 192.74.224-255.*2121
IP: 221.10.*.*2080
IP: 112.100-103.*.*2021
IP: 61.135.*.*1820
IP: 119.63.192-199.*1736
IP: 195.162.68-69.*1708
IP: 175.42.80-95.*1595
IP: 91.224.246-247.*1541
IP: 218.66.*.*1530
IP: 218.90-94.*.*1380
IP: 58.48-55.*.*1374
IP: 218.6.0-127.*1191
IP: 175.42.0-63.*1073
IP: 91.210.104-107.*1055
IP: 112.111.160-175.*1003
Title: Re: Stop Spammer
Post by: EnglishRose on December 08, 2013, 02:33:47 PM
I installed this mod but now my post form has a very strange icon (or code that covers an icon) - has anyone had a similar problem or know what it is?

Title: Re: Stop Spammer
Post by: EnglishRose on December 08, 2013, 02:50:19 PM
I've fixed the problem. Sorry to have bothered anyone if they are mid-read!  ;D
Title: Re: Stop Spammer
Post by: Kindred on December 08, 2013, 08:04:16 PM
You were just missing the image in your theme's images/bbc directory...   also the suspicious visitors button is actually added by the bad behavior mod, not this one...
Title: Re: Stop Spammer
Post by: EliteClicks on January 21, 2014, 09:14:53 AM
I have done all editing but when I try to archive install_2.php It redirects to error page. So I can't install database can anyone here help me.
Title: Re: Stop Spammer
Post by: EliteClicks on January 21, 2014, 12:35:33 PM
Can  get Database file separately So that I can Install Directly without using install_2.php?
Title: Re: Stop Spammer
Post by: DarkAngel612 on January 21, 2014, 05:40:39 PM
Quote from: EliteClicks on January 21, 2014, 09:14:53 AM
I have done all editing but when I try to archive install_2.php It redirects to error page. So I can't install database can anyone here help me.

why have you manually edited? Are you not abe to go to admin/packages and install it from there?

do you get error messages...please post them here
Title: Re: Stop Spammer
Post by: busterone on January 21, 2014, 09:19:25 PM
^ what darkangel said,
and, the instal_2.php cannot be ran standalone. From the mod's manual parse page
Quoteinstall_2.php
This file should not be able to execute standalone. You may have to run the following queries manually.
Title: Re: Stop Spammer
Post by: EliteClicks on January 21, 2014, 10:44:22 PM
Quote from: DarkAngel612 on January 21, 2014, 05:40:39 PM
Quote from: EliteClicks on January 21, 2014, 09:14:53 AM
I have done all editing but when I try to archive install_2.php It redirects to error page. So I can't install database can anyone here help me.

why have you manually edited? Are you not abe to go to admin/packages and install it from there?

do you get error messages...please post them here
Hello!
I got this Message when tried to install it from Admin>Packages
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.


So I edited them manually.But when I completed the editing and put install_2.php in /forum/ and ran that.It redirects to an error page.
Title: Re: Stop Spammer
Post by: EliteClicks on January 21, 2014, 11:45:32 PM
The error is with testing a file ./sources/subs.php and ./sources/subs-members.php
while trying with Package Manager.
Title: Re: Stop Spammer
Post by: Kindred on January 22, 2014, 12:11:21 AM
http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Stop Spammer
Post by: EliteClicks on January 23, 2014, 12:49:59 AM
Quote from: Kindred on January 22, 2014, 12:11:21 AM
http://wiki.simplemachines.org/smf/Error_in_mod_installation
I'm getting a bit confused by this.

Can I get database of the Stop Spammer to be installed?
Please help me fast.
Title: Re: Stop Spammer
Post by: DarkAngel612 on January 23, 2014, 01:04:58 AM
Quote from: EliteClicks on January 23, 2014, 12:49:59 AM
Quote from: Kindred on January 22, 2014, 12:11:21 AM
http://wiki.simplemachines.org/smf/Error_in_mod_installation (http://wiki.simplemachines.org/smf/Error_in_mod_installation)
I'm getting a bit confused by this.

Can I get database of the Stop Spammer to be installed?
Please help me fast.

IF it were me, I would uninstall the package totally. Then start over.

When you installed it  and got the error page...it meant that either you are installing on a version not 2.0.6 OR

you have other mods that have edited the files you need.

It is impossible to tell you yes you can get it installed when you do not give all info that you possibly can:

exactly what the error messages said,
version of SMF installed
other modules you have installed

screenshots would be helpful as well as a link to your forum
Title: Re: Stop Spammer
Post by: PopUpSteve on January 23, 2014, 11:00:53 AM
EliteClicks, what other packages are you running? And do any perform a similar function?
Title: Re: Stop Spammer
Post by: EliteClicks on January 23, 2014, 11:26:30 AM
Quote from: PopUpSteve on January 23, 2014, 11:00:53 AM
EliteClicks, what other packages are you running? And do any perform a similar function?
No I just use Referrals Mod
Title: Re: Stop Spammer
Post by: EliteClicks on January 23, 2014, 11:27:41 AM
Quote from: DarkAngel612 on January 23, 2014, 01:04:58 AM
Quote from: EliteClicks on January 23, 2014, 12:49:59 AM
Quote from: Kindred on January 22, 2014, 12:11:21 AM
http://wiki.simplemachines.org/smf/Error_in_mod_installation (http://wiki.simplemachines.org/smf/Error_in_mod_installation)
I'm getting a bit confused by this.

Can I get database of the Stop Spammer to be installed?
Please help me fast.

IF it were me, I would uninstall the package totally. Then start over.

When you installed it  and got the error page...it meant that either you are installing on a version not 2.0.6 OR

you have other mods that have edited the files you need.

It is impossible to tell you yes you can get it installed when you do not give all info that you possibly can:

exactly what the error messages said,
version of SMF installed
other modules you have installed

screenshots would be helpful as well as a link to your forum
PM'ed you!
Title: Re: Stop Spammer
Post by: busterone on January 23, 2014, 04:44:24 PM
Quote from: EliteClicks on January 21, 2014, 10:44:22 PM
Quote from: DarkAngel612 on January 21, 2014, 05:40:39 PM
Quote from: EliteClicks on January 21, 2014, 09:14:53 AM
I have done all editing but when I try to archive install_2.php It redirects to error page. So I can't install database can anyone here help me.

why have you manually edited? Are you not abe to go to admin/packages and install it from there?

do you get error messages...please post them here
Hello!
I got this Message when tried to install it from Admin>Packages
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.


So I edited them manually.But when I completed the editing and put install_2.php in /forum/ and ran that.It redirects to an error page.
The problem is that you stopped the package manager installation and then tried to run install_2.php as a standalone. That will not work. You must take note of the edits needed for each file that the error is warning you about, manually edit those files only, but ALLOW the package manager install to continue. Then, the database edit in install_2.php will be completed and the mod will work.
Title: Re: Stop Spammer
Post by: EliteClicks on January 24, 2014, 06:21:57 AM
Quote from: busterone on January 23, 2014, 04:44:24 PM
Quote from: EliteClicks on January 21, 2014, 10:44:22 PM
Quote from: DarkAngel612 on January 21, 2014, 05:40:39 PM
Quote from: EliteClicks on January 21, 2014, 09:14:53 AM
I have done all editing but when I try to archive install_2.php It redirects to error page. So I can't install database can anyone here help me.

why have you manually edited? Are you not abe to go to admin/packages and install it from there?

do you get error messages...please post them here
Hello!
I got this Message when tried to install it from Admin>Packages
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.


So I edited them manually.But when I completed the editing and put install_2.php in /forum/ and ran that.It redirects to an error page.
The problem is that you stopped the package manager installation and then tried to run install_2.php as a standalone. That will not work. You must take note of the edits needed for each file that the error is warning you about, manually edit those files only, but ALLOW the package manager install to continue. Then, the database edit in install_2.php will be completed and the mod will work.
Thanks for Help +1
I have Installed the Mod!
Title: Re: Stop Spammer
Post by: EliteClicks on January 24, 2014, 06:23:36 AM
I need API key can any one help me?
The site(mod provider) has stopped Sign Ups for API key.
Title: Re: Stop Spammer
Post by: EliteClicks on January 24, 2014, 06:40:07 AM
Quote from: EliteClicks on January 24, 2014, 06:23:36 AM
I need API key can any one help me?
The site(mod provider) has stopped Sign Ups for API key.
Sorry :P I got my API and MOD is running lets see how it's working :)

Special Thanks for DarkAngel612 (http://www.simplemachines.org/community/index.php?action=profile;u=74793) for Helping me to Install this MOD!
Title: Re: Stop Spammer
Post by: busterone on January 24, 2014, 09:15:37 AM
great! I am glad you have it working.  :)
Title: Re: Stop Spammer
Post by: DarkAngel612 on January 24, 2014, 03:37:15 PM
You are very welcome.
Title: Re: Stop Spammer
Post by: FragaCampos on February 16, 2014, 09:52:26 AM
Hello there.

I've been using this mod for 3 years now, and some days ago the mod stopped accepting registrations automatically. I have to accept registrations "manually". The only thing that I've hanged was the SMF version upgrade to 2.0.7...
This is what I get. Is anyone having this problem?

Title: Re: Stop Spammer
Post by: Kindred on February 16, 2014, 10:10:38 AM
nope...   I have it running on 2.0.7 and 2.0.6 running correctly
Title: Re: Stop Spammer
Post by: busterone on February 16, 2014, 06:40:08 PM
What version of this mod are you using? There are two possibilities. There was what was known as the "yellow bug" in the older versions, discussed here
http://www.simplemachines.org/community/index.php?topic=283309.msg2995908#msg2995908
If you are using the latest version and you are getting the yellow icons, then you may have been losing contact to the stop forum spam website. The yellow icon is designating that there was no connection and that the applicant was not checked.

Waht setting do you have set for your forum in  Admin/members/registration/settings/  near the bottom of the page ?
If the Connection Fail with Anti SPAM DB...
Title: Re: Stop Spammer
Post by: FragaCampos on February 17, 2014, 01:04:16 PM
Thank you for your answers.

I do have the latest version of the mod installed.
I think the only plausible explanation is that I indeed lost the connection with the forum spam website... I don't have a clue why nor how, though.
The option I have is set to "Approve and show yellow icon to check later", like I set it years ago when the mod was installed.
Maybe something changed on server's side?
Title: Re: Stop Spammer
Post by: busterone on February 17, 2014, 05:35:09 PM
Not that I know of, but I can't guarantee that. I log on at SFS's forum at least once a day, and there have been no support topics on this that I can recall.  I am running the same mod on 2.0.7 with no issues whatsoever, as Kindred stated in his post earlier for his sites.  Have you made any other changes besides the update to 2.0.7?
As far as I can remember, this mod doesn't need an API to simply check new registrations, but to be safe, do you have one?  Ped has made some recent changes to the SFS search function on the site. It may require an API to search more than just a few per day now.  I can't say for certain until I check with him though.
Title: Re: Stop Spammer
Post by: FragaCampos on February 17, 2014, 06:09:04 PM
I do have an API key, requested at the time of the installation.
I didn't change anything besides the update. I have cloudflare installed. Maybe it has something to do with that, I really don't know.
I'll keep searching and testing to see what's going on here. :P
Title: Re: Stop Spammer
Post by: busterone on February 17, 2014, 07:13:57 PM
I am willing to bet money on Cloudflare myself.
Title: Re: Stop Spammer
Post by: Kindred on February 17, 2014, 07:27:09 PM
The question is, why do you use cloud flare?

It has no significant benefit to any forum site that I have ever seen and results in many potential issues.
Title: Re: Stop Spammer
Post by: FragaCampos on February 18, 2014, 12:42:31 PM
Actually, I deactivated cloudflare for two days and the problem persists. I'll have to test more...

Kindred, I already explained to you why I use cloudflare in here (http://www.simplemachines.org/community/index.php?topic=505889.0). I solved the ip problem with this:
https://support.cloudflare.com/hc/en-us/articles/200170836-How-do-I-restore-original-visitor-IP-to-Apache-Web-Servers-

Maybe something changed at the server. I'll ask to deactivate this mod and see how it goes.
Title: Re: Stop Spammer
Post by: MoreBloodWine on March 01, 2014, 05:16:28 PM
This mod works great on 2.0.x but apparently had ceased to work the way it use to. It seems the stopforumspam site has enabled a 10s lookup or something due to abuse / ddos on their system or some crap. That said, it's now a lot harder to check members that make it through the reg process. At one point I was just banning them so I know a few names I need to remove. Weirdly enough, when I ran a check on a single name that was previously banned, it didnt highlight red, so now for the names that were prev banned that I cannot remember. I have to go one by one on IP, email etc to make sure everything from head to toe is checked.

So if your still following me, I was wondering if someone might do a overhaul on this mod to get it working again and play nice with whatever checks and balances the stopforumspam site added.

I know one of their deals was making sure mods use the API and not search function. Not sure what method of search this mod uses but I really like it and need it to work again like it use to.

As for my ver number, it just says 1.0
Title: Re: Stop Spammer
Post by: DarkAngel612 on March 01, 2014, 05:29:44 PM
I just went there and what they have done is limit the API registrations to members of the forum only...you will see that message if not logged in also.

I have it installed and even with the latest 2.0.7 update it appears to work as it has always done. Maye it did not highlight as red because it is banned already so it is not recognized as a "new" spammer to your forum.

Or if you have installed any new mod, maybe it messed things up as well??
Title: Re: Stop Spammer
Post by: MoreBloodWine on March 01, 2014, 05:36:19 PM
Quote from: DarkAngel612 on March 01, 2014, 05:29:44 PM
I just went there and what they have done is limit the API registrations to members of the forum only...you will see that message if not logged in also.

I have it installed and even with the latest 2.0.7 update it appears to work as it has always done. Maye it did not highlight as red because it is banned already so it is not recognized as a "new" spammer to your forum.

Or if you have installed any new mod, maybe it messed things up as well??
Well as of right now I'm backing everything out and redoing all the mods... just gonna be a bit time consuming is all.
Title: Re: Stop Spammer
Post by: PopUpSteve on March 03, 2014, 11:09:49 AM
I know that SFS had a database outage on Mar 1st - 2nd sometime between 9pm to 2am Eastern time. But when that happens newly checked registrants come back in yellow. I don't know if this was because of a DOS attack or maintenance on the database but it seems to happen every other month or so. Other then that, SMS has and the mod have worked just fine for us and we are on SMF 2.0.7.
Title: Re: Stop Spammer
Post by: AZMazda3 on March 04, 2014, 01:41:07 PM
I just installed this on 2.0.7 and it appears to be working. I had to do only one manual edit. However, many of the features pictured on the mod's page are not visible. It could be that our site is having issues at the moment and the server just isn't loading the info but I was curious if anyone else running this on 2.0.7 was missing the icons?
Title: Re: Stop Spammer
Post by: PopUpSteve on March 04, 2014, 02:11:50 PM
To which icons are you referring? We are running 2.0.7 but we originally loaded this mod several SMF versions ago.
Title: Re: Stop Spammer
Post by: AZMazda3 on March 04, 2014, 02:16:17 PM
Quote from: PopUpSteve on March 04, 2014, 02:11:50 PM
To which icons are you referring? We are running 2.0.7 but we originally loaded this mod several SMF versions ago.

Specifically, in the members list. I went through the list, and I doubt there are zero spammers in there. No spyglass icons, no nothing.
Title: Re: Stop Spammer
Post by: AZMazda3 on March 04, 2014, 02:36:18 PM
Nevermind....I just realized it was the other SFS mod we installed.  ::)
Title: Re: Stop Spammer
Post by: PopUpSteve on March 04, 2014, 02:40:05 PM
So all you are seeing is the blue icon when you view all members in "Manage Members" in the Admin area. OK, you need to check all the members on that page and then click "Check These Members" at the bottom right of the list. That will submit those members to SFS and return their status. If any have been tagged as spammers, then you will get some icons. You'll have to page through your entire member list to check them all.
Title: Re: Stop Spammer
Post by: IMSassafras on March 08, 2014, 10:21:57 AM
I am having the same problem with my icons not turning colors.  I check SFS and the people I report are listed, so that part of the mod is working.  It doesn't have anything to do with a previous ban on my forum, either.

Are there any fixes?  A mod update would be preferable.

~Sass

I have 2.0.7, BTW.
Title: Re: Stop Spammer
Post by: busterone on March 08, 2014, 09:16:07 PM
what color are your icons? If yellow, then there is a connection issue to the SFS database.  What happens if you manually randomly pick a member to check? Does it appear to connect and check, or does the icon turn yellow?
Title: Re: Stop Spammer
Post by: IMSassafras on March 20, 2014, 11:03:20 PM
Quote from: busterone on March 08, 2014, 09:16:07 PM
what color are your icons? If yellow, then there is a connection issue to the SFS database.  What happens if you manually randomly pick a member to check? Does it appear to connect and check, or does the icon turn yellow?

I am not talking about the icons turning yellow:  I understand why that happens.  I am talking about when I try to report a member/spammer, they never turn red.  I don't even think they're being reported.

I just had my forum upgraded to 2.0.7.

Do I have to reset something?

~Sass
Title: Re: Stop Spammer
Post by: busterone on March 21, 2014, 09:51:54 PM
I am not sure about that one myself.  I haven't had to report a spammer in at least a year or more. Hopefully, someone else here using this mod has reported one recently and can confirm or deny that the report function is working correctly.
Title: Re: Stop Spammer
Post by: PopUpSteve on March 23, 2014, 11:06:59 AM
Login to StopForumSpam.com and click on "User Panel" and then "My Spammers" to see all your reported spammers. I'm seeing all the ones I recently reported using the SMF Mod so mine is working.
Title: Re: Stop Spammer
Post by: IMSassafras on March 26, 2014, 12:20:43 AM
Buster,

I don't know how any forum admin can NOT have spammers.  What's your secret?



Steve and everyone,

OK.  My issue is still... an issue.  Yes, My Spammers on StopForumSpam are there.  The ones I reported do show up.  BUT when I report people, they don't go into the "WAITING APPROVAL" list.  They don't turn red.

The whole point of the mod is if you are having a problem with a member/spammer, you can report him/her to SFS and the spammer would be put into the Waiting Approval list.  THIS IS NOT HAPPENING ON MY FORUM.  They remain in the member's area... and are blue.

Thank you for the help so far and your help in the future.

~Sass
Title: Re: Stop Spammer
Post by: DarkAngel612 on March 26, 2014, 03:35:18 AM
OK, well maybe I am misunderstanding the whole mod but....

when a person registers and they are a known spammer you will see the red icon, yellow if suspected and blue if supposedly alright.

IF they are already registered and you report them then they will most likely NOT turn red. They will also NOT be moved to the awaiting because they were not classified as spammers when they registered.

Now once you delete them and they have indeed been classified as spammers at SFS then they should be red the next time they register UNLESS you ban them then no harm, no foul and they should not be able to register again.

I sure hope that makes sense....I have this mod and have ahd it for many years and it works just as it should, unless one of the files has been altered by another mod.

You might uninstall it, delete it fro the list and after downloading a fresh copy -- reinstall it again to ensure the files have not been edited by another mod.
Title: Re: Stop Spammer
Post by: PopUpSteve on March 26, 2014, 12:09:14 PM
Yes, what DarkAngel612 said.

Try this, if you haven't already. Once you report a member to SFS, do not delete them just note of the member name. Wait an hour (shouldn't really take that long but just to make sure the info have been processed at SFS) then go back to that member and do a check on them again. This time you should be getting red icons for that member.

And I'm just curious, How are you determining that someone is a spammer? It is extremely rare that I find a spammer before they have already been reported to SFS.
Title: Re: Stop Spammer
Post by: IMSassafras on March 26, 2014, 06:13:26 PM
Thank you very much for the replies, Dark Angel and Steve,

Steve Wrote:
QuoteAnd I'm just curious, How are you determining that someone is a spammer? It is extremely rare that I find a spammer before they have already been reported to SFS.

There are many ways:
*)  The easiest way is when they post numerous new topics and/or posts proclaiming the best medications with pictures and everything.
*)  The next way is they post a generic message (Hi. That is really great!  Good job.)  You know, some crap that is meaningless.  Then, days later, SFS has classified them as "meat that couldn't pass the test".
*)  Another common spam sign is the website or signature in profiles proclaiming a drug wholesaler or some over seas link selling something in Russian like vibrators.

I don't know why I get these spammers and you folk don't, but I do.  Are there any secrets you want to share?


Dark Angel Wrote:
QuoteIF they are already registered and you report them then they will most likely NOT turn red. They will also NOT be moved to the awaiting because they were not classified as spammers when they registered.

This is how it use to be:
*)  Someone registered and comes in as a member - blue, not red.  They hang around.  I "check" them with SFS.  They turn red.  They go into Awaiting Approval".  End of story.
*)  Someone registered and comes in as a member - blue, not red.  They hang around.  In the meantime, someone else comes in as a spammer.  I report them because them used a new IP or email.  Now a new ban trigger has been activated.  This new ban trigger coincides with the first mentioned member in this illustration.  When I check or report this member with SFS, they will turn red and be placed in the Awaiting Approval list.  End of story.
*)  On the other hand, if I ban or partial ban on a member without deleted them and then check or report them, they will not turn red and move to the Awaiting Approval list.

NEW INFORMATION:
I noticed something when my husband was banning and reporting spammers.  When he reported them, they didn't turn red/move to the WA list.  BUT when he checked them, they would turn red/move to the WA list.  So, I did a test and checked all members on one page.  [Crossed my finger.]  One person came up as spam.  One ban trigger - a yahoo email.  So I verified they were legitimate spam.  They're from Pakistan and had a link for a Dentist in Mesa, AZ so I reported them.  Nothing changed.  I checked them.  The IP turn red.  THE IP TURNS RED!!!!!

Ok.  Bottom line.  Before, I wouldn't have had to "check" them with SFS after reporting them.  Now I do.  It's an extra step, but I can get through it.

Maybe the uninstall, delete, re-install mod idea will work.  I will try it.

Thank you for the help.

~Sass
Title: Re: Stop Spammer
Post by: DarkAngel612 on March 26, 2014, 06:40:23 PM
Quote from: IMSassafras on March 26, 2014, 06:13:26 PM

This is how it use to be:
*)  Someone registered and comes in as a member - blue, not red.  They hang around.  I "check" them with SFS.  They turn red.  They go into Awaiting Approval".  End of story.
*)  Someone registered and comes in as a member - blue, not red.  They hang around.  In the meantime, someone else comes in as a spammer.  I report them because them used a new IP or email.  Now a new ban trigger has been activated.  This new ban trigger coincides with the first mentioned member in this illustration.  When I check or report this member with SFS, they will turn red and be placed in the Awaiting Approval list.  End of story.
*)  On the other hand, if I ban or partial ban on a member without deleted them and then check or report them, they will not turn red and move to the Awaiting Approval list.

NEW INFORMATION:
I noticed something when my husband was banning and reporting spammers.  When he reported them, they didn't turn red/move to the WA list.  BUT when he checked them, they would turn red/move to the WA list.  So, I did a test and checked all members on one page.  [Crossed my finger.]  One person came up as spam.  One ban trigger - a yahoo email.  So I verified they were legitimate spam.  They're from Pakistan and had a link for a Dentist in Mesa, AZ so I reported them.  Nothing changed.  I checked them.  The IP turn red.  THE IP TURNS RED!!!!!

Ok.  Bottom line.  Before, I wouldn't have had to "check" them with SFS after reporting them.  Now I do.  It's an extra step, but I can get through it.

Maybe the uninstall, delete, re-install mod idea will work.  I will try it.

Thank you for the help.

~Sass

Thanks for this response...it is something that I have never really known since I have always gone through (and the other admin in charge of this section) checking them myself, unless they already were red.

When they register at our forums I have things set so admins get notified then I or the other admin designated for spam patrol go in and check them out---yes even if they are blue cause sometimes they are so new or nobody has reported them.

I type their IP into google and do a search...sometimes this will turn up project honeypot find and NOT SFS...at times they are turned over to them. Also, the username that comes in red may not be the one associated with the IP or email and maybe belonged to another actual spammer at that time....those we allow but keep a careful eye out (we tell the other admins and global mods).

I have also installed the Reason for joining mod that has helped because if they are not human they can not register---no entry into the reason they are not permitted to go further. The reasons for joining are hilarious at times cause all they enter is gibberish or to participate and learn more. Our forums are accessed by guests but they can not reply to posts, they can read the posts so they in essence can learn more, to reply or ask questions at our asylum then they need to register.

When they get banned they disappear from the register listing totally and are then seen in the member list below, unless I delete them from the forums.

I was not aware that those that are reported will turn red, since the red ones are generally banned then deleted. The ones I find on the web as being spammers I sometimes report then delete after banning. Thanks for the info.

I hope the reinstalling of the mod helps.
Title: Re: Stop Spammer
Post by: PopUpSteve on March 26, 2014, 06:50:15 PM
Wow, you really do get a lot of spammers. I have found that keeping the spammers out normally requires a 1-2-3 punch.

How do you have your registration setup? You may want to look into something like the mod "notCaptcha (http://custom.simplemachines.org/mods/index.php?mod=2932)". I've been using it for years. One problem right now is they have to fix an issue with it not working properly with I.E. 11. Other then that, it keep the Bots out.

Between that, SFS, and a growing list of banned IP, I don't get many spammers. You see, my with website, there are only a few areas outside of the US & Canada where people would have interest. So when SFS tags a new member coming from outside that area, I look up the IP range and ban it in SMF.

These three steps seems to keep the site spam-free.

It also helps to have a bunch of great members who report anything funky that might get posted.
Title: Re: Stop Spammer
Post by: PopUpSteve on March 26, 2014, 06:58:12 PM
QuoteWhen he reported them, they didn't turn red/move to the WA list.  BUT when he checked them, they would turn red/move to the WA list.

When you saw these new entries turn red after you just reported them, did you click on the red icon to see how many times that spammer had been reported in SFS? It just strikes me as odd that you are the first site getting hit by all these spammers.
Title: Re: Stop Spammer
Post by: busterone on March 26, 2014, 10:55:09 PM
Quote from: IMSassafras on March 26, 2014, 12:20:43 AM
Buster,

I don't know how any forum admin can NOT have spammers.  What's your secret?
A layered approach. I have a rotating set of registration questions (2, sometimes 3)that change every few weeks, so human spammers cannot figure them out and send the answers to their cohorts. Then I have httpBL/project honeypot that catches most bots from know spam ranges before they get to the registration page. For the ones that get past httpBL, and do attempt to register, if they are known spammer in SFS database, they get stopped by Stop forum Spam mod.  I get one or two a month that get flagged by SFS, and but not had an actual spammer get past the above defenses and post in at least a year, probably longer.

Oh, I almost forgot about this little added gem. Arantor's misc anti spam mod. http://custom.simplemachines.org/mods/index.php?mod=3685
It places an input field on the registration page that MUST be left empty. Sometimes it is hidden and empty, and sometimes it is displayed with some text that the registrant must clear for the registration to be completed. Bots are notorious for placing random data into any input field they see, so most bots are eliminated by this one little mod. :)
Title: Re: Stop Spammer
Post by: IMSassafras on March 27, 2014, 12:28:48 AM
Everyone,

I will post more tomorrow, but I thought this would really give you something to think about.

I have SFS and HoneyPot on my Forum.  Before having these mods, we were getting over a hundred spammers a day.  Now we are getting up to 25.

~Sass
Title: Re: Stop Spammer
Post by: Kindred on March 27, 2014, 01:08:41 AM
I have this, and bad behavior +httpBL along with the SMF questions feature (no Captcha)  and I get one to two spammers registered in the past 2 years
Title: Re: Stop Spammer
Post by: IMSassafras on March 28, 2014, 12:14:22 AM
First off, I think I should define what I mean by spammers - registers who come into my forum red from the beginning and those who prove themselves as nefarious by posting bad posts and threads or proving links and signatures with nefarious material.  So, out of the 25 people we (my husband and I) delete and report, there might be 5 new ones.

What is the likelihood of questions during registration like reason for joining and Arantor's misc anti spam mod and other mods/questions deter real members from joining?

During registration I have Verification set to High, SFS, Honey Pot, and ... That's it.  I tried various Captcha mods, but ... one didn't meld well with SMF version whatever and the other totally got my husband thinking we were restricting membership.  So I removed it.  That was a long time ago, though.  That's it.  Basically, SFS and HP.

When banning people, what to ban?  IP, email, host, username.  What is important and what is not necessary?

Well, I know I have more to say but I can't concentrate on this and Netflix (really funny show), so later my friends.

~Sass
Title: Re: Stop Spammer
Post by: Kindred on March 28, 2014, 12:30:45 AM
As I said - I have not had a single spammer in 2 years.
I deleted all bans a year ago.
Title: Re: Stop Spammer
Post by: IMSassafras on March 28, 2014, 05:37:06 PM
Quote from: Kindred on March 28, 2014, 12:30:45 AM
As I said - I have not had a single spammer in 2 years.
I deleted all bans a year ago.


Wait a minute!!! You don't have any ban triggers?
Title: Re: Stop Spammer
Post by: Kindred on March 28, 2014, 09:06:00 PM
Nope.  I removed ALL ban triggers over a year ago.
Title: Re: Stop Spammer
Post by: busterone on March 28, 2014, 10:59:45 PM
QuoteWhat is the likelihood of questions during registration like reason for joining and Arantor's misc anti spam mod and other mods/questions deter real members from joining?
If I understand you, then Arantor's mod will not help much in stopping human spammers of course, but the questions do help tremendously if they are used properly. Do not use general questions that are easy to google answers for,  and simple questions such as "what color is an orange?" They will certainly be bypassed easily.  If your forum has a particular niche, then ask questions that pertains to your forum's main subject or theme. Only prospective real members will know the answers.  In my experience fighting forum spam, most, but not all human spammers are from 3rd world countries, working for pennies, and they have a very limited grasp of English. Many of them no absolutely no English, and will use a translator to convert their spam into English.  If you are getting a lot of human spammers, then your registration process is too easy for them to pass.  In my several years fighting forum spam, human spammers only make up about 5 percent of forum spam. Most is done by automated bots, that can register, solve captcha, and post spam in dozens of forums within just a few seconds.

As Kindred, I have only 3 bans in my forum ban triggers, and they were not from spammers, but ex members who proved to be trolls. Spammers can be very easily prevented with the proper implementation of the various tools available. 
Title: Re: Stop Spammer
Post by: PopUpSteve on March 30, 2014, 04:23:18 PM
We have over 400 IP ranges in our ban list and they have a combined total of over 500,000 hits. And everyday we get an average of 500 attempts that get blocked coming from those ranges.
Title: Re: Stop Spammer
Post by: Kindred on March 30, 2014, 04:34:09 PM
if you are banning IPs by range, you should ***NOT*** be using the SMF ban system - bans like that should be done form the host side or in htaccess.

The more bans you have, the slower your system can run
Title: Re: Stop Spammer
Post by: PopUpSteve on March 30, 2014, 04:37:56 PM
Duly noted, thanks.
Title: Re: Stop Spammer
Post by: IMSassafras on March 31, 2014, 12:33:30 AM
I'm back only cuz I thought I owed you people a great big thanks.  I did the suggestion of adding questions in registration and in over 24 hours we have had no people getting through except real, wholesome, fresh and blood members. 

Thank you very much, everyone!!!   :) ;) ;D

~Sass
Title: Re: Stop Spammer
Post by: busterone on March 31, 2014, 08:51:24 AM
Fanatastic!!  :)
Title: Re: Stop Spammer
Post by: AZMazda3 on April 12, 2014, 11:24:43 AM
This is a great mod. It has done so much since installing it. Our forum still gets 1-2 people 'bots' a month that are not in the database but are from either Pakistan, Russia, or China. While I really don't mind that but they do not contribute, they are most likely gaining access so they can get the scrapers to access or something like that.

So am I missing a setting or something to do better with this?
Title: Re: Stop Spammer
Post by: FemR on May 03, 2014, 12:25:20 PM
I'm just wondering if following has ever happened to anyone... yesterday I successfully installed this cool mod, left settings on default, played with 'Check these Members' to check on a few pages of existing members.

Little while later I realized about 30 existing forum accounts (out of 2500) got deleted. Not banned, not unapproved, deleted. I thought this mod couldn't do that?

On the Admin>Members page, it currently says '29 Spammers blocked up until today' (this numbers changed up and down overnight but still it's around that digit.
Number of members 'Awaiting Approval' is around 10 currently.

I also installed Honey Pot yesterday, but did not turn that one on yet. So I'm left to wonder, if Stop Spammer is the cause?

Anyone had that happen? Very bizarre. Thanks for your replies/help.
Title: Re: Stop Spammer
Post by: Kindred on May 03, 2014, 09:13:51 PM
This mod has no delete function. They is no way that it deleted your users, existing or new...
Title: Re: Stop Spammer
Post by: FemR on May 04, 2014, 04:42:30 AM
I've only installed 3 mods on that day:
I understood neither is made to be able to delete users, yet circa 30 accounts got somehow deleted. I'm the only admin too. Like I said, never had that happen, so bizarre, it has me scratching my head since. Thanks for your reply, Kindred.
Title: Re: Stop Spammer / error in Dutch language
Post by: HansR on June 03, 2014, 02:05:20 AM
Installed on: 2 june 2014
Simple Machine :  2.0.7
Stop Spammer : 2.3.9

-----

There is a severe error in the Dutch translation of Stop Spammer. As a result the installation fails and a PHP-error (unexpected T_STRING) inhibits the forum to run. Inexperienced users will have a problem because it requires some advanced handling to recover and correct.

The invalid codestring is the last string in the Dutch translation (both DUTCH and DUTCH_UTF8) is:

Quote$txt['stopspammer_check_sub2'] = 'Standaard wordt elke keer wanneer leden gecontroleerd worden met de MOD Stop Spammer hun gebruikersnamen, e-mail adressen en IP's gecontroleerd. Indien je teveel valse positieven krijgt vanwege hun gebruikersnamen kun je deze optie uitschakelen. We raden je niet aan de andere twee opties ook uit te schakelen (het controleren van e-mail adressen en IP's) tenzij je weet wat je doet.';

It should read:

Quote$txt['stopspammer_check_sub2'] = 'Standaard wordt elke keer wanneer leden gecontroleerd worden met de MOD Stop Spammer hun gebruikersnamen, e-mail adressen en IP\'s gecontroleerd. Indien je teveel valse positieven krijgt vanwege hun gebruikersnamen kun je deze optie uitschakelen. We raden je niet aan de andere twee opties ook uit te schakelen (het controleren van e-mail adressen en IP\'s) tenzij je weet wat je doet.';

Surprising nobody noticed this before, installation of the Dutch language is not possible!
Could the correction be entered in the distribution?
Thanks.
Title: Re: Stop Spammer
Post by: metemi on June 05, 2014, 12:44:49 AM
This looks like a great Mod, thank you very much! I'm a bit confused (and worried) though about the reported number of "Blocked Spammers"; first of all I'm not sure what that means exactly, and secondly, the numbers are extremely high; much higher than the number of registrations we actually get.  Any help? (it was up to 700 on the first day it was used).
Title: Re: Stop Spammer
Post by: bahgheera on June 05, 2014, 12:52:03 AM
Hmm... someone beat me to it. ;)

The question above is one I'd like to ask - there is a lot of activity from the mod (we're up to >2000 blocked spammers now), but I'm not sure what exactly it's doing. I installed the mod less than 24 hours ago. We don't normally get that many registrations in a day, so is it blocking people that created accounts before I installed the mod? I thought the mod simply flags accounts and doesn't let them get approved without admin intervention. If someone could shed some light on this I'd appreciate it.
Title: Re: Stop Spammer
Post by: metemi on June 06, 2014, 03:25:57 AM
Quote from: metemi on June 05, 2014, 12:44:49 AM
This looks like a great Mod, thank you very much! I'm a bit confused (and worried) though about the reported number of "Blocked Spammers"; first of all I'm not sure what that means exactly, and secondly, the numbers are extremely high; much higher than the number of registrations we actually get.  Any help? (it was up to 700 on the first day it was used).

I'm beginning to think that nobody (including the developers) knows the answer to this question... ??
Title: Re: Stop Spammer
Post by: busterone on June 07, 2014, 12:02:15 AM
The mod author for this mod has not been active for almost a year.  Only he can accurately answer the question. 
I have also noted the blocked spammers number, but honestly, it is not really a big deal to me whether it is low or high. All I care about is that spammers do not get into my forum. With the help of this mod, another mod, and ever rotating registration questions, that is accomplished for me.

the mod author Snoopy's profile -  http://www.simplemachines.org/community/index.php?action=profile;u=68708
last active July 31, 2013, 08:03:11 AM
Title: Re: Stop Spammer
Post by: HDB on June 07, 2014, 12:22:30 AM
The blocked spammer count is high for me as well but this Mod works. It keeps the spammers on the outside looking in.  :)
Title: Re: Stop Spammer
Post by: metemi on June 08, 2014, 01:56:54 AM
Quote from: busterone on June 07, 2014, 12:02:15 AM
The mod author for this mod has not been active for almost a year.  Only he can accurately answer the question. 
I have also noted the blocked spammers number, but honestly, it is not really a big deal to me whether it is low or high. All I care about is that spammers do not get into my forum. With the help of this mod, another mod, and ever rotating registration questions, that is accomplished for me.

the mod author Snoopy's profile -  http://www.simplemachines.org/community/index.php?action=profile;u=68708
last active July 31, 2013, 08:03:11 AM

Oh ok.  Yeah it's a great mod, I guess those numbers are not really important.  What is the other mod you are using?
Thanks for the reply.
Title: Re: Stop Spammer
Post by: busterone on June 09, 2014, 12:25:06 AM

Quote from: metemi on June 08, 2014, 01:56:54 AM
Quote from: busterone on June 07, 2014, 12:02:15 AM
The mod author for this mod has not been active for almost a year.  Only he can accurately answer the question. 
I have also noted the blocked spammers number, but honestly, it is not really a big deal to me whether it is low or high. All I care about is that spammers do not get into my forum. With the help of this mod, another mod, and ever rotating registration questions, that is accomplished for me.

the mod author Snoopy's profile -  http://www.simplemachines.org/community/index.php?action=profile;u=68708
last active July 31, 2013, 08:03:11 AM

Oh ok.  Yeah it's a great mod, I guess those numbers are not really important.  What is the other mod you are using?
Thanks for the reply.

httpBL
Title: Re: Stop Spammer
Post by: bahgheera on June 14, 2014, 06:23:48 PM
My question is are we keeping regular members or non-spammers out? That's all I'm really concerned with. But you are right, it does seem to work exceptionally well at keeping the spammers out.
Title: Re: Stop Spammer
Post by: Burke ♞ Knight on October 09, 2014, 06:53:40 AM
Quote from: Kindred on May 03, 2014, 09:13:51 PM
This mod has no delete function. They is no way that it deleted your users, existing or new...

That is where you are wrong.
This mod, WILL delete the members if you check them, and they appear to be on Stop Forum Spam's spammer list.
I know this for a fact, because a while back, we had it happen at Crip's site.

However, I have been told of a bug, where Check Member is visible to the member in their profile's Actions menu.


Here is the fix: Sources > Profile.php

'checkmember' => array(
'label' => $txt['stopspammer_profilecheck'],
'custom_url' => $scripturl . '?action=admin;area=viewmembers;sa=query;params=' . base64_encode(serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))),
'enabled' => $cur_profile['id_group'] != 1 && !in_array(1, explode(',', $cur_profile['additional_groups'])),
'sc' => 'get',
'permission' => array(
'own' => array('profile_remove_any', 'profile_remove_own'),
'any' => array('profile_remove_any', 'moderate_forum'),
),
),


Should be:

'checkmember' => array(
'label' => $txt['stopspammer_profilecheck'],
'custom_url' => $scripturl . '?action=admin;area=viewmembers;sa=query;params=' . base64_encode(serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))),
'enabled' => $cur_profile['id_group'] != 1 && !in_array(1, explode(',', $cur_profile['additional_groups'])),
'sc' => 'get',
'permission' => array(
'own' => array('profile_remove_any),
'any' => array('profile_remove_any', 'moderate_forum'),
),
),
Title: Re: Stop Spammer
Post by: busterone on October 12, 2014, 10:54:12 AM
Interesting. I just checked it using a couple of non admin test accounts and it is visible.  If clicked the user is told that they are not allowed access to that area.
I am surprised that this has gone so long unnoticed. As curious as several of my members are about stuff, I am really surprised that at least one of them never noticed it and commented about it. 

Thanks for the fix.
Title: Re: Stop Spammer
Post by: Burke ♞ Knight on October 12, 2014, 10:57:37 AM
ROFL...
I know what you mean.
I've used this mod for a long time, and only recently had someone bring it to my attention.
Title: Re: Stop Spammer
Post by: butchs on October 14, 2014, 06:12:13 PM
Nice catch.
Title: Re: Stop Spammer
Post by: DarkAngel612 on October 22, 2014, 12:17:27 AM
I just updated from 2.08 ro 2.09 smf and this was not happening in 2.0.8

when checking the member--- rather when yo go to admin/members/awaiting approval

you can click the drop down menu at the bottom to see a list of what to do. Te entire list appears in the awaiting activation section but as you can see from the image it is not quite right in awaiting approval.

the other image shows the mods installed in this forum

I manual checked the files that it has edits for and they are all in there with the right spot for them too.

ideas of what I can do?
Title: Re: Stop Spammer
Post by: Kindred on October 22, 2014, 06:24:09 AM
the first screen shot is displaying the "approve accounts for deletion" screen... not the "check spammer" screen.
Title: Re: Stop Spammer
Post by: DarkAngel612 on October 22, 2014, 07:00:40 AM
Quote from: Kindred on October 22, 2014, 06:24:09 AM
the first screen shot is displaying the "approve accounts for deletion" screen... not the "check spammer" screen.

Why it be doing that, none of the other forums changed after the update. How to get it back to normal please.
Title: Re: Stop Spammer
Post by: DarkAngel612 on October 22, 2014, 07:15:30 AM
Well it is Halloween month and the ghost and goblins are active...that is my story anyway cause i just went in to try a test registration to see if clicking that would delete it or allow it and the darn menu is back to normal again.

Thanks and for now I guess it is fixed...LOL
Title: Re: Stop Spammer
Post by: Kindred on October 22, 2014, 07:59:39 AM
It was never wrong...  the "approval" area covers two things...

new users
requests for deletion

If there are no new users pending approval, then the systemautomatically displays the "requests for deletion" screen.
Title: Re: Stop Spammer
Post by: DarkAngel612 on October 22, 2014, 08:08:10 AM
Well see that is why I thought there was something I might have missed. Usually, when we check there to approve/disapprove there is the drop menu like the one in activation part....both sections have the same drop menu.

I even check the other forums that had nobody to approve and the menu is there --- NOT the shorty one but the full one. This forum that drove me nuts was before the update showing the drop menu correctly then it changed after the update.

Now it has the menu as before and there are no people waiting to be approved...and that shorter menu is gone...

like I said before---no member awaiting approval and with on or more in there the menu was short...u am happy cause now it is showing like before...LOL
Title: Re: Stop Spammer
Post by: City Builder on November 14, 2014, 07:42:48 PM
Are we overloading the SFS service and getting blocked maybe?

I recently sold my site to another party and have been helping them to get it stable and add back in the mods (some of them anyway) that we used to use.  My primary concern was blocking spammers as if I don't use any spam protection at all I could have several hundred new spam accounts setup in one day with possibly hundreds or thousands of spam messages posted.

I've been using the stop spammer mod for quite a long time now and recently updated the SMF forums to 2.09 and am using the Stop Spammer version 2.3.9

However, I'm seeing that the mod can't connect up with the SFS database quite a few times each day which of course could mean spammers do get to register accounts since we don't want to deny people when the mod can't make the connection to the SFS database.

I've read various things on the internet about the service, some saying that if you do too many connections you can get blacklisted or you can have it deny the connections to your domain name and or it's IP address.

Our stats show 636788 Spammers blocked up until today, of course that 636,788 spammers is over the past 4 years.  Our current registered members is about 270,000+ members (again, registered over the past 4 years) so I'm now wondering if maybe we're simply overloading the SFS services and they are denying service which is why we see so many accounts that are yellow and couldn't be checked when the person registered, or if the Stop Forum Spam service is just really unreliable now and can't handle the load of all the sites that use it.

We also use the httpBL mod to help out and that seems to catch the majority of spammers but some will still get through that and without your mod, we end up with possibly dozens of spam that we have to clean up several times a day.

Anybody know if the SFS service is just unreliable now or if I'm somehow overloading their service for an individual IP address / domain name / API key?

Thanks
Title: Re: Stop Spammer
Post by: Kindred on November 14, 2014, 09:34:11 PM
Questions work even better...
Title: Re: Stop Spammer
Post by: City Builder on November 14, 2014, 10:00:49 PM
Quote from: Kindred on November 14, 2014, 09:34:11 PM
Questions work even better...
Okay...

Again as posted in my original post...
Anybody know if the SFS service is just unreliable now or if I'm somehow overloading their service for an individual IP address / domain name / API key?
Title: Re: Stop Spammer
Post by: busterone on November 15, 2014, 04:27:03 PM
It is possible that the site has been having issues itself, but there haven't been any reported recently.  If you really need some answers, I suggest you register for an account at SFS's  forum and post there.  One of the admins or moderators there could search through the server log and see if there is an issue with your domain/ or server's Ip adrress. The guys that run the site are more than helpful.
Title: Re: Stop Spammer
Post by: City Builder on November 15, 2014, 04:29:38 PM
Thanks for the reply, that's what I'll have to do as I found the connection dead again between our server and theres and a mounting amount of accounts stuck into the awaiting approval area since they couldn't be checked, even though we have it setup to allow approval and then check manually later.  But I just tried to register a dummy account with stop spammer turned on and it couldn't connect and it says that my account must be verified by an admin or whatever the default message is that tells people they need to be authorized manually by an admin.
Title: Re: Stop Spammer
Post by: busterone on November 15, 2014, 04:45:41 PM
that is the message that the sfs mod is supposed to display, but it is odd that it did it to you. Where you attempting to register from your own IP that you use to log in to the forum? The ones that are awaiting admin approval should have a red icon next to whichever criteria was found in the SFS database. If they are yellow, then yes, the database connection is going wrong. That could be your host's issue or it could be on the SFS side, but the only way to narrow it down would to ask at SFS and Pedigree can determine if it is on your end or his. If there is no issue on SFS side, then you will need to look at your host.
Title: Re: Stop Spammer
Post by: City Builder on November 15, 2014, 04:48:09 PM
Yes I was attempting to register using the only IP that my ISP gives us and the same one that I normally log into our forums with.

I've posted on their forum now and waiting a response, I suspect it may be the new owners OVH host that is causing this since it's not got a lot of people posting about it on the SFS forums.
Title: Re: Stop Spammer
Post by: busterone on November 15, 2014, 04:52:28 PM
I suspect the same, but if your host has a bad rep with SFS, at least Ped can confirm it. Yea, I haven't posted over there in quite a while, but I check in every few days to see what may be new, and I haven't seen any reports of server lags or being down.
Title: Re: Stop Spammer
Post by: GreenSage on November 21, 2014, 04:58:42 PM
Can I get some help please? I'm with lunarpages and this script just started causing problems of the MySQL database "going away." (Mind you I haven't touched the script in like 9 months now lol.)

Upon looking up members I get an error (offtimes) on this chunk of code on subs.php


// In some cases, this may be better and faster, but for large sets we don't want so many UPDATEs.
if ($update)
{
foreach ($changeArray as $variable => $value)
{
$smcFunc['db_query']('', '
UPDATE {db_prefix}settings
SET value = {' . ($value === false || $value === true ? 'raw' : 'string') . ':value}
WHERE variable = {string:variable}',
array(
'value' => $value === true ? 'value + 1' : ($value === false ? 'value - 1' : $value),
'variable' => $variable,
)
);
$modSettings[$variable] = $value === true ? $modSettings[$variable] + 1 : ($value === false ? $modSettings[$variable] - 1 : $value);
}

// Clean out the cache and make sure the cobwebs are gone too.
cache_put_data('modSettings', null, 90);

return;
}


Line 588 of subs.php specifically which is only the line:
);

LP and me is trying to narrow this down and I don't know how to help them.
Title: Re: Stop Spammer
Post by: busterone on November 21, 2014, 07:04:02 PM
The above code you posted has nothing to do with this mod.  The only code that Stop Spammer adds to the vanilla subs.php is the following on line 3438 for my forum (yours may be slightly different depending on the amount of mods added)

$context['unapproved_members'] = $modSettings['unapprovedMembers'];


I am not much of a coder, but there seems to be another issue causing the server to go away. You may want to post this in the 2.0 support area.
Title: Re: Stop Spammer
Post by: madfiddler on December 19, 2014, 06:22:52 PM
Just installed this today on a 2.0.8 forum. Working fine. Thanks very much to the author!
Title: Re: Stop Spammer
Post by: SD-X on December 19, 2014, 06:42:31 PM
Quote from: madfiddler on December 19, 2014, 06:22:52 PM
Just installed this today on a 2.0.8 forum. Working fine. Thanks very much to the author!
2.0.9 is out. I would highly suggest updating. :D
Title: Re: Stop Spammer
Post by: madfiddler on December 19, 2014, 06:49:18 PM
Thank for reminding me... will do! :)
Title: Re: Stop Spammer
Post by: madfiddler on December 19, 2014, 07:37:16 PM
Would it be possible for other forum membergroups to have access to this mod?
Title: Re: Stop Spammer
Post by: Kindred on December 19, 2014, 07:42:40 PM
What?   Why would you want anyone but admins to have access to the list?
Title: Re: Stop Spammer
Post by: madfiddler on December 19, 2014, 08:03:21 PM
Global moderators, or other moderators? I'm the only person who has admin level access i.e. database settings etc.
Title: Re: Stop Spammer
Post by: Kindred on December 19, 2014, 08:38:12 PM
Anyone with access to the member approval should see the list
Title: Re: Stop Spammer
Post by: madfiddler on December 20, 2014, 05:26:14 AM
Ah, ok - thank you
Title: Re: Stop Spammer
Post by: Paul S Fairweather on December 20, 2014, 08:28:22 PM
I'm getting email's containing ru at the end of them on my forum trying to register is there a mod to stop this so I can install it
cheers
Paul
Title: Re: Stop Spammer
Post by: Burke ♞ Knight on December 20, 2014, 08:35:16 PM
Quote from: Paul S Fairweather on December 20, 2014, 08:28:22 PM
I'm getting email's containing ru at the end of them on my forum trying to register is there a mod to stop this so I can install it
cheers
Paul

This mod works great, along with this Stop Spammer mod. :)

http://custom.simplemachines.org/mods/index.php?mod=3036
Title: Re: Stop Spammer
Post by: Paul S Fairweather on December 20, 2014, 08:41:29 PM
Quote from: ♞ Burke Knight ♞ on December 20, 2014, 08:35:16 PM
Quote from: Paul S Fairweather on December 20, 2014, 08:28:22 PM
I'm getting email's containing ru at the end of them on my forum trying to register is there a mod to stop this so I can install it
cheers
Paul

This mod works great, along with this Stop Spammer mod. :)

http://custom.simplemachines.org/mods/index.php?mod=3036

Burke Knight thank you I will give it ago :)
Cheers
Paul
Title: Re: Stop Spammer
Post by: TMR Guy on January 09, 2015, 09:13:20 PM
It says There are 2 members awaiting approval but I don't have any members awaiting approval. How do I reset this?

Thanks,

TMR Guy
Title: Re: Stop Spammer
Post by: TMR Guy on January 09, 2015, 10:56:21 PM
Quote from: TMR Guy on January 09, 2015, 09:13:20 PM
It says There are 2 members awaiting approval but I don't have any members awaiting approval. How do I reset this?

Thanks,

TMR Guy
Looks like it fixed itself.  8)
Title: Re: Stop Spammer
Post by: snoopy_virtual on June 14, 2015, 02:15:47 PM
Just a quick note to say that I have upgraded today one of my forums to SMF 1.1.21 and another couple of them to SMF 2.0.10 and I had no errors installing in all of them Mod StopSpammer v2.3.9 so it means this mod is compatible with the latest SMF versions.

If any of you have just upgraded your SMF forum and you had any error installing Mod StopSpammer after the upgrade please let me know so we can see what's the problem.

Cheers
Title: Re: Stop Spammer
Post by: SD-X on June 14, 2015, 04:22:15 PM
Quote from: snoopy_virtual on June 14, 2015, 02:15:47 PM
Just a quick note to say that I have upgraded today one of my forums to SMF 1.1.21 and another couple of them to SMF 2.0.10 and I had no errors installing in all of them Mod StopSpammer v2.3.9 so it means this mod is compatible with the latest SMF versions.

If any of you have just upgraded your SMF forum and you had any error installing Mod StopSpammer after the upgrade please let me know so we can see what's the problem.

Cheers
I upgraded two forums from 2.0.9 to 2.0.10 with StopSpammer and Mod httpBL already installed, and everything went fine for me too.
Title: Re: Stop Spammer
Post by: DarkAngel612 on July 09, 2015, 03:18:12 AM
I have several forums to deal with, my own and others I take care of. I updated them all and all went through without a hitch....except 1 of course...It still gave the file error I think it was for the second edit in the subs_member.php??? I can't remember but it did the first edit and the second edit I had to enter manually.

Aside from that it installed.


I did notice that in the text area above the installation parts it still says that it is compatible with SMF 1.1.1 - 1.1.12 SMF 2 RC4, no mention of it being updated or that it is now compatible with 2.0.10

I did also notice that when a member changes their address and we have SMF set to have them reactivate their account, the admin area for this mods gets confused. Any would be members awaiting activation will not show up, only the one that did the change and it even lists the reason they originally wanted to join (reason why mod), and the total awaiting does reflect any others in there.  Once they get activated then all others magically show up again...LOL No complaint since I assume it should work that wa plus it does not hamper anything else relating to the mod.

Thank you both for this wonderful mod.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 09, 2015, 07:09:08 AM
Quote from: DarkAngel612 on July 09, 2015, 03:18:12 AM
I did notice that in the text area above the installation parts it still says that it is compatible with SMF 1.1.1 - 1.1.12 SMF 2 RC4, no mention of it being updated or that it is now compatible with 2.0.10

It does, check the attached picture.

In fact as you can see, it says that the mod was last updated on the 14th of June 2015. It wasn't really any mod update. It was just me changing the versions the mod is compatible with.  ;)

Quote from: DarkAngel612 on July 09, 2015, 03:18:12 AM
I did also notice that when a member changes their address and we have SMF set to have them reactivate their account, the admin area for this mods gets confused. Any would be members awaiting activation will not show up, only the one that did the change and it even lists the reason they originally wanted to join (reason why mod), and the total awaiting does reflect any others in there.  Once they get activated then all others magically show up again...LOL No complaint since I assume it should work that wa plus it does not hamper anything else relating to the mod.

I don't know exactly when SMF changed that, but now, when you have a few new members waiting activation and at the same time you have some old members who have changed their email and need activation as well, you can decide in the "View Members waiting activation" list if you want to see the newbies or the ones who changed their email.

On top of the list you should see a "select" box to change the view when you are on that situation. I cannot give you any pictures of that because I haven't got in my forums members who had changed their email recently, but the first time it happened to me I was also wondering where were the rest of the members waiting activation until I noticed the select box.  ;D

Quote from: DarkAngel612 on July 09, 2015, 03:18:12 AM
Thank you both for this wonderful mod.

You're welcome  ;)

Cheers
Title: Re: Stop Spammer
Post by: DarkAngel612 on July 09, 2015, 07:15:43 AM
Quote from: snoopy_virtual on July 09, 2015, 07:09:08 AM

Quote from: DarkAngel612 on July 09, 2015, 03:18:12 AM
I did also notice that when a member changes their address and we have SMF set to have them reactivate their account, the admin area for this mods gets confused. Any would be members awaiting activation will not show up, only the one that did the change and it even lists the reason they originally wanted to join (reason why mod), and the total awaiting does reflect any others in there.  Once they get activated then all others magically show up again...LOL No complaint since I assume it should work that wa plus it does not hamper anything else relating to the mod.

I don't know exactly when SMF changed that, but now, when you have a few new members waiting activation and at the same time you have some old members who have changed their email and need activation as well, you can decide in the "View Members waiting activation" list if you want to see the newbies or the ones who changed their email.

On top of the list you should see a "select" box to change the view when you are on that situation. I cannot give you any pictures of that because I haven't got in my forums members who had changed their email recently, but the first time it happened to me I was also wondering where were the rest of the members waiting activation until I noticed the select box.  ;D


Gracias, that shows you how observant I is not...LOL I sure did not notice that at all. Let us hope I remember the next time they change an emai...I dont have many that do it either, just when their emails get spoofed or spammed beyond beyond.

I also missed the image about the updated date in the folder too...I can be so blind at times. I can also be dense...I knew that image...it is from the downlds area...that is why I grabbed the "update". But I mean in the package manager when it is ready to install. That spiel does not say it is for 2.0.10, it is the file that says it is for SMF 1.1.1 - 1.1.12 SMF 2 RC4. No biggie cause it works and that is all that matters.


Again thank you very much.
Title: Re: Stop Spammer
Post by: snoopy_virtual on July 09, 2015, 07:34:02 AM
Oh, I see what you mean.

When you install a mod you see on the screen whatever is written in the "readme.txt" file inside it and I wrote that file ages ago, when the SMF version was RC4

In the next update I need to add inside that readme.txt a line saying:

"Just now it is compatible with so and so but if you want to see if it is compatible with a newer version of SMF please visit http://custom.simplemachines.org/mods/index.php?mod=1547" LOL
Title: Re: Stop Spammer
Post by: DarkAngel612 on July 09, 2015, 09:55:23 AM
LOL there you go, that's the spirit...have a great almost weekend.
Title: Re: Stop Spammer
Post by: nax on October 09, 2015, 05:36:49 AM
I installed 2.3.9 on  a forum that had just been upgraded to 2.0.11 all appeared to go ok but now I notice that spammer accounts are not being highlighted in red and spammers are getting through.

The MOD is active and it says:- Mod Stop Spammer is ON, it is up-to-date and the connection with Stop Forum Spam is perfect.

but it doesn't appear to be working.
Title: Re: Stop Spammer
Post by: SD-X on October 09, 2015, 05:39:16 AM
Quote from: nax on October 09, 2015, 05:36:49 AM
I installed 2.3.9 on  a forum that had just been upgraded to 2.0.11 all appeared to go ok but now I notice that spammer accounts are not being highlighted in red and spammers are getting through.
Make sure you remembered to turn the mod on in its settings section.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 09, 2015, 07:02:44 AM
Quote from: SugarD-x on October 09, 2015, 05:39:16 AM
Quote from: nax on October 09, 2015, 05:36:49 AM
I installed 2.3.9 on  a forum that had just been upgraded to 2.0.11 all appeared to go ok but now I notice that spammer accounts are not being highlighted in red and spammers are getting through.
Make sure you remembered to turn the mod on in its settings section.

nax said the mod is already activated:

Quote from: nax on October 09, 2015, 05:36:49 AM
I installed 2.3.9 on  a forum that had just been upgraded to 2.0.11 all appeared to go ok but now I notice that spammer accounts are not being highlighted in red and spammers are getting through.

The MOD is active and it says:- Mod Stop Spammer is ON, it is up-to-date and the connection with Stop Forum Spam is perfect.

but it doesn't appear to be working.

That doesn't make any sense. If the mod is ON, updated and with good connection with Stop Forum Spam it SHOULD be working.

Is it a new install? I mean: Is this the first time you install this mod in your forum?

If you had this mod before: Was it working properly?

Can you give us a list of other mods you have installed in your forum? (maybe some of them are interacting with this one)

Try anyway to un-install the mod and install it again. Sometimes that helps.

Or, do as I do in most of my forums:

Forget this mod, set up a couple of anti-spam questions and install this other mod instead:

http://custom.simplemachines.org/mods/index.php?mod=2155
Title: Re: Stop Spammer
Post by: nax on October 09, 2015, 07:27:07 AM
Yes it is turned on, I also turned it off and on again just to be sure.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 09, 2015, 07:49:20 AM
Quote from: nax on October 09, 2015, 07:27:07 AM
Yes it is turned on, I also turned it off and on again just to be sure.

You haven't answered any of my questions:

Quote from: snoopy_virtual on October 09, 2015, 07:02:44 AM
Is it a new install? I mean: Is this the first time you install this mod in your forum?

If you had this mod before: Was it working properly?

Can you give us a list of other mods you have installed in your forum? (maybe some of them are interacting with this one)

Try anyway to un-install the mod and install it again. Sometimes that helps.

Or, do as I do in most of my forums:

Forget this mod, set up a couple of anti-spam questions and install this other mod instead:

http://custom.simplemachines.org/mods/index.php?mod=2155
Title: Re: Stop Spammer
Post by: nax on October 09, 2015, 08:35:18 AM
I have used the "Question" registration verification method but the "carbon units" still get through.  All that is installed is Stop Spammer and Save PM as HTML.  I'll try uninstalling and re-installing, it was working when the board was SMF version 1.x.x
Title: Re: Stop Spammer
Post by: nax on October 09, 2015, 08:35:51 AM
It is a new install.
Title: Re: Stop Spammer
Post by: nax on October 09, 2015, 08:41:00 AM
Unistalled and re-installed, seems to be working again.  Thanks for the tip.
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 09, 2015, 08:53:03 AM
Quote from: nax on October 09, 2015, 08:41:00 AM
Unistalled and re-installed, seems to be working again.  Thanks for the tip.

Glad to know ;)
Title: Re: Stop Spammer
Post by: Miker1029 on November 14, 2015, 07:43:44 PM
Hey,

   Is there anyway to test this mod to see/edit what the user sees when he's hit with whatever he's hit with....

As Far As I can tell it works great, but all my users show clear....SSoooo, My testing is limited....

I have noticed that a lot of External people trying to link in with things like "http://My-Site/wordpress/admin/", With No-Referer, Have VANISHED, and Alot of others too!!!   And I don't even HAVE WordPress!!!  (I get E-mails from my error handling .PHP)....

So anyway to test Without sending out 30,000 E-Mails In 1 Hour and Edit what they see (or at least see what they see)....

Thanks, Love the MOD!!!

Mike

Title: Re: Stop Spammer
Post by: snoopy_virtual on November 15, 2015, 03:00:25 AM
Hi Mike

You cannot do what you want with this mod, but you could do something similar to that with crawltrack (http://www.crawltrack.net/).

I use that program in all my sites and I love it.

It is a kind of firewall to stop hackers trying to enter your site and it also gives you a lot of statistics about the pages they try to visit and all that.

If you want to install it with your SMF forum please notice, there is a small mistake in the documentation (I told them a few times but AFAIK it's not corrected yet).

It says in the documentation that you need to add a couple of lines inside your forum index.php file.

That is correct, but if you want it to work properly, you need to add also the same couple of lines inside your SSI.php file.

Also, after installing it, if you see you have problems with any of your mods not working properly, let me know and I will tell you how to sort that as well. It is a small bug that I have also reported to them, but I am not sure if they have correct it yet or not.

Cheers
Title: Re: Stop Spammer
Post by: Miker1029 on November 15, 2015, 08:38:26 AM
Ok just downloaded ,it looks, good. Have you tried the Dashboard? (OFFTOPIC), I tend to stay away from them on the resource side...BUT...

Good timing too, I just setup my latest forum on localhost to add httpBL, This Mod, Ez-Portal3.1Beta (Responsive), and Responsive Curve Beta5, all seems to be in order, one small Log error from Ez-Portal, But It's beta...

And I CAN'T Believe how well this mod works!!!   Normally I'd wake in the morning to anywhere from 20-70 "404 Not Found" E-Mails from a bunch of BS links, Guessing just trying to "FIND" something, and you know how many I had this Morning???    "ZERO"!!  (Yes that needed to be spelled out!!!)

Thanks for the Link, I'll report back.

Mike
Title: Re: Stop Spammer
Post by: Miker1029 on November 15, 2015, 01:00:20 PM
[OFFTOPIC]

Worked Great, With NO File Edits.... Thanks for the Link.

Mike
Title: Re: Stop Spammer
Post by: AnilK on December 09, 2015, 04:10:06 PM
Hello, I translated the mod into Turkish :)

$txt['stopspammer_error'] = 'Anti SPAM veritabanı ile bağlantı sağlanamadı.<br />
Lütfen daha sonra tekrar deneyin veya Yöneticiniz ile görüşün';
$txt['stopspammer_count'] = 'Bugüne kadar engellenen Spammerlar';
$txt['stopspammer_title'] = '`Stop Forum Spam` sayfasında arat';

$txt['stopspammer_enable'] = 'Stop Spammer Eklentisini Aç/Kapat';
$txt['stopspammer_show01'] = 'Tüm Üyeler için "Daha Fazla Bilgi" Linkini Göster';
$txt['stopspammer_show01_sub'] = 'İstediğiniz zaman istediğiniz üyeyi tek bir tıklama ile kontrol edebilirsiniz';

$txt['stopspammer_faildb'] = 'Anti SPAM Veritabanıyla Bağlantı Sağlanamazsa...';
$txt['stopspammer_fail01'] = 'Hatayı Göster ve Üye Kaydını Durdur';
$txt['stopspammer_fail02'] = 'Normal Kayda İzin Ver';
$txt['stopspammer_fail03'] = 'Üyeyi Kabul Et ve sonra kontrol etmek için sarı ikon koy';
$txt['stopspammer_faildb1_sub'] = 'Hosting firmanız veritabanına uzaktan bağlantı sağlayabiliyor';
$txt['stopspammer_faildb2_sub'] = 'Hosting firmanız veritabanına bağlantı sağlayamıyor, daha sonra tekrar deneyin<br />
Eğer sorun devam ederse Destek Konusuna bakın ve şunu aratın ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues</b></span></a>';

$txt['stopspammer_leyd01'] = 'Spammer Değil: Veritabanında yok. Ama kontrol edebilirsin';
$txt['stopspammer_leyd02'] = 'Şüpheli: Bu üye kontrol edilemedi. Şimdi kontol et';
$txt['stopspammer_leyd03'] = 'Spammer: Bu spammerın diğer faliyetlerine bak';

$txt['stopspammer_profilecheck'] = 'Üyeyi kontrol et';
$txt['stopspammer_limitexceded'] = 'Kontrol sınırını aştınız (günlük 5000 API sorgusu).<br />
Yeniden kontrol etmek için yarına kadar beklemelisiniz.';

$txt['in_stop_forum_spam'] = 'Stop Forum Spam Websitesi\'nde:';
$txt['spammers_checks'] = 'Bu Üyeleri Kontrol Et';
$txt['spammers_report'] = 'Bu Üyeleri Raporla';
$txt['confirm_spammers_checks'] = 'Seçili üyeleri kontrol etmek istediğinize emin misiniz?';
$txt['confirm_spammers_report'] = 'Seçili üyeleri raporlamak istediğinize emin misiniz?\n\n
Bu raporu gönderirseniz, rapordaki kişiler tüm dünyada spammer olarak etiketlenecek \n\n
ve tüm dünyada SFS veritabanına bağlı hiçbir forumu kullanamayacaklardır.\n\n
Bu işlemi yapmadan önce bu kişilerin spammer olduğuna emin olun ve bir hata yaptıysanız\n
derhal bu modun yazarına SFS veritabanındaki hatayı düzeltmesi için bilgilendirme yapın.';

$txt['stopspammer_api_key'] = 'API anahtarınız';

$txt['stopspammer_check_name'] = 'Kullanıcı adlarını kontrol et';
$txt['stopspammer_check_mail'] = 'Eposta adreslerini kontrol et';
$txt['stopspammer_check_ip'] = 'IP adreslerini kontrol et';
$txt['stopspammer_check_sub2'] = 'Varsayılan olarak, her üye kontrol edişinizde Stop Spammer
modu o üyeye ait kullanıcı adı, eposta ve IP adresini kontrol edecektir. Kullanıcı adları kaynaklı
çok fazla yanlış alarm alıyorsanız o ayarı kapatabilirsiniz. Eğer ne yaptığınızı bilmiyorsanız
diğer 2 ayarı (eposta ve ip kontrolü) kapatmanızı önermeyiz.';

// Changed from 2.3.8 to 2.3.9
$txt['stopspammer_check_sub1'] = 'Eğer MOD Stop Spammer aktifse, her üye kontrol edişimizde:';
$txt['stopspammer_api_key_sub'] = 'Kendinize ait bir API anahtarı kullanmak için öncelikle
<a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> adresinden
üye olmalı ve anahtar edinmelisiniz. Anahtarınız yoksa, bu mod ile spammerları raporlayamazsınız.<br /><br />
Eğer ayarlamalar konusunda veya Stop Spammer modu ile ilgili yardıma ihtiyacınız varsa, destek forumları
dışında, çevrimiçi yardım isteğinde bulunabilirsiniz. Eğer httpBL modunu yüklediyseniz
Yönetim => httpBL Modu => Yardım sayfasından nasıl çevrimiçi yardım alabileceğinizi görebilirsiniz.
Eğer mod yüklü değilse <a href="http://www.snoopyvirtualstudio.com/contact.php?language=english" target="_blank">buradan daha fazla bilgi alabilirsiniz</a>.';

// New in version 2.3.9
$txt['stopspammer_settings'] = 'Stop Spammer modu seçenekleri';
$txt['stopspammer_enable_sub'] = 'Bu onay kutusu işaretliyse, mod AKTİFTİR. İşaretli değilse PASİFTİR.';
$txt['stopspammer_error_no_api_key'] = 'www.stopforumspam.com sitesinden API anahtarı almadan spammer raporlayamazsınız.
<br /><br />Önce siteye kayıt olmanız gerek, ardından API anahtarı istemeli ve forumunuzda aşağıdaki kısmı açmalısınız:
<br />Yönetim => Üyeler => Üye Olma => Seçenekler<br />Aşağıdaki Stop Spammer seçenekleri bölümüne,
API anahtarınızı yazın ve kaydet tuşuna basın.';
$txt['stopspammer_no_connect_1'] = 'Stop Spammer modu AKTİF fakat Stop Forum Spam bağlantısı yok.
Lütfen daha sonra tekrar deneyin.';
$txt['stopspammer_no_connect_2'] = 'Sorun devam ederse
<a href="http://www.snoopyvirtualstudio.com/foro/index.php?board=31.0" target="_blank">resmi destek forumundan</a> yardım talep edin.';
$txt['stopspammer_new_version_1'] = 'Mod Stop Spammer AKTİF fakat güncel değil.';
$txt['stopspammer_new_version_2'] = 'Bu modun yeni bir sürümü mevcut. Sizdeki sürüm: ';
$txt['stopspammer_new_version_3'] = '<a href="http://www.snoopyvirtualstudio.com/foro/index.php?board=31.0" target="_blank">
Mümkün olduğu an buraya girip</a> şu sürüme güncelleyin: ';
$txt['stopspammer_all_ok'] = 'Stop Spammer modu AKTİF, güncel ve Stop Forum Spam bağlantısı mükemmel.';
$txt['stopspammer_is_off'] = 'Stop Spammer modu PASİF.';
Title: Re: Stop Spammer
Post by: snoopy_virtual on December 09, 2015, 04:15:53 PM
Quote from: AnilK on December 09, 2015, 04:10:06 PM
Hello, I translated the mod into Turkish :)

Thanks mate ;)
Title: Re: Stop Spammer
Post by: bwaynef on February 16, 2016, 08:32:58 AM
I have 93k+ users awaiting approval.  The mod has worked well keeping spammers off the forum, but I'd love to be able to reject these users in bulk.  Is there a more efficient way of doing this than doing it a page at a time?  Even phpMyAdmin?

smf2.0.11 // stopspammer 2.3.9
Title: Re: Stop Spammer
Post by: Kindred on February 16, 2016, 09:48:21 AM
If you have that many pending users flagged as spam, then you really need to improve your OTHER anti-spammer technology to prevent them from even GETTING to the "pending user queue"


however, to answer your question... no, there is not really any way to deal with users in bulk other than by page (which is usually 50 at a time -- which is almost always enough....  except in certai edge cases like yours.)
Title: Re: Stop Spammer
Post by: bwaynef on February 16, 2016, 11:05:52 AM
I added a question that registrants have to answer and that seems to have taken care of the issue of so many registering.  Now I'm just trying to deal with what's already occurred.
Title: Re: Stop Spammer
Post by: Jade Elizabeth on February 16, 2016, 11:27:06 AM
Perhaps try recaptcha, and also add Http:BL if it's not added. You wont need questions with recaptcha.

Also you may want to be sure Stop Spammer is checking IPs and emails (not usernames) to catch everyone out :).
Title: Re: Stop Spammer
Post by: Kindred on February 16, 2016, 01:11:09 PM
meh... I prefer questions to recaptcha, myself...

However - 1 question won't work for long. You should have 20-30 questions in your "bank" and ask 2-3 for a registration attempt
Title: Re: Stop Spammer
Post by: Jade Elizabeth on February 16, 2016, 08:58:36 PM
Recaptcha is one click.

https://www.youtube.com/watch?v=jwslDn3ImM0
Title: Re: Stop Spammer
Post by: Kindred on February 16, 2016, 09:34:57 PM
I know what recaptcha is. I still prefer questions.
Title: Re: Stop Spammer
Post by: bwaynef on February 17, 2016, 09:39:31 AM
I changed the "Members per page in member list" setting in admin > features & options > layout.  It wouldn't take 1000, but would take 999.  I got some timeouts at 999, so I bumped it to 950 and just did it manually.  (Also, for some reason, setting it above 200 or so changes the way the forum presents it and I lost the checkbox column until I edited the css to make it wider.)

Its done now.  0 users waiting for activation.  I've had a couple of new members since so I'm guessing things are working.
Title: Re: Stop Spammer
Post by: butchs on February 17, 2016, 08:22:47 PM
Recaptcha from google.  I bet they track everything!
Title: Re: Stop Spammer
Post by: szinski on March 22, 2016, 01:41:52 PM
Question:

I tested Stop Spammer by using an e-mail address from stopforumspam. As expected, that account is tagged "Awaiting Approval".

I did that last night, and I saw "6 Spammers blocked up until today" under that entry.

Today, I checked again, still only that one account account listed as "Awaiting Approval", yet I see "23 spammers blocked up until today".

23?

I thought *all* suspected spammers move to the "Awaiting Approval" bucket?
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 22, 2016, 09:14:24 PM
Sometimes the number showed there is not the right one.

Maybe the number "6" you saw the first time was the one in the cache but the real one was "22" and it was updated after you visited the page.

Sometimes, if you want to see the real number you need to do the "Recount all forum totals and statistics" task in the "Maintenance" zone inside the administration.

It's a known bug of this mod.
Title: Re: Stop Spammer
Post by: szinski on March 22, 2016, 09:18:37 PM
I think I have it figured out. I checked the source code and it increments the counter for everyone who is checked against the stopforumspam database. So it's a wording issue. Instead of "spammers blocked" it should read "people scanned".
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 23, 2016, 07:11:36 AM
Actually it should be a mix between the two of them, because if you scan somebody against the SFS DB and it's not there, it doesn't increment the counter.

Something like "People scanned and found guilty" or similar.  ;)
Title: Re: Stop Spammer
Post by: szinski on March 24, 2016, 10:04:16 PM
Quote from: snoopy_virtual on March 23, 2016, 07:11:36 AM
Actually it should be a mix between the two of them, because if you scan somebody against the SFS DB and it's not there, it doesn't increment the counter.

Something like "People scanned and found guilty" or similar.  ;)

I thought the behavior is to move people found in the SFS DB to the "Awaiting Approval" bucket. In my case, it seems to be blocking them from registering (I installed the mod a few days ago, I'm showing 446 blocked spammers yet none show up under "Awaiting Approval".
Title: Re: Stop Spammer
Post by: DarkAngel612 on March 25, 2016, 12:04:48 AM
well mine says 3572 Spammers blocked up until today and truthfully when it is found in the sfs database it moves them to the approval area. Where I then go to make sure that the ip is actually found (or name or email) and take it from there to allow or not.

I figured that the amount showing as blocked was an inclusive amount from sfs about how many have been blocked by all users of this mod as a total not as my site only since I do not have that many members nor registrants.

I could be wrong....LOL
Title: Re: Stop Spammer
Post by: snoopy_virtual on March 26, 2016, 10:27:46 AM
Quote from: szinski on March 24, 2016, 10:04:16 PM
Quote from: snoopy_virtual on March 23, 2016, 07:11:36 AM
Actually it should be a mix between the two of them, because if you scan somebody against the SFS DB and it's not there, it doesn't increment the counter.

Something like "People scanned and found guilty" or similar.  ;)

I thought the behavior is to move people found in the SFS DB to the "Awaiting Approval" bucket. In my case, it seems to be blocking them from registering (I installed the mod a few days ago, I'm showing 446 blocked spammers yet none show up under "Awaiting Approval".

That's the way this mod is done. They should all go to the "Awaiting Approval" list.

If it's not working like that for you, may be it was not installed properly or it has a conflict with any other mod you may have installed.

Try to un-install it and re-install it again.

Or give me a list of the mods you have and I will tell you if there is a conflict with one of them.

Anyway I haven't been using this mod in my forums for a long time now. I use mod httpBL instead, together with just one anti-spam question and I am better protected against spammers.
Title: Re: Stop Spammer
Post by: bigjoe11a on April 08, 2016, 10:15:25 AM
Does any one know if a version for SMF 2.0.11 will be available. This version of 2.3.9 doesn't seem to work with 2.0.11.
Title: Re: Stop Spammer
Post by: Kindred on April 08, 2016, 10:43:17 AM
works just fine for me....
Title: Re: Stop Spammer
Post by: DarkAngel612 on April 08, 2016, 11:09:02 AM
I have used it through all SMF 2 versions and it has worked fine, except the time when not everything uploaded (internet-server fault).

What other mods do you have installed?

Did you have any messages while installing?
Title: Re: Stop Spammer
Post by: bigjoe11a on April 08, 2016, 11:51:50 AM
Yes, I do, Here's the mods I have installed
   
   SMF 2.0.5 Update    1.0
   Simple Audio Video Embedder    2.0.
   TinyPortal    1.107    
   Guest Registration Notification    1.5.1    
   SMF 2.0.4 Update    1.0    
   SMF 2.0.8 Update    1.0    
   Custom Action Mod    3.2    
   SMF 1.1.21 / 2.0.10 Update    1.0    
   Country Flags    2.0    
   Contact Page    3.0    
   Smart Pagination    0.8.2
   SMF 2.0.7 Update    1.0    
   SMF Project Tools    0.503    
   SMF 2.0.11 Update    1.0    
   TinyPortal    1.105    
   SMF Social Network LITE    2.0rc3
   SMF Gallery Lite    3.1.1a    
   Users mass actions    0.1.1    
   ENotify    2.0.2    
   httpBL    2.5.1    
   SMFShop    3.1.8    
   Stop Spammer    2.3.9    Not Installed
   SMF 2.0.3 Update    1.0    
   Custom Form Mod    1.7    
   SMF 1.1.20 / 2.0.9 Update    1.0    
   Board Notification Mod    1.2.1    
   AutoAward    1.0    
   Topic Solved    1.1.1    
   SMF 1.1.19 / 2.0.6 Update    1.0    
   Custom Permissions    1.1.0    
   Enhanced About Page    0.02    
   Page Management    1.4

and here's the errors I get. All that's needed is some page edits. I know I just can't do them any more like I could 10 years ago.

https://www.flickr.com/photos/126613374@N08/25704801794/in/dateposted-public/


Title: Re: Stop Spammer
Post by: chrishicks on April 08, 2016, 12:10:40 PM
BigJoe,

I just went through most of your installed mods(not all of them mind you because a few I didn't see on the mod site) and the Users Mass Actions mod does a good amount of changes to managemembers.php which is the file you're having trouble with. If it was me I'd start looking at that first.

http://custom.simplemachines.org/mods/index.php?mod=3104

Title: Re: Stop Spammer
Post by: bigjoe11a on April 08, 2016, 11:24:22 PM
Quote from: chrishicks on April 08, 2016, 12:10:40 PM
BigJoe,

I just went through most of your installed mods(not all of them mind you because a few I didn't see on the mod site) and the Users Mass Actions mod does a good amount of changes to managemembers.php which is the file you're having trouble with. If it was me I'd start looking at that first.

http://custom.simplemachines.org/mods/index.php?mod=3104



Thanks for the info. I checked the link and it says that it doesn't even support my SMF version. Just 2.0.2 and lower. So I'm confused about that unless I downloaded it from some where else. That I don't know.

The reason why I have that mod is that it gives me more options when editing users accounts. So I don't know what to do about the problem with "Stop Spam". If you get any ideas let me know.
Title: Re: Stop Spammer
Post by: snoopy_virtual on April 09, 2016, 07:31:36 AM
Quote from: bigjoe11a on April 08, 2016, 11:24:22 PM
Thanks for the info. I checked the link and it says that it doesn't even support my SMF version. Just 2.0.2 and lower. So I'm confused about that unless I downloaded it from some where else. That I don't know.

The reason why I have that mod is that it gives me more options when editing users accounts. So I don't know what to do about the problem with "Stop Spam". If you get any ideas let me know.

Quote from: snoopy_virtual on March 26, 2016, 10:27:46 AM
I haven't been using this mod in my forums for a long time now. I use mod httpBL instead, together with just one anti-spam question and I am better protected against spammers.

You can find mod httpBL here:

http://custom.simplemachines.org/mods/?mod=2155
Title: Re: Stop Spammer
Post by: Kindred on April 09, 2016, 09:48:22 AM
Quote from: bigjoe11a on April 08, 2016, 11:24:22 PM
So I don't know what to do about the problem with "Stop Spam". If you get any ideas let me know.

http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Stop Spammer
Post by: bigjoe11a on April 09, 2016, 12:52:07 PM
Quote from: Kindred on April 09, 2016, 09:48:22 AM
Quote from: bigjoe11a on April 08, 2016, 11:24:22 PM
So I don't know what to do about the problem with "Stop Spam". If you get any ideas let me know.

http://wiki.simplemachines.org/smf/Error_in_mod_installation

I guess I forgot to say like I did before. Sorry editing the pages is some thing I just didn't want to do. Last time I tried to do that I got so screwed up. I had the page all screwed up. I had to have one of the techs here fix it for me and I don't like bothering them. and be sides. This mod is not needed. Just the httpBL is needed.
Title: Re: Stop Spammer
Post by: bigjoe11a on April 09, 2016, 12:53:49 PM
Quote from: snoopy_virtual on April 09, 2016, 07:31:36 AM
Quote from: bigjoe11a on April 08, 2016, 11:24:22 PM
Thanks for the info. I checked the link and it says that it doesn't even support my SMF version. Just 2.0.2 and lower. So I'm confused about that unless I downloaded it from some where else. That I don't know.

The reason why I have that mod is that it gives me more options when editing users accounts. So I don't know what to do about the problem with "Stop Spam". If you get any ideas let me know.

Quote from: snoopy_virtual on March 26, 2016, 10:27:46 AM
I haven't been using this mod in my forums for a long time now. I use mod httpBL instead, together with just one anti-spam question and I am better protected against spammers.

You can find mod httpBL here:

http://custom.simplemachines.org/mods/?mod=2155

Snoo[?], Yes I all ready know now to do that. Like I said above last time I screwed the page up and had to have some one fix it. So I don't really want to do that. The "stop spam" is not needed just the httpBL mod is what I needed.

Title: Re: Stop Spammer
Post by: dsanchez on August 13, 2016, 07:13:14 AM
Why this was not labeled as spam despite being in the stop forum spam db?

Title: Re: Stop Spammer
Post by: Shambles on August 13, 2016, 07:43:56 AM
Could be that your connection to the SFS database wasn't alive when the registration was attempted.

Check your settings in Admin > Members > Registration > Settings > If the Connection Fail with Anti SPAM DB...

Do you have Tapatalk installed?


PS, your two screenshots don't match...
Title: Re: Stop Spammer
Post by: Nodaz on August 24, 2016, 08:39:03 PM
Recently install this MOD.
How can i check the status of ALL currently registered members?
i have hundreds of pages of members and as of now only see a way to check them one page(30 members on each page) at a time.
Title: Re: Stop Spammer
Post by: snoopy_virtual on August 25, 2016, 06:00:26 AM
Quote from: Nodaz on August 24, 2016, 08:39:03 PM
Recently install this MOD.
How can i check the status of ALL currently registered members?
i have hundreds of pages of members and as of now only see a way to check them one page(30 members on each page) at a time.

The maximum amount of users you can check at once is around 100.

It depends on how powerful is your server, but I wouldn't recommend you to check more than 100 at once.

You should go to Admin => Configuration => Features and Options => Layout => Members per page in member list

Change that number to 100.

Now go back to you member's list and check one page at a time.

If you get problems, set a lower number.

When you are done, change the number back to 30.
Title: Re: Stop Spammer
Post by: Nodaz on August 30, 2016, 06:41:44 AM
Thanks for that tip, made checking a bit faster.
Title: Re: Stop Spammer
Post by: Biology Forums on September 19, 2016, 12:24:22 PM
Is this mod still effective? ::)
Title: Re: Stop Spammer
Post by: DarkAngel612 on September 19, 2016, 12:52:49 PM
I used it and it has cut the spammers down considerabley

I also found if you are having problems with getting errors then try installing it first before any other mod
Title: Re: Stop Spammer
Post by: Biology Forums on September 21, 2016, 12:39:44 AM
Thanks, I'm also going to give it a go!
Title: Re: Stop Spammer
Post by: edi1967 on May 01, 2017, 03:09:09 PM
Seem very nice mod i installed it without any problem in smf 2.0.13 but always i have this error:


QuoteMod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.
    If the problem persists ask for help in the official support forum.

some solution ?

thxnk yo
Title: Re: Stop Spammer
Post by: Kindred on May 01, 2017, 10:55:13 PM
You have to get an API from SFS
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 02, 2017, 05:49:57 AM
Quote from: edi1967 on May 01, 2017, 03:09:09 PM
Seem very nice mod i installed it without any problem in smf 2.0.13 but always i have this error:


QuoteMod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.
    If the problem persists ask for help in the official support forum.

some solution ?

thxnk yo

Quote from: Kindred on May 01, 2017, 10:55:13 PM
You have to get an API from SFS

Not really. StopForumSpam works different than ProjectHoneyPot

You only need to have an ID from SFS if you want to report new spammers. If you only want to connect to SFS and read the data from their servers you don't need that. It's open to the public.

The connection with SFS server should work always.

I remember there was an issue with some kind of servers, but we wrote this mod too many years ago and cannot remember exactly what it was. (Something to do with curl support or something like that I think).

I will need to read this topic again to find out, because I remember we talked about it a few times.

I will report back when I find it.
Title: Re: Stop Spammer
Post by: edi1967 on May 02, 2017, 06:03:15 AM
Quote from: snoopy_virtual on May 02, 2017, 05:49:57 AM
Quote from: edi1967 on May 01, 2017, 03:09:09 PM
Seem very nice mod i installed it without any problem in smf 2.0.13 but always i have this error:


QuoteMod Stop Spammer is ON but there is no connection just now with Stop Forum Spam. Please try later.
    If the problem persists ask for help in the official support forum.

some solution ?

thxnk yo


I will need to read this topic again to find out, because I remember we talked about it a few times.

I will report back when I find it.

Thank you so much
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 02, 2017, 06:25:34 AM
Well. That was quick, because the answer is in page 2

If I had needed to read all 98 pages it would have been days lol

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

The problem is not with curl but with fsockopen.

@edi1967 ask the company where you have your forum if the PHP function fsockopen is enabled in their servers or try installing the mod that M-DVD suggests in that post.
Title: Re: Stop Spammer
Post by: MULITRI on May 06, 2017, 08:33:38 PM
Great Job with this Mod snoopy_virtual, it works great.

In the first days online, my forum started to get those spammers coming (seems is being well indexed hehe) and had to ban 4 spammers registering and posting in my forum.

In 3 days after install your Mod, it has stopped 29 spammers  :o

I'm thankful for this Mod for we all can continue quietly with our hobby.

What i cannot find is where to edit the template of StopSpammer in the User page in Admin Panel, it doesn't fits at all with the layout lol

(see attachment)

I will apreciate if you can tell me the file where that part of code is placed. Thank you... and again, Great Job
Title: Re: Stop Spammer
Post by: snoopy_virtual on May 11, 2017, 09:20:27 PM
Quote from: MULITRI on May 06, 2017, 08:33:38 PM
What i cannot find is where to edit the template of StopSpammer in the User page in Admin Panel, it doesn't fits at all with the layout lol

(see attachment)

I will apreciate if you can tell me the file where that part of code is placed. Thank you... and again, Great Job

Those 3 DIVs you see there are done inside the file ManageMembers.php that you will find inside your Sources folder.

To find them you can just search for:


$modSettings['stopspammer_enable']


This variable is at the beginning of every one of those DIVs.

The same code appears twice inside that file, so you will find 6 times that variable.

Anyway it's not a good idea to touch the Sources files, so maybe it would be better if you define the class leyend_stopspammer inside your index.css file and play with it. That class is not defined in the CSS files, so it has no default value.

The <div class="leyend_stopspammer"> is the middle of those 3 DIVs (the one with the 3 icons) and it looks like in your forum there is a problem with that DIV.

The background is blue only at the top of the DIV but it is white below that and the text is white. That's why you can only see the text of the first line but not the other 2.

Maybe it would be enough if you put inside your index.css file something like this:


div.leyend_stopspammer {
background: blue;
color: white;
}


Or any colors you like.  8)

BTW, it looks like your forum is in Spanish.

If you didn't understand something I said, PM me and I would explain it in Spanish. It's a lot easier for me.

I am from Madrid  ;D
Title: Re: Stop Spammer
Post by: MULITRI on May 15, 2017, 06:10:12 PM
Well, no more to say, i'm from Madrid as well jaja

But i have not a problem with english, and anything we talk here it could be useful for other members.

I was not planing to touch the source code, if there is a class i can touch and play, it will be good, what i want is to get the look of the stop-spammer module the same as the rest of the section above.

I will look where you tell me, at least i have a clue now, is what i needed to try it.

Thank you very much and... cuando quieras tenemos una charla en Español jeje (when you wish we can get a talk in spanish hehe)
Title: Re: Stop Spammer
Post by: Tansy on June 23, 2017, 02:07:28 PM
Afternoon,

I've been through all 98 pages here and I don't believe I missed the answer to this question but if I have, I apologize.

I have had Stop Spammer running on a SMF 1.x.x forum for years.  This year because of a php upgrade on my host's system, I needed to upgrade to SMF 2.x.x which I had planned to do eventually but had to do quickly in this case.  No problem with the upgrade, everything went smoothly, doesn't appear I lost anything or not anything I wasn't expecting to lose.  I am working with the default theme, checked all my mods for compatibility, reloaded those that are compatible, didn't load the ones that weren't or were iffy.  Reloaded Stop Spammer and seemingly no problems and it appears on my new forum pretty much just like it did on my old forum - the differences are pretty much the same as other cosmetic differences, so no worries there.  My problem is that under Registration - Settings I get this messages:

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

and

If the Connection Fail with Anti SPAM DB...
Your host couldn't make connection with the DB. Try again later.
If this error continues see Support Topic and search Known Issues


So far as I know, I shouldn't have problems accessing Stop Forum Spam - I haven't in the past and I have checked and I don't have problems access their website.

I also clicked on the "search Known Issues" link and read all about fsockopen and contacted my hosting company and they confirmed that fsockopen is enabled so from what I understand using cURL fetch_web_data is unnecessary (please correct me if I'm reading this incorrectly).

So here I am, seemingly at the end of what I know or can find out.  My hosting company has provided me with a list of configurations for PHP 5.6.23 as well as a couple of other links of specs and while it all looks lovely, I'm afraid I'm in the deep end of the pool and while I can tread water and answer questions, that's about as good as it gets.

In the meantime, I'm posting my question instead of the official support forum because my Spanish is worse than my French and my French is pretty terrible. 

Help?

thank you, merci, gracias



Title: Re: Stop Spammer
Post by: snoopy_virtual on June 26, 2017, 07:21:21 PM
I don't understand what other "official forum" you are talking about. This is the official thread for mod StopSpammer.

I have another couple of Spanish forums where I try to help people who only speak that language but not English because I can speak both, but the official one is this one.

================

I have been reading carefully all your post and you have done already everything I could think of, so just now I haven't got any more suggestions on how to solve your problem.

The only thing I am not completely sure is if that connection (with all the problems with fsockopen, cURL and the function fetch_web_data) is compatible with PHP 5.6

I am not even sure if SMF 2.x is compatible with PHP 5.6 (in all my servers I always use PHP 5.5).

I will try to think a little more on the subject and I will come back to you if I find out anything else.
Title: Re: Stop Spammer
Post by: Tansy on June 28, 2017, 10:55:03 AM
Quote from: snoopy_virtual on June 26, 2017, 07:21:21 PM
I will try to think a little more on the subject and I will come back to you if I find out anything else.

Thank you for getting back to me - greatly appreciate any help!

At the moment it isn't an insurmountable problem, not many folks trying to register and I can manually check IP/email addresses on the StopForumSpam website.  My forum is tied to an environmental project that is very active for half the year and much less the second half at which point I usually shut registrations down anyway.  So whatever time you need, we/I am not in dire need for a solution, just nice to have one going forward as this mod has been a great help over the last few years.

And apologies for the confusion over the identity of the "official forum", the forum I visited initially was the link from the mod one of your Spanish forums which had very good English boards. Then I found this board and as I am a member her, opted to post my question here rather than on the English board on your Spanish forum.

Looking forward to any suggestions you might have ... whenever you might have them.
Tansy
Title: Re: Stop Spammer
Post by: landyvlad on September 02, 2017, 11:50:59 PM
I've been seeing a MASSIVE increase in Spammers over the lest few weeks.

It's only a small forum www.gsx1400owners.org ,  running SMF 2.0.13
I am running this Stop Spammer mod as well as httpBL  (I'll ask there as well). Current versions of course.

Where we previously might have had to manually reject one or two a week, we are now manually rejecting at least 10 (often many more) each day. A few are even getting through to the forum itself (not being intercepted at all)

I get that they are largely being stopped and popped into the moderation queue BUT these are usually flagged red (spammers) against both the IP AND email address.  I'd have thought it should automatically boot those, rather than leave them for moderation? 

If you have any advice about how I should be addressing this issue, I'd be most appreciative.


(oh and one secondary question - I'm considering updating, I assume no problems between this mod and SMF2.0.14? )
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 04, 2017, 11:41:59 PM
As Kindred told you in the httpBL thread, just a few good questions and answers should sort the problem.

And about SMF 2.0.14, there are no problems with httpBL or StopSpammer mods as far as I know.
Title: Re: Stop Spammer
Post by: landyvlad on September 06, 2017, 09:36:52 AM
Quote from: snoopy_virtual on September 04, 2017, 11:41:59 PM
As Kindred told you in the httpBL thread, just a few good questions and answers should sort the problem.

And about SMF 2.0.14, there are no problems with httpBL or StopSpammer mods as far as I know.

Thank you :)
Title: Re: Stop Spammer
Post by: spiros on September 28, 2017, 01:19:16 PM
I get on the top of the forum the notice "There are x members awaiting approval." all the time, and it is mostly spammers, is there any way not to have that notice there? Or even better, to have spammers rejected by default?
Title: Re: Stop Spammer
Post by: snoopy_virtual on September 29, 2017, 04:59:15 AM
Quote from: spiros on September 28, 2017, 01:19:16 PM
I get on the top of the forum the notice "There are x members awaiting approval." all the time, and it is mostly spammers, is there any way not to have that notice there? Or even better, to have spammers rejected by default?

You cannot reject all of them by default because this mod has too many false positives.

The solution I have in all my forums is to have a couple of good questions and answers in the registration form.

And also to have installed mod httpBL together with mod StopSpammer.
Title: Re: Stop Spammer
Post by: snadge on October 04, 2017, 12:33:45 PM
can anyone help?

iam getting spammers leaking through and I have both stop spammer and SFS and both report issues with connectivity>?  my API keys work as i just manually entered the offender

at a total loss with this one>?

thanks
Title: Re: Stop Spammer
Post by: snoopy_virtual on October 10, 2017, 09:54:06 PM
When did you installed mod StopSpammer?

Did you have the same problem since the beginning or has it just started recently?

Do you have some security questions at registration?

Do you have installed mod httpBL as well?
Title: Re: Stop Spammer
Post by: Vincent Volmer on November 20, 2017, 01:56:55 AM
For SMF 1.0.15 I need to edit (/Sources/ManageMembers.php):

if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));


Into:
if ($context['sub_action'] == 'query' && empty($_POST))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}


But on this line I have this:
   if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));


I think this is an edit from Stop Spammer.

How/what do I need to change? Could you please help with this?

Thanks!
Vincent Volmer
Title: Re: Stop Spammer
Post by: lurkalot on November 20, 2017, 04:33:44 AM
Quote from: Vincent Volmer on November 20, 2017, 01:56:55 AM
For SMF 1.0.15 I need to edit (/Sources/ManageMembers.php):

I think this is an edit from Stop Spammer.

How/what do I need to change? Could you please help with this?

Thanks!
Vincent Volmer

Ditto, I'm getting the same test failed on all my sites which are running Stop Spammer.
Title: Re: Stop Spammer
Post by: Kindred on November 20, 2017, 09:41:33 AM
untested, but seems logical



if ($context['sub_action'] == 'query' && empty($_POST)) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}
Title: Re: Stop Spammer
Post by: Pause on November 20, 2017, 03:34:23 PM
Quote from: Vincent Volmer on November 20, 2017, 01:56:55 AM
For SMF 1.0.15 I need to edit (/Sources/ManageMembers.php):

You mean 2.0.15.

Quote from: Kindred on November 20, 2017, 09:41:33 AM
untested, but seems logical



if ($context['sub_action'] == 'query' && empty($_POST)) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}


Almost, but there are some misplaced brackets that appear to stop that from working properly. Instead, the following appears to be what is needed:

if ($context['sub_action'] == 'query' && empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete'])))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}
Title: Re: Stop Spammer
Post by: Vincent Volmer on November 20, 2017, 04:15:05 PM
Quote from: Pause on November 20, 2017, 03:34:23 PM
You mean 2.0.15.

Stupid me. Sorry about that... Yes you're right!

Thanks for your help. I'll try tomorrow!
Title: Re: Stop Spammer
Post by: Deaks on November 20, 2017, 05:45:52 PM
perfect just came on to see if someone had asked this :D
Title: Re: Stop Spammer
Post by: HDB on November 20, 2017, 06:38:10 PM
I have the same issue as mentioned above with the install of the 2.0.15 patch using Stop Spammer on my forum.

I tested the Stop Spammer uninstall but didn't actually "do" the uninstall of Stop Spammer.  It looks like it would cleanly perform the uninstall. I was thinking that 2.0.15 would possibly install if I removed Stop Spammer. But I love what this mod does so much that I would hate to not be able to reinstall it after getting 2.0.15 to install.

I will wait and see what is said.
Title: Re: Stop Spammer
Post by: BeautifulBoy on November 21, 2017, 12:01:18 AM
Quote from: Pause on November 20, 2017, 03:34:23 PM

Almost, but there are some misplaced brackets that appear to stop that from working properly. Instead, the following appears to be what is needed:

if ($context['sub_action'] == 'query' && empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete'])))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}


Thanks "Pause"! This edit works flawlessly... :-)

For others using this manual edit: Don't forget to edit (or check) the  required two other 2.0.15-edits in the same ManageMembers.php-file as well...
Title: Re: Stop Spammer
Post by: Russell G. on November 21, 2017, 11:03:14 AM
Quote from: Pause on November 20, 2017, 03:34:23 PM

Almost, but there are some misplaced brackets that appear to stop that from working properly. Instead, the following appears to be what is needed:

if ($context['sub_action'] == 'query' && empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete'])))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}


Thanks for this, but I think there needs to be one more set of parenthesis in the first line. The code above is basically "if(a && b || c)" but it should be "if(a && (b || c))" since PHP does && operations first. Otherwise both a and b could be false but the code above would still execute if c is true. Here's a slightly modified version:

if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}


Thanks,
Russell
Title: Re: Stop Spammer
Post by: spiros on November 21, 2017, 11:09:20 AM
Can someone confirm which is the right version, I am a bit confused :)
Title: Re: Stop Spammer
Post by: Si6776 on November 21, 2017, 03:49:51 PM
Is it just as easy to uninstall the Stop Spammer mod, then reinstall it after applying the patch?  Or would that not work?
Title: Re: Stop Spammer
Post by: Si6776 on November 21, 2017, 05:46:35 PM
I've just uninstalled the Stop Spammer mod, and the 2.0.15 patch has now successfully installed, but I've run into another problem.  In my Admin panel, Members > Registration > Settings is now just a blank page.  Everything else seems to still be there.  I wanted to change the setting to Admin Approval while the Stop Spammer mod was uninstalled, but now I can't do that, so in a bit of a pickle.  I have backups of all files, but I don't know which one to restore, if indeed that would fix the problem.  Can anyone help, please?
Title: Re: Stop Spammer
Post by: Steve on November 22, 2017, 07:43:03 AM
Did you reinstall this mod?
Title: Re: Stop Spammer
Post by: Si6776 on November 22, 2017, 11:10:06 AM
No, I didn't.

Someone far more competent than myself has rescued the situation.  Apparently, for some reason, the Stop Spammer mod didn't uninstall cleanly, and left some debris in ManageRegistration.php, which was causing the issue.  That debris has now been removed and I have my Registration Settings page back.  :)
Title: Re: Stop Spammer
Post by: lurkalot on November 22, 2017, 12:20:06 PM
Quote from: spiros on November 21, 2017, 11:09:20 AM
Can someone confirm which is the right version, I am a bit confused :)

I'd also like to know what of the suggested fixes we are supposed to use.  Thanks.
Title: Re: Stop Spammer
Post by: lesmond on November 22, 2017, 01:05:12 PM
this is the edit you need to find and replace for SMF 2.0.15 ./Sources/ManageMembers.php

Code (find) Select
if ($context['sub_action'] == 'query' && empty($_POST))

Code (replace) Select
if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

Tested on fresh SMF 2.0.15 install, no errors so far.
Title: Re: Stop Spammer
Post by: kitz on November 22, 2017, 01:14:14 PM
There appears to be confusion in this thread on how best to proceed.   

Am I correct in assuming that
- Manual update to ManageMembers.php is required...  and if so how will this affect any future SMF Updates.

It's still not clear if you are meant to uninstall Stop Spammer to proceed with the SMF patch released this week.  :(

----
Atm my forum is stuck waiting to be able to update to SMF 2.0.15 and although I have been watching this thread, it is confusing on how we are supposed to proceed next.

Would it be possible to release an updated version of StopSpammer which will fix everything and let us proceed with the SMF update?
Title: Re: Stop Spammer
Post by: djkimmel on November 22, 2017, 01:44:14 PM
Hopefully, the mod author will clarify and/or fix soon.

Here's what I did for now hoping that it works correctly for both the mod and the new version of SMF 2.0.15 changes.

Uninstall Stop Spammer first. Then I updated to SMF 2.0.15.

Then I reinstalled Stop Spammer even though the one ManageMembers.php file error was noted.

Then I edited the updated ManageMembers.php manually for the final change as suggested by lesmond and Russell G.

Code (find) Select
if ($context['sub_action'] == 'query' && empty($_POST))

Code (replace) Select
if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

This version seems to match what the Stop Spammer edit would be if you just remove the "&& !empty($_REQUEST['params'])" part that is the difference between the original Stop Spammer and SMF 2.0.14 version.
Title: Re: Stop Spammer
Post by: Arantor on November 22, 2017, 02:11:04 PM
The mod author hasn't been here in 7 years.
Title: Re: Stop Spammer
Post by: Kindred on November 22, 2017, 08:03:18 PM
I did the opposite...  I just edited the line for 2.0.15 around the mod edit that was already there...

Either way works and keeps both the system and the mod working just fine
Title: Re: Stop Spammer
Post by: butchs on November 23, 2017, 08:37:14 AM
Me too.  I did something like this in the install2 xml:
      <operation>
         <search position="replace"><![CDATA[if ($context['sub_action'] == 'query' && empty($_POST))
   {
      if (!empty($_REQUEST['params']))
      {
         $_POST += safe_unserialize(base64_decode($_REQUEST['params']));
      }
      elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
      {
         $_POST += $_SESSION['params'];
         unset($_SESSION['params']);
      }
   }]]></search>
         <add><![CDATA[if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))
   {
      if (!empty($_REQUEST['params']))
      {
         $_POST += safe_unserialize(base64_decode($_REQUEST['params']));
      }
      elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
      {
         $_POST += $_SESSION['params'];
         unset($_SESSION['params']);
      }
   }]]></add>
      </operation>

I am testing now and hope it works...
Title: Re: Stop Spammer
Post by: kitz on November 23, 2017, 11:58:17 AM
Quote from: Arantor on November 22, 2017, 02:11:04 PM
The mod author hasn't been here in 7 years.

Correct me if Im wrong, but I thought Snoppy had kindly taken StopSpammer under his wing?

QuoteI am testing now and hope it works...

Thanks guys for your hard work in trying to find work arounds but I still have some doubts about how the impact of manually amending ManageMembers.php will affect future updates to SMF.   

- Is it the end of being able to easily install any future SMF security updates.
- What is the effect of manually editing going to have on being unable to install StopSpammer if needed next time a similar issue occurs.

My doubts are based around having to literally start again from scratch when upgrading from SMF1 to SMF2.   My forum has been around in excess of 10years and it got to the stage where all the manual edits totally took away the ability to hardly automate anything.   I swore after that, that I'd never touch any of the core code and only stick to a very few mods.

I think a few of us are still waiting and hoping that a proper solution can be found.
Title: Re: Stop Spammer
Post by: pwhodges on November 24, 2017, 06:28:24 PM
I just made a new copy of "url removed" which includes "install2015.xml" with the necessary modification, and a changed package-info.xml to use it if the version is this one or later.  So it will still install and uninstall on any version - though it will need to be uninstalled when updating or reverting across this forum version change.

Url removed due to unauthorized distribution - Steve
Title: Re: Stop Spammer
Post by: zerofossilfuel on November 25, 2017, 09:10:27 AM
Quote from: pwhodges on November 24, 2017, 06:28:24 PM
I just made a new copy of [link removed] which includes "install2015.xml" with the necessary modification, and a changed package-info.xml to use it if the version is this one or later.  So it will still install and uninstall on any version - though it will need to be uninstalled when updating or reverting across this forum version change.

THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU!!!!!!!!

Edit by Gary: Removed quoted link
Title: Re: Stop Spammer
Post by: Arantor on November 25, 2017, 10:13:25 AM
Unfortunately I have to ask the team to remove the link to the mod - because the mod is not licensed to allow people to make modified versions.
Title: Re: Stop Spammer
Post by: ceekay27 on November 26, 2017, 02:59:47 PM
I think that would have made it so much easier for me. I'm lost, never had to edit code before....
if im in the files in my cpanel, can I just replace the code in there? Or do I have to edit it on my pc and then upload it? Totally lost  :'(
Title: Re: Stop Spammer
Post by: Kindred on November 26, 2017, 07:32:33 PM
As long as you take a backup first, you can do either one.

I usually use the Cpanel file manager for quick edits and do the download/upload thing for more major edits
Title: Re: Stop Spammer
Post by: ceekay27 on November 27, 2017, 03:46:54 AM
Thanks for the reply.... I have uninstalled stop spammer and there are no errors now. So I just need to update, then re-install, then replace that section of code? Would that be correct?

Title: Re: Stop Spammer
Post by: davidhs on November 28, 2017, 09:18:01 AM
Stop Spammer not install on SMF 2.0.15 but... according manual instructions there are no errors :o
https://custom.simplemachines.org/mods/index.php?action=parse&mod=1547&smf_version=2.0.15&attach=165955
Title: Re: Stop Spammer
Post by: Kindred on November 28, 2017, 08:36:14 PM
If there are no errors, it will install just fine on 2.0.15 by using the version emulate feature
Title: Re: Stop Spammer
Post by: lurkalot on November 29, 2017, 03:52:38 AM
Quote from: davidhs on November 28, 2017, 09:18:01 AM
Stop Spammer not install on SMF 2.0.15 but... according manual instructions there are no errors :o
https://custom.simplemachines.org/mods/index.php?action=parse&mod=1547&smf_version=2.0.15&attach=165955

Quote from: Kindred on November 28, 2017, 08:36:14 PM
If there are no errors, it will install just fine on 2.0.15 by using the version emulate feature

Not sure, but I think what davidhs is saying is the package parser is giving out the wrong info.  The mod will fail but the parser says it won't.  Correct me if I'm wrong though.  ;)

Title: Re: Stop Spammer
Post by: Illori on November 29, 2017, 10:56:25 AM
the mod parser just tells you what the edits are, it does not compare then against anything. so if SMF changes something the mod parser has no idea, it just spits out to you what the mod author wants you to do.
Title: Re: Stop Spammer
Post by: lurkalot on November 29, 2017, 01:33:16 PM
Quote from: Illori on November 29, 2017, 10:56:25 AM
the mod parser just tells you what the edits are, it does not compare then against anything. so if SMF changes something the mod parser has no idea, it just spits out to you what the mod author wants you to do.

Ok, I didn't realise it worked like that.  So what's the point of the SMF version dropdown? Also shouldn't it therefore alert us that the mod isn't compatible with this current version?
Title: Re: Stop Spammer
Post by: Illori on November 29, 2017, 01:45:00 PM
some mods have different installers for different versions so you can see it for that version. this author has it set to install on all versions.
Title: Re: Stop Spammer
Post by: davidhs on November 30, 2017, 08:26:04 AM
Quote from: lurkalot on November 29, 2017, 03:52:38 AM
Quote from: davidhs on November 28, 2017, 09:18:01 AM
Stop Spammer not install on SMF 2.0.15 but... according manual instructions there are no errors :o
https://custom.simplemachines.org/mods/index.php?action=parse&mod=1547&smf_version=2.0.15&attach=165955

Quote from: Kindred on November 28, 2017, 08:36:14 PM
If there are no errors, it will install just fine on 2.0.15 by using the version emulate feature

Not sure, but I think what davidhs is saying is the package parser is giving out the wrong info.  The mod will fail but the parser says it won't.  Correct me if I'm wrong though.  ;)
Yes, I said: Stop Spammer can not install on 2.0.15, but parser say "all ok with 2.0.15" THEN there are an error in parser. ;)

Quote from: Illori on November 29, 2017, 10:56:25 AM
the mod parser just tells you what the edits are, it does not compare then against anything. so if SMF changes something the mod parser has no idea, it just spits out to you what the mod author wants you to do.
I did not a test but... if I can select mod and SMF versions and then to do parser with those versions, I suppose parser use mod and SMF versions. What else? ???

Quote from: Illori on November 29, 2017, 01:45:00 PM
some mods have different installers for different versions so you can see it for that version. this author has it set to install on all versions.
Yes, the author suppose her mod works with next SMF versions (I do same with my MOD) but if new SMF version change some important code for the mod (like this case), the mod really do not work. And parser must say: "It do not work".
In this case the author should update his mod.
Title: Re: Stop Spammer
Post by: Arantor on November 30, 2017, 08:36:16 AM
Except that isn't what the parser does. It says "based on the mod code, these are the steps you should attempt to do for 2.0.15" because that's all the mod itself says to do.

Rewriting the parser to attempt installation in the fashion you're suggesting is a bad idea, because then people will say "the parser said it should install but it didn't" because another mod prevented it.
Title: Re: Stop Spammer
Post by: davidhs on November 30, 2017, 09:12:36 AM
Quote from: Arantor on November 30, 2017, 08:36:16 AM
Rewriting the parser to attempt installation in the fashion you're suggesting is a bad idea, because then people will say "the parser said it should install but it didn't" because another mod prevented it.
Ok, I understand this.
Title: Re: Stop Spammer
Post by: nax on December 01, 2017, 10:57:26 AM
I have the same problem and like the poster below I'm looking for a definitive answer about what to edit.

Is the line being taken by SMF that the Stop Spammer mod is no longer available and will not function 2.0.15 onwards?

Not everyone has the skills to do the editing required.  I've removed Stop Spammer from my smaller site and applied 2.0.15 with no errors.

Trying to reapply Stop Spammer obviously gives errors and I don't want to create problems down the road by editing base files.

Is this major useful mod now dead?
Title: Re: Stop Spammer
Post by: Kindred on December 01, 2017, 02:44:59 PM
You may have to edit files manually that some mods change. Anyone line is a minor thing and won't break up grades anymore that it broke the .14 to .15 upgrade.

The definitive code change is listed about 1 or 2 pages back...   or edit the install file as indicated by butchs
Title: Re: Stop Spammer
Post by: nax on December 02, 2017, 07:08:17 AM
Thanks, I hate messing about with code but I seem to have understood and managed this on my smaller forum.  I need to try it on the larger one in due course.
Title: Re: Stop Spammer
Post by: nax on December 02, 2017, 07:41:40 AM
For anyone else trying here is the step by step guide.

Backup your SMF files, make a note of the Stop Spammer settings in Admin/Registrations/Settings

Put the site into maintenance mode.

Uninstall the Stop Spammer Mod

Install SMF 2.0.15

Edit the file on your server /Sources/ManageMembers.php

           find the string:-             if ($context['sub_action'] == 'query' && empty($_POST))
           replace with                   if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))

reinstall the Stop Spammer mod.
Title: Re: Stop Spammer
Post by: Kindred on December 02, 2017, 08:55:15 AM
Actually.. no...


THIS is what you shoul do.
Code (find) Select
if ($context['sub_action'] == 'query' && empty($_POST))

Code (replace) Select
if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

Title: Re: Stop Spammer
Post by: Ed2 on December 02, 2017, 07:44:40 PM
Quote from: Kindred on December 02, 2017, 08:55:15 AM
Actually.. no...


THIS is what you shoul do.
Code (find) Select
if ($context['sub_action'] == 'query' && empty($_POST))

Code (replace) Select
if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

Performed that function and still not working, attached a screen shot of the changes.  They are at Line #215...just to get a complete screenshot I broke the specific command into two lines.  Do you see any problems with the change?

NOTE:  I just remembered that 2.0.15 doesn't have the first command...I need to go back and start over...as mentioned previously.
Title: Re: Stop Spammer
Post by: Kindred on December 02, 2017, 08:11:27 PM
Ummm, what?


Uninstall the mod
Install 2.0.15
Reinstall the mod, ignoring the error for that line
Manually edit the file as I described above
Title: Re: Stop Spammer
Post by: kitz on December 02, 2017, 09:06:07 PM
OMG this is getting awfully confusing.   I'm still trying to find exactly what I should be editing.   There's been so many suggestions and changes to code or which files to edit..  that for someone who normally does not edit SMF files its now reached the point of bewildering.

I've been watching and waiting for clear instructions.. and it would appear Im not the only one.   
With all due respect you Hero/Legend guys probably think its a doddle because you know what youre doing.   Reading this as someone who usually avoids amending any core files, to be quite frank its about as clear as mud.

Saying things like change code to that a few pages back or even to butchs's code when he starts off "I did something like this" and finishes with "I am testing now and hope it works" without ever getting back to us...  hardly inspires confidence for what we should be doing especially when later posts talk about package parser giving wrong info. 

I regret missing pwhodges post before the link was pulled, because that looks like it would have been the most helpful of the lot.  :(


I have so far
- Uninstalled stop spammer
- Successfully updated to SMF 2.0.15
- Downloaded StopSpammer_v2_3_9


I think I need to edit the file install_2.xml but I haven't a clue what the heck Im supposed to put where.
Is that replacement code or does it just get dumped in the file?


----
Is @snoopy_virtual (https://www.simplemachines.org/community/index.php?action=profile;u=68708) still able to update this mod with correct info. 
Title: Re: Stop Spammer
Post by: nax on December 04, 2017, 04:13:47 AM
HI Kitz I almost had t right in my last post until Kindred pointed out that a string in the Stop Spammer mod really should be updated, so here are the steps needed in a simple form


Backup your SMF files, make a note of the Stop Spammer settings in Admin/Registrations/Settings

Put the site into maintenance mode.

Uninstall the Stop Spammer Mod

Install SMF 2.0.15

Install Stop Spammer 2.3.9 - you will get one error re the file  /Sources/ManageMembers.php  this is expected and as long as there is only the one error go ahead and install Stop Spammer.

You then need to edit the  /Sources/ManageMembers.php  file in your SMF forum.

Find the line in this file that begins:-

if ($context['sub_action'] ==

and replace this line with :-

if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

Check that your Stop Spammer settings are correct in Admin/Registrations/Settings  then take your site out of maintenance mode.

Title: Re: Stop Spammer
Post by: Ed2 on December 04, 2017, 06:06:29 PM
Wondering if someone could PM me a "screen shot" of the ManageMembers.php file "page" BEFORE the changes noted above are made. It would have to be Software Version SMF 1.1.11

Thanks
Title: Re: Stop Spammer
Post by: Arantor on December 04, 2017, 06:14:13 PM
1.1.11 is 10 versions out of date and not really supported any more.
Title: Re: Stop Spammer
Post by: Ed2 on December 04, 2017, 10:48:57 PM
Quote from: Arantor on December 04, 2017, 06:14:13 PM
1.1.11 is 10 versions out of date and not really supported any more.

That is the dated noted on the  ManageMembers.php file in my SMF 2.0.15 Forum...do me a favor and open your SMF forum ManageMembers.php file and look at the version number at the top. Probably doesn't correspond with the SMF version listed at the bottom of the forum.
Title: Re: Stop Spammer
Post by: Sir Osis of Liver on December 04, 2017, 10:55:40 PM
Version number should be 2.0.15 in ManageMembers.php after patching .14 -> .15.  It was 2.0.11 in 2.0.13 and .14.
Title: Re: Stop Spammer
Post by: Ed2 on December 04, 2017, 11:49:28 PM
Quote from: Sir Osis of Liver on December 04, 2017, 10:55:40 PM
Version number should be 2.0.15 in ManageMembers.php after patching .14 -> .15.  It was 2.0.11 in 2.0.13 and .14.

Must be my problem...just had my 3500hd.com forum upgraded from SMF 1.0.X to SMF 2.0.15 and it's ManageMembers.php SMF version shows 1.1.11

BUT the ManageMembers.php in my SMF 2.0.14 (RustyBowtie.com) forum also shows SMF 1.1.11

It appears that both forums share the same ManageMembers.php file in my Godaddy CPanel.
Title: Re: Stop Spammer
Post by: Robomcd on December 05, 2017, 05:32:06 AM
Quote from: Kindred on December 02, 2017, 08:55:15 AM
Actually.. no...


THIS is what you shoul do.
Code (find) Select
if ($context['sub_action'] == 'query' && empty($_POST))

Code (replace) Select
if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

Did that exactly as mentioned. Tried to reinstall stop spammer. 

Package manager shows the error message

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

And the install protocol shows "test failed" on changing the managemembers.php file. No further messages about what is wrong. I do have httpBL installed (already longer).

Now what?
Title: Re: Stop Spammer
Post by: Kindred on December 06, 2017, 01:08:05 AM
No...  you have missed the point.

Uninstall stop spammer
Update to 2.0.15
Reinstall stop spammer
Yes, you will get an error on managemembers, install anyway
Then make the code change, manually, as listed
Title: Re: Stop Spammer
Post by: Robomcd on December 06, 2017, 03:51:04 AM
Quote from: Kindred on December 06, 2017, 01:08:05 AM
No...  you have missed the point.

Uninstall stop spammer
Update to 2.0.15
Reinstall stop spammer
Yes, you will get an error on managemembers, install anyway
Then make the code change, manually, as listed

OK Thanks, did not understand that.

Did it as said, registered a new test person, and all seem to work as usual. 

One question.
When I go to the settings page, I see the settings in the first section, ending with "Contact number for parents to contact with age restriction queries". Then below that I see one more section between the wider colored bands, subdivided in three smaller sections. In that section is no text, only 5 boxes that are ticked already, one drop-down box without any options, and one empty text box you can fill. That is supposed to be like that, or do I need to do something else or something went wrong?


Title: Re: Stop Spammer
Post by: Kindred on December 06, 2017, 01:40:20 PM
Sounds like some mod didn't correctly add the text strings into modifications.Yourlang.php
Title: Re: Stop Spammer
Post by: PenelopeQ on January 12, 2018, 12:32:51 AM
Quote from: Kindred on December 06, 2017, 01:08:05 AM
Uninstall stop spammer
Update to 2.0.15
Reinstall stop spammer
Yes, you will get an error on managemembers, install anyway
Then make the code change, manually, as listed
Quote from: lesmond on November 22, 2017, 01:05:12 PM
this is the edit you need to find and replace for SMF 2.0.15 ./Sources/ManageMembers.php

Code (find) Select
if ($context['sub_action'] == 'query' && empty($_POST))

Code (replace) Select
if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

Tested on fresh SMF 2.0.15 install, no errors so far.

I followed the steps, but cannot find that code--not something even close. I also compared it to the code to select and change that is shown by the little edit icon when I was trying to install. The code was not very different from the code given above and so I did not find it.

But I did install as the steps say and it is up and running and has stopped several spammers. Should I worry about  it now?
Title: Re: Stop Spammer
Post by: Kindred on January 12, 2018, 03:13:27 PM
yes...  you need to find and update that code.

It is present, unless some other mod has already changed it.
Title: Re: Stop Spammer
Post by: PenelopeQ on January 13, 2018, 02:33:20 AM
the code is not there. I checked for specific pieces...for instance I searched for 'sub_action' and it was not anywhere in the document. I did this for a few other pieces as well.

Another mod must have made changes, but how do I find out what mod and what to do about it?
Title: Re: Stop Spammer
Post by: Kindred on January 13, 2018, 02:19:38 PM
If 2.0 15 installed then that code IS there. Guaranteed
Title: Re: Stop Spammer
Post by: EL34 on January 15, 2018, 02:06:30 PM
I ran into the same error today when updating from 2.0.14 to 2.0.15

I just did this which was quick and simple
I made a backup copy of ManageMembers.php




Open the file and find this stop spammer code


if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST)
|| ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));





Replace the code above with the stock code that the update is looking for which is this and then save the file


if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));


Run the 2.0.15 again and it updated without any errors because it found the stock code




Then I went back to the file to find the new updated stock code which is this


if ($context['sub_action'] == 'query' && empty($_POST))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}





I change the stock line to the line that Kindred posted up above (reply 2004) and saved the file
It's the first line of code in the updated code section

The updated stock code line is this


if ($context['sub_action'] == 'query' && empty($_POST))


I changed it to this


if ($context['sub_action'] == 'query' && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))



Title: Re: Stop Spammer
Post by: Kindred on January 15, 2018, 05:51:09 PM
You just repeated the same instructions that have already been stated several times....
Title: Re: Stop Spammer
Post by: djkimmel on January 17, 2018, 09:46:26 PM
Quote from: Arantor on November 22, 2017, 02:11:04 PM
The mod author hasn't been here in 7 years.

I guess I'm not smart enough to check profiles... Someone - the other author I assume - updated the mod a couple years ago but maybe he/she is also no longer active? Which isn't great for those of us still using this mod. I must be an optimist, assuming all the mod authors are still active and watching over their creations.
Title: Re: Stop Spammer
Post by: djkimmel on January 17, 2018, 09:48:35 PM
Quote from: Kindred on November 22, 2017, 08:03:18 PM
I did the opposite...  I just edited the line for 2.0.15 around the mod edit that was already there...

Either way works and keeps both the system and the mod working just fine

Okay. Thanks for providing some moral support. Very helpful with the way things have been going lately with updates and vulnerabilities.
Title: Re: Stop Spammer
Post by: landyvlad on January 24, 2018, 07:17:20 AM
OK so I did the 2.0.13 - 14 -15 upgrade.
Followed Kindred's instructions.
Easy peasy all done.

Thanks Kindred.  :)
Title: Re: Stop Spammer
Post by: simplebeer on January 25, 2018, 03:22:51 AM
Hello @all,

i am trying to install this mod but have a failure notice at the install page.
THe Failure is on ./Sources/ManageMembers.php which you can find below.
Can anyone find the problem? Maybe conflict with another mod?

Thanks!



The installed mods so far:
1.    Simple Audio Video Embedder    3.1    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
2.    Admin Notepad    2.0.2    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
3.    Google Tagged    2.0    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
4.    Users Online Today    2.1    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
5.    Custom Action Mod    3.2    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
6.    Hide Topic Replies    1.7    [ Overzicht bestanden ] [ Verwijderen ]
7.    Moderator and Administrator Comment Tags    1.8.1    [ Overzicht bestanden ] [ Verwijderen ]
8.    Tapatalk SMF 2.0 Plugin    4.4.0    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
9.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
10.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
11.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
12.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    [ Overzicht bestanden ] [ Verwijderen ]
13.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    [ Overzicht bestanden ] [ Verwijderen ]
14.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    [ Overzicht bestanden ] [ Verwijderen ]
15.    SMF 1.0.19 / 1.1.11 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
16.    SMF 1.0.20 / 1.1.12 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
17.    SMF 1.0.21 / 1.1.13 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
18.    SMF 1.0.22 / 1.1.16 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
19.    SMF 1.0.23 / 1.1.17 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
20.    SMF 1.1.14 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
21.    SMF 1.1.15 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
22.    SMF 1.1.18 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
23.    SMF 1.1.19 / 2.0.6 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
24.    SMF 1.1.20 / 2.0.9 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
25.    SMF 1.1.21 / 2.0.10 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
26.    Alternate User Posting    1.0.1    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
27.    SMF 2.0.11 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
28.    SMF 2.0.12 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
29.    Advance Fake Guests n Users Online (fguo)    1.0    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
30.    Tapatalk SMF 2.0 Plugin    4.4.1    [ Overzicht bestanden ] [ Verwijderen ]
31.    SMF 2.0.13 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
32.    SMF 2.0.14 Update    1.0    [ Overzicht bestanden ] [ Verwijderen ]
33.    Administration Center Security    1.0    [ Installeer modificatie ] [ Overzicht bestanden ] [ Verwijderen ]
34.    Responsive Curve    1.0.0    [ Installeer modificatie ] [ Overzicht bestanden ] [ Verwijderen ]
35.    Google Analytics Code    1.5.1    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
36.    SMF 2.0.15 Update    1.0    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
37.    httpBL    2.5.1    [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ]
38.    Stop Spammer
Title: Re: Stop Spammer
Post by: Shambles on January 25, 2018, 04:15:18 AM
Quote from: simplebeer
THe Failure is on ./Sources/ManageMembers.php which you can find below.
Can anyone find the problem? Maybe conflict with another mod?

Did you read any other entries in this thread?

Have a look a few posts above this... eg, reply #2022
Title: Re: Stop Spammer
Post by: simplebeer on January 25, 2018, 03:32:15 PM
Sorry i didnt, thanks i think i can solve it now  :)
Title: Re: Stop Spammer
Post by: MovedGoalPosts on January 28, 2018, 01:48:07 PM
So I've patched the forum, I've edited the managemembers file.  Problem is nobody can now register as the StopForumSpam connection is failed.

Of course I could turn off Stop Spammer, but then I'm invaded :(  I do have other stuff running including Bad Behaviour and Stop Forum Spam

My forum is current version 2.0.15

I'm reading that perhaps it's something to do with cURL, whatever that might be?  The FAQ thing says to try installing http://www.simplemachines.org/community/index.php?topic=282969.msg1857198#msg1857198, but that is an ancient, unsupported Mod.

Thoughts would be appreciated.
Title: Re: Stop Spammer
Post by: Shambles on January 28, 2018, 04:17:41 PM
Did you register with the folks at SFS (to get your API key) ?
Title: Re: Stop Spammer
Post by: MovedGoalPosts on January 28, 2018, 06:09:52 PM
Yep I have an API key.  Don't think you actually need that for the look ups, only if you are going to report the spammers.  But in any case I've had this successfully working for a few years now.  It's only in the last couple of months there have been issues, which I had put down to incorrectly upgrading to 2.0.15 and the Stop Spammer mod causing install errors.  But having rolled back, to 2.0.14, unistalled, reinstalled and gone round in circles, I believe my files are correct so Stop Forum Spam connection is something else?
Title: Re: Stop Spammer
Post by: Kindred on January 28, 2018, 07:05:37 PM
Works fine for me on 2.0.15

Maybe your host changed something which is preventing the outgoing connection to SFS?
Title: Re: Stop Spammer
Post by: lurkalot on January 28, 2018, 07:08:06 PM
Quote from: Kindred on January 28, 2018, 07:05:37 PM
Works fine for me on 2.0.15

Maybe your host changed something which is preventing the outgoing connection to SFS?

Fine for me too. running it on three sites.  I don't have a API key.
Title: Re: Stop Spammer
Post by: MovedGoalPosts on January 28, 2018, 07:29:32 PM
Yep I'm suspicious something is blocked somewhere.  Just don't really know what to test for as nothing really shows in an error log.
Title: Re: Stop Spammer
Post by: valis1952 on January 31, 2018, 05:36:41 AM
Sorry, I'm a bit of a noob at scripting...

However, I followed Kindred's instructions; Backed up managemembers.php, installed Stop Spammer ignoring errors, edited managemembers.php via my server cp. All good so far, but then went to "Members" on the forum admin cp and got a blank page 404 message.

Okay, I managed to uninstall SS and reload managemembers.php with my backup. All is good again, but, of course, no Stop Spammer. Sweat over, for now.

I believe the error I made was to "turn on" SS before I edited managemembers.php.

Was that my mistake?

Sorry to ask, but this is nerve-racking for me ;)

Title: Re: Stop Spammer
Post by: Kindred on January 31, 2018, 09:38:02 AM
It should not matter what order it gets done, as long as all the steps get done....   

and nothing in this mod should result in a 404...

Do note that
Title: Re: Stop Spammer
Post by: MovedGoalPosts on January 31, 2018, 03:52:07 PM
I'm pleased to advise my issue of non connection to Stop Forum Spam appears fixed.  After raising it with SFS it seems like they changed a setting at their end. 
Title: Re: Stop Spammer
Post by: landyvlad on March 14, 2018, 11:52:04 PM
Anyome know if this mod is, or will be, compatible with SMF2.1 ?

If not, what other options are there? What will be the way to prevent spammers in 2.1?
Title: Re: Stop Spammer
Post by: Kindred on March 15, 2018, 12:07:51 AM
Give. That 2.1is still in beta, chances are that most mod authors will not bother developing the mod until the release is more stable.   And please stop asking the same question in 15 different mod topics.
Title: Re: Stop Spammer
Post by: landyvlad on March 15, 2018, 12:22:20 AM
Thanks Kindred.

I understand that mate,but there are quite a number that DO have 2.1b3 versions available so far.

I may have asked the question in multriple threads but as it related to each of those mods, I think that's reasonable.  After all Fred Nirk may be planning to updated mod 1, but Alan Jones may not be planning a new version of mod 2....

It's different to cross posting a thread in multiple forums.

Anyway I have asked it in all the relevant threads alraedy, so there won't be any more henceforth....

Cheers.

Title: Re: Stop Spammer
Post by: Robomcd on April 13, 2018, 03:25:26 PM
So I am busy with forum updating again, finally.

As mentioned in December in this and in a separate thread, I did do all the tricks as mentioned by Kindred and others, in the order as specified. ManageMembers.php mentions it is 2.0.15, new code is in, and all is working ok ... but: stop spammer used to indicate which people registering are spammers with these nice colors, but now it does not do that anymore. The system says all is ok and functioning, but nada in indicating spammers.

Any idea what I missed?

As mentioned earlier, on the registration settings page, I only have what looks like the standard settings, but below it is a another section with tick boxes but no texts. Also, in the member section, I do have a special section for mod httpBL, but nowhere any reference to settings for stop spammer. 

??? ???
Title: Re: Stop Spammer
Post by: landyvlad on December 03, 2018, 10:51:02 PM
Recently (last month or so) I have been getting a LOT of spammers attempting to register.
Stop Spammer does seem to be doing it's job for most of them - any flagged as spam (i.e. in the relevant database I guess) are put in the "Awaiting Approval" queue.  This can easily be a 10 a day though.

I've taken all the usual precautions re the SMF core security features (questions etc) but that seems to be failing (as possibly is httpBL to some extent).

Is it possible to set up a rule in Stop Spammer such that if a user is flagged as a spammer by BOTH email and IP, it just deletes it from the approval queue automatically? That'd be handy.

Any advice around this would be most welcome.  Thanks.
Title: Re: Stop Spammer
Post by: SD-X on December 04, 2018, 03:43:58 AM
Quote from: landyvlad on December 03, 2018, 10:51:02 PM
Recently (last month or so) I have been getting a LOT of spammers attempting to register.
Stop Spammer does seem to be doing it's job for most of them - any flagged as spam (i.e. in the relevant database I guess) are put in the "Awaiting Approval" queue.  This can easily be a 10 a day though.

I've taken all the usual precautions re the SMF core security features (questions etc) but that seems to be failing (as possibly is httpBL to some extent).

Is it possible to set up a rule in Stop Spammer such that if a user is flagged as a spammer by BOTH email and IP, it just deletes it from the approval queue automatically? That'd be handy.

Any advice around this would be most welcome.  Thanks.
You could change the code in the modification to do this, or even make another mod that has this option. I believe StopForumSpam has information on their website for creating API's.
Title: Re: Stop Spammer
Post by: landyvlad on December 17, 2018, 04:55:42 AM
Completely beyond my capabilities I'm afraid.
Title: Re: Stop Spammer
Post by: Blade73 on December 23, 2018, 08:02:26 PM
Had the same issue with 60 + in Awaiting Approval queue per day
but found this also
https://custom.simplemachines.org/mods/index.php?mod=1599
Title: Re: Stop Spammer
Post by: SD-X on December 24, 2018, 10:59:28 AM
Quote from: Blade73 on December 23, 2018, 08:02:26 PM
Had the same issue with 60 + in Awaiting Approval queue per day
but found this also
https://custom.simplemachines.org/mods/index.php?mod=1599
I also use that. It definitely helps.

For anyone else interested, I previously posted this in the Mod httpBL topic, which some may find useful for additional anti-spam recommendations:
Quote from: SugarD-x on December 04, 2018, 03:54:16 AM
If I were you, I'd use [Mod httpBL] and StopSpammer in conjunction with a few other security mods or methods. Personally on my heavier forums, I'll mix those two with at least ReCaptcha and Bot Buster. More prevention methods and additional databases being used to catch and block the spammers tends to help as long as they are properly managed and don't conflict.
Title: Re: Stop Spammer
Post by: SD-X on April 01, 2019, 09:21:05 PM
Sorry for the double-post. There has been significant time between them and I can't edit the previous one. (Also, someone silently changed my posts to be worded oddly, so I'm not sure why they say "ye" everywhere :P )

Quote from: Mister Gray One on January 28, 2018, 07:05:37 PM
Works fine for me on 2.0.15

Maybe your host changed something which is preventing the outgoing connection to SFS?
I had StopSpammer working fine on numerous 2.0.15 forums, but today I just tried updating a test one to 2.0.15 and ran into issues. I decided to uninstall StopSpammer, install the update, and do the reverse. Apparently there is indeed a change to one file in the update that StopSpammer is not friendly with, and the code changes so significantly on those mere 2 lines that I personally don't know enough about SMF, PHP, or the mod itself to get around the issue. Unfortunately I think we need an updated version to fix this unless someone has a workaround available already.
Title: Re: Stop Spammer
Post by: live627 on April 01, 2019, 09:52:01 PM
A solution to the update problem: https://www.simplemachines.org/community/index.php?msg=3957547
Title: Re: Stop Spammer
Post by: SD-X on April 01, 2019, 10:17:57 PM
Quote from: live627 on April 01, 2019, 09:52:01 PM
A solution to the update problem: https://www.simplemachines.org/community/index.php?msg=3957547
Ha! Apparently I'm blind. Thank you!
Title: Re: Stop Spammer
Post by: 4everBlue on April 02, 2019, 12:13:38 PM
Well done! thanks.
Title: Re: Stop Spammer
Post by: SD-X on April 02, 2019, 05:35:07 PM
Apparently applying that mod change for 2.0.15 has given my server a constant 500 error with no further information when viewing the members list from the administration section. :(
Title: Re: Stop Spammer
Post by: Kindred on April 03, 2019, 07:26:11 AM
Then your server is really odd...
However there has to be more information at the server level... look for the server error log or talk to your host
Title: Re: Stop Spammer
Post by: SD-X on April 03, 2019, 07:52:36 PM
Quote from: Kindred on April 03, 2019, 07:26:11 AM
Then your server is really odd...
However there has to be more information at the server level... look for the server error log or talk to your host
It is an OVH VPS running Ubuntu Server 14.04. Apache2 has no errors being logged about the 500 error, and my web browser doesn't provide any further details, or even a specific 500 sub-code. It is only the Members section from the Administration Center that is triggering the error. I can access anything and everything else just fine, including the normal Members page. I have no idea what is causing that one little line to trigger this.
Title: Re: Stop Spammer
Post by: Kindred on April 04, 2019, 12:12:02 AM
Well, the fact that there is no error logged is more comcernimg.
Title: Re: Stop Spammer
Post by: Arantor on April 04, 2019, 03:26:41 AM
That VPS is going to need an upgrade soon, btw. Ubuntu 14.04 goes out of support in a few weeks.
Title: Re: Stop Spammer
Post by: SD-X on April 05, 2019, 04:48:32 AM
Quote from: Kindred on April 04, 2019, 12:12:02 AM
Well, the fact that there is no error logged is more concerning.
Well I've never been a big fan of Linux to begin with, so I'm not too surprised. For some reason I always tend to have bad luck with it. :P

Quote from: Arantor on April 04, 2019, 03:26:41 AM
That VPS is going to need an upgrade soon, btw. Ubuntu 14.04 goes out of support in a few weeks.
I'm in the process of trying to dump it. I have a Windows Server VPS that I use for all of my web stuff. This old Ubuntu Server VPS was a really old one I picked up for dirt cheap years ago for some test websites, which I'm trying to move over to the Windows one now. (No use in having two servers doing the same thing). That's actually why I'm so concerned about getting all of this working correctly again. I still have to figure out the age-old problem with PHP 7.2.x and SMF 2.0.x yet too. :)
Title: Re: Stop Spammer
Post by: shadav on September 15, 2019, 08:39:31 PM
got an error with this mod installed
2.0.15

so I go to view the members on my forum in my admin
admin >members
and I have an error

syntax error, unexpected '||' (T_BOOLEAN_OR)
Title: Re: Stop Spammer
Post by: SD-X on September 16, 2019, 10:30:10 AM
Quote from: shadav on September 15, 2019, 08:39:31 PM
got an error with this mod installed
2.0.15

so I go to view the members on my forum in my admin
admin >members
and I have an error

syntax error, unexpected '||' (T_BOOLEAN_OR)
Any other mods installed? Where is the error happening and in what file? There may be a conflict somewhere.
Title: Re: Stop Spammer
Post by: shadav on September 16, 2019, 10:08:08 PM
Quote from: SugarD-x on September 16, 2019, 10:30:10 AM
Quote from: shadav on September 15, 2019, 08:39:31 PM
got an error with this mod installed
2.0.15

so I go to view the members on my forum in my admin
admin >members
and I have an error

syntax error, unexpected '||' (T_BOOLEAN_OR)
Any other mods installed? Where is the error happening and in what file? There may be a conflict somewhere.

admin/?area=viewmembers

:laugh: a lot of mods installed....

Emoji Parser
Relative Time And Date
Replace Board Title With Image
Footnotes
Welcome Topic Mod   
Quick Buddies   
BBC You   
FancyPosts
RSS Images   
Better Profile Menu   
Board Stats   
Say Thanks   
BBC Message Boxes   
Karma Description Mod   
Member Color   
Reason For Editing Mod   
Characters remaining of post   
Sorted Package Manager Listing   
BBC In Custom Title   
reCAPTCHA for SMF   
List Of Users In Forum/Board/Topic   
Modified No Topics Message (SMF 2.0+)   
Board Notes   
[BBCode] Dotted Underline   
'Read the Rules' Link Above Post Button   
Add Social Media Icons To Profiles   
Optimus
SMF Articles   
Post Anonymously In Topic   
Drafts
Social Login   
Who Downloaded Attachment   
DisplayPostedTopicsMod   
Stupid bouncy BBC   
Auto Respond   
NiceTooltips
Multiple Smiley Aliases   
Ban List   
Move Posts addon   
Show JDALLAUI in Post and PM   
Board Message Icon   
Enhanced Dropdown   
Word Censor List   
More Spiders   
Glossary
Like Posts   
[BBCode] Overline   
Adk Blog   
Referrals System   
Who Quoted Me   
ETNTPT - Edited Time Next To Posted Time   
ShowBannedMessage   
Enhancements to purge inactive members   
FeatureUser
Left-To-Right and Right-To-Left BBcode Buttons   
Menu without limit level   
Treasury
Custom Report Mod   
Additional Membergroups on Profile   
Best Answer Intergration   
Nickname to Reply   
SA KB   
Avatars on Board/MessageIndex   
Log Karma Actions   
Board-color-and-icons   
Admin Ban Button in Post   
Forum Visitors   
Downloads System   
Topic_Locked_Message   
Pretty URLs   
Add Stars To Profile   
Lazy Moderator Menu   
Smush.it! For SMF   
Add Avatar To Who Is Online Version 1.2   
BBCode with style   
Recount Member Posts   
Tabbed smileys   
Lazy Admin Menu   
AdditionalMembergroups   
Enhancements to recent posts   
httpBL   
Quick Translation   
Fix Message Empty Error For Embed Video Mods   
404 on Missing Topics/Boards   
Google Tagged   
Play Media Attachment   
ENotify
Anti-Spam Links   
AMSP - Add Member's Signature Permission   
Additional Topic Authors   
Dynamic_Memberlist
SMF Gallery Lite   
List-Unsubscribe   
Topic Viewers   
Yet Another Spoiler Mod   
6 Custom buttons / tabs with Sub Menus (4)   
Posting_Announcement   
Date_Registerd on post   
Post and PM Inline Attachments   
Quick Ban on Account Delete   
Membergroup Signature Permissions   
AJAX Recent Topics   
Default Avatar   
New Hooks   
Menu_Icons   
Download Attachment   
Bookmarks   
Alert
Related Topics   
Buddies With Me (aka Followers)   
Spiders Don't Increase Topic Views
Auto Merge Double Post   
@mention members   
Alternative Menu With Top Menu Icon & Button Remover   
Unknown Actions   
Force Topic Read On Login Mod   
Country Flags
Auto Refresh Who Index   
Change Report Text To Image   
Profile Views   
Font AweaZome   
AWSP - Add WebSite Permission   
Image Floating to Left or Right BBCode   
Prevent Topic View Increase by Author   
Better Messages Menu   
Event Reminder Mod for SMF2   
Today Registrations   
Signature Area BBCode Buttons   
Make modified post unread   
Images with Margins and Borders   
Number of Unapproved Posts and Topics in Header   
Join Reason   
Member NotePad   
Open Embed   
Hall Of Fame   
RSS Feed Icon   
Buddy Page   
Event Registration Mod for SMF2   
Joinable Groups   
Activity Bar   
Topic Descriptions   
Custom BBCodes Manager   
PM Attachments   
Working top level links for drop menus   
SMF Staff Page   
SMF Links   
Topics Created And Participated In   
Current Signature Mod   
Buy me A drink   
Audio and Video BBCodes
Responsive Curve
Title: Re: Stop Spammer
Post by: Nodaz on November 27, 2019, 04:33:10 PM
having an issue updating from 2.0.14 to 2.0.15,

https://www.simplemachines.org/community/index.php?topic=570655.0
am told it is likely and issue with Stop Spammer and to look here, but cant find anything specific to help fix it.
Any direction?

Title: Re: Stop Spammer
Post by: SD-X on November 27, 2019, 06:29:48 PM
Quote from: Nodaz on November 27, 2019, 04:33:10 PM
having an issue updating from 2.0.14 to 2.0.15,

https://www.simplemachines.org/community/index.php?topic=570655.0
am told it is likely and issue with Stop Spammer and to look here, but cant find anything specific to help fix it.
Any direction?
I would recommend uninstalling it first before updating your forum. Then you'll be able to see the exact line that is causing the conflict when you try to add it again. Make sure you're also using the latest version of Stop Spammer available.

Edit: https://www.simplemachines.org/community/index.php?msg=3957547
Title: Re: Stop Spammer
Post by: Nodaz on November 29, 2019, 04:36:25 PM
Quote from: SugarD-x on November 27, 2019, 06:29:48 PM
Quote from: Nodaz on November 27, 2019, 04:33:10 PM
having an issue updating from 2.0.14 to 2.0.15,

https://www.simplemachines.org/community/index.php?topic=570655.0
am told it is likely and issue with Stop Spammer and to look here, but cant find anything specific to help fix it.
Any direction?
I would recommend uninstalling it first before updating your forum. Then you'll be able to see the exact line that is causing the conflict when you try to add it again. Make sure you're also using the latest version of Stop Spammer available.

Edit: https://www.simplemachines.org/community/index.php?msg=3957547
Ok i will do that a check back.
Title: Re: Stop Spammer
Post by: Nodaz on November 29, 2019, 04:42:24 PM
I would recommend uninstalling it first before updating your forum. Then you'll be able to see the exact line that is causing the conflict when you try to add it again. Make sure you're also using the latest version of Stop Spammer available.

[/quote]
Ok, uninstalled stop spammer and the update installed without a hitch.

Deletedd oldstop spammer package( which was same as current), downloaded new.
Tested install and get this:
*    1.    Execute Modification    ./Sources/ManageRegistration.php    Test successful
*    2.    Execute Modification    ./Sources/ManageMembers.php    Test failed
      1.    Add After    ./Sources/ManageMembers.php    Test successful
      2.    Replace    ./Sources/ManageMembers.php    Test successful
      3.    Replace    ./Sources/ManageMembers.php    Test successful
      4.    Replace    ./Sources/ManageMembers.php    Test successful
      5.    Replace    ./Sources/ManageMembers.php    Test successful
      6.    Replace    ./Sources/ManageMembers.php    Test successful
      7.    Replace    ./Sources/ManageMembers.php    Test successful
      8.    Replace    ./Sources/ManageMembers.php    Test successful
      9.    Add Before    ./Sources/ManageMembers.php    Test successful
      10.    Add Before    ./Sources/ManageMembers.php    Test successful
      11.    Add Before    ./Sources/ManageMembers.php    Test successful
      12.    Add Before    ./Sources/ManageMembers.php    Test successful
      13.    Replace    ./Sources/ManageMembers.php    Test failed
*    3.    Execute Modification    ./Sources/Register.php    Test successful
*    4.    Execute Modification    ./Sources/Subs.php    Test successful
*    5.    Execute Modification    ./Sources/Subs-Members.php    Test successful
*    6.    Execute Modification    ./Sources/Profile.php    Test successful
*    7.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
   8.    Execute Modification    ./Themes/default/languages/Modifications.english_british.php    Skipping file
   9.    Execute Modification    ./Themes/default/languages/Modifications.spanish.php    Skipping file
   10.    Execute Modification    ./Themes/default/languages/Modifications.spanish_es.php    Skipping file
   11.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Skipping file
   12.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
   13.    Execute Modification    ./Themes/default/languages/Modifications.english_british-utf8.php    Skipping file
   14.    Execute Modification    ./Themes/default/languages/Modifications.spanish-utf8.php    Skipping file
   15.    Execute Modification    ./Themes/default/languages/Modifications.spanish_es-utf8.php    Skipping file
   16.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin-utf8.php    Skipping file
   17.    Extract File    ./Sources/StopSpammer.php    
   18.    Extract File    ./Themes/default/images/icons/spammer.gif    
   19.    Extract File    ./Themes/default/images/icons/suspect.gif    
   20.    Extract File    ./Themes/default/images/icons/moreinfo.gif    
   21.    Adapt Database    install_2.php
Title: Re: Stop Spammer
Post by: Arantor on November 29, 2019, 04:49:55 PM
And the link mentioned is how you fix it - https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547
Title: Re: Stop Spammer
Post by: Nodaz on November 29, 2019, 06:20:49 PM
I
Quote from: Arantor on November 29, 2019, 04:49:55 PM
And the link mentioned is how you fix it - https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547
I have opened the sources/managemembers.php file and searched for that string as listed in the link you posted:
Cannot find it or any part of it...

Title: Re: Stop Spammer
Post by: SD-X on November 29, 2019, 07:03:29 PM
Quote from: Nodaz on November 29, 2019, 06:20:49 PM
I
Quote from: Arantor on November 29, 2019, 04:49:55 PM
And the link mentioned is how you fix it - https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547
I have opened the sources/managemembers.php file and searched for that string as listed in the link you posted:
Cannot find it or any part of it...
Since you uninstalled Stop Spammer already, you may need to look for the opposite code so you can re-add it manually. Just to be safe, also do a search for anything related to StopSpammer in those files before installing again in case you ended up with duplicate code or something that wasn't properly removed.
Title: Re: Stop Spammer
Post by: Nodaz on November 30, 2019, 04:09:08 AM
Quote from: SugarD-x on November 29, 2019, 07:03:29 PM
Quote from: Nodaz on November 29, 2019, 06:20:49 PM
I
Quote from: Arantor on November 29, 2019, 04:49:55 PM
And the link mentioned is how you fix it - https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547
I have opened the sources/managemembers.php file and searched for that string as listed in the link you posted:
Cannot find it or any part of it...
Since you uninstalled Stop Spammer already, you may need to look for the opposite code so you can re-add it manually. Just to be safe, also do a search for anything related to StopSpammer in those files before installing again in case you ended up with duplicate code or something that wasn't properly removed.
Im not sure what you mean by opposite code...
  I scanned the entire document using a search function for anything spammer related and there is nothing.

Thank you BTW for assisting me with this, i do appreciate your help.
Title: Re: Stop Spammer
Post by: Nodaz on December 02, 2019, 05:15:17 PM
still unable to proceed in updating to 2.0.15 still running into this after uninstalling Stop Spammer:

1.    Execute Code    $auto_0.php    
*    2.    Execute Modification    ./index.php    Test successful
*    3.    Execute Modification    ./proxy.php    Test successful
*    4.    Execute Modification    ./SSI.php    Test successful
*    5.    Execute Modification    ./Themes/default/Login.template.php    Test successful
*    6.    Execute Modification    ./Sources/Class-CurlFetchWeb.php    Test successful
*    7.    Execute Modification    ./Sources/SendTopic.php    Test successful
*    8.    Execute Modification    ./Sources/DbPackages-mysql.php    Test successful
*    9.    Execute Modification    ./Sources/SearchAPI-Custom.php    Test successful
*    10.    Execute Modification    ./Sources/SearchAPI-Fulltext.php    Test successful
*    11.    Execute Modification    ./Sources/ManageServer.php    Test successful
*    12.    Execute Modification    ./Sources/Stats.php    Test successful
*    13.    Execute Modification    ./Sources/DbExtra-mysql.php    Test successful
*    14.    Execute Modification    ./Sources/DbExtra-postgresql.php    Test successful
*    15.    Execute Modification    ./Sources/DbExtra-sqlite.php    Test successful
*    16.    Execute Modification    ./Sources/Subs-Admin.php    Test successful
*    17.    Execute Modification    ./Sources/Admin.php    Test successful
*    18.    Execute Modification    ./Sources/ManageMembers.php    Test failed
      1.    Replace    ./Sources/ManageMembers.php    Test successful
      2.    Replace    ./Sources/ManageMembers.php    Test failed
      3.    Replace    ./Sources/ManageMembers.php    Test successful
*    19.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
*    20.    Execute Modification    ./Themes/default/Admin.template.php    Test successful
*    21.    Execute Modification    ./Sources/PersonalMessage.php    Test successful
*    22.    Execute Modification    ./Sources/Subs-Auth.php    Test successful

I found THIS in the managemembers .php file:
Im not sure what excatly to delete( if i should delete)

   // Default to sub action 'index' or 'settings' depending on permissions.
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'all';

// Load Stop Spammer Functions
if ('all' == $_REQUEST['sa'] || 'browse' == $_REQUEST['sa'] || 'query' == $_REQUEST['sa'] || 'approve' == $_REQUEST['sa'])
{
global $sourcedir;
require_once($sourcedir . '/StopSpammer.php');
}

// We know the sub action, now we know what you're allowed to do.
isAllowedTo($subActions[$_REQUEST['sa']][1]);

Title: Re: Stop Spammer
Post by: Kindred on December 02, 2019, 05:54:02 PM
you did not fully uninstall the mod.
Title: Re: Stop Spammer
Post by: Nodaz on December 02, 2019, 06:47:17 PM
Quote from: Kindred on December 02, 2019, 05:54:02 PM
you did not fully uninstall the mod.
I uninstalled it from package manager...it must have left this, What part should i delete?
// Default to sub action 'index' or 'settings' depending on permissions.
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'all';

// Load Stop Spammer Functions
if ('all' == $_REQUEST['sa'] || 'browse' == $_REQUEST['sa'] || 'query' == $_REQUEST['sa'] || 'approve' == $_REQUEST['sa'])
{
global $sourcedir;
require_once($sourcedir . '/StopSpammer.php');
}

// We know the sub action, now we know what you're allowed to do.
isAllowedTo($subActions[$_REQUEST['sa']][1]);

// Load the essentials.
loadLanguage('ManageMembers');
loadTemplate('ManageMembers');

// Get counts on every type of activation - for sections and filtering alike.
$request = $smcFunc['db_query']('', '
SELECT COUNT(*) AS total_members, is_activated
FROM {db_prefix}members
WHERE is_activated != {int:is_activated}
GROUP BY is_activated',
array(
'is_activated' => 1,
)
);
$context['activation_numbers'] = array();
$context['awaiting_activation'] = 0;
$context['awaiting_approval'] = 0;
while ($row = $smcFunc['db_fetch_assoc']($request))
$context['activation_numbers'][$row['is_activated']] = $row['total_members'];
$smcFunc['db_free_result']($request);

foreach ($context['activation_numbers'] as $activation_type => $total_members)
{
if (in_array($activation_type, array(0, 2)))
$context['awaiting_activation'] += $total_members;
elseif (in_array($activation_type, array(3, 4, 5)))
$context['awaiting_approval'] += $total_members;
}
Title: Re: Stop Spammer
Post by: Kindred on December 02, 2019, 08:13:33 PM
per the parse of the mod, it added


// Load Stop Spammer Functions
if ('all' == $_REQUEST['sa'] || 'browse' == $_REQUEST['sa'] || 'query' == $_REQUEST['sa'] || 'approve' == $_REQUEST['sa'])
{
global $sourcedir;
require_once($sourcedir . '/StopSpammer.php');
}




but if one thing was left behind, there might be more...     
Title: Re: Stop Spammer
Post by: Nodaz on December 03, 2019, 05:48:55 AM
Quote from: Kindred on December 02, 2019, 08:13:33 PM
per the parse of the mod, it added


// Load Stop Spammer Functions
if ('all' == $_REQUEST['sa'] || 'browse' == $_REQUEST['sa'] || 'query' == $_REQUEST['sa'] || 'approve' == $_REQUEST['sa'])
{
global $sourcedir;
require_once($sourcedir . '/StopSpammer.php');
}




but if one thing was left behind, there might be more...     

Would there be a reference to stop spammer in each instance?
The one i posted is the only thing that appears with a search for "stop spammer"
Ill remove that instance and see if anything changes.
Title: Re: Stop Spammer
Post by: Kindred on December 03, 2019, 12:36:11 PM
go to the mod page
parse the mod for manual installation
see the code changes
Title: Re: Stop Spammer
Post by: Nodaz on December 04, 2019, 02:19:45 PM
I deleted that first piece of code, still get the error,when i click the "information" icon on the  ]far left of the line with the error i get the following.
can i run the update, then find and replace what i see manually?
what is this telling me exactly?


Code: (Find) [Select]

if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));

Code: (Replace) [Select]

if ($context['sub_action'] == 'query' && empty($_POST))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}



EDIT:
so i couldnt find this code in the managemembers.php

if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));


added it, uploaded and the update ran without a hitch.

Title: Re: Stop Spammer
Post by: Nodaz on December 04, 2019, 02:49:29 PM
But after installing the 2.0.15 update i get the following error when trying to reinstall stop spammer

1. Execute Modification install_2.xml Modification parse error
2. Execute Modification install_2.xml Modification parse error
3. Execute Modification languages.xml Modification parse error
4. Execute Modification languages.xml Modification parse error
5. Execute Modification languages_utf8.xml Modification parse error
6. Execute Modification languages_utf8.xml Modification parse error
7. Extract File ./Sources/StopSpammer.php
8. Extract File ./Themes/default/images/icons/spammer.gif
9. Extract File ./Themes/default/images/icons/suspect.gif
10. Extract File ./Themes/default/images/icons/moreinfo.gif
11. Adapt Database install_2.php
Title: Re: Stop Spammer
Post by: Nodaz on December 05, 2019, 07:13:37 PM
thanks for the patience, i really dont spend a lot of time with this type of back end stuff i am just trying to make sure i understand what i should do before i do it.
So, do i understand correctly that i should run the stop spammer install even with the errors , THEN go back in, and modify the files as directed in the instructions that have been given?
Title: Re: Stop Spammer
Post by: Kindred on December 06, 2019, 08:43:50 AM
essentially, yes

except you are seeing way too many errors. You should only see ONE failure because there is only one bit of code that needs manual editing
Title: Re: Stop Spammer
Post by: Nodaz on December 06, 2019, 02:52:00 PM
Quote from: Kindred on December 06, 2019, 08:43:50 AM
essentially, yes

except you are seeing way too many errors. You should only see ONE failure because there is only one bit of code that needs manual editing
So perhaps a fresh install is the best course of action?
i just dont want to lose the forum data
Title: Re: Stop Spammer
Post by: Kindred on December 06, 2019, 03:57:57 PM
changing the files will not have any effect on the data (which is in the database)

Additionally, always take a backup (of files AND database) before klutzing around. :)
Title: Re: Stop Spammer
Post by: Nodaz on December 08, 2019, 09:08:59 PM
Quote from: Kindred on December 06, 2019, 03:57:57 PM
changing the files will not have any effect on the data (which is in the database)

Additionally, always take a backup (of files AND database) before klutzing around. :)
Back up in progress, thanks for the patience and advice advice .
Title: Re: Stop Spammer
Post by: KittyGalore on January 18, 2020, 06:47:59 AM
This mod is fantastic but upon installation it gives errors. Can it be updated. I currently use it on my forum but not sure at the time when it gave errors did i install it or do something but on a test forum new install of smf no mods this gives one error in the mangemembers.php file.
Title: Re: Stop Spammer
Post by: Shambles on January 18, 2020, 07:34:19 AM
Quote from: KittyGalore
This mod is fantastic but upon installation it gives errors.
Installation into which version of SMF ?

What, exactly, are the errors you're seeing?
Title: Re: Stop Spammer
Post by: KittyGalore on January 18, 2020, 08:58:39 AM
Quote from: Shambles on January 18, 2020, 07:34:19 AM
Quote from: KittyGalore
This mod is fantastic but upon installation it gives errors.
Installation into which version of SMF ?

What, exactly, are the errors you're seeing?
Sorry i thought i had included the version SMF 2.0.17
This is the code it's trying to replace in the Source ManageMembers.php

Code: (Find) [Select]
if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))

Code: (Replace) [Select]
if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

This is the only code i could find from a fresh copy of the file that matches some parts of it.

if ($context['sub_action'] == 'query' && empty($_POST))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}
Title: Re: Stop Spammer
Post by: Shambles on January 18, 2020, 01:24:33 PM
This is covered already in this very thread.

Eg:  https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547


... and in several other places, also in this very thread.
Title: Re: Stop Spammer
Post by: KittyGalore on January 18, 2020, 02:56:39 PM
Quote from: Shambles on January 18, 2020, 01:24:33 PM
This is covered already in this very thread.

Eg:  https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547


... and in several other places, also in this very thread.
Thank you i see the codes now i will edit them in. :)
Title: Re: Stop Spammer
Post by: smartmouse on March 03, 2020, 05:10:17 AM
Hello, since SMF 2.1 is in RC2... do you plan to update this mod to make it working with 2.1?
I tried to install the mod, but I had a lot of errors... so I did not install it.
Title: Re: Stop Spammer
Post by: Scooter Trash on March 21, 2020, 09:58:22 AM
QuoteHello, since SMF 2.1 is in RC2... do you plan to update this mod to make it working with 2.1?
I tried to install the mod, but I had a lot of errors... so I did not install it.

Same here. Tried to install on ver. 2.0.17 but got warning so abandoned installation. Unfortunate.
Title: Re: Stop Spammer
Post by: SD-X on March 21, 2020, 10:24:52 PM
Quote from: Scooter Trash on March 21, 2020, 09:58:22 AM
QuoteHello, since SMF 2.1 is in RC2... do you plan to update this mod to make it working with 2.1?
I tried to install the mod, but I had a lot of errors... so I did not install it.

Same here. Tried to install on ver. 2.0.17 but got warning so abandoned installation. Unfortunate.
What errors did you get? It should be working fine on 2.0.x.
Title: Re: Stop Spammer
Post by: Scooter Trash on March 22, 2020, 12:24:46 AM
Quote from: SugarD-x on March 21, 2020, 10:24:52 PM
Quote from: Scooter Trash on March 21, 2020, 09:58:22 AM
QuoteHello, since SMF 2.1 is in RC2... do you plan to update this mod to make it working with 2.1?
I tried to install the mod, but I had a lot of errors... so I did not install it.

Same here. Tried to install on ver. 2.0.17 but got warning so abandoned installation. Unfortunate.
What errors did you get? It should be working fine on 2.0.x.

Execute Modification   ./Sources/ManageMembers.php    Test failed

Replace    ./Sources/ManageMembers.php    Test failed
Title: Re: Stop Spammer
Post by: wylekk on March 22, 2020, 02:14:37 AM
Beautiful toy, all IP blocking manually in .htaccess, and this mod only finds registered users . Who wants to test the mod on SMF 2.1 RC2 here is an adapted file install_21.xml

<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>M-DVD:StopSpammer</id>
<name>Stop Spammer</name>
<version>2.3.9</version>

<file name="$sourcedir/ManageRegistration.php">
<operation>
<search position="before"><![CDATA[
require_once($sourcedir . '/ManageServer.php');
]]></search>
<add><![CDATA[
// Test if mod StopSpammer is OK
require_once($sourcedir . '/StopSpammer.php');
$txt['stopspammer_ok'] = stopspammer_test_mod_ok();
$stopspammer_faildb_sub = $txt['stopspammer_faildb_sub'];
]]></add>
</operation>

<operation>
<search position="before"><![CDATA[array('text', 'coppaPhone'),]]></search>
<add><![CDATA[
// Stop Spammer
array('title', 'stopspammer_settings'),
$txt['stopspammer_ok'],
'',
array('check', 'stopspammer_enable', 'subtext' => $txt['stopspammer_enable_sub']),
array('desc', 'stopspammer_check_sub1'),
array('check', 'stopspammer_check_name'),
array('check', 'stopspammer_check_mail'),
array('check', 'stopspammer_check_ip'),
array('desc', 'stopspammer_check_sub2'),
array('select', 'stopspammer_faildb', array($txt['stopspammer_fail01'], $txt['stopspammer_fail02'], $txt['stopspammer_fail03']), 'subtext' => $stopspammer_faildb_sub),
array('check', 'stopspammer_show01', 'subtext' => $txt['stopspammer_show01_sub']),
array('text', 'stopspammer_api_key'),
array('desc', 'stopspammer_api_key_sub'),]]></add>
</operation>
</file>

<file name="$sourcedir/ManageMembers.php">
<!--- Load our functions at the beginning of ViewMembers() for every sa we need --->
<operation>
<search position="before"><![CDATA['query' => array('ViewMemberlist', 'moderate_forum'),
);]]></search>
<add><![CDATA[$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'all';
// Load Stop Spammer Functions
if ('all' == $_REQUEST['sa'] || 'browse' == $_REQUEST['sa'] || 'query' == $_REQUEST['sa'] || 'approve' == $_REQUEST['sa'])
{
global $sourcedir;
require_once($sourcedir . '/StopSpammer.php');
}]]></add>
</operation>

<!--- First List - List All Member - BEGIN --->
<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=profile;u=%1$d">%2$s</a>',
'params' => array(
'id_member' => false,
'member_name' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=profile;u=\' . $rowData[\'id_member\'];
return sprintfspamer($rowData, $url, \'member_name\', 2);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=profile;u=%1$d">%2$s</a>',
'params' => array(
'id_member' => false,
'real_name' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=profile;u=\' . $rowData[\'id_member\'];
return sprintfspamer($rowData, $url, \'real_name\', 0);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="mailto:%1$s">%1$s</a>',
'params' => array(
'email_address' => true,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = \'mailto:\' . $rowData[\'email_address\'];
return sprintfspamer($rowData, $url, \'email_address\', 3);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=trackip;searchip=%1$s">%1$s</a>',
'params' => array(
'member_ip' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=trackip;searchip=\' . $rowData[\'member_ip\'];
return sprintfspamer($rowData, $url, \'member_ip\', 1);
'),]]></add>
</operation>
<!--- First List - List All Member - END --->

<!--- Second List - List Member Waiting Aproval - BEGIN --->
<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=profile;u=%1$d">%2$s</a>',
'params' => array(
'id_member' => false,
'member_name' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=profile;u=\' . $rowData[\'id_member\'];
return sprintfspamer($rowData, $url, \'member_name\', 2);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="mailto:%1$s">%1$s</a>',
'params' => array(
'email_address' => true,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = \'mailto:\' . $rowData[\'email_address\'];
return sprintfspamer($rowData, $url, \'email_address\', 3);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=trackip;searchip=%1$s">%1$s</a>',
'params' => array(
'member_ip' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=trackip;searchip=\' . $rowData[\'member_ip\'];
return sprintfspamer($rowData, $url, \'member_ip\', 1);
'),]]></add>
</operation>
<!--- Second List - List Member Waiting Aproval - END --->

<!--- Leyends, Info and  New Functions - BEGIN --->
<!--- Check or report inside ViewMemberlist() (sa = 'all' or 'query') - BEGIN --->
<operation>
<search position="after"><![CDATA[
// Are we performing a delete?]]></search>
<add><![CDATA[
// Are we performing a check or report?
if ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))
{
checkSession();

// Clean the input.
foreach ($_POST['delete'] as $key => $value)
{
$_POST['delete'][$key] = (int) $value;
// Don't report yourself, idiot :P
if ($value == $user_info['id'] || '1' == $value)
unset($_POST['delete'][$key]);
}

$modSettings['registration_method'] = 2;

// Check and/or Report This Members
if (!empty($_POST['delete']))
checkreportMembers($_POST['delete'], isset($_POST['spammers_report']));
}
]]></add>
</operation>
<!--- Check or report inside ViewMemberlist() (sa = 'all' or 'query') - END --->

<!--- Check or report inside AdminApprove() (sa = 'approve') - BEGIN --->
<operation>
<search position="after"><![CDATA[
// We also need to the login languages here - for emails.]]></search>
<add><![CDATA[
// Are we performing a check or report?
if ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['todoAction']))
{
checkSession();

// Clean the input.
foreach ($_POST['todoAction'] as $key => $value)
{
$_POST['delete'][$key] = (int) $value;
// Don't report yourself, idiot :P
if ($value == $user_info['id'] || '1' == $value)
unset($_POST['todoAction'][$key]);
}

$modSettings['registration_method'] = 2;

// Check and/or Report This Members
if (!empty($_POST['todoAction']))
checkreportMembers($_POST['todoAction'], isset($_POST['spammers_report']));
}
]]></add>
</operation>
<!--- Check or report inside AdminApprove() (sa = 'approve') - END --->

<operation>
<search position="after"><![CDATA[
array(
'position' => 'below_table_data',
'value' => '<input type="submit" ]]></search>
<add><![CDATA[
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="text-align: center">' . $txt['stopspammer_count'] . ' : ' . $modSettings['stopspammer_count'] . '</div>',
'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="margin: auto" class="leyend_stopspammer">
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
</div>',
'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<label>' . $txt['in_stop_forum_spam'] . '</label>
<input type="submit" name="spammers_checks" value="' . $txt['spammers_checks'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_checks'] . '\');" />
<input type="submit" name="spammers_report" value="' . $txt['spammers_report'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_report'] . '\');" />',
'class' => 'titlebg','titlebg',
'style' => 'text-align: right;',
),]]></add>
</operation>

<operation>
<search position="after"><![CDATA[
array(
'position' => 'below_table_data',
'value' => '
[<a href="' . $scripturl . '?action=admin;area=viewmembers;sa=browse;showdupes=']]></search>
<add><![CDATA[
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="text-align: center">' . $txt['stopspammer_count'] . ' : ' . $modSettings['stopspammer_count'] . '</div>',
'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="margin: auto" class="leyend_stopspammer">
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
</div>',
'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<label>' . $txt['in_stop_forum_spam'] . '</label>
<input type="submit" name="spammers_checks" value="' . $txt['spammers_checks'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_checks'] . '\');" />
<input type="submit" name="spammers_report" value="' . $txt['spammers_report'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_report'] . '\');" />',
'class' => 'titlebg','titlebg',
'style' => 'text-align: right;',
),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA[if ($context['current_subaction'] == 'query' && !empty($_REQUEST['params']) && empty($_POST['types']))]]></search>
<add><![CDATA[if ($context['current_subaction'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST['types']) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))]]></add>
</operation>
<!--- Leyends, Info and  New Functions - END --->
</file>

<file name="$sourcedir/Register.php">
<operation>
<search position="after"><![CDATA[
// Include the additional options that might have been filled in.]]></search>
<add><![CDATA[
// Is Spammer? Then should be approval
if ($modSettings['stopspammer_enable'])
{
require_once($sourcedir . '/StopSpammer.php');
if ($regOptions['spammer'] = checkDBSpammer($user_info['ip'], $_POST['user'], $_POST['email']))
{
$regOptions['require'] = 'approval';
$modSettings['registration_method'] = 2;
if ($regOptions['spammer'] != 8)
updateSettings(array('stopspammer_count' => ++$modSettings['stopspammer_count']), true);
}
}
]]></add>
</operation>
</file>

<file name="$sourcedir/Subs.php">
<operation>
<search position="replace"><![CDATA[$context['unapproved_members'] = !empty($modSettings['unapprovedMembers']) ? $modSettings['unapprovedMembers'] : 0;]]></search>
<add><![CDATA[$context['unapproved_members'] = $modSettings['unapprovedMembers'];]]></add>
</operation>
</file>

<file name="$sourcedir/Subs-Members.php">
<operation>
<search position="after"><![CDATA[
'validation_code' => $validation_code,]]></search>
<add><![CDATA[
'is_spammer' => empty($regOptions['spammer']) ? 0 : $regOptions['spammer'],]]></add>
</operation>

<operation>
<search position="replace"><![CDATA[mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.member_ip, mem.member_ip2, mem.last_login,]]></search>
<add><![CDATA[mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.member_ip, mem.member_ip2, mem.last_login, mem.is_spammer,]]></add>
</operation>
</file>

<file name="$sourcedir/Profile.php">
<!-- Profile BEGIN -->
<operation>
<search position="before"><![CDATA[ 'deleteaccount' => array(
'label' => $txt['deleteAccount'],
'file' => 'Profile-Actions.php',
'function' => 'deleteAccount',
'icon' => 'members_delete',
'sc' => 'post',
'token' => 'profile-da%u',
'password' => true,
'permission' => array(
'own' => array('profile_remove_any', 'profile_remove_own'),
'any' => array('profile_remove_any'),
),
),]]></search>
<add><![CDATA[
'checkmember' => array(
'label' => $txt['stopspammer_profilecheck'],
'custom_url' => $scripturl . '?action=admin;area=viewmembers;sa=query;params=' . base64_encode(serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))),
'enabled' => $cur_profile['id_group'] != 1 && !in_array(1, explode(',', $cur_profile['additional_groups'])),
'sc' => 'get',
'permission' => array(
'own' => array('profile_remove_any', 'profile_remove_own'),
'any' => array('profile_remove_any', 'moderate_forum'),
),
),]]></add>
</operation>
<!-- Profile END -->
</file>

</modification>

Title: Re: Stop Spammer
Post by: SD-X on March 22, 2020, 10:51:18 AM
Quote from: Scooter Trash on March 22, 2020, 12:24:46 AM
Quote from: SugarD-x on March 21, 2020, 10:24:52 PM
Quote from: Scooter Trash on March 21, 2020, 09:58:22 AM
QuoteHello, since SMF 2.1 is in RC2... do you plan to update this mod to make it working with 2.1?
I tried to install the mod, but I had a lot of errors... so I did not install it.

Same here. Tried to install on ver. 2.0.17 but got warning so abandoned installation. Unfortunate.
What errors did you get? It should be working fine on 2.0.x.

Execute Modification   ./Sources/ManageMembers.php    Test failed

Replace    ./Sources/ManageMembers.php    Test failed
Do you have any other mods installed?

Edit: I'm not sure if this is related to your issue or not, as I can't see what code you have failing from that information, but this post was mentioned previously for someone having a similar issue:
https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547
Title: Re: Stop Spammer
Post by: Scooter Trash on March 22, 2020, 07:59:33 PM
Quote from: SugarD-x on March 22, 2020, 10:51:18 AM

Edit: I'm not sure if this is related to your issue or not, as I can't see what code you have failing from that information, but this post was mentioned previously for someone having a similar issue:
https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547

httpBL
addon_OS_Browser_httpBL
and Ohara YouTube Embed.

I might try your suggestion when I have some time.
Thanks.
Title: Re: Stop Spammer
Post by: SD-X on March 22, 2020, 11:31:11 PM
Quote from: Scooter Trash on March 22, 2020, 07:59:33 PM
Quote from: SugarD-x on March 22, 2020, 10:51:18 AM

Edit: I'm not sure if this is related to your issue or not, as I can't see what code you have failing from that information, but this post was mentioned previously for someone having a similar issue:
https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547

httpBL
addon_OS_Browser_httpBL
and Ohara YouTube Embed.

I might try your suggestion when I have some time.
Thanks.
As far as I know, httpBL shouldn't have any conflicts with StopSpammer in the forum code, but the YouTube embed mod I don't know about personally.

Quote from: wylekk on March 22, 2020, 02:14:37 AM
Beautiful toy, all IP blocking manually in .htaccess, and this mod only finds registered users . Who wants to test the mod on SMF 2.1 RC2 here is an adapted file install_21.xml

<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>M-DVD:StopSpammer</id>
<name>Stop Spammer</name>
<version>2.3.9</version>

<file name="$sourcedir/ManageRegistration.php">
<operation>
<search position="before"><![CDATA[
require_once($sourcedir . '/ManageServer.php');
]]></search>
<add><![CDATA[
// Test if mod StopSpammer is OK
require_once($sourcedir . '/StopSpammer.php');
$txt['stopspammer_ok'] = stopspammer_test_mod_ok();
$stopspammer_faildb_sub = $txt['stopspammer_faildb_sub'];
]]></add>
</operation>

<operation>
<search position="before"><![CDATA[array('text', 'coppaPhone'),]]></search>
<add><![CDATA[
// Stop Spammer
array('title', 'stopspammer_settings'),
$txt['stopspammer_ok'],
'',
array('check', 'stopspammer_enable', 'subtext' => $txt['stopspammer_enable_sub']),
array('desc', 'stopspammer_check_sub1'),
array('check', 'stopspammer_check_name'),
array('check', 'stopspammer_check_mail'),
array('check', 'stopspammer_check_ip'),
array('desc', 'stopspammer_check_sub2'),
array('select', 'stopspammer_faildb', array($txt['stopspammer_fail01'], $txt['stopspammer_fail02'], $txt['stopspammer_fail03']), 'subtext' => $stopspammer_faildb_sub),
array('check', 'stopspammer_show01', 'subtext' => $txt['stopspammer_show01_sub']),
array('text', 'stopspammer_api_key'),
array('desc', 'stopspammer_api_key_sub'),]]></add>
</operation>
</file>

<file name="$sourcedir/ManageMembers.php">
<!--- Load our functions at the beginning of ViewMembers() for every sa we need --->
<operation>
<search position="before"><![CDATA['query' => array('ViewMemberlist', 'moderate_forum'),
);]]></search>
<add><![CDATA[$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'all';
// Load Stop Spammer Functions
if ('all' == $_REQUEST['sa'] || 'browse' == $_REQUEST['sa'] || 'query' == $_REQUEST['sa'] || 'approve' == $_REQUEST['sa'])
{
global $sourcedir;
require_once($sourcedir . '/StopSpammer.php');
}]]></add>
</operation>

<!--- First List - List All Member - BEGIN --->
<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=profile;u=%1$d">%2$s</a>',
'params' => array(
'id_member' => false,
'member_name' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=profile;u=\' . $rowData[\'id_member\'];
return sprintfspamer($rowData, $url, \'member_name\', 2);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=profile;u=%1$d">%2$s</a>',
'params' => array(
'id_member' => false,
'real_name' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=profile;u=\' . $rowData[\'id_member\'];
return sprintfspamer($rowData, $url, \'real_name\', 0);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="mailto:%1$s">%1$s</a>',
'params' => array(
'email_address' => true,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = \'mailto:\' . $rowData[\'email_address\'];
return sprintfspamer($rowData, $url, \'email_address\', 3);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=trackip;searchip=%1$s">%1$s</a>',
'params' => array(
'member_ip' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=trackip;searchip=\' . $rowData[\'member_ip\'];
return sprintfspamer($rowData, $url, \'member_ip\', 1);
'),]]></add>
</operation>
<!--- First List - List All Member - END --->

<!--- Second List - List Member Waiting Aproval - BEGIN --->
<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=profile;u=%1$d">%2$s</a>',
'params' => array(
'id_member' => false,
'member_name' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=profile;u=\' . $rowData[\'id_member\'];
return sprintfspamer($rowData, $url, \'member_name\', 2);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="mailto:%1$s">%1$s</a>',
'params' => array(
'email_address' => true,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = \'mailto:\' . $rowData[\'email_address\'];
return sprintfspamer($rowData, $url, \'email_address\', 3);
'),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA['sprintf' => array(
'format' => '<a href="' . strtr($scripturl, array('%' => '%%')) . '?action=trackip;searchip=%1$s">%1$s</a>',
'params' => array(
'member_ip' => false,
),
),]]></search>
<add><![CDATA['function' => create_function('$rowData', '
global $scripturl;
$url = strtr($scripturl, array(\'%\' => \'%%\')) . \'?action=trackip;searchip=\' . $rowData[\'member_ip\'];
return sprintfspamer($rowData, $url, \'member_ip\', 1);
'),]]></add>
</operation>
<!--- Second List - List Member Waiting Aproval - END --->

<!--- Leyends, Info and  New Functions - BEGIN --->
<!--- Check or report inside ViewMemberlist() (sa = 'all' or 'query') - BEGIN --->
<operation>
<search position="after"><![CDATA[
// Are we performing a delete?]]></search>
<add><![CDATA[
// Are we performing a check or report?
if ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))
{
checkSession();

// Clean the input.
foreach ($_POST['delete'] as $key => $value)
{
$_POST['delete'][$key] = (int) $value;
// Don't report yourself, idiot :P
if ($value == $user_info['id'] || '1' == $value)
unset($_POST['delete'][$key]);
}

$modSettings['registration_method'] = 2;

// Check and/or Report This Members
if (!empty($_POST['delete']))
checkreportMembers($_POST['delete'], isset($_POST['spammers_report']));
}
]]></add>
</operation>
<!--- Check or report inside ViewMemberlist() (sa = 'all' or 'query') - END --->

<!--- Check or report inside AdminApprove() (sa = 'approve') - BEGIN --->
<operation>
<search position="after"><![CDATA[
// We also need to the login languages here - for emails.]]></search>
<add><![CDATA[
// Are we performing a check or report?
if ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['todoAction']))
{
checkSession();

// Clean the input.
foreach ($_POST['todoAction'] as $key => $value)
{
$_POST['delete'][$key] = (int) $value;
// Don't report yourself, idiot :P
if ($value == $user_info['id'] || '1' == $value)
unset($_POST['todoAction'][$key]);
}

$modSettings['registration_method'] = 2;

// Check and/or Report This Members
if (!empty($_POST['todoAction']))
checkreportMembers($_POST['todoAction'], isset($_POST['spammers_report']));
}
]]></add>
</operation>
<!--- Check or report inside AdminApprove() (sa = 'approve') - END --->

<operation>
<search position="after"><![CDATA[
array(
'position' => 'below_table_data',
'value' => '<input type="submit" ]]></search>
<add><![CDATA[
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="text-align: center">' . $txt['stopspammer_count'] . ' : ' . $modSettings['stopspammer_count'] . '</div>',
'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="margin: auto" class="leyend_stopspammer">
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
</div>',
'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<label>' . $txt['in_stop_forum_spam'] . '</label>
<input type="submit" name="spammers_checks" value="' . $txt['spammers_checks'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_checks'] . '\');" />
<input type="submit" name="spammers_report" value="' . $txt['spammers_report'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_report'] . '\');" />',
'class' => 'titlebg','titlebg',
'style' => 'text-align: right;',
),]]></add>
</operation>

<operation>
<search position="after"><![CDATA[
array(
'position' => 'below_table_data',
'value' => '
[<a href="' . $scripturl . '?action=admin;area=viewmembers;sa=browse;showdupes=']]></search>
<add><![CDATA[
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="text-align: center">' . $txt['stopspammer_count'] . ' : ' . $modSettings['stopspammer_count'] . '</div>',
'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<div style="margin: auto" class="leyend_stopspammer">
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd01'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd02'] . '<br />
<img src="' . $GLOBALS['settings']['default_images_url'] . '/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> ' . $txt['stopspammer_leyd03'] . '<br />
</div>',
'class' => 'titlebg',
),
!$modSettings['stopspammer_enable'] ? '' :
array(
'position' => 'below_table_data',
'value' => '
<label>' . $txt['in_stop_forum_spam'] . '</label>
<input type="submit" name="spammers_checks" value="' . $txt['spammers_checks'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_checks'] . '\');" />
<input type="submit" name="spammers_report" value="' . $txt['spammers_report'] . '" onclick="return confirm(\'' . $txt['confirm_spammers_report'] . '\');" />',
'class' => 'titlebg','titlebg',
'style' => 'text-align: right;',
),]]></add>
</operation>

<operation>
<search position="replace"><![CDATA[if ($context['current_subaction'] == 'query' && !empty($_REQUEST['params']) && empty($_POST['types']))]]></search>
<add><![CDATA[if ($context['current_subaction'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST['types']) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))]]></add>
</operation>
<!--- Leyends, Info and  New Functions - END --->
</file>

<file name="$sourcedir/Register.php">
<operation>
<search position="after"><![CDATA[
// Include the additional options that might have been filled in.]]></search>
<add><![CDATA[
// Is Spammer? Then should be approval
if ($modSettings['stopspammer_enable'])
{
require_once($sourcedir . '/StopSpammer.php');
if ($regOptions['spammer'] = checkDBSpammer($user_info['ip'], $_POST['user'], $_POST['email']))
{
$regOptions['require'] = 'approval';
$modSettings['registration_method'] = 2;
if ($regOptions['spammer'] != 8)
updateSettings(array('stopspammer_count' => ++$modSettings['stopspammer_count']), true);
}
}
]]></add>
</operation>
</file>

<file name="$sourcedir/Subs.php">
<operation>
<search position="replace"><![CDATA[$context['unapproved_members'] = !empty($modSettings['unapprovedMembers']) ? $modSettings['unapprovedMembers'] : 0;]]></search>
<add><![CDATA[$context['unapproved_members'] = $modSettings['unapprovedMembers'];]]></add>
</operation>
</file>

<file name="$sourcedir/Subs-Members.php">
<operation>
<search position="after"><![CDATA[
'validation_code' => $validation_code,]]></search>
<add><![CDATA[
'is_spammer' => empty($regOptions['spammer']) ? 0 : $regOptions['spammer'],]]></add>
</operation>

<operation>
<search position="replace"><![CDATA[mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.member_ip, mem.member_ip2, mem.last_login,]]></search>
<add><![CDATA[mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.member_ip, mem.member_ip2, mem.last_login, mem.is_spammer,]]></add>
</operation>
</file>

<file name="$sourcedir/Profile.php">
<!-- Profile BEGIN -->
<operation>
<search position="before"><![CDATA[ 'deleteaccount' => array(
'label' => $txt['deleteAccount'],
'file' => 'Profile-Actions.php',
'function' => 'deleteAccount',
'icon' => 'members_delete',
'sc' => 'post',
'token' => 'profile-da%u',
'password' => true,
'permission' => array(
'own' => array('profile_remove_any', 'profile_remove_own'),
'any' => array('profile_remove_any'),
),
),]]></search>
<add><![CDATA[
'checkmember' => array(
'label' => $txt['stopspammer_profilecheck'],
'custom_url' => $scripturl . '?action=admin;area=viewmembers;sa=query;params=' . base64_encode(serialize(array('mem_id' => $memID, 'types' => array('mem_id' => '=')))),
'enabled' => $cur_profile['id_group'] != 1 && !in_array(1, explode(',', $cur_profile['additional_groups'])),
'sc' => 'get',
'permission' => array(
'own' => array('profile_remove_any', 'profile_remove_own'),
'any' => array('profile_remove_any', 'moderate_forum'),
),
),]]></add>
</operation>
<!-- Profile END -->
</file>

</modification>

Which versions of 2.1 has this been tested on so far?
Title: Re: Stop Spammer
Post by: wylekk on March 23, 2020, 04:35:48 AM
the same version is specified there -smf2.1rc2,  installed on my work site.

Title: Re: Stop Spammer
Post by: SD-X on March 23, 2020, 10:02:26 AM
Quote from: wylekk on March 23, 2020, 04:35:48 AM
the same version is specified there -smf2.1rc2,  installed on my work site.
Oops, my mistake! I don't know how I missed that.
Title: Re: Stop Spammer
Post by: viulian on April 26, 2020, 02:16:25 AM
Works for me on 2.0.17 version ... after manually fixing the code during updates and adding the IFs back.

Had to change the 'www' to 'api' and '.com' to '.org' in StopSpammer.php (_except_ for the /add URL, the one for Reporting the users).
Title: Re: Stop Spammer
Post by: EL34 on July 25, 2020, 12:40:51 PM
I have been using this mod for many years  :)
Current forum version is 2.0.17

Note that all membership request must be approved by me first
And so I have to view the list of want to be members first

I get spammer request all the time
Sometimes as many as 8 overnight

It waste my time to have to manually reject the ones that are already know to be spammers
One feature I would really like to see is the ability to just reject forum membership request if IP and email are found in the database

For an example, look at my screen shot
This is a perfect example of what I would like to be rejected automatically

Not sure if this can be done or if the author is still updating this mod?
Thanks


Title: Re: Stop Spammer
Post by: Kindred on July 25, 2020, 05:23:39 PM
Add good questions and you will cut down on the number of spammers that even get to the point of needing approval by 90%
Title: Re: Stop Spammer
Post by: EL34 on July 26, 2020, 11:22:36 AM
Quote from: Kindred on July 25, 2020, 05:23:39 PM
Add good questions and you will cut down on the number of spammers that even get to the point of needing approval by 90%

Does not stop them.
I have 8 questions and I rotate them all the time.

And here is what it looks like this morning


Title: Re: Stop Spammer
Post by: Kindred on July 26, 2020, 10:58:29 PM
Then they are not good questions.
Seriously, I have maybe 2-3 spammers even get to the stop spammer check in any month....   and this is over the past 3 years

30 questions,  ask 2 during registration- change them every 12-18 months
Title: Re: Stop Spammer
Post by: EL34 on July 27, 2020, 07:56:38 AM
Quote from: Kindred on July 26, 2020, 10:58:29 PM
Then they are not good questions.
Seriously, I have maybe 2-3 spammers even get to the stop spammer check in any month....   and this is over the past 3 years

30 questions,  ask 2 during registration- change them every 12-18 months

Sounds like your forum is not being directly targeted like mine is

Look at these 4 sample questions out of 9 I have
What is wrong with these?



Title: Re: Stop Spammer
Post by: @rjen on July 27, 2020, 08:33:06 AM
Just a note: those questions are fine.

Another question though: how long have you had these questions in place?

My experience is that once in a while my questions get 'catalogued' and from then on are systematically broken. Assuming that these spam services have some humans employed that figure out the questions and answers and put them into a database for the bots to use...
Solution is to change the questions slightly (actually just changing one word or adding a letter in the question does the trick) and the bots a are not coming for a while (up to a few years in my case), until the question is catalogued again and I have to change the questions again...
Title: Re: Stop Spammer
Post by: EL34 on July 27, 2020, 08:50:22 AM
Quote from: @rjen on July 27, 2020, 08:33:06 AM
Just a note: those questions are fine.

Another question though: how long have you had these questions in place?

My experience is that once in a while my questions get 'catalogued' and from then on are systematically broken. Assuming that these spam services have some humans employed that figure out the questions and answers and put them into a database for the bots to use...
Solution is to change the questions slightly (actually just changing one word or adding a letter in the question does the trick) and the bots a are not coming for a while (up to a few years in my case), until the question is catalogued again and I have to change the questions again...

Thanks, I knew they were good formulas  for questions :)

What I do is rotate the 9 questions around once in a while and change a letter or two in them
I just rotated them again today and changed some answers

But it will not be long again before that is no longer effective

I still think that my solution of rejecting membership if email AND user name come up in the database
You can plainly see in my screen shot that this would have stopped all those phony registrations
And there were 6 more this morning

I can fiddle with the code and test it
Has anyone had a look at the StopSpammer.php file?
Just curious where such a decision would be made in the code?
Thanks

Title: Re: Stop Spammer
Post by: EL34 on July 27, 2020, 02:02:58 PM
I had a look at the StopSpammer.php file

This function checks the spam DB in the StopSpammer.php file
function checkDBSpammer($check_ip, $check_name, $check_mail, $test = false)


The Register.php file calls the function listed above

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


It looks like this is where you would reject the registration request if user name and ip are both in the spam database?
Anyone want to take a crack at modding this code?

Thanks
Title: Re: Stop Spammer
Post by: EL34 on July 29, 2020, 06:31:56 AM
Just an update on the subject about shuffling questions and changing them every so often

Two days ago I shuffled 5 of the 9 questions
And I changed the answers

It worked for one day
Here is what it looks like this morning

Title: Re: Stop Spammer
Post by: Shades. on September 12, 2020, 04:27:35 PM
In Managemembers.php I cant change:
if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))
to
if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))

Heres that section in my Managemembers.php
if ($context['sub_action'] == 'query' && empty($_POST))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}

// Check input after a member search has been submitted.
if ($context['sub_action'] == 'query')
Title: Re: Stop Spammer
Post by: wwwserfer on November 01, 2020, 07:28:19 AM
Has anyone encountered these errors?



How to adapt the function to replace the deprecated one?
SMF 2.1 RC 3
PHP 7.3
Title: Re: Stop Spammer
Post by: Kindred on November 01, 2020, 07:40:45 AM
Mod needs to be redesognedfor php 7.3
Title: Re: Stop Spammer
Post by: wwwserfer on November 01, 2020, 07:52:46 AM
Quote from: Kindred on November 01, 2020, 07:40:45 AM
Mod needs to be redesognedfor php 7.3

I understood. because of this I am interested. just tried to remake according to templates, found in various FAQs - unsuccessfully))
Title: Re: Stop Spammer
Post by: snoopy_virtual on February 24, 2021, 05:37:07 AM
Quote from: Kindred on November 01, 2020, 07:40:45 AM
Mod needs to be redesognedfor php 7.3

I know and the problem is I continue being too busy with other things to do it myself.

Luckily I have found a friend who is willing to take the mod in his hands and do all the updates needed.

I have already asked the SMF Customization Team to add him as "co-author" so he can manage the mod properly.

I hope all of you will have good news soon.

Cheers
Title: Re: Stop Spammer
Post by: Matthias on February 25, 2021, 08:55:50 AM
I have updated this mod:

- Fixed error message "Undefined index: stopspammer_faildb_sub"
- Changes to make the installation work for version 2.0.17
- Changes to make the mod work with php 7.3
- Fixed: The "Check this member" link was visible to everyone in their own profile. Now it is only visible for moderators
- Added css class to the buttons
- Changed text string "Check these members" to "Check Selected Members"
- Changed text string "Report these members" to "Report Selected Members"

https://custom.simplemachines.org/mods/index.php?mod=1547
Title: Re: Stop Spammer
Post by: pocttopus on February 25, 2021, 09:31:49 AM
Quote from: Matthias on February 25, 2021, 08:55:50 AM
- Changes to make the installation work for version 2.0.17
It's not listed 2.0.17 version in compatible list.
So, is this mod working on 2.1rc3?
Title: Re: Stop Spammer
Post by: shadav on February 25, 2021, 09:36:44 AM
Quote from: pocttopus on February 25, 2021, 09:31:49 AM
Quote from: Matthias on February 25, 2021, 08:55:50 AM
- Changes to make the installation work for version 2.0.17
It's not listed 2.0.17 version in compatible list.
So, is this mod working on 2.1rc3?

since the current version of smf is 2.0.18, they can't mark past versions as working only current versions can be marked on the mod site as working

Matthias, will you be updating it to work with php 7.4?
and I'm not sure if this mod also had the issue with users that use ipv 6 like httpbl has
Title: Re: Stop Spammer
Post by: Matthias on February 25, 2021, 10:41:02 AM
It works for 2.0.15 - 2.0.18
I have tested it with php 7.3, but will have a look with 7.4
I haven't tested it with IPv6
Title: Re: Stop Spammer
Post by: SD-X on March 03, 2021, 07:21:20 AM
Personally the top three things that I'm waiting for, (which would be absolutely epic and much appreciated), would be PHP 7.4 (and eventually 8.0) support, IPv6 support, (if not already working), and SMF 2.1 support. That's all that is stopping me from using this wonderful mod again, which has been a godsend over the years in stopping spam on my forums. There aren't any other mods that come close to it, but when coupled with it, the anti-spam capabilities definitely become unstoppable. Right now there isn't really anything available for SMF 2.1, so it'd be awesome if this mod became #1 on that list again. :)
Title: Re: Stop Spammer
Post by: shadav on March 03, 2021, 10:09:20 AM
Quote from: SugarD-x on March 03, 2021, 07:21:20 AM
Personally the top three things that I'm waiting for, (which would be absolutely epic and much appreciated), would be PHP 7.4 (and eventually 8.0) support, IPv6 support, (if not already working), and SMF 2.1 support. That's all that is stopping me from using this wonderful mod again, which has been a godsend over the years in stopping spam on my forums. There aren't any other mods that come close to it, but when coupled with it, the anti-spam capabilities definitely become unstoppable. Right now there isn't really anything available for SMF 2.1, so it'd be awesome if this mod became #1 on that list again. :)
+100 :) those are what's stopping me from using this and a few other mods (well not the 2.1), especially the ipv6 issue as I accidently locked myself out of all of my forums  :laugh: because apparently one day I just end up with ipv6 out of no where  :laugh:
i mean sure I myself can disable it on my pc but how many of my users really would know how to do that? So I'm leery to reinstall any of these mods until then.
Title: Re: Stop Spammer
Post by: Onepoint on March 09, 2021, 10:23:21 PM
How do I uninstall the mod when it warns of errors?

I have not had any issue with it until we just updated to 2.0.18

I am running stop spammer 2.3.9

Then registration was broken and giving errors,   I searched that and found was an issue as far back as 2.0.15. After reading the fix and modding files to to no avail, I want to just uninstall the mod, update SMF and reinstall with the new version if it will work.

The errors list Action   Description
*   1.   Execute Modification   ./Sources/ManageRegistration.php -Test failed
   
*   2.   Execute Modification   ./Sources/ManageMembers.php - Test failed

Any direction on how to proceed would be appreciated.
Title: Re: Stop Spammer
Post by: SD-X on March 10, 2021, 03:53:43 PM
Quote from: Onepoint on March 09, 2021, 10:23:21 PM
How do I uninstall the mod when it warns of errors?

I have not had any issue with it until we just updated to 2.0.18

I am running stop spammer 2.3.9

Then registration was broken and giving errors,   I searched that and found was an issue as far back as 2.0.15. After reading the fix and modding files to to no avail, I want to just uninstall the mod, update SMF and reinstall with the new version if it will work.

The errors list Action   Description
*   1.   Execute Modification   ./Sources/ManageRegistration.php -Test failed
   
*   2.   Execute Modification   ./Sources/ManageMembers.php - Test failed

Any direction on how to proceed would be appreciated.
Take a look at the installation instructions to get an idea of what was modified, and just do the reverse before having the mod uninstall. Make sure you also don't have other mods that applied themselves over those sections, as that could also cause the issue you are having.
Title: Re: Stop Spammer
Post by: live627 on May 25, 2021, 05:25:45 AM
Quote from: Matthias on February 25, 2021, 08:55:50 AM
I have updated this mod:

- Fixed error message "Undefined index: stopspammer_faildb_sub"
- Changes to make the installation work for version 2.0.17
- Changes to make the mod work with php 7.3
- Fixed: The "Check this member" link was visible to everyone in their own profile. Now it is only visible for moderators
- Added css class to the buttons
- Changed text string "Check these members" to "Check Selected Members"
- Changed text string "Report these members" to "Report Selected Members"

https://custom.simplemachines.org/mods/index.php?mod=1547
Which files have changed?  need to create an upgrade path for myself because several tests fail when I try to uninstall. My goal here is to eliminate  all failed tests from the dozens fo mods installed since 2011.
Title: Re: Stop Spammer
Post by: GL700Wing on July 06, 2021, 07:09:52 AM
I have been struggling for hours today to get version 2.4.0 of this mod installed on four different forums (all on different shared servers) which have all been running version 2.3.9 without any issues.

The package file would upload without any issues but the installation kept timing out after 30-40 seconds when I clicked on the 'Install Mod' button in the Package Manager - no error messages logged in the forum, the system error log or the cPanel error log.  Weirdly I could reinstall version 2.3.9 immediately and without any issues on all four forums ...

I persisted with installing version 2.4.0 and basically I had to click the 'Install Mod' button in the Package Manager multiple times before the 'Install Mod' screen would display and even when it did there was sometimes an 'Modification parse error' error display for each of the package XML files (see attached image) - when this happened I then had to refresh the browser screen several times before the 'Modification parse error' error would disappear after which the mod would install within a couple of seconds without any further issues.

Having finally got version 2.4.0 installed on all four forums I then decided to try and work out what the difference was in the installation process for version 2.3.9 compared to version 2.4.0 and I discovered it was actually the 'readme' file for version 2.4.0 that was causing the timeout issues.

To show the supported languages the 'readme' file for version 2.4.0 loads the following 25 country flag image files from the Simple Machines website and I'm guessing the timeout issues are occurring because my forum servers are on the other side of the world - and across a very large, deep, and watery ditch - from the Simple Machines servers.







This is the code from the 'readme' file for version 2.4.0 that is causing the installation timeout issues:

[tr][td][b]Languages:[/b][/td][td][img]http://www.simplemachines.org/site_images/lang/english.gif[/img] [img]http://www.simplemachines.org/site_images/lang/english_british.gif[/img] [img]http://www.simplemachines.org/site_images/lang/spanish.gif[/img] [img]http://www.simplemachines.org/site_images/lang/spanish_latin.gif[/img] [img]http://www.simplemachines.org/site_images/lang/arabic.gif[/img] [img]http://www.simplemachines.org/site_images/lang/french.gif[/img]
[img]http://www.simplemachines.org/site_images/lang/bulgarian.gif[/img] [img]http://www.simplemachines.org/site_images/lang/portuguese_pt.gif[/img] [img]http://www.simplemachines.org/site_images/lang/portuguese_brazilian.gif[/img] [img]http://www.simplemachines.org/site_images/lang/dutch.gif[/img] [img]http://www.simplemachines.org/site_images/lang/indonesian.gif[/img] [img]http://www.simplemachines.org/site_images/lang/italian.gif[/img]
[img]http://www.simplemachines.org/site_images/lang/danish.gif[/img] [img]http://www.simplemachines.org/site_images/lang/turkish.gif[/img] [img]http://www.simplemachines.org/site_images/lang/russian.gif[/img] [img]http://www.simplemachines.org/site_images/lang/ukrainian.gif[/img] [img]http://www.simplemachines.org/site_images/lang/chinese-simplified.gif[/img] [img]http://www.simplemachines.org/site_images/lang/chinese-traditional.gif[/img]
[img]http://www.simplemachines.org/site_images/lang/swedish.gif[/img] [img]http://www.simplemachines.org/site_images/lang/german.gif[/img] [img]http://www.simplemachines.org/site_images/lang/polish.gif[/img] [img]http://www.simplemachines.org/site_images/lang/croatian.gif[/img] [img]http://www.simplemachines.org/site_images/lang/hungarian.gif[/img] [img]http://www.simplemachines.org/site_images/lang/norwegian.gif[/img]
[img]http://www.simplemachines.org/site_images/lang/finnish.gif[/img] [/td][/tr]


By comparison, the 'readme' file for version 2.3.9 does not load these images which probably explains why I was able to reinstall that version quickly and without any issues.

I strongly recommend that the 'readme' file for this mod be updated to simply list the supported languages rather than showing the country flags ...

That's about four hours of my life I'll never get back ...
Title: Re: Stop Spammer
Post by: landyvlad on July 13, 2021, 01:47:35 AM
I've asked a general question elsewhere - but is there any chance of a 2.1 version being developed for this mod?
Title: Re: Stop Spammer
Post by: Alpay on July 18, 2021, 10:52:22 AM
Hello,
   Very nice mod.. How can scan all members at once?

Quote from: Kindred on July 29, 2013, 12:13:54 PM
there is no way to do that....    and submitting 4000 pages of requests (at 50 per page, that would be 20,000 requests) would probably be a violation of the SFS database ToS. (In other words, don't do it... don't try to do it)

though a trigger would slowly test the back road with a worklist ?
maybe ... Forum Maintenance?
Title: Re: Stop Spammer
Post by: Tomcraft on August 24, 2021, 04:49:55 AM
Where can I find version 2.4.0 of the mod? It is currently not available to download at the mod site.

You cannot view this attachment.
Title: Re: Stop Spammer
Post by: izotz on August 29, 2021, 01:49:50 PM
Any update? It looks like the attachment is gone, and I can't download the MOD.
Title: Re: Stop Spammer
Post by: KittyGalore on August 30, 2021, 03:44:09 PM
Quote from: izotz on August 29, 2021, 01:49:50 PMAny update? It looks like the attachment is gone, and I can't download the MOD.
Looks like it could have been deleted since the site was update to 2.1 RC4 was there before that.
Title: Re: Stop Spammer
Post by: Tomcraft on September 01, 2021, 05:45:48 AM
Does anybody still have the version 2.4.0 to share with us?
Title: Re: Stop Spammer
Post by: KittyGalore on September 01, 2021, 01:52:41 PM
Quote from: Tomcraft on September 01, 2021, 05:45:48 AMDoes anybody still have the version 2.4.0 to share with us?
Here you go not sure why it was deleted.
Title: Re: Stop Spammer
Post by: Kindred on September 01, 2021, 02:06:04 PM
attachment removed.  Mod file was restored to the mod page. :)
Title: Re: Stop Spammer
Post by: landyvlad on September 07, 2021, 01:14:19 AM
I haven't asked for a couple of months so -
Any plans for this to be updated to be 2.1.x compatible?
Title: Re: Stop Spammer
Post by: landyvlad on October 07, 2021, 03:32:01 AM
Hmm I see that Matthias (the champion) hasn't been online since August, Snoopy since February and M-DVD since 2010 :)


Hopefully Matthias will pop in again sometime and let us know how things are going viz
SMF 2.1
PHP 7.4 +
IPv6
 
Title: Re: Stop Spammer
Post by: DarkAngel612 on January 06, 2022, 01:37:29 AM
I just upgraded one of my forums and after I did it the install link is missing from Package Manager, should I use the Advanced link as if I was installing an older version?
Title: Re: Stop Spammer
Post by: Diego Andrés on January 06, 2022, 01:41:42 AM
Quote from: DarkAngel612 on January 06, 2022, 01:37:29 AMI just upgraded one of my forums and after I did it the install link is missing from Package Manager, should I use the Advanced link as if I was installing an older version?

Yes, just make sure you test/backup if you have to
Title: Re: Stop Spammer
Post by: Avid Gamer on January 08, 2022, 05:39:42 AM
This is a great mod but only works on 2.0.18 are you going to support 2.0.19 and the up coming 2.1 versions. Also PHP 7.4, 8x

As previously stated not much activity from the mod writer's and that is worrying as to the future of this mod, I hope it gets supported soon even if I have to donate/pay/get a pro version.


Keep up the good work.
Title: Re: Stop Spammer
Post by: Shambles on January 08, 2022, 06:11:46 AM
Quote from: Avid Gamer... great mod but only works on 2.0.18 are you going to support 2.0.19 ...

It works fine on 2.0.19
Title: Re: Stop Spammer
Post by: spiros on January 12, 2022, 05:11:47 AM
Has anybody tested it with php 8? I get Call to undefined function create_function() when accessing Members (using 2.3.9, when I tried to uninstall it shoes 3 errors in 2 files)
https://www.simplemachines.org/community/index.php?topic=580270.new#new
Title: Re: Stop Spammer
Post by: Arantor on January 12, 2022, 05:16:00 AM
Lack of create_function is clearly a PHP 8 problem. Try https://custom.simplemachines.org/index.php?mod=4300 to get around that.
Title: Re: Stop Spammer
Post by: spiros on January 12, 2022, 06:28:57 AM
Interesting, I see security/performance issues lead to its demise... https://lindevs.com/function-create_function-has-been-removed-in-php-8-0/
Title: Re: Stop Spammer
Post by: Arantor on January 12, 2022, 07:08:57 AM
The security angle is only an issue if user input is fed into the function's definition, if not the security angle is literally no different to a regular closure. (In other words, like eval.)

As for performance that's also a shade misleading. Yes, eval is used to execute the code but the net result is that only the parsing step is actually slower; create_function creates a regular function that exists in global scope (like any other SMF function that isn't a class), with a fancy prefix with a hidden character at the start (and is excluded by get_defined_functions).

As long as you're not declaring create_function instances in a loop you should be fine. (Incremental cost of adding new functions is significantly higher than adding new instances of Closure. 2.0.7 had some issues with this for example, fixed in 2.0.8.)

The manual words it the way it does for the general case because we've had better options for years but legacy code with old-school support means that it's hard to move on.
Title: Re: Stop Spammer
Post by: live627 on January 12, 2022, 10:53:38 PM
Quote from: spiros on January 12, 2022, 05:11:47 AMHas anybody tested it with php 8? I get Call to undefined function create_function() when accessing Members (using 2.3.9, when I tried to uninstall it shoes 3 errors in 2 files)
https://www.simplemachines.org/community/index.php?topic=580270.new#new
I believe 2.4.0 fixes this
Title: Re: Stop Spammer
Post by: DomDom Skye on January 19, 2022, 03:31:59 PM
I'm using SMF 2.0.19 and when I try to install the package, I read "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Any chance to have it working for the latest version? It stopped to 2.0.18
Title: Re: Stop Spammer
Post by: Diego Andrés on January 19, 2022, 03:37:05 PM
Try version emulation:
https://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version
Title: Re: Stop Spammer
Post by: Arskrigitsioniets on January 25, 2022, 05:39:38 PM
Doesn't work on 2.0.19.
Title: Re: Stop Spammer
Post by: Shades. on January 25, 2022, 06:28:51 PM
Quote from: Arskrigitsioniets on January 25, 2022, 05:39:38 PMDoesn't work on 2.0.19.
What errors are your getting? I have it installed and working just fine on 2 seperate 2.0.19 forums!
Title: Re: Stop Spammer
Post by: SD-X on February 08, 2022, 07:41:03 PM
Quote from: Shades. on January 25, 2022, 06:28:51 PM
Quote from: Arskrigitsioniets on January 25, 2022, 05:39:38 PMDoesn't work on 2.0.19.
What errors are your getting? I have it installed and working just fine on 2 seperate 2.0.19 forums!
Literally this for me: "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Edit: Found the issue...

Extract the package. In package-info.xml:

Find:
<install for="2.0.15, 2.0.16, 2.0.17, 2.0.18">
Change to:
<install for="2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.0.19">
Find:
<uninstall for="2.0.15, 2.0.16, 2.0.17, 2.0.18">
Change to:
<uninstall for="2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.0.19">
ZIP up the package and upload it again. If you uploaded it previously, delete the old package via the Package Manager first, then upload the fixed one.
Title: Re: Stop Spammer
Post by: Shades. on February 08, 2022, 08:24:59 PM
Or just click on "Advanced" at the bottom right in Package Manager and type in 2.0.18 in the "Emulate Version" box and click "Apply". Then you'll be able to install it without editing anything, unless of course if you already have other mods installed that have changed the code. ;)
Title: Re: Stop Spammer
Post by: live627 on February 08, 2022, 10:30:15 PM
Quote from: SugarD-x on February 08, 2022, 07:41:03 PMExpand
<uninstall for="2.0.15, 2.0.16, 2.0.17, 2.0.18">
or make a wildcard2.0.*
Title: Re: Stop Spammer
Post by: jacbier on February 13, 2022, 06:30:11 PM
Will there be an update for SMF 2.1?
Title: Re: Stop Spammer
Post by: SD-X on February 14, 2022, 11:37:28 AM
Quote from: live627 on February 08, 2022, 10:30:15 PM
Quote from: SugarD-x on February 08, 2022, 07:41:03 PMExpand
<uninstall for="2.0.15, 2.0.16, 2.0.17, 2.0.18">
or make a wildcard2.0.*
Correct. I was just trying to modify the original package as little as possible since it already used that format.
Title: Re: Stop Spammer
Post by: Matthias on February 16, 2022, 06:43:42 PM
I am currently in the process of updating for 2.1.
My forums are currently still 2.0.x
But hopefully an update will come soon.
Title: Re: Stop Spammer
Post by: Diego Andrés on February 16, 2022, 06:59:35 PM
Quote from: Matthias on February 16, 2022, 06:43:42 PMBut hopefully an update will come soon.
When you do update the mod make sure you include a license with the package  :D
Title: Re: Stop Spammer
Post by: SD-X on February 21, 2022, 12:00:34 AM
Quote from: Matthias on February 16, 2022, 06:43:42 PMI am currently in the process of updating for 2.1.
My forums are currently still 2.0.x
But hopefully an update will come soon.
You have no idea how much I appreciate your reply stating this. This is by far the best anti-spam mod I've used on any forum software thus far, and without it my life has been a nightmare trying to keep spam bots off of my forums. SMF 2.1 compatibility would be a HUGE relief of stress for me in forum management and administration.
Title: Re: Stop Spammer
Post by: izotz on February 27, 2022, 05:49:59 AM
Quote from: Matthias on February 16, 2022, 06:43:42 PMI am currently in the process of updating for 2.1.
My forums are currently still 2.0.x
But hopefully an update will come soon.

Same thing, as SugarD-x said, our moderators would have a hard time without this.  It is the most useful mod in our forum.

I understand this can take time, but even very high level, I don't know if you could tell us if you are expecting the update to take weeks, a couple of months, or more. Just to set expectations, because I'd rather not upgrade our forum to version 2.1.1 if there is a chance of this mod to be compatible within the next 1 or 2 months.

Thanks so much for your work and patience.
Title: Re: Stop Spammer
Post by: Matthias on March 03, 2022, 07:45:20 AM
I have a working version for 2.1
Only a few small things need to be done.
I think this will be ready in the next days.
Title: Re: Stop Spammer
Post by: Arantor on March 03, 2022, 08:31:27 AM
If your mod is taken from the mod here and tweaked, neither you nor SMF are legally allowed to distribute it :(

The original author did not indicate a suitable licence for modified works so any 2.1 version must be limited to "if you take the existing mod, here are the changes to make it work on 2.1" unless someone can get hold of the original author and confirm the legal situation as such.

Copyright law sucks, but that is unfortunately the law.
Title: Re: Stop Spammer
Post by: Diego Andrés on March 03, 2022, 09:47:39 AM
He recently (last year) was added as an additional author for this mod  :P
I'm hoping he'll include a license this next update.
Title: Re: Stop Spammer
Post by: Arantor on March 03, 2022, 10:36:40 AM
Even that is dubious legally without it actually in writing what licence the original was under, or some formal notice from its original author. Licences cannot be changed without all of the copyright holders agreeing to it.

Do I think it's a *problem*? Realistically probably not, but *legally* it could be.
Title: Re: Stop Spammer
Post by: Matthias on March 03, 2022, 11:26:32 AM
In the StopSpammer.php file it says this. I think that's why the update is not a problem.

/******************************************************************************
* This program is free software; you may redistribute it and/or modify it     *
* under the terms of the provided license as published by SMF.                *
*******************************************************************************
* This program is distributed in the hope that it is and will be useful,      *
* but WITHOUT ANY WARRANTIES; without even any implied warranty of            *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                        *
******************************************************************************/
Title: Re: Stop Spammer
Post by: Matthias on March 03, 2022, 11:33:11 AM
Last year I had email contact with virtualsnoopy. He wrote this:

QuoteHi Matthias

I haven't been working in that mod for years, because I've been too busy and I never find time to do it.

If you are interested in keeping the mod alive and publish updates, I can ask the staff to add you as coauthor if you want.

This way you would be able to publish updates and maybe in the future, if I have some free time, we could work together in future updates.

Or, if you just want to publish this update but are not interested in working in future updates, just send me the zip file and I will publish it with your name.

It's up to you

Title: Re: Stop Spammer
Post by: Arantor on March 03, 2022, 11:45:01 AM
Quote from: Matthias on March 03, 2022, 11:26:32 AMIn the StopSpammer.php file it says this. I think that's why the update is not a problem.

/******************************************************************************
* This program is free software; you may redistribute it and/or modify it     *
* under the terms of the provided license as published by SMF.                *
*******************************************************************************
* This program is distributed in the hope that it is and will be useful,      *
* but WITHOUT ANY WARRANTIES; without even any implied warranty of            *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                        *
******************************************************************************/

And that's the problem. Precisely which terms?

This is why it matters: if you're saying "the same terms as SMF" you are legit screwed, sorry. Prior to 2011, when the bulk of this mod (even the 2.0 versions) was written, SMF had a licence that explicitly forbade anyone making derivative versions.

Legally it's ambiguous what licence any of this is under - even if practically and morally it's *probably* fine. Where this gets into deeper, nastier territory is that cases like this one form the basis of precedent. The way this is handled sets the way future cases are handled.

This is why previous issues of this sort of thing were always handled with "sorry no" unless the *mod author* themselves says otherwise - because they are the only ones legally empowered to make that sort of change.

Please believe me when I say I take no pleasure in sitting over here being all legal-eagle, just I've had to deal with this sort of thing blowing up into real lawsuits and with the best will in the world no one wants that. I've also seen projects near-implode over the copyright notice being incorrect because *this actually matters*.
Title: Re: Stop Spammer
Post by: Kindred on March 03, 2022, 12:22:30 PM
While I normally agree and enforce as you indicate, Arantor - in this case, I would argue that the mod author appears to have given permission - and I would argue that the INTENTION of the author is clear, even if the wording is somewhat (legally) muddled.
Title: Re: Stop Spammer
Post by: Arantor on March 03, 2022, 12:50:00 PM
Oh, don't get me wrong, I think the intent is clear enough. But I still have to be the evil one that sits in the corner and points out the underlying legal situation. Especially because it forms a precedent here.

The underlying legal situation, for the record, sucks.
Title: Re: Stop Spammer
Post by: Diego Andrés on March 03, 2022, 01:41:43 PM
We've had a couple of precedents then since probably a bunch of unnoticed mods have already included a license after being updated by a new maintainer. We can't do much about that, but it's all in the assumption that the author allowed for it when granting permission to take over.
Title: Re: Stop Spammer
Post by: DarkAngel612 on March 03, 2022, 02:11:53 PM
Remember that this is coming from someone that is not knowledgeable in this stuff ...me.

Can he add that to note from the creator to the zip as a way to show that he does have permission to re-do code, distribute, and such?
Title: Re: Stop Spammer
Post by: Matthias on March 04, 2022, 05:20:27 AM
Somehow I'm confused now. I don't know if I should publish updated version at all.
What should I do in your opinion?
Title: Re: Stop Spammer
Post by: Kindred on March 04, 2022, 07:16:53 AM
As an official representative of simple Machines (corporation) and Simple Machines Forum (project) I am telling you that, continuing existing precedent, we believe that the original author has given permission for you to update and publish the mod, including updates to the license which do not violate the original intention.
(So no option to make this a paid/closed mod)



I understand Arantor's position, but we have chosen this path and already established precedent.
Title: Re: Stop Spammer
Post by: Matthias on March 04, 2022, 07:47:37 AM
Thank you, Kindred. Okay, then I'll move on.
It would have been a real shame if it failed because of the license.
I have sent snoopy_virtual an email asking if it is ok for him if I add a license.
I hope I will get an answer. Let's see...
Title: Re: Stop Spammer
Post by: Arantor on March 04, 2022, 07:55:43 AM
It wasn't clear to me that the precedent was set, but thank you for clearing it up. :)
Title: Re: Stop Spammer
Post by: Belgarion on March 17, 2022, 07:12:38 PM
Just wondering if there has been an update on the version for 2.1 (specifically 2.1.1) as this is easily the most used mod on our forum.
Title: Re: Stop Spammer
Post by: SD-X on April 10, 2022, 05:06:28 PM
Quote from: Belgarion on March 17, 2022, 07:12:38 PMJust wondering if there has been an update on the version for 2.1 (specifically 2.1.1) as this is easily the most used mod on our forum.
This. Any news on that new version that was being discussed? Really excited for it. :)
Title: Re: Stop Spammer
Post by: Shades. on April 10, 2022, 06:22:29 PM
Quote from: SugarD-x on April 10, 2022, 05:06:28 PMThis. Any news on that new version that was being discussed? Really excited for it. :)
There is a new version here (https://custom.simplemachines.org/index.php?mod=4311) for 2.1.1 ;)
Title: Re: Stop Spammer
Post by: SD-X on April 11, 2022, 11:31:46 AM
Quote from: Shades. on April 10, 2022, 06:22:29 PM
Quote from: SugarD-x on April 10, 2022, 05:06:28 PMThis. Any news on that new version that was being discussed? Really excited for it. :)
There is a new version here (https://custom.simplemachines.org/index.php?mod=4311) for 2.1.1 ;)
That's a different mod that uses the same database.

While it is nice, I prefer the options provided by this one for my particular type of usage.
Title: Re: Stop Spammer
Post by: Sebastiii on April 13, 2022, 08:08:45 AM
Hi :)
Is there a way to download older version, I'm interested in 2.3.9, this mod version is installed but revert files and so on was removed from Packages folder, so I can't update to the latest version.

I have created a copy of the website locally to make testing, but it would be nice is I can download older version.
Thanks :)

PS : installed version of SMF is 2.0.18
Title: Re: Stop Spammer
Post by: SD-X on April 13, 2022, 06:25:23 PM
Quote from: Sebastiii on April 13, 2022, 08:08:45 AMHi :)
Is there a way to download older version, I'm interested in 2.3.9, this mod version is installed but revert files and so on was removed from Packages folder, so I can't update to the latest version.

I have created a copy of the website locally to make testing, but it would be nice is I can download older version.
Thanks :)

PS : installed version of SMF is 2.0.18
I have attached an old copy I had laying around so you can remove it from your forum and upgrade, but it should be noted that obviously no one should be using this version anymore for their security and stability, as a newer one has been released. I also have nothing to do with this mod directly, and I just enjoy using it, so nothing I'm saying in this post should be taken as official in any way. ;D
Title: Re: Stop Spammer
Post by: Sebastiii on April 13, 2022, 07:08:59 PM
Quote from: SugarD-x on April 13, 2022, 06:25:23 PMI have attached an old copy I had laying around so you can remove it from your forum and upgrade, but it should be noted that obviously no one should be using this version anymore for their security and stability, as a newer one has been released. I also have nothing to do with this mod directly, and I just enjoy using it, so nothing I'm saying in this post should be taken as official in any way. ;D
Thanks for this :)
Just to be sure to following you, I shouldn't use 2.3.9 but 2.4.0 instead, right ?
If yes, it's the goal I want to achieve ;D 
Title: Re: Stop Spammer
Post by: SD-X on April 13, 2022, 08:23:01 PM
Quote from: Sebastiii on April 13, 2022, 07:08:59 PM
Quote from: SugarD-x on April 13, 2022, 06:25:23 PMI have attached an old copy I had laying around so you can remove it from your forum and upgrade, but it should be noted that obviously no one should be using this version anymore for their security and stability, as a newer one has been released. I also have nothing to do with this mod directly, and I just enjoy using it, so nothing I'm saying in this post should be taken as official in any way. ;D
Thanks for this :)
Just to be sure to following you, I shouldn't use 2.3.9 but 2.4.0 instead, right ?
If yes, it's the goal I want to achieve ;D 

That I believe! Just a disclaimer for others so no one takes the conversation the wrong way. :D
Title: Re: Stop Spammer
Post by: Sebastiii on April 13, 2022, 09:38:20 PM
Perfect @SugarD-x :)
Thanks.
Title: Re: Stop Spammer
Post by: Steve on April 14, 2022, 11:58:09 AM
FYI ... anyone other than the mod author attaching older versions of a mod isn't allowed.
Title: Re: Stop Spammer
Post by: Sebastiii on April 14, 2022, 01:08:20 PM
Quote from: Steve on April 14, 2022, 11:58:09 AMFYI ... anyone other than the mod author attaching older versions of a mod isn't allowed.
Ok, sorry, I didn't know that, now I can run the latest version.
Title: Re: Stop Spammer
Post by: Matthias on April 14, 2022, 01:40:23 PM
I've made a few updates to the mod, but probably won't make any more.
There is a new and I think better mod from SleePy
https://custom.simplemachines.org/index.php?mod=4311
Title: Re: Stop Spammer
Post by: SD-X on April 14, 2022, 02:37:04 PM
Quote from: Matthias on April 14, 2022, 01:40:23 PMI've made a few updates to the mod, but probably won't make any more.
There is a new and I think better mod from SleePy
https://custom.simplemachines.org/index.php?mod=4311
His mod is decent, but lacks many of the features this mod has that I use to stop the spam from getting through.
Title: Re: Stop Spammer
Post by: Matthias on April 14, 2022, 03:06:25 PM
What features specifically are you using?
Title: Re: Stop Spammer
Post by: Sebastiii on April 14, 2022, 03:09:03 PM
Quote from: Matthias on April 14, 2022, 01:40:23 PMI've made a few updates to the mod, but probably won't make any more.
There is a new and I think better mod from SleePy
https://custom.simplemachines.org/index.php?mod=4311
I did install it too, it's working good, because it avoids spammer to register directly 👍
Title: Re: Stop Spammer
Post by: Matthias on April 14, 2022, 03:12:09 PM
I just remembered, I still have a version for 2.0.x where you can set whether spammers should go into the approval loop or be rejected directly with a message.
But I had never published. I have to put it together again and package it...
It is only for 2.0.x
Title: Re: Stop Spammer
Post by: SD-X on April 14, 2022, 03:15:38 PM
Quote from: Matthias on April 14, 2022, 03:06:25 PMWhat features specifically are you using?
My biggest ones are the features to go back and check existing users, (which is useful on large forums, and also helps catch those who slipped through because they weren't known to the database during their registration), and the ability to decide on what happens automatically when the database connection isn't working.

This mod also has a history of working very well, (without conflict), with httpBL, (which is sadly also lacking updates). I don't know if the other SFS mod has any issues with this or not, but I'd like to be able to keep that compatibility if httpBL ever does get updated. The two together pretty much stop everything without the need to do anything like ban bad IP routes or use registration questions. (This mod does most of the work, and httpBL tends to catch the stragglers). I've used them for years together with amazing success on numerous forums.

Don't get me wrong. I think the other mod is great, and I'm using it as a temporary workaround until this one is updated, but this one is just better for my particular use case. (I like catching each and every spammer, not just the ones that post).
Title: Re: Stop Spammer
Post by: Steve on April 14, 2022, 03:38:04 PM
Quote from: Sebastiii on April 14, 2022, 01:08:20 PM
Quote from: Steve on April 14, 2022, 11:58:09 AMFYI ... anyone other than the mod author attaching older versions of a mod isn't allowed.
Ok, sorry, I didn't know that, now I can run the latest version.
No worries. :)
Title: Re: Stop Spammer
Post by: Matthias on April 14, 2022, 03:40:11 PM
I know what you mean. You would like to select users in Admin Center and check directly if they are spammers or not.

I also found that very good in the mod. But exactly with this feature I have big problems for SMF 2.1.x

On the other hand I am glad that there is a good new mod for 2.1.x in my opinion. You can turn on that the spam registrations are logged.
Title: Re: Stop Spammer
Post by: SD-X on April 14, 2022, 05:01:03 PM
Quote from: Matthias on April 14, 2022, 03:40:11 PMOn the other hand I am glad that there is a good new mod for 2.1.x in my opinion. You can turn on that the spam registrations are logged.
Unfortunately I'm still seeing an average of about 4 spammer registrations a day still getting through with the other mod running, so being able to check these is really important to me. :(
Title: Re: Stop Spammer
Post by: Steve on April 14, 2022, 05:48:49 PM
Getting through to your forum?

Have you done something like this: https://simplemachines.org/community/index.php?topic=531660.msg3776163#msg3776163
Title: Re: Stop Spammer
Post by: SD-X on April 14, 2022, 06:03:52 PM
Quote from: Steve on April 14, 2022, 05:48:49 PMGetting through to your forum?

Have you done something like this: https://simplemachines.org/community/index.php?topic=531660.msg3776163#msg3776163
Nope. I'll never use questions or anything that requires users to interact beyond a simple click because most of them, (as we all know from experience), aren't always the brightest bulbs and have extreme difficulty completing some of the most basic tasks. For forums like mine that also support users from around the world, and have some that don't have a great understanding of the English language, there is going to be difficulty with some types of questions that bots already have no problem getting around.

I know this will probably start a debate leading to people thinking my point of view is ignorant, but I've been able to successfully mitigate 99.9% of spam bots from my forums over the years using a simple, basic ReCaptcha mod, (original and the "No Captcha" versions), StopSpammer, and httpBL with extreme success. (I do the same on my PHPBB-based forums too). On some forums I've added further mods that read from different databases similar to Stop Forum Spam and Project Honey Pot for extra protection, but they weren't really necessary as long as the other ones were operating correctly.
Title: Re: Stop Spammer
Post by: Matthias on April 15, 2022, 08:56:07 AM
@SugarD-x
You have removed the SMF copyright in your forum. Then you can't expect support here.
Title: Re: Stop Spammer
Post by: Steve on April 15, 2022, 10:47:50 AM
Nice catch @Matthias.

@SugarD-x, Matthias is indeed correct. Don't expect any more support until you replace the copyrights and leave them there.
Title: Re: Stop Spammer
Post by: Kindred on April 15, 2022, 11:03:02 AM
Quote from: Steve on April 15, 2022, 10:47:50 AMNice catch @Matthias.

@SugarD-x, Matthias is indeed correct. Don't expect any more support until you replace the copyrights and leave them there.

To be clear: while you are legally allowed to remove the SMF copyright, the position of SMF  is that, if you remove the SMF copyright, you have indicated that you do not need the support of the community and, therefore, SMF team members, and many helpers on this community site will not provide support to admins of that site.

You are not allowed to alter the SMF copyright in any way. Remove or leave. You CAN add additional lines.
Title: Re: Stop Spammer
Post by: Sir Osis of Liver on April 25, 2022, 08:50:27 PM
Does the mod work in 2.1?
Title: Re: Stop Spammer
Post by: Matthias on April 26, 2022, 06:44:58 PM
No, it is actually only for 2.0
Have a look at this:
https://custom.simplemachines.org/index.php?mod=4311
Title: Re: Stop Spammer
Post by: SulevFan on June 08, 2022, 05:55:27 PM
Hi folks, while I'm here, let me ask for advice. Many years ago I registered on the Stop Forum Spam forum (https://www.stopforumspam.com/forum/)

Now I seem to be unable to log in or do the usual password recovery. I've tried emailing admin there, twice over a couple of months, but to no avail.

Any other ideas how I can recover my registration?
Title: Re: Stop Spammer
Post by: Shambles on June 08, 2022, 06:18:04 PM
https://www.stopforumspam.com/contact
Title: Re: Stop Spammer
Post by: SulevFan on June 08, 2022, 06:31:23 PM
Quote from: Shambles on June 08, 2022, 06:18:04 PMhttps://www.stopforumspam.com/contact

Yea, that's the link I used
Title: Re: Stop Spammer
Post by: EL34 on August 12, 2022, 03:01:12 PM
I have a couple suggestions for Stop Spammer mod

I am using version 2.4 on SMF 2.0.19
I also use Mod httpBL and it shows this currently Spammers stopped by MOD httpBL: 406886

I have been using both these mods for many years

I get up to 10+ spammers trying to register on my Forum every day (look at my screen shot)
All potential members must be approved by me, the admin, so no one gets automatic approval.

I block many spammer IP's using a format like this 5.188.210.*
I currently get over 400 hits every day in the error log and ban log for spammers trying to re-register using the same IP address, so that works very well.
I have to clear these logs every day and it seems to be getting worse by the day.

I really would like to take this spam protection a step further by not allowing anyone to try and register if their IP AND email show up in the spammer data base.

I don't care about the user name because many user names are common, like Bob and that does not mean they are a spammer, just a guy named Bob and there are lots of legit Bob's

I also would like the 10 verification questions to be shuffled when presented to someone trying to register.
I shuffle these manually every so often and it seems to slow down the spammers for a few days.
I think the spammers share the questions and answers and they are using some sort of automated registration bot?

So to recap the two things I would like to see added:
No one can register if their IP and email is in the data base. (Don't care about the username?
Shuffle the verification questions

Is anyone interested in having these same items added to the mod?

ThanksYou cannot view this attachment.
Title: Re: Stop Spammer
Post by: Kindred on August 12, 2022, 04:01:46 PM
verification questions are not part of this mod -- they are a standard feature in SMF -- and they automatically shuffle.  Add 30 questions, ask 2 at registration -- the system will randomly pick 2 from the 30.

Between this mod, httpbl and questions - I have not had a single spammer successfully register in 3+ years - I turned off manual approval years ago.
Title: Re: Stop Spammer
Post by: Steve on August 13, 2022, 07:31:28 AM
Before the author responds, and I don't use this particular mod, I'd just like to say you really need to double or even triple your amount of available questions.
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on August 13, 2022, 08:14:17 AM
Quote from: EL34 on August 12, 2022, 03:01:12 PMSo to recap the two things I would like to see added:
No one can register if their IP and email is in the data base. (Don't care about the username?
Shuffle the verification questions

Is anyone interested in having these same items added to the mod?

ThanksYou cannot view this attachment.
The first one is almost there already, you can fairly simply configure the mod to only check ip and email. It will however be an OR, not AND, as far as I know.

Shuffling of security questions, is already in SMF as is. Simply create more questions than you want presented at any one time, and SMF will shuffle the questions.
Title: Re: Stop Spammer
Post by: EL34 on August 13, 2022, 09:23:04 AM
Quote from: Kindred on August 12, 2022, 04:01:46 PMBetween this mod, httpbl and questions - I have not had a single spammer successfully register in 3+ years - I turned off manual approval years ago.

Thanks but your forum has nothing to do with mine
In my screen shot you can clearly see that all those spammers would have been able to join my forum if I did not manually review members first.

I was looking for someone that is up for modifying the MOD so that email and I{P in the spammer data base are blocked from trying to register.

Here's the data from httpbl and stop spammer
So it looks like 400k and over 1 million have been foiled so far

Mod httpBL is ON, it is up-to-date and the connection with HoneyPot is perfect.
Spammers stopped by MOD httpBL: 407121
1038634 Spammers blocked up until today

Title: Re: Stop Spammer
Post by: EL34 on August 13, 2022, 09:23:38 AM
Quote from: Steve on August 13, 2022, 07:31:28 AMBefore the author responds, and I don't use this particular mod, I'd just like to say you really need to double or even triple your amount of available questions.

I have 10 questions currently
Title: Re: Stop Spammer
Post by: EL34 on August 13, 2022, 09:26:26 AM
Quote from: Aleksi "Lex" Kilpinen on August 13, 2022, 08:14:17 AMThe first one is almost there already, you can fairly simply configure the mod to only check ip and email. It will however be an OR, not AND, as far as I know.


Thanks for the reply
I am looking for someone interested in helping to modify stop spammer to do that
Where is that code line located?
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on August 13, 2022, 09:57:10 AM
In terms of efficiency, that change would mean more actual spammers getting through - I'm not saying it can't be done, but I am curious as to why? Right now you have a net catching people who use either a known spammer ip or a known spammer email, but lowering the requirement to only be someone who has both, will let more bots through.
Title: Re: Stop Spammer
Post by: EL34 on August 14, 2022, 01:50:58 PM
Quote from: Aleksi "Lex" Kilpinen on August 13, 2022, 09:57:10 AMIn terms of efficiency, that change would mean more actual spammers getting through -

How?
If their IP and Email are in the database, they would not even be allowed to see the register page.
They would be shown the honey pot page or a 404 page.
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on August 14, 2022, 02:29:17 PM
Well, unless I'm mistaken about something here, currently having one or the other, a known IP or a known email, stops them - You are asking how to modify it in a way that you would need to have both matching, a known IP and a known email, in order to stop them. I admit it's been a long while I've looked at the mod on 2.0, and I might remember something wrong.
Title: Re: Stop Spammer
Post by: Steve on August 14, 2022, 07:48:35 PM
As the author hasn't been here in 12 years, have you thought about using this instead?

Stop Forum Spam (https://custom.simplemachines.org/index.php?mod=4311)

Edit: I've lost track of what version of SMF you're on. The above applies to 2.1.x ....
Title: Re: Stop Spammer
Post by: EL34 on August 18, 2022, 12:59:00 PM
Quote from: Aleksi on August 14, 2022, 02:29:17 PMWell, unless I'm mistaken about something here, currently having one or the other, a known IP or a known email, stops them -

Nope.
All the mod does is check the data base and show you the red icons if they have been reported as spammers

I posted this screen shot in my first post showing all these spammers that registered.
Note that they all have red icons for Email and IP
So they are still able to register.

I manually approve or reject all registrations in order to keep spammers from being able to get access to my forum.
So these spammers were all rejected and reported.
Reporting them again adds any missing items to the data base like the username (if that did not show up as a red icon)

You cannot view this attachment.
Title: Re: Stop Spammer
Post by: EL34 on August 18, 2022, 01:03:20 PM
Quote from: Steve on August 14, 2022, 07:48:35 PMAs the author hasn't been here in 12 years, have you thought about using this instead?

Stop Forum Spam (https://custom.simplemachines.org/index.php?mod=4311)

Edit: I've lost track of what version of SMF you're on. The above applies to 2.1.x ....

Thanks
I am on 2.0.19
That mod is for 2.0

If I do go to 2.0, I will check out that mod
Title: Re: Stop Spammer
Post by: Aleksi "Lex" Kilpinen on August 18, 2022, 02:40:09 PM
Actually, I might have been mistaken and was probably thinking of exactly that mod. It should work for both 2.0.19 and 2.1.
Perhaps try that one instead? :)
Title: Re: Stop Spammer
Post by: EL34 on August 23, 2022, 01:51:14 PM
Quote from: Aleksi "Lex" Kilpinen on August 18, 2022, 02:40:09 PMActually, I might have been mistaken and was probably thinking of exactly that mod. It should work for both 2.0.19 and 2.1.
Perhaps try that one instead? :)

I PM'd Sleepy to ask about his mod
Title: Re: Stop Spammer
Post by: Steve on August 24, 2022, 09:21:48 AM
PMing team members without asking for their okay first is frowned upon. It's better to post in the mod's topic.
Title: Re: Stop Spammer
Post by: Sudhakar Arjunan on March 01, 2023, 03:04:39 AM
Any possibility of updating this mod to 2.1.3 please
Title: Re: Stop Spammer
Post by: Shades. on March 01, 2023, 04:59:20 AM
Quote from: Sudhakar Arjunan on March 01, 2023, 03:04:39 AMAny possibility of updating this mod to 2.1.3 please

Looks like the mod author hasn't been around since 2010.

But there is another mod like this one that will work on 2.1.3 here...
https://custom.simplemachines.org/index.php?mod=4311 ;)