
Pligg Submit Antispam Addon v 0.1
This great module will help reduce the spam submitted to your pligg site consoderbly, the module was coded by AnAlienHolakres3 and is one of the most useful that's been created for pligg.
Author: AnAlienHolakres3
Description: This module allows create user authorizations to submit certain number of new stories/comments based on quality of recent user submissions.
It means there is a restriction policy for submitting new stories:
- Level 0 Authorization = (default) user authorization, user can submit 1 story per day
- Level 1 Authorization = user authorization, user can submit x stories per day
- Level 2 Authorization = user authorization, user can submit y stories per day
- Level 3 Authorization = user authorization, user can submit z stories per day
How many links can be submitted, average user link votes count required to get certain level of authorization,enabling comment restriction policy and modifying comment multiplier - all of these can be done after installing in Admin page in Pligg Configuration section, specifically Submit AntiSpam Addon category.
Installation:Download submit_antispam.zip archive, unpack and copy to your Pligg Modules folder.
1) open submit_step_3.tpl (located in templates/template folder) and at the end after "</fieldset>" tag add:
Code:
Code:
{checkActionsTpl location="tpl_submit_step_3_end"}
2) if you want to use comment restriction as well (default value is true) open story.php in root folder and into function insert_comment() before require_once(mnminclude.'comment.php') add:
Code:
Code:
check_actions('story_insert_comment',$vars);
ScreenshotsAttachment:
link_limit.png
Attachment:
comment_limit.png
Download Pligg Submit Antispam Addon v 0.1Attachment:
submit_antispam.zip