Last Commented By: Lizzie, Kalliste, Kirsten
instead of this :
Last Commented By:
* Lizzie
* Kalliste
* Kirsten
and maybe how to remove myself so I don’t display?
]]>Thanks in advance for the help!
https://www.ads-software.com/extend/plugins/comment-plugger/
]]>Any help enormously appreciated. Has anyone else seen this? I’ve tried contacting the plugin developer directly but I’m sure he has enough such requests on his plate, and hasnt responded.
Thanks!!
.z
]]>thanks!
.z
]]>Fatal error: Call to undefined function: mdv_comment_plugger() in /home/thearwen/public_html/wp-content/themes/octopus/index.php on line 14
how do I fix this? thanks.
]]>well, here’s my index php for the theme.
<div class=”feedback”>
<?php wp_link_pages(); ?>
– – – – – – – – – – – — – – – – – – – – — – – –
<?php comment_plugger(); ?>
– – – – – – – – – — – – – – – – – – – – – – – –
<?php comments_popup_link(__(‘No one called’), __(‘One person called’), __(‘(%) persons called’)); ?>
The include I put in is in a dashed section so u can easily spot it (it’s not in the real code) – can anyone help to get it right? Thanks
[Moderated – code removed to aid visibility ]
On b2 I had Dodo’s b2 Commenter Plugger hack and if you’re not familiar with that…it had a popup where you chose the entry you’d like the commenter link codes for and then it generated the codes for you to paste into an entry.
Does anyone know if something like that exists for WP?
]]>This is my ‘my-hacks.php’ file:
<? php<br />
function comment_plugger($before = ' ♥♥♥ ', $limit = 40, $sep = ' ') {<br />
global $wpdb, $tablecomments, $id;<br />
$request = "SELECT comment_author, comment_author_url, MAX(comment_ID) as comment_ID FROM $tablecomments";<br />
$request .= " WHERE comment_post_ID='$id' AND comment_approved = '1' GROUP BY comment_author, comment_author_url ORDER BY comment_ID DESC";<br />
$request .= ($limit > 0) ? " LIMIT $limit" : '';<br />
$commenters = $wpdb->get_results($request);
if ($commenters) {<br />
$output = '';<br />
foreach ($commenters as $commenter) {<br />
if (!empty($commenter->comment_author_url)) {<br />
$output[] = '<a>comment_author_url . '" title="' . $commenter->comment_author . '">' . $commenter->comment_author . '</a>';<br />
}<br />
else {<br />
$output[] = $commenter->comment_author;<br />
}<br />
}
if (is_array($output)) {<br />
echo $before.implode($sep, $output);<br />
}<br />
} else {<br />
// echo "No one...yet.";<br />
}<br />
}<br />
?>