Posted by admin_mwc on 20 October 2008 8:42 AM in Wordpress Help | 9 Comments
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.
Vince is a web designer & developer with a passion for creating web sites with clean and functional designs and source code that is valid, efficient, readable, secure and search engine friendly.
Vince is also an animal lover and vegetarian. He is currently taking his first baby steps to realise his dream of living off-the-grid in Australia so that he can live freely in a self-sufficient and eco-friendly manner.
8 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.
On 26th June 2010 11:23 AM, WordPressVideos.TV said:
Much thanks for the first-rate tutorial. I am always searching for fantastic WordPress plugins to recommend to my visitors. Thanks for making this tutorial . Do you know the answer to this question: Will inactive plugins make WordPress slow down? I am aware that active WordPress plugins will slow it down, but I’m just curious if inactive plugins will? Anybody know?
On 27th November 2010 2:41 AM, tv izle said:
Ich danke für dieses schöne Thema. Ich wünsche Ihnen eine erfolgreiche Arbeit.
On 9th December 2010 3:41 PM, 武汉律师 said:
wonderful blog,this post is very useful for me.
THX!
On 4th February 2011 10:19 PM, Vikram said:
Thanks for sharing the info.
1 Trackback On “Top Commenters Plugin Hack”
Post a Comment