Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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").
Attachments
Stop Forum Spam v0.3.zip (2.72 KB, 22 downloads)
Stop Forum Spam Integration v0.3
SHA1: ee3b1135e29f71a64d9a0c6e648bf7298a026f64
Stop_Forum_Spam_v0.4.zip (2.73 KB, 32 downloads)
SHA1: e308f1b85f403325d752a4198fc89b3fa3c7223d
Stop Forum Spam v0.5.zip (3.54 KB, 27 downloads)
SHA1: ecde4cbab4e1e82fdde795e8d7a3b5c86d421009


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, My UBB Scripts
Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Jul 2011
Posts: 1
Lurker
Lurker
Offline
Joined: Jul 2011
Posts: 1
Thanks for this... I am hoping it helps cut down the morons spamming our forums... smile

Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
smile Have you seen a drop off Gizzy?


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Dec 2001
Posts: 87
Power User
Power User
Joined: Dec 2001
Posts: 87
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
Joined: May 2008
Posts: 7
Lurker
Lurker
Offline
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.
Joined: May 2008
Posts: 7
Lurker
Lurker
Offline
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.

Joined: Dec 2001
Posts: 87
Power User
Power User
Joined: Dec 2001
Posts: 87
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
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Dec 2001
Posts: 87
Power User
Power User
Joined: Dec 2001
Posts: 87
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
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: May 2008
Posts: 7
Lurker
Lurker
Offline
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.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Jan 2007
Posts: 3
Lurker
Lurker
Offline
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!

Joined: Jan 2007
Posts: 3
Lurker
Lurker
Offline
Joined: Jan 2007
Posts: 3
oops, never mind, just found it

Joined: Jan 2007
Posts: 3
Lurker
Lurker
Offline
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?


Link Copied to Clipboard
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 of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)