Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2006, 02:00 AM
Casual Pligger
 
Join Date: Oct 2006
Posts: 40
Thanks: 10
Thanked 1 Time in 1 Post
Link Spammers in Comment box

I've just had my first comment box spam - had to happen sooner or later. Didn't expect it one day in, especially as these boards are the only place that know about the site so far :(

They didn't stick html in there seeing it's disabled, all they did was make a comment, and afterwards list two of their URL's:


That's great. I love this site.

http://www.iamaspammer.com
http://spammers-suck.com


How can I disable the use of http:// in the comments area? Or prevent outbounds from there somehow? I don't want to be forever checking over people's comments for spam.

EDIT: I see there's protection in the editorial / submitted story text areas - must be a similar way to fix up the comments box.

Last edited by mrplough; 10-18-2006 at 02:56 AM..
Reply With Quote
  #2 (permalink)  
Old 10-18-2006, 03:04 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
to actually post hyperlinks the <a> tag must be enabled.
Could i get a link to the site?
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #3 (permalink)  
Old 10-18-2006, 03:12 AM
Casual Pligger
 
Join Date: Oct 2006
Posts: 40
Thanks: 10
Thanked 1 Time in 1 Post
Hi Savant, have sent you a PM example. They don't need to add a <a> in at all - all you do is type the URL in the comment box in the same way I can do it here in the forum here:

http://www.test.com
Reply With Quote
  #4 (permalink)  
Old 10-18-2006, 04:19 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
got your pm.

here's a little fix for this now.

/libs/utils.php
in function save_text_to_html

comment out this line:
$string= text_to_html($string);

so it looks like
//$string= text_to_html($string);
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
The Following 2 Users Say Thank You to savant For This Useful Post:
  #5 (permalink)  
Old 10-18-2006, 05:20 AM
Casual Pligger
 
Join Date: Oct 2006
Posts: 40
Thanks: 10
Thanked 1 Time in 1 Post
Works a treat savant - I owe you one :)
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
Special Advertising Add-On for banners Tutorial AnAlienHolakres3 Modification Tutorials 18 07-30-2008 09:25 AM
Individual comment link tbones Suggestions 7 07-05-2007 12:59 AM
Edit comment link not working Dubai Bug Report 18 01-24-2007 12:04 PM


Search Engine Friendly URLs by vBSEO 3.2.0