Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2006-08-08 01:22:57

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: jnm_recent_comments_unique

I can’t tell you how important this plugin is for my site now. Great, amazing, super-important.

The only thing that bugs me is the “Article link now links directly to the latest comment” bit. Seems that the very next link in the list links to the latest comment, and the article link should link to the article. If only there was maybe some parameter to switch this back to the previous functionality, my life would be perfect.

The thing is that in an comment-oriented blog (as I like to think of my site), your plugin’s output tends to become a dominant navigational aparatus. That being the case, linking the article name to the recent comment starts to be counter-intuitive..

Last edited by alesh (2006-08-08 01:25:16)


Yes, I have tried turning it off and on.

Offline

#22 2006-08-08 02:01:26

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 741

Re: jnm_recent_comments_unique

I think alesh is right

Offline

#23 2006-08-08 05:53:32

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: jnm_recent_comments_unique

just change the line

<code> $item = href($Title.’ (‘.$ncomments.’)’, permlinkurl_id($parentid).’#c’.$lastcomm);</code>

to

<code> $item = href($Title.’ (‘.$ncomments.’)’, permlinkurl_id($parentid));</code>

then the plugin will link with the title to the article, with the commenters to the single comment :)

Offline

#24 2006-08-08 07:48:42

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: jnm_recent_comments_unique

Updated to version 0.5:

Added ‘category’, ‘autocategory’, ‘linktoarticle’ and ‘commentscount’ parameters:

  • category = Restrict comments by this category. You can specify various categories separated by “,”.
  • autocategory = Set to ‘y’ to autoselect comments based on the category being displayed. Not valid inside an article page. Default: “n”
  • linktoarticle = ‘y’=article link links to article. ‘n’=article link links to latest comment. Default: ‘n’
  • commentscount = Set to ‘n’ to not show comments count. Default: ‘y’

Offline

#25 2006-08-08 08:09:38

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: jnm_recent_comments_unique

Thank you for these lovely new features!

Offline

#26 2006-08-08 12:47:55

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: jnm_recent_comments_unique

Rockin! Thank you.


Yes, I have tried turning it off and on.

Offline

#27 2007-03-31 23:08:17

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: jnm_recent_comments_unique

Hi, little late here.

This looks usefull.

Would it be possible, to add the following three things to the plugin?:

  1. Option, not to display a commenters name more than once, for all instances.
  2. Option, to link the commenters names to thir domains
  3. Option to suppress the comment text output

regards, marios

Last edited by marios (2007-03-31 23:08:44)


⌃ ⇧ < ⌃ ⇧ >

Offline

#28 2008-09-14 12:15:01

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: jnm_recent_comments_unique

I still like this plugin very much. Today I discovered, that this plugin does not check for the status of an article.

When I change the status from live to hideen in an article, which was recently commented, then the plugin will still display the link to the article in the recent comments list. Clicking on the link results in a error 404.

Offline

#29 2008-09-14 14:33:43

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: jnm_recent_comments_unique

The-Exit, you are right. I just uploaded a new version (0.5.2). Try it.

Offline

#30 2008-09-14 19:20:01

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: jnm_recent_comments_unique

Thanks a lot for the quick response. The hidden article is not displayed anymore. Perfect!

Offline

Board footer

Powered by FluxBB