News:

Join the Facebook Fan Page.

Main Menu

Stop Spammer

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

Previous topic - Next topic

snoopy_virtual

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.

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

Kindred

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...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

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

snoopy_virtual

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.

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

lupus

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?


Wizzlefits

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.

snoopy_virtual

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.

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

Wizzlefits

Forgot all about the Yellow Bug!  :-[

snoopy_virtual

It's normal that you forgot about it, because that was a problem we sort more than a year ago.  ;)

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

lupus

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.


snoopy_virtual

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.

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

sharingsunshine

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
"The Herbs Place" for People and Pets
Supplements, Herbs, Pet Foods, and More!
http://www.theherbsplace.com

sharingsunshine

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.
"The Herbs Place" for People and Pets
Supplements, Herbs, Pet Foods, and More!
http://www.theherbsplace.com

Wizzlefits

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.


sharingsunshine

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.
"The Herbs Place" for People and Pets
Supplements, Herbs, Pet Foods, and More!
http://www.theherbsplace.com

snoopy_virtual

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.  ;)

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

Col

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.

Col

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?

snoopy_virtual

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.

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

thechronic2001

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?

Wizzlefits

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.

Advertisement: