Stop Forum Spam

Additional Features - Stop Forum Spam

Additional Features

by heinrich_k » Fri Aug 09, 2019 2:30 pm

It would be great, if the extension would offer more options:
  • 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
heinrich_k
Registered User
Posts: 229
Joined: Fri Jul 17, 2009 11:40 am
Contact:

Re: Additional Features

by heinrich_k » Fri Aug 09, 2019 8:35 pm

The following code changes GET to POST, which should also be an option...


$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);
heinrich_k
Registered User
Posts: 229
Joined: Fri Jul 17, 2009 11:40 am
Contact:

Re: Additional Features

by cyrilca » Sat Aug 24, 2019 6:58 pm

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.
Hi Heinrich,
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?
cyrilca
Registered User
Posts: 12
Joined: Thu Jul 09, 2009 1:41 pm
Contact:

Re: Additional Features

by heinrich_k » Sat Aug 24, 2019 7:54 pm

It could be.

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.
heinrich_k
Registered User
Posts: 229
Joined: Fri Jul 17, 2009 11:40 am
Contact:

Re: Additional Features

by RemmyH » Fri Jan 15, 2021 2:19 pm

Great mod. Installed it recently and already it stopped several spammers from registering.

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?
RemmyH
Registered User
Posts: 12
Joined: Sat Dec 13, 2008 8:39 am
Contact:

Re: Additional Features

by RMcGirr83 » Sat Jan 16, 2021 10:32 am

Your post has zero to do with this topic. Start a new topic.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Additional Features

by RemmyH » Sat Jan 16, 2021 1:02 pm

How is the ability to prevent users from reporting private messages not a feature request?
RemmyH
Registered User
Posts: 12
Joined: Sat Dec 13, 2008 8:39 am
Contact:

Re: Additional Features

by RMcGirr83 » Sat Jan 16, 2021 2:22 pm

This topic isn't a "feature request" topic, it is asking for very specific items on things that have already been implemented (like https). You can choose to start a new topic or not.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact: