Comment from: ilsott [Visitor]
What is worse than comment spam is the hit_logs spam. Our system gets about 1000-2000 hits a day, taking up mysql space and fucking with our bandwidth.

B2evo has an anti-spam function, but it just isn't good enough.

I went into the hitlogs file and found where it was entering hits logs into the database and I commented it out. I don't get any stats, so I just plopped on a free one to the site's main page. Not really a solution if you want stats or if you have multiple blogs, but it worked for this situation fine.

Oh, I also went into the database and deleted all the damn spam, once and for all.

01/10/05 @ 15:20
Comment from: admin [Member] Email · http://www.hairyjedi.net/

the file htsrv/trackback.php

has this line 82 changed to the below (comment_status and 'draft' added) in order to have trackbacks hidden by default...


$query = "INSERT INTO $tablecomments( comment_post_ID, comment_type, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_content, comment_status)
VALUES( $comment_post_ID, 'trackback', '".$DB->escape($comment_author)."', '".$DB->escape($comment_author_email)."', '".$DB->escape($comment_author_url)."', '".$DB->escape($user_ip)."', '$now', '".$DB->escape($comment)."', 'draft' )";

20/10/05 @ 23:39

This post has 1 feedback awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
« Hugging Fairies Is Not A CrimeSeriously Organised Crime, Please Sir »