Wordpress Plugin: Daily Top 10 Posts Improvements
5 archived comments
Comments are preserved from the original blog and are now closed.
- benj
I will incorporate this to my site as soon as I remember what my Cpanel password is. haha
- RJ
HURRAY!
- ostenx
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!
- ostenx
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;
- Pete
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