I am pleased to announce the release of Recently Commented Entries 3.0. This version has been reworked, and will now allow you format your content as you see fit. Please read the usage in the README file for details on how to use this. This script replaced the old RCE version 2.
Please download the file from the download section (to the left).
I’ve added an example for those who need it.
Here’s one way of using this plugin:
{exp:recentcomments weblog=”weblog1″ limit=”5″ totalwords=”10″}
<a href=”{permalink=weblog/comments}”>{title}
<br />
{total_comments} total comments.
<br />
{comment} by {author}
{/exp:recentcomments}
This would result with the following:
<a href=”http://www.yoursite.com/index.php/weblog/comments/292″>title of entry</a>
<br />
22 total comments.
<br />
this is a comment by <a href=”http://www.commenterhomepage.com”>commenter</a>
Hopefully that’s a good enough example! : )
- Excited
- Fascinated
- Amused
- Bored
- Sad
- Angry
Hi Yoshi- Could you please post an example of how the whole tag, with parameters and variables, might be used? I keep getting all kinds of syntax errors.
surely did. just added to this entry! just read more : )
Thanks Yoshi. It’s working now.
Thanks very much for the plugin, it works great. Is there a way to show “recent comments” as opposed to “recently commented on entries”, or would that be a whole ‘nother plugin?
Oh also, I found a weirdness. If you have comments set to be moderated, the plugin shows the comment even though it hasn’t been approved yet. :-|
The recent comments would not be a problem actually. it would take little modification of the code. I should actually make the one plugin do both. Perhaps that will be 4.0. : )
As for the moderation, doh! I didn’t take that into consideration. I’ll modify it for that purpose.
I just added this plug-in to my TEST site and it works great. However if a comment uses BBcode then the BB code is displayed instead of being rendered into html.
Is there a way to fix this?
Looks like this needs some more modifications. =/ I’ll work on that as well blinger.
I’ve been thinking about that bbcode, blinger, and I’m thinking that it might be best to just strip all the bbcode and then display it.
the biggest reason is because of limiting words, it would not necessarily know when something is closed. Something to think about.
Any other suggestions?
I think stripping the tags is the way to go. I had recent comments hacks when I used pMachine and MT before that, and both of those stripped tags and it wasn’t a problem.
Yeah I was thinking that as well. It seems cleaner. I’ll just have to come up with a function that strips the bbcode. LOL i just need to know… is there a list somewhere that has all the possible ones? LOL