| « Random YouTubes | Overkill » |
This is kinda neat I think, and thanks to beano for actually doing the code that became this plugin. What it does is finds your latest comments then lists them by post, only it'll show each post only once. So like if your last 50 comments are all on the same post then it shows only one "hot topic". Makes sense since that's where all the action is yah?
I tweaked it up a bit but there's still some stuff I'm not too happy with. Like for example it had (and has) a "limit" parameter which in theory is the number of item's you will display. Problem is see above because if you limit to 10 and all ten comments are on one post then you only get one hot topic listed. My tweak was to make up a "hotness" factor that more or less extends the limit parameter upward so that you can get more posts (up to the actual limit value) in your hot topics list. Basically it'll triple the limit value if you set hotness to 0 with regard to how many comments to look for unique posts in.
round($limit+($limit*(((100-($params['howhot']))*3)/100)))
Sweet yah?
Something else too. Oh yeah: it used to say "read the comment" when you did a mouse-over on the post or the comment but only one linked to a comment. Now they say something more appropriate, and are settings just in case you don't like what it says there.
Download it, unzip it, upload it, install it via your Global Settings tab, then go to your Blog settings tab to place it on your blog. ... and read the readme!
i like the plugin
Great work EdB.
Thanks Fred, thanks Edgar! Please, give a hat-tip to beano for the code that became the plugin. All I really did was wrap it up in a pretty package yah? I get a kick out of it for sure, but wouldn't have done this one if the guts of it weren't already out there.
This *might* be useful for my blog... but I don't know...
Yeah this one doesn't feel good when you have a new blog right? After you've been online a while and have quite a few posts and comments and stuff it feels nice to brag, but until then ... well ... it feels better to not shout "I HAVE ONE COMMENT ON MY BLOG"