Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-11-2007, 04:00 PM
JosephK's Avatar
New Pligger
 
Join Date: Jul 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Against spam "xxx@xxx.info"

To stop spams "xxx@xxx.info" in comments

Edit the story.php file
To the line 183 :
--> if(strlen($_POST['comment_content']) > 0)

Add after "0":
--> && !strstr($_POST['comment_content'], "[site]")

Replace [site] by the url/word of your spammer, or "a href=" to disable any link.

Personnally, I have only one spammer (which make lot of damage) on my site and this method stop him absolutly. (a lot of users are still registred :/)

Something like that could be improved in order to use a black list of spam words...

Last edited by JosephK; 12-11-2007 at 04:41 PM..
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Spam Report Button w/ Inaccurate Story Label eH9116 Modification Tutorials 24 03-09-2008 01:29 PM
Can we create a sticky on how to deal with SPAM? mobass General Help 3 03-08-2008 08:42 PM
Why release 9.9.0 with out spam protection, or e-mail comfirmation? bbrian017 Off-topic 14 01-09-2008 11:54 AM
This spam thing is killing me. The Humanaught General Help 47 12-13-2007 09:49 PM
Spam Control Options richrf General Help 3 02-09-2007 10:56 AM


Search Engine Friendly URLs by vBSEO 3.2.0