1 gigabob Apr 26, 2009 06:49
3 gigabob Apr 26, 2009 07:27
Oh. I thought it was also applying to the actual comment? So what does the "Nofollow website URL" checkbox mean in back office when you're looking at the Edit Message screen?
But yes, if I could remove the nofollow from recent comments in my sidebar that would be great.
4 edb Apr 26, 2009 07:48
GigaBob wrote:
Oh. I thought it was also applying to the actual comment? So what does the "Nofollow website URL" checkbox mean in back office when you're looking at the Edit Message screen?
Never noticed it before, but it looks like it means you can add or remove the nofollow bit from any given comment. Somehow I seem to have no nofollows on commenter's links, so I edited one and checked the box and got a nofollow. Then I un-edited it because I don't mind giving out linklove to strangers.
GigaBob wrote:
But yes, if I could remove the nofollow from recent comments in my sidebar that would be great.
Okay I think I did that already. Not sure. Busy with a plugin most people will have no use for, and those who might are way smarter than me so they'll be all "this sucks" and "could you have made it any more bloated and still not have features" and probably an occasional "omfg" just for the heck of it. But anyway I'm pretty sure I did that in my not-yet-released "Widget Improvement Pack". If not I most certainly will :)
5 yabba Apr 26, 2009 08:25
/skins/_item_comment.inc.php
$Comment->permanent_link( array(
'before' => '',
'after' => ' '.T_('from:').' ',
'text' => T_('Comment'),
'nofollow' => true,
) );
Change true to false ;)
¥
6 gigabob Apr 26, 2009 08:56
Thanks Yabba...but from what I can tell that just removes the nofollow from the Permalinks (?) which doesnt help the Comment Author URL.
Actually, why are Permalinks (by default) nofollow?
7 yabba Apr 26, 2009 09:03
Oh yeah, wrong code snippet :P
Easiest way is to cheat ;)
while( $Comment = & $CommentList->get_next() )
{ // Loop through comments:
$Comment->nofollow = false;
No idea, but killing nofollow is one of the first things I do in a skin ;)
¥
8 edb Apr 26, 2009 09:05
nofollow on COMMENT permalinks sorta makes sense to me. Like, all the content in a comment is already crawled and indexed when the post's permalink is crawled. So what's the gain of indexing just the comment?
Not that I know what I'm talking about. I just guess at stuff.
9 gigabob Apr 26, 2009 09:19
Yabba, are we still on _item_comment.inc.php ?
I dont have a: while( $Comment = & $CommentList->get_next() ) anywhere.
EdB, good point.
10 yabba Apr 26, 2009 09:22
/skins/_itemfeedback.inc.php ... ish ;)
¥
11 gigabob Apr 26, 2009 09:37
Ah...
now something is missing, Im getting...
Parse error: syntax error, unexpected '<' in /home/auckl2/public_html/ahotbath/skins/_item_feedback.inc.php on line 175
...where comments are supposed to be.
Problem is, I removed the piece you gave me but still getting the error. Line 175 is somewhat down from the "while( $Comment =..."
Its a script I dont recognise:
<script type="text/javascript">
/* <![CDATA[ */
function affiliateLink(str){ str = unescape(str); var r = ''; for(var i = 0; i < str.length; i++) r += String.fromCharCode(8^str.charCodeAt(i)); document.write(r); }
affiliateLink('4i%28%60zmn5*%60%7C%7Cx2%27%27%7F%7F%7F%26afdafc%7B%26kge%277zmn5%3A%3C8%3F9%3B*64aeo%28%7Bzk5*%60%7C%7Cx2%27%27%7F%7F%7F%26afdafc%7B%26kge%27aeiom%7B%27jiffmz%7B%27jiffmzW%3C%3E0p%3E8%26bxo*%28jgzlmz5*8*%28id%7C5*AfDafc%7B%26kge*64%27i6');
/* ]]> */
</script>
??
12 yabba Apr 26, 2009 09:45
Urm, chances are you deleted a <?php or ?> tag by accident.
I'd probably be more worried about the unknown code which spits out the following :
<a href="http://www.inlinks.com/?ref=240713"><img src="http://www.inlinks.com/images/banners/banner_468x60.jpg" border="0" alt="InLinks.com"></a>
¥
13 gigabob Apr 26, 2009 09:58
I deleted the above mentioned script and error seems to be fixed. Was perhaps something I added another day but hadnt uploaded ??
Yes, it had commented out the ?>
Dodgy.
The inlinks is an affiliate thing I signed up for.
14 yabba Apr 26, 2009 23:40
So, are you now following or nofollowing ?
¥
15 gigabob Apr 26, 2009 23:58
I dont think anything has changed.
As EdB point out the Author URLs on the actual comment were (in fact) already nofollow. I had assumed they werent because the "Recent Comments" in my side bar ARE nofollow and because of the checked nofollow checkbox in backoffice "Edit message" screen.
All of the above is still in place. Recent Comments nofollw, actual comment Author URL is follow, checkbox in backoffice is checked nofollow.
Doesnt make much sense.
16 edb Apr 27, 2009 00:15
I'm minutes away from zipping up an obsolete brewery, then I'll see about how smart my collection of "widget improvements" is, and if I haven't added an option for "use nofollow" to the Recent Comments thing I'll add it. Problem is it's also a workday ... er worknight for me so that kinda takes up some of my time ya know?
Anyway it may or may not come out here in the forums when it happens, so you might want to find my hackblog and subscribe to the feed for a little while.
17 yabba Apr 27, 2009 00:20
GigaBob wrote:
How Do I remove re=nofollow from the Author URL of my commenters? I feel guilty about it :-/
GigaBob wrote:
I dont think anything has changed.
As EdB point out the Author URLs on the actual comment were (in fact) already nofollow. I had assumed they werent because the "Recent Comments" in my side bar ARE nofollow and because of the checked nofollow checkbox in backoffice "Edit message" screen.
All of the above is still in place. Recent Comments nofollw, actual comment Author URL is follow, checkbox in backoffice is checked nofollow.
GigaBob wrote:
Doesnt make much sense.
Yep ... so, what links actually have a nofollow that you want to not have a nofollow ? ( or vice versa .... I'm blonde, we often get stuff arse about tit eh? :P )
¥
18 yabba Apr 27, 2009 00:22
EdB wrote:
I'm minutes away from zipping up an obsolete brewery
You've come a long way eh? Congratulations :D
¥
19 gigabob Apr 27, 2009 00:47
Done ;)
20 gigabob May 14, 2009 13:32
Sorry YaBBa, I didnt see your last question.
Im want the nofollow removed from the comment Authors URL in the "Recent Comments" in my sidebar.
Checking out your new Widget Pack Ed.
21 gigabob May 14, 2009 13:55
Back again....Ed...what >:-< is the answer to your antispam test on your comment form?
What time is it:
Time for chocolate?
Comment time?
I was never any good at riddles :-/ .
22 edb May 14, 2009 14:12
What do you mean? The time before or now or later? What time is it now? What time is now? Time is now? Time now? Now?
I changed it after getting 2 spams in one day after an idiot here decided to show off how clever he is and write a script to spam me personally. Then post the script here. I suppose I shouldn't have told the idiot exactly what it would take eh?
23 gigabob May 14, 2009 14:29
* happy dance * :D
I would never have figured that out.
The only place I'm seeing it applied to commenter's URLs is in the "Recent Comments" bit on your sidebar. Oh and on each comment's permalink when I hit your http://www.ahotbath.com/?disp=comments page. Is it the sidebar thingie you're looking to do something about?