Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 22

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 19.01.2005, 15:47   #1 (permalink)
Baby Mamber
 
Join Date: May 2004
Posts: 23
ivysport is on a distinguished road
Default New Google Tag -> Akocomment Spam

Google announced today the introduction of the REL tag which aims to make sure spammers do not benefit in search engine rankings by flooding sites with comment spam.

see:
http://www.google.com/googleblog/200...ment-spam.html

I have a couple of clients who are using akocomment and are getting hammered with comment spam.

I am sure Arthur will update his component quickly - but for some of you who are getting killed by comment spam and want to take some action quickly...

Below is a change to make in order to modify the output of the bbcode.

The bbcode mod - in functions.akocomment.php file

Around line 25 - currently reads

$message = preg_replace("#\[url\](http://)?(.*?)\[/url\]#si", "<A HREF=\"http://\\2\" TARGET=\"_blank\">\\2</A>", $message);

change to:

$message = preg_replace("#\[url\](http://)?(.*?)\[/url\]#si", "<A HREF=\"http://\\2\" TARGET=\"_blank\" REL=\"nofollow\">\\2</A>", $message);


Around line 26 - currently reads
$message = preg_replace("#\[url=(http://)?(.*?)\](.*?)\[/url\]#si", "<A HREF=\"http://\\2\" TARGET=\"_blank\">\\3</A>", $message);

change to:

$message = preg_replace("#\[url=(http://)?(.*?)\](.*?)\[/url\]#si", "<A HREF=\"http://\\2\" TARGET=\"_blank\" REL=\"nofollow\">\\3</A>", $message);

You should be all patched up then on the bbcode side.


Hope this helps
ivysport is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07.04.2006, 02:01   #2 (permalink)
Baby Mamber
 
joncutrer's Avatar
 
Join Date: May 2005
Location: San Angelo, TX
Posts: 11
joncutrer is on a distinguished road
Default Re: New Google Tag -> Akocomment Spam

Here is a quick hack that I have created to perform IP blacklisting and a badword filter for AKOComment.

http://jon.cutrer.org/content/view/76/68/
__________________
Jonathan Cutrer
http://jon.cutrer.org/
joncutrer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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 On
[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
AKOComment Component -> unable to view comments in Admin Backend scorplev Component 'How Do I' Questions 1 13.03.2005 10:03
AkoComment 2.0 > Display Name not USER tm2004 Mambo 4.5 'How Do I' Questions 3 19.01.2005 09:27
AkoComment Components -> post new comment box visible under news xylem Component 'How Do I' Questions 9 12.08.2004 10:07
AKOComment Component -> unable to view comments in Admin Backend scorplev Component 'How Do I' Questions 1 30.04.2004 00:26
Module -> Gettin grid of harcoded padding & <br> tag mrjinx Module 'How Do I' Questions 2 27.04.2004 16:53


All times are GMT +2. The time now is 13:31.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.