Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
Re: jnm_recent_comments_unique
Yeah! seems to work! great! thanks!
Offline
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
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
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
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
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
Re: jnm_recent_comments_unique
Thank you for these lovely new features!
Offline
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?:
- Option, not to display a commenters name more than once, for all instances.
- Option, to link the commenters names to thir domains
- Option to suppress the comment text output
regards, marios
Last edited by marios (2007-03-31 23:08:44)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
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
Re: jnm_recent_comments_unique
The-Exit, you are right. I just uploaded a new version (0.5.2). Try it.
Offline
Re: jnm_recent_comments_unique
Thanks a lot for the quick response. The hidden article is not displayed anymore. Perfect!
Offline