Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[plugin] [ORPHAN] dru_chatometer
Displays a list of the most commented-upon articles, along with the comment count.
All the usual suspects apply – limit, label, wraptag, break.
<code><txp:dru_chatometer limit=“10” wraptag=“ul” break=“li” /></code>
Download dru_chatometer.txt.tgz
Last edited by Drew (2004-04-05 22:09:44)
drew mclellan
Offline
Re: [plugin] [ORPHAN] dru_chatometer
I’m surprised there wasn’t anyone posting at this topic even though I know quite a few people are using this plugin.
Just a question, is it possible to display the ‘clean’ URL (ie: www.saigoheiki.com/blog/this_is_a_title) instead of the ID? (www.saigoheiki.com/index.php?id=5121)
I don’t know much about SQL, but I know it has something to do with this:
<code>
$rs = getRows(“select ID, Section, Title, count(parentid) as comments
</code>
and
<code>
$out[] = ($url_mode)
? tag($Title.’ (‘.$comments.’)’,‘a’,’ href=”’.$pfr.$Section.’/’.$ID.’/’.$conTitle.’”’)
: tag($Title.’ (‘.$comments.’)’,‘a’,’ href=”’.$pfr.‘index.php?id=’.$ID.’”’);
</code>
Any ideas?
Offline
Re: [plugin] [ORPHAN] dru_chatometer
I was droppung here by this thread
I want to ask you all , Plugins this supported the appearance of the list of the article as cloud list?
Thanks and sorry for my english.
Offline
Re: [plugin] [ORPHAN] dru_chatometer
Nice plugin, I just found it. I’ll have to wait until I get a lot of comments on my site before I use it though!
Offline
Re: [plugin] [ORPHAN] dru_chatometer
Built-in txp:article_custom
provides this functionality brilliantly now.
e.g. <txp:article_custom limit="10" break="li" sort="comments_count desc" form="comments_listing" />
where form comments_listing can contain something like <txp:permlink><txp:title /></txp:permlink> (<txp:comments_count />)
Last edited by alicson (2017-03-07 07:54:50)
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Pages: 1