"If you can get along with everyone and everyone loves you, then you don't stand for much. A person who stands his ground for his principles and won't compromise his integrity is not loved by everyone."
- Larry Winget
I had to hack the Top Commenters Widget plugin because it was displaying pingbacks and trackbacks in my top commenters list.
$sql .= "WHERE comment_approved = '1' AND comment_type = '' AND comment_author != ''";
The hack is very easy. Simply edit line 147 to be like my code above.
Tagged As: comments, top commenters, widget, WordPress, wordpress hack
4 Comments On “Top Commenters Plugin Hack”
On 9th August 2009 10:57 AM, David @Website Hosting
said:
Excellent – I have been having lots of pingbacks show up in my blogs’ comments and I didn’t know that there was a way to solve the problem. Thanks for sharing! -David
On 24th September 2009 4:30 PM, The Jump Manual Review
said:
This sounds like a very interesting plugin. I will try it out sense your hack seems to work.
On 4th November 2009 4:19 PM, مدونة
said:
Thanx alot for this post
مدونة
On 11th February 2010 10:16 PM, twiogle search
said:
Another cool Twitter application is Twiogle, you can search twitter and google at the same page.
1 Trackback On “Top Commenters Plugin Hack”
Post a Comment