API - XOOPS 2.5.11 Beta 2
By monxoops.fr
Protector_postcommon_post_stopforumspam Class Reference
Inheritance diagram for Protector_postcommon_post_stopforumspam:
Collaboration diagram for Protector_postcommon_post_stopforumspam:

Public Member Functions

 execute ()
 
- Public Member Functions inherited from ProtectorFilterAbstract
 __construct ()
 
 isMobile ()
 

Protected Attributes

 $minPosts = 5
 
 $minimumConfidence = 65.0
 

Additional Inherited Members

- Data Fields inherited from ProtectorFilterAbstract
 $protector
 

Detailed Description

Check post attempts for "spaminess" on stopforumspam.com Please see http://www.stopforumspam.com/usage before enabling for restrictions and conditions

We can check at registration, but this will repeat the check for subsequent posts. The more time that passes between registration and posting, the more likely it is that the spammer is caught before doing damage.

If the poster is determined to be a spammer, the account is deactivated. The determination is made by inspecting the confidence level returned by the stopforumspam API. If that confidence, for either email or IP address, exceeds the configured $minimumConfidence, the post is denied and the account is deactivated.

Member Function Documentation

◆ execute()

execute ( )
Returns
bool

Field Documentation

◆ $minimumConfidence

float $minimumConfidence = 65.0
protected

This is a percentage confidence as reported by stopforumspam api. When the reported confidence for any entry is above this, the post will be denied.

◆ $minPosts

$minPosts = 5
protected

The documentation for this class was generated from the following file: