Sep 22

Stop Forum Spam Plugin

Plugins Send feedback »
Whilst looking for something to stop all the annoying trackbacks and Spam posts that seem to inundate these blogs, I came across www.stopforumspam.com/, and whilst plugins seem to have been made for a few different blogs and forums, there wasn’t one for b2Evolution.
This is my first plugin created for b2Evo and I hope to create more as the mood takes me, but for now let me introduce this.


Spam is an issue for most blogging sites, especially one that I run with my partner (I won’t self-advertise). So I created this plugin to hopefully combat that.
You can check the email address, IP address and username entered against the Stop Forum Spam API and if any match, then the plugin will return a positive result. This is a very basic anti-spam check, however this is only the first release of the plugin.
Plugin Settings
There are three settings to choose from, Check Email Address, Check IP Address and Check Username, you can disable any of these checks if you wish (however if you disable all three, no check will be made). If any result returns a positive match, then the plugin will return a positive match.

Plugin Events
There are three events that this Plugin can run use.
GetSpamKarmaForComment: You can use it as a Karma check along with other plugins where a score will be given and then depending on your settings will delete the comment automatically if needed.
BeforeCommentFormInsert: As the comment is being submitted, it is checked against the database and if a match is found, the comment is not allowed.
BeforeTrackbackInsert: As with the comment, when the trackback is being submitted, it is checked against the database and if a match is found, the trackback is stopped.

I have added some images to this post with the Settings and Events for this plugin.

Depending on feedback and suggestions I may expand the plugin, especially with the Karma section to give a better score rather than just “100″, or possibly submitting to Stop Forum Spam along with others as you report the URLs etc to the b2Evo blacklist.
If you do have any comments and suggestions, let me know in the comments on this blog or send me a message through here.

I hope this is useful for you..
Joe

Full story »

Contact / Help. ©2013 by Joe Rawlinson. blog software.
Design & icons by N.Design Studio. Skin by Tender Feelings / Evo Factory.
Entries RSS Comments RSS Log in
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.