Previous Thread
Next Thread
Print Thread
Rate Thread
[7.x] Stop Forum Spam Integration v0.5 #318736
04/09/2011 4:04 PM
04/09/2011 4:04 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Author: Gizmo (James of VNC Web Design)

Requirements:
  • Valid UBB.Threads 7.0 install and license
  • PHP5+, PHP4 is not supported.
  • You will need an API Key from Stop Forum Spam.


About:
This modification will allow you to check your users (via the "Edit User" function in the Control Panel) and new signups (via the "Registration Queue") against the Stop Forum Spam databases.

When a spammer is identified a Red/Bold ! will display next to the field, clicking this ! will allow you to view the associated data on Stop Forum Spam.

As of v0.3 we're assuming that you have an API key and you want to submit spam; you'll likely want to put your API key in (both) the language files (admin/public) when you upload them to your server.

Changelog:
v0.1 - Initial Build
v0.2 - Fixed an issue with users having 0 posts throwing an error in the CP on the Edit User screen.
v0.3 - Overhauled the addon making it a true modification with Language File support. Also added it so that users triggering the signup check will be automatically submitted to Stop Forum Spam.
v0.4 - I believe I fixed the "downtime" issues, whereby if the validation server is down, people where unable to register.
v0.5 - The script will now show a notice when the Stop Forum Spam API is down and should no longer make pages inaccessible.

Demo:
CP - Edit User Page - What's whown on the edit user page.
CP - Registration Queue - What's shown on the registration queue page.
CP - Report Spam - Option to report a spammer to the database.
Public - Registration Detected - Registration page, detected a spammer based on their IP address or EMail address.

NOTE: StopForumSpam.com only allows 5k 10k 20k lookups per day; thus, you should refrain from attempting to implement this code on pages which would quickly hit this limit (such as adding searches for all types of data on the search users page).

API Key: Go here and sign up on their forums, then go here once logged in and generate a key for "yourdomain.tld". This API key needs to be added to both of the language files in the modification archive (one in the "english" folder, and its subfolder of "admin").

Attached Files
Stop Forum Spam v0.3.zip (21 downloads)
Stop Forum Spam Integration v0.3
Stop_Forum_Spam_v0.4.zip (32 downloads)
Stop Forum Spam v0.5.zip (24 downloads)

UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Sponsored Links
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318738
04/09/2011 9:33 PM
04/09/2011 9:33 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Just an FYI regarding the new "auto submission" feature when an email is matched; I initially wanted to do this for IP matching as well, but figured that since most ISP's divvy a dynamic IP that it wasn't really worthwhile to auto submit for them at this time, but it's totally doable if you'd like to.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318739
04/10/2011 2:42 PM
04/10/2011 2:42 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Just heard from Paul at Stop Forum Spam and not only have they updated their limit to 10k from when I wrote up the initial mod, they upped the limit again to 20k!

So, I'll be adding some information on adding the lookup to the member manage listing itself for those of you who'd like to use it. Just be mindful of the 20k limit, if you have a ton of members you still might not want to run it...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318740
04/10/2011 3:14 PM
04/10/2011 3:14 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
We're also now added to the Mods and Plugins page at Stop Forum Spam as well.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318811
07/04/2011 1:14 PM
07/04/2011 1:14 PM
Joined: Jul 2011
Posts: 1
D
Deejay Offline
Lurker
Deejay  Offline
Lurker
D
Joined: Jul 2011
Posts: 1
Thanks for this... I am hoping it helps cut down the morons spamming our forums... smile

Sponsored Links
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Deejay] #318817
07/05/2011 2:46 PM
07/05/2011 2:46 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Originally Posted by Deejay
Thanks for this... I am hoping it helps cut down the morons spamming our forums... smile
well, if you keep track of how many you had before hand; keep us updated on how many you get now wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318823
07/07/2011 11:07 PM
07/07/2011 11:07 PM
Joined: Mar 2000
Posts: 25,587
Texas
AllenAyres Offline
I type Like navaho
AllenAyres  Offline
I type Like navaho
Joined: Mar 2000
Posts: 25,587
Texas
smile Have you seen a drop off Gizzy?


- Allen wavey
- What Drives You?
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: AllenAyres] #318827
07/07/2011 11:46 PM
07/07/2011 11:46 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Originally Posted by AllenAyres
smile Have you seen a drop off Gizzy?
Loads, I used to have daily drive by trolls (2-3, nothing too big, but LOTS of posts) and now I'm lucky to see one a week...

I mean, I don't have as busy of a site as most of you, but we do have a decent PR value (4+) so we get a lot of pop in look around traffic tipsy.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318853
07/22/2011 3:54 PM
07/22/2011 3:54 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
v0.4 added to the first post.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318904
04/09/2012 11:38 PM
04/09/2012 11:38 PM
Joined: Dec 2001
Posts: 84
Issaquah, WA
Bill B Offline
Power User
Bill B  Offline
Power User
Joined: Dec 2001
Posts: 84
Issaquah, WA
I've installed the full MOD (Thanks Gizmo).. and now I'm breathlessly awaiting my first Spammer. (Had 4 or 5 last week.)

I have some questions (that may become obvious later to me) - but, if I look at the Demo's above, it appears that

1) known Spammers are REJECTED and can't register in the Forum. (from a pool of 21 million!!! Wow)....

2) So how does the Edit USER page show a spammer? or why?

3) or how does a USER Registration QUEUE work? How does a Spammer make it that far?

Thanks... I've wondered about this for MONTHS and now I'm eagerly waiting to see my first "customer"!!!!! Ha ha.


Bill Barker
Issaquah, Wa
Sponsored Links
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318905
04/16/2012 2:46 AM
04/16/2012 2:46 AM
Joined: May 2008
Posts: 7
B
bellaonline Offline
Lurker
bellaonline  Offline
Lurker
B
Joined: May 2008
Posts: 7
I just implemented it - thanks to Gizmo for it. We have just been deluged with spammers.

I just did a check of the last set of registrations.

valid - 76
spammers - 68

So nearly half of all incoming registrations were going to start spamming us. This will make it much easier to stop them.

For some reason I am not seeing any note of their spam status on the main registration queue page. I have to click on their name to get to the detail page - and on that page I do see the red exclamation point by the email address or IP address (or usually both) to show they are a spammer.

Any thoughts on why I don't see that detail on the main registration queue page? I did make all the changes as instructed (or at least I thought I did).

Last edited by bellaonline; 04/16/2012 2:59 AM.
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318906
04/16/2012 3:01 AM
04/16/2012 3:01 AM
Joined: May 2008
Posts: 7
B
bellaonline Offline
Lurker
bellaonline  Offline
Lurker
B
Joined: May 2008
Posts: 7
While I was in viewing the source of the registration queue page I noticed that the code to make the "approve / decline" radio buttons had a bug - it was adding slashes before the two quotes around the checked default button for "no change". So I removed them in my code. You might want to check that that is in the master code.

Re: [7.x] Stop Forum Spam Integration v0.5 [Re: bellaonline] #318907
04/16/2012 11:47 AM
04/16/2012 11:47 AM
Joined: Dec 2001
Posts: 84
Issaquah, WA
Bill B Offline
Power User
Bill B  Offline
Power User
Joined: Dec 2001
Posts: 84
Issaquah, WA
Can you list the names of the pages that you're looking at?

I only see the red exclimation mark if I look at a specific user: /admin/showuser.php


Bill Barker
Issaquah, Wa
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Bill B] #318908
04/16/2012 10:42 PM
04/16/2012 10:42 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Originally Posted by Bill B
1) known Spammers are REJECTED and can't register in the Forum. (from a pool of 21 million!!! Wow)....
Yes.

Originally Posted by Bill B
2) So how does the Edit USER page show a spammer? or why?[/url] A red ! is shown next to the field with offending data; why? because it'd be useful there?

[quote=Bill B]3) or how does a USER Registration QUEUE work? How does a Spammer make it that far?
Users won't make it there, if they're flagged they won't even see the registration screen. Adding code elsewhere isn't recommended as you only get so many lookups per day, and on a busy board it'll end up hitting this limit if added to more sections than the default code supplied.



UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318909
04/17/2012 12:58 AM
04/17/2012 12:58 AM
Joined: Dec 2001
Posts: 84
Issaquah, WA
Bill B Offline
Power User
Bill B  Offline
Power User
Joined: Dec 2001
Posts: 84
Issaquah, WA
Thanks... I understand it now... And it's as simple as it seems. Since they can't get registered, they won't show up anywhere.

I sure hope Ver 7.6 (8.0?) has this included.


Bill Barker
Issaquah, Wa
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318910
04/17/2012 1:11 AM
04/17/2012 1:11 AM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
It won't since it requires an API key so has to pretty much remain a mod/plugin...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318912
05/05/2012 3:53 PM
05/05/2012 3:53 PM
Joined: May 2008
Posts: 7
B
bellaonline Offline
Lurker
bellaonline  Offline
Lurker
B
Joined: May 2008
Posts: 7
I'm happy to report that I just rolled the code in on my wineintro.com forum and it seems to be working smoothly there too. So that's two forums now running the code and seeing a reduction in spammers.

I only got one or two a week in this forum - fairly low traffic - but still every bit helps.

Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318940
08/31/2012 5:26 AM
08/31/2012 5:26 AM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Just finished v0.5 which is a pretty big deal when you find the announcement when the new ubb comes out...

v0.5 - The script will now show a notice when Stop Forum Spam is down and should no longer make pages inaccessible.Option to report a spammer to the database.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #318944
09/09/2012 6:49 PM
09/09/2012 6:49 PM
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,928
Portland, OR, USA
There should be an update to the script sometime this week to add in access to the load balancing server at Stop Forum Spam; it does not work right now but I've got the mod updated to reflect it for testing.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #319000
01/10/2013 5:49 PM
01/10/2013 5:49 PM
Joined: Jan 2007
Posts: 3
J
johnsmith012 Offline
Lurker
johnsmith012  Offline
Lurker
J
Joined: Jan 2007
Posts: 3
I am running UBB.threads™ 7.5.6 on http://www.belizeforum.com

I downloaded v0.5 and was cruising along installing the mod when I got to:

In templates/default/admin/membermanage.tmpl
Find:
for($i=0;$i
unfortunately, this line does not exist in my membermanage.tmpl, the only place //UBBTREMARK exists in this file is at the top

// Script Version 7.5.6

I am not a coder, but I have handled many mods and feel comfortable doing this, but am I missing something?

Thanks!

Re: [7.x] Stop Forum Spam Integration v0.5 [Re: johnsmith012] #319001
01/10/2013 6:05 PM
01/10/2013 6:05 PM
Joined: Jan 2007
Posts: 3
J
johnsmith012 Offline
Lurker
johnsmith012  Offline
Lurker
J
Joined: Jan 2007
Posts: 3
oops, never mind, just found it

Re: [7.x] Stop Forum Spam Integration v0.5 [Re: Gizmo] #319002
01/10/2013 10:39 PM
01/10/2013 10:39 PM
Joined: Jan 2007
Posts: 3
J
johnsmith012 Offline
Lurker
johnsmith012  Offline
Lurker
J
Joined: Jan 2007
Posts: 3
I have added the API key to the two language files, but I get a red bar with a "Cannot Connect to the Stop Forum Spam API. " in the registration queue. I am getting the red exclamation marks next to the email and IP numbers which mean it must be connecting. A couple of question:

1. Why am I getting the message that it can't connect with SFS and yet the exclamation marks are showing?

2. How can I delete the spammers without them knowing that I did it?

3. Should I report the spammers in the Member information page even though the registration queue says it can not connect to SFS API?


Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need for Migration, Security or Coding Services.
Recommended Hosts
We have personally worked with, and recommend, the following Web Hosts:
· Stable Host
· Blue Host
· Interserver.net
Visit Us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 458
Joined: February 2008
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,424
Posts293,381
Members13,777
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 25,587
JoshPet 11,330
Rick 8,373
LK 7,396
Lord Dexter 6,503
Gizmo 5,928
Greg Hard 5,533
Top Posters(30 Days)
isaac 6
Morgan 1
Today's Statistics
Currently Online 745
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 19
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2017 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171017.dev)
Page Time: 0.056s Queries: 16 (0.014s) Memory: 3.3746 MB (Peak: 3.6673 MB) Zlib enabled. Server Time: 2017-10-20 07:10:11 UTC