search the wiki (http://wiki.wordpress.org) and these forums.
Thread Starter
Anonymous
Couldn’t find it 🙁 Most stats plugins are full-page with loads of info. I’m looking for a simple one here.
These do ?
http://wiki.wordpress.org/Comment%20and%20Post%20Plugins
I’ve not yet seen a trackback (or ping) counter yet actually …….anyone working on one ?
I actually just modified the comment count one from http://mtdewvirus.com/wp-hacks/
I went into the comment-count.php file and added the following:
AND comment_content NOT LIKE ('%<trackback />%')
after
$request = "SELECT COUNT(*) FROM $tablecomments WHERE comment_approved = '1'
to get just a count of just the comments (because before it counted both the comments and trackbacks). Then I copied all of the code to a new file and renamed it trackback-count.php. I removed the NOT in the code I posted above. And I renamed the function to get_trackback_count.
I then called the function by
<?php get_trackback_count(); ?>
If this post doesn’t make sense (I don’t make sense from time to time … LOL), let me know and I’ll post the hacks I did to the 2 files on my website and link them here. I haven’t done that yet because I’m not done setting it up yet.
I’ve been trying to modify the comment_plugger to add a comma between each commenter, but I cannot figure it out. I went by your read me file and added the $sep to the first line to make it like this:
function comment_plugger($before = ' - ', $limit = 14, $sep = ' - ') {
but that didn’t work.
Can you give me a clue what I should add, where?
Thanks.
Thread Starter
Anonymous
Thanks wxgal! That mod works well.