Previous Thread
Next Thread
Print Thread
Hop To
#242578 04/14/2011 7:19 PM
Joined: Nov 2004
Posts: 173
luket Offline OP
enthusiast
OP Offline
enthusiast
Joined: Nov 2004
Posts: 173
Once in a while I get a persistent spammer that can get seemingly limitless email address and IP addresses.

Recently I banned him again and then turned on Registration Approval to review new registrations (usually fruitless.)

The next registration I got was with email Luzifull@gmail.com and IP Address 110.164.249.158.

As a last ditch effort to stop this guy, I tried a google search Luzifull@gmail.com 110.164.249.158

and I got a HIT!
http://www.stopforumspam.com/ipcheck/110.164.249.158

OMG! I disallowed the registration with the reason: "because you're an idiot"

Over the next three days I got 4-5 such registrations, all of them appearing on stopforumspam.com.

PLEASE write a MOD that incorporates this wonderful functionality! (they claim they have an API for this very reason.)



Member since November 2004
Gold Member since Feb 2008
Joined: Dec 2003
Posts: 6,207
Likes: 31
Online Yawn
Joined: Dec 2003
Posts: 6,207
Likes: 31
A lot of us here use stopforumspam.com. It is a good thing.
I believe somebody here has already integrated it into the 7.x versions.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Nov 2004
Posts: 173
luket Offline OP
enthusiast
OP Offline
enthusiast
Joined: Nov 2004
Posts: 173
yep...
damn, should have searched first!

Thanks Ruben.

mod here


Member since November 2004
Gold Member since Feb 2008
Joined: Nov 2004
Posts: 173
luket Offline OP
enthusiast
OP Offline
enthusiast
Joined: Nov 2004
Posts: 173
Okay, so I just downloaded Gizmo's MOD.
There are no instructions on how to install it and I'm not seeing a "How to install a Mod" post prominently displayed anywhere.

I'm sure it's simple, but I've not done it before.

Can you tell me?


Member since November 2004
Gold Member since Feb 2008
Joined: Jun 2006
Posts: 15,966
Likes: 38
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,966
Likes: 38
Was about to mention that I have a mod at UBBdev; and the mod has install instructions in it...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 15,966
Likes: 38
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,966
Likes: 38
When you download the modification zip from here there is a text file in it, it explains what changes need to happen in which file for the mod to work.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2007
Posts: 522
Addict
Offline
Addict
Joined: Mar 2007
Posts: 522
I used SFS manually for a long time, and it was very tedious with the amount of new registrations I get every day. Gizmo's mod (I'm still using one of the first versions) automates it, and has literally saved me hours of copy/paste.

Thanks again, Giz.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Jun 2006
Posts: 15,966
Likes: 38
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,966
Likes: 38
Newest version makes use of the language files and auto checks/submits new signups wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2004
Posts: 173
luket Offline OP
enthusiast
OP Offline
enthusiast
Joined: Nov 2004
Posts: 173
Okay, starting install now...
* starts clock *


Member since November 2004
Gold Member since Feb 2008
Joined: Nov 2004
Posts: 173
luket Offline OP
enthusiast
OP Offline
enthusiast
Joined: Nov 2004
Posts: 173
done in 20 minutes.. but it's not working.

This step:
Code
In templates/default/admin/membermanage.tmpl
Find:
for($i=0;$i<sizeof($que);$i++) { //UBBTREMARK

Add Below:
	$xml_string = file_get_contents("http://www.stopforumspam.com/api?email=". $que[$i]['email']);
	$xml = new SimpleXMLElement($xml_string);
	if($xml->appears == 'yes'){
		$spammer_real_email = " <a href=\"http://stopforumspam.com/search/?q=". $que[$i]['email'] ."\" target=\"_blank\" style=\"color: #FF0000; font-weight: bold;\">{$ubbt_lang["SFS_ALERT"]}</a>";
	} else {
		$spammer_real_email = "";
	}

	$xml_string = file_get_contents("http://www.stopforumspam.com/api?ip=". $que[$i]['ip']);
	$xml = new SimpleXMLElement($xml_string);
	if($xml->appears == 'yes'){
		$spammer_reg_ip = " <a href=\"http://stopforumspam.com/ipcheck/". $que[$i]['ip'] ."\" target=\"_blank\" style=\"color: #FF0000; font-weight: bold;\">{$ubbt_lang["SFS_ALERT"]}</a>";
	} else {
		$spammer_reg_ip = "";
	}

Before:
Code
for($i=0;$i<sizeof($que);$i++) { //UBBTREMARK
echo <<<UBBTPRINT
<tr><td class="stdautorow autobottom colored-row" valign="top">
<small>
...

After:
Code
for($i=0;$i<sizeof($que);$i++) { //UBBTREMARK
	$xml_string = file_get_contents("http://www.stopforumspam.com/api?email=". $que[$i]['email']);
	$xml = new SimpleXMLElement($xml_string);
	if($xml->appears == 'yes'){
		$spammer_real_email = " <a href=\"http://stopforumspam.com/search/?q=". $que[$i]['email'] ."\" target=\"_blank\" style=\"color: #FF0000; font-weight: bold;\">{$ubbt_lang["SFS_ALERT"]}</a>";
	} else {
		$spammer_real_email = "";
	}

	$xml_string = file_get_contents("http://www.stopforumspam.com/api?ip=". $que[$i]['ip']);
	$xml = new SimpleXMLElement($xml_string);
	if($xml->appears == 'yes'){
		$spammer_reg_ip = " <a href=\"http://stopforumspam.com/ipcheck/". $que[$i]['ip'] ."\" target=\"_blank\" style=\"color: #FF0000; font-weight: bold;\">{$ubbt_lang["SFS_ALERT"]}</a>";
	} else {
		$spammer_reg_ip = "";
	}
echo <<<UBBTPRINT
<tr><td class="stdautorow autobottom colored-row" valign="top">
<small>
...

And all I get is a blank member management page.
I see the four tabs across the top, but I cannot click on them.
Also the display pane is empty. Any ideas?


Member since November 2004
Gold Member since Feb 2008
Joined: Dec 2003
Posts: 6,207
Likes: 31
Online Yawn
Joined: Dec 2003
Posts: 6,207
Likes: 31
You really should post your issues at ubbdev where the mod is at.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Nov 2004
Posts: 173
luket Offline OP
enthusiast
OP Offline
enthusiast
Joined: Nov 2004
Posts: 173
Will do,
thanks ruben


Member since November 2004
Gold Member since Feb 2008
Joined: Dec 2003
Posts: 6,207
Likes: 31
Online Yawn
Joined: Dec 2003
Posts: 6,207
Likes: 31
At least it will be in one place so if someone else has a similar issue, they can get some info. Instead of it being spread out on different boards and posts that are unrelated to the topic.
And I am sure that Giz will respond there.

But I can't resist the temptation.
Did you get a api key?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 15,966
Likes: 38
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,966
Likes: 38
Again, modifications are not supported at UBBCentral... I won't answer any support inquiries for my modifications here; they have a thread at UBBDev and modification support there as well.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
What triggers page view numbers
by Morgan - 09/21/2020 10:31 AM
Forum Permissions Question
by FREAK - 09/20/2020 2:13 PM
Moving UBBthreads Between Servers
by DennyP - 09/19/2020 7:55 PM
Member Log In/Password Issues
by FREAK - 09/19/2020 12:13 PM
[FIXED for 7.7.5] Broken CP Link
by JAISP - 09/17/2020 3:22 PM
Who's Online Now
2 members (David889, Ruben), 55 guests, and 47 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200921)