August 5th, 2007

WordPress Plugin: Daily Top 10 Posts Improvements

I decided to address a number of the complaints and suggestions some readers made about my Daily Top 10 Posts WordPress plugin. Sat down at my favorite wifi-enabled cafe (Yellow Hauz) for 5++ hours and voila … version 0.3 is born!

Improvements in version 0.3:

1. Corrected the bug that displays an error message in a post when viewed or previewed for the first time. (Thanks Richard)

2. Corrected the bug that includes unpublished and deleted posts in the sidebar widgets.

3. Included an option to record post views without displaying the counter.

4. Automatically inserts a list of Top Ten Posts for the Day in the admin homepage (see sample image).

[photopress:toppostsadmin_1.gif,full,centered]

5. Added an option to adjust the date when post views are recorded in case your webhost resides in a different timezone. Just enter the time offset in the $OFFSET variable in the plugin. (Thanks Gary for the idea)

6. Did several code improvements to speed up performance and lessen SQL queries.

I’m kind of beating myself up for not correcting all these errors sooner. But I promise you, this release is pretty solid. If you’ve been using version 0.2, it’s highly recommended that you upgrade to 0.3. This has been tested on WordPress versions 2.0 up to 2.2.

If you haven’t tried this plugin, please do so! It’s a great tool for tracking how well your posts are performing per day especially if you’re into keyword optimization. If you don’t know what that is, suffice to say that it’s a great reason to obsess about your stats. 😀

To download the plugin, click here.

Posted in Announcements


  1. 6 Comments

  2. benj said...

    I will incorporate this to my site as soon as I remember what my Cpanel password is. haha

    Aug 5, 2007

  3. RJ said...

    HURRAY!

    Aug 5, 2007

  4. ostenx said...

    First, i’m sorry for my bad english.
    I’ve already edited this plugins so that it doen’t show the counter in sidebar (except for an admin, author…) and it doesn’t count my (admin, author…) own visits therefore it doesn’t show the unpublished posts (cause the admin’s visits are not recorded).

    http://opendz.tuxfamily.org/2007/07/21/top-posts-by-category-mais-sans-compter-vos-visites/ (in french)

    A modified version (of 0.3) is here:
    http://opendz.tuxfamily.org/download/dailytop10.zip

    Thanks for this great job!

    Aug 6, 2007

  5. ostenx said...

    i forget to say that for distinguish between an admin (author …) user and others i inserted:
    if (!current_user_can(‘edit_posts’))
    in the function todays_overall_count just below:
    global $table_name_all;

    Aug 6, 2007

  6. Pete said...

    Hi on wordpress 2.3.2 if you add the ode tot your single page it throws and error aound line 249 although it does still count the number of views.

    ID, ‘Visited’, ‘times’, ‘so far today’, ‘0’); ?>

    Warning: Missing argument 6 for todays_overall_count(), called in /home2/cheaperh/public_html/cheap-holidays/wp-content/themes/talian-10/single.php on line 21 and defined in /home2/cheaperh/public_html/cheap-holidays/wp-content/plugins/dailytop10.php on line 246

    Any idea?

    Pete

    Jan 2, 2008


  1. 1 Trackbacks

  2. Alleba Blog » Wordpress Plugin: Daily Top 10 Posts

    Aug 28, 2008

Post a Comment