Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2005-11-04 13:33:04

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

Re: jnm_recent_comments_unique

Oh! This is a wonderful plugin! Great work! I’m loving it!

What about an option to set the number of articles?

Offline

#14 2005-11-04 14:18:05

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

Re: jnm_recent_comments_unique

Thank you, The-Exit.

You can use the standard “limit” option to set the number of articles listed.

Offline

#15 2005-11-04 15:17:33

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

Re: jnm_recent_comments_unique

oh, I see, works great!

Offline

#16 2005-11-08 23:28:10

darrepac
Member
Registered: 2005-09-26
Posts: 64
Website

Re: jnm_recent_comments_unique

> juanjonavarro wrote:

> Updated to version 0.3:

> Added “section” and “autosection” parameters to restrict comments by section.

> * section = Restrict comments by this section
> * autosection = Set to ‘y’ to autoselect comments based on the section being displayed. Default: “n”

Hello,

is it possible (or planned) to list several section in the section parameter? In fact I would like to see comments from 4 sections out of 5
thanks

Last edited by darrepac (2005-11-08 23:39:52)

Offline

#17 2005-11-09 17:27:12

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

Re: jnm_recent_comments_unique

darrepac, try this version (0.4) and tell me if it works for you.

You can now use the following construct:

section=“sec1, sec2, sec4, sec5”

Offline

#18 2005-11-09 20:01:56

darrepac
Member
Registered: 2005-09-26
Posts: 64
Website

Re: jnm_recent_comments_unique

Yeah! seems to work! great! thanks!

Offline

#19 2005-11-18 08:30:53

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

Re: jnm_recent_comments_unique

Thank you for this lovely plugin. Would it be possible to display (as an option) the publish-date of the article?

Offline

#20 2006-05-14 22:24:44

mgbales
Member
From: Iowa
Registered: 2005-10-02
Posts: 22
Website

Re: jnm_recent_comments_unique

I too, like this plugin very much. Thank you for your work. (And I think it’s “commentator,” but that word has other implications that don’t quite fit the kind of commenting that gets done online. “Commenter” gets at it better, I think.)

I have two requests for future work. Mine probably aren’t as significant as making the plugin category aware, but which would be nice:

  • I’d like to turn the comment count on/off (my site, for example, counts comments in several places already. The # in a recent list is less important than the who/what/when.
  • I’d also like to display the time of the most recent comment per each article, say after the article title but before the next line.

Offline

#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: 743

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

Board footer

Powered by FluxBB