2 yabba Feb 12, 2008 11:16

Hi, ¥åßßå, the comment URL in your linked example shows like this for me:
<a rel="nofollow" href="http://example.com">http://example.com</a>
Afwas, I tried that too; actually it didn't work. :(
EDIT: Er... I meant the author URL no-follow. My fault... :oops: How do I get that to work? I want to reward my commenters and give their site a no-follow link when they comment. :)
OK, I worked a solution around this problem like this:
Replaced the author_url () function with this code:
<a href="<?php echo $Comment->author_url ?>"><?php $Comment->author(); ?></a>
You muppet, now you make sense ;)
This is what I ended up doing in my skin :
$Comment->nofollow=false;// turn this crap off :|
¥
Moving this to Support. No offence intended.
--F
Thanks ¥åßßå, thats a simpler solution too.
I really confused myself with comment permalink URL and author url :o
Moving this to Support. No offence intended.
:lol: My fault. Too quick to see a bug where there is none...
harishankar wrote:
:lol: My fault. Too quick to see a bug where there is none...
We've all been there :roll:
Wait a moment.
The code given above
$Comment->nofollow = false;
works on my localhost perfectly, but it doesn't have any effect when I upload it to my server. I tried deleting the pre-rendered item cache, but that seems to have no effect.
Check the comments section here:
http://hari.literaryforums.org/2008/02/10/a-couple-of-proposed-changes#c53422
Hey, by any chance does the spam karma plugin "Basic Antispam" automatically add a nofollow to all comments?
EDIT: confirmed, yes it does.
My question now is: will removing basic antispam unprotect my blog from a whole lot of spam?
I don't use that plugin, but "no follow" NEVER stopped spam from happening. All it does is deny link-love in some search engines by not crediting the linked URL with an inbound link.
Seems to be, by looking at the settings for that plugin, that you can turn off "no follow" by setting the "Apply rel="nofollow"" bit to 0 and still have all the other antispam benefits that plugin offers.
Hope it helps!
Thanks EdB.
I figured this just before you replied, but I'm glad I sorted that out. :)
It works for me? [url=http://dev.innervisions.org.uk/blog1.php/2008/01/24/first-post#feedbacks]no no-follow[/url]
¥