SFS - Stop Forum Spam API Plugin
Description
First this plugin performs a check via the DNSBL tornevall.org.
Then if it finds a code the plugin performs an API call to the Stop Forum Spam system to see if the IP of the visitor is listed in their database. This could be used in Contact Forms to prevent known spam source IP's from being able to even access a Content Form.
Requirements
- PHP5
- Use of the WebVistor Plug. Needs to be called first as it uses the IP info it gets from there to make the SFS call.
- WebVisitor Plugin
Download
You can download this plugin from the main Boltwire site at:
Usage
After loading the plugin like most, you typically place in the top zone the setup call for the plugin:
[(webvisitor)][(sfs)]
Then you can access the resulting variables that are set when the API is called with the visitor's IP.
| Info | Result | Comments |
|---|---|---|
| SFS Check: | {sfsresult} | Lookup Successful or not |
| SFS IP: | {sfsip} | IP Associated with your connection |
| SFS Type: | {sfstype} | Type of Listing |
| SFS Appears: | {sfsappear} | Appears on the SFS List |
| SFS Freq: | {sfsfreq} | How Often it has been caught |
| SFS Last Seen: | {sfslast} | Last date updated |
Example Usage
In a contact form, you could start the form out with the following and if the users IP is marked, they would see this instead of the actual form:
Your IP is listed on [[http://www.stopforumspam.com/search.php?q={sfsip}|Stop Forum Spam]]. This is blocking you from using this form.
!! SFS Results:
[t]
[r][h]Info[h]Result[h]Comments
[r][c]SFS Check:[c]{sfsresult}[c]Lookup Successful or not
[r][c]SFS IP:[c]{sfsip}[c]IP Associated with your connection
[r][c]SFS Type:[c]{sfstype}[c]Type of Listing
[r][c]SFS Appears:[c]{sfsappear}[c]Appears on the SFS List
[r][c]SFS Freq:[c]{sfsfreq}[c]How Often it has been caught
[r][c]SFS Last Seen:[c]{sfslast}[c]Last date updated
[t]
[else]
The normal form would follow the [else]
Restrictions
Use of the Stop Forum Spam database API is restricted to
non-commercial sites and limits to 5000 hits per day.
see that sites website for more information.
Note that this version of the plugin performs a DNSBL first, so if an IP is clean the call to SFS never takes place.
More info about SFS itself
See the website Stop Forum Spam


