• Welcome to Simple Machines Community Forum. Please login or sign up.
November 30, 2021, 07:20:05 PM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Stop Spammer

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

Previous topic - Next topic

butchs

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?
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

snoopy_virtual

Obviously you haven't been reading the proper ones.  ;)

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.

PhobosK

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

butchs

Quote from: snoopy_virtual on January 21, 2011, 08:19:27 PM
Obviously you haven't been reading the proper ones.  ;)

Probably.  ???
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

snoopy_virtual

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?

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.

gizmo71

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)

Mayhem30

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

gizmo71

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 to cure this...

Mayhem30

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

Goss

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?

snoopy_virtual

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.

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.

Goss

Oops, knew I forgot something.  I'm using SMF 2.0 RC4 and I've attached my index.template.php file.

snoopy_virtual

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.

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.

Goss

January 25, 2011, 03:59:25 PM #1113 Last Edit: January 25, 2011, 04:06:26 PM by Goss
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!

forumbikspc

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.

snoopy_virtual

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

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.

forumbikspc

Thanks a lot!
I know a few thinks about modify php files so now the MOD is working.

Best Regards ;)

YoYoNation

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] hxxp:yoyonation.com [nonactive]

Angie on Dialysis

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
?action=register2
Error with Anti SPAM DB. Connection Failed.
Please try again later, or Contact with the WebMaster

snoopy_virtual

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

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

Advertisement: