[[comments_by]]
Here are a few demos of my [[comments_by]] snippet.There are several parameters, including the ability to consider only comments to posts by a certain author, or in a certain category, or on a certain blog, but here we see only the sorting options.
IMPORTANT: because I'm using the snippet three times on one page, if you click any "Show comments" button then the list of comments under all three demos will show the same output - that of the button which you just clicked.
I could spend several hours coding around this, but just can't be bothered. After all, this is only a demo and no user will be having more than one instance of the snippet on any page. I hope that you understand.
Sort option 0 (default): sort by number of comments, descending.
Warning: include_once(/home/keelling/public_html/blog/extensions/snippets/snippet_comments_by.php) [function.include-once]: failed to open stream: No such file or directory in /home/enigma/public_html/blog/_demos/comments_by.php on line 192
Warning: include_once() [function.include]: Failed opening '/home/keelling/public_html/blog/extensions/snippets/snippet_comments_by.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/enigma/public_html/blog/_demos/comments_by.php on line 192
Fatal error: Call to undefined function main_snippet_comments_by() in /home/enigma/public_html/blog/_demos/comments_by.php on line 193