- adding is not done by https, but could be
- SFS offers europe.stopforumspam.org and us.stopforumspam.org as alternative destinations to api.stopforumspam.org. So make a dropdown to choose one.
- emailhash is an option, instead of sending the email. It would be great if the option was present in this extension as well.
- It would also be great if all other options to report a user could be disabled, except for the check at registration
Additional Features - Stop Forum Spam
Additional Features
-
- Registered User
- Posts: 229
- Joined: Fri Jul 17, 2009 11:40 am
- Contact:
Re: Additional Features
$url = 'https://europe.stopforumspam.org/api';
$data = array(
'username' => urlencode($username),
'email' => urlencode($useremail),
'ip' => $userip,
'json' => 'true'
);
}
$data = http_build_query($data);
// init the request, set some info, send it and finally close it
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$contents = curl_exec($ch);
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
-
- Registered User
- Posts: 229
- Joined: Fri Jul 17, 2009 11:40 am
- Contact:
Re: Additional Features
Hi Heinrich,heinrich_k wrote:SFS offers europe.stopforumspam.org and us.stopforumspam.org as alternative destinations to api.stopforumspam.org. So make a dropdown to choose one.
I have been using this ext for many months, and I did not know about the alternative APIs. The only thing that bothers me with the extension, is when SFS is down or to slow to respond, and I have to chose between risking false positive (denying legitimate users to register) or false negatives (allowing spammers to go through).
After I read your message, I set up some basic monitoring tools for the three addresses above, and it seems that they each get slow or down a couple of times a day, but not necessarily at the same time. Could it be an idea to reduce the CURL timeout (5 seconds if I read correctly in the code), and automatically query 1 or 2 alternative locations if the main API does not respond after, say, 2 seconds?
-
- Registered User
- Posts: 12
- Joined: Thu Jul 09, 2009 1:41 pm
- Contact:
Re: Additional Features
But the main idea for the alternative address is that a person using a server inside the EU can choose to use only europe.stopforumspam.org and be reasionably certain, that the traffic from his server to "stop forum spam" will not leave the jurisdiction of the EU. That is, all owners of all the hubs the traffic goes through should also be bound by EU law. So, supposedly, no routing through hubs the NSA taps into or google or facebook or amazon analyse the protocols of or what ever data privecy nightmare you could thing off.
So, you could think of a system to automatically check which is the best connection - but still, allow for the user to choose one should be given. And by user I mean the admin of the board in question.
-
- Registered User
- Posts: 229
- Joined: Fri Jul 17, 2009 11:40 am
- Contact:
Re: Additional Features
Reporting posts is only available for mods, as it should be.
Haven't had an oppertunity to use it though.
But users can report private messages directly.
That's a feature I want to be able to disable for them as admin!
Already some users reported their friends just for the fun of it, resulting in false reports to SFS.
Or is there a possibility I'm not aware of to disable that feature?
-
- Registered User
- Posts: 12
- Joined: Sat Dec 13, 2008 8:39 am
- Contact:
Re: Additional Features
Appreciate the extensions/mods/support then buy me a beer
- RMcGirr83
- Former Team Member
- Posts: 22016
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
- Contact:
Re: Additional Features
-
- Registered User
- Posts: 12
- Joined: Sat Dec 13, 2008 8:39 am
- Contact:
Re: Additional Features
Appreciate the extensions/mods/support then buy me a beer
- RMcGirr83
- Former Team Member
- Posts: 22016
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
- Contact: