Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Re: jnm_recent_comments_unique
Thank you, The-Exit.
You can use the standard “limit” option to set the number of articles listed.
Offline
Re: jnm_recent_comments_unique
oh, I see, works great!
Offline
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