Simple Stats (7 posts)

  1. Anonymous
    Posted 12 years ago #

    I'm looking for some sort of a stats hack/plugin that just displays the total number of posts, comments and trackbacks in the sidebar menu. Anything similar around? Thank you pretty people!

  2. carthik
    Posted 12 years ago #

    search the wiki (http://wiki.wordpress.org) and these forums.

  3. Anonymous
    Posted 12 years ago #

    Couldn't find it :( Most stats plugins are full-page with loads of info. I'm looking for a simple one here.

  4. Mark (podz)
    Support Maven
    Posted 12 years ago #

    These do ?
    I've not yet seen a trackback (or ping) counter yet actually .......anyone working on one ?

  5. wxgal
    Posted 12 years ago #

    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 />%')
    $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.

  6. jackiefg
    Posted 12 years ago #

    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?

  7. Anonymous
    Posted 12 years ago #

    Thanks wxgal! That mod works well.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.