Dec
18
WordPress Plugin: WP-PostViews JavaScript Edition
Filed Under development |
Lester Chan develop a greate WordPress plugin - WP-PostViews, can enable user to display how many times a post/page had been viewed. It’s base on PHP. But if you active WP-Cache plugin, you will found that WP-PostViews not working. So I develop a new javascript version of WP-PostViews, that can work fine with WP-Cache or WP Super Cache plugin.
Installation / Configuration Instructions:
1. Install normal version of WP-PostViews 1.20.
2. Upload postviews.php to your WordPress plugin directory(wp-content\plugins\postviews).
3. Upload wp-counter.php to your WordPress root directory.
4. Activate the WP-PostViews plugin.
Download Latest:
Click here to download the latest version of WP-PostViews JavaScript Version plugin.
Hi, thanks for sharing this. Not exactly what i needed, but with little modification it works with my wordpress site which using wp-cache. Thanks again. =]
The plugin fix the under estimation of the views, but it count every single display from the same visitor. meaning that if I refresh the page 5 times it adds 5 views, if I go to the homepage it adds a view for EACH post !!! anyway to fix that easily ?
Thanks for that plugin
Hi, I tried it and it doesn’t work for me. I’m using Wordpress 2.3.2 fixed (2.3.3 bugfix)
The problem is that lots of posts went back to “1 view” and it doesn’t change anymore, so I restored the original plugin.
Do you follow the Installation / Configuration Instructions ? I install it ok.
HI,
I haven’t used wordpress yet[near future] but i found your site very interesting and has given me food for thought.So I’m taking not of your domain for future reference,
Thank you O,D.
p.s.-I’m only using blogger as a test site to run a few ideas and run some tests, but I intend to link to my new site later[traffic].
It comes up with bunch of errors
(invalid path to the required files? My blog is in a subdirectory)
The error message is:
Warning: main(wp-config.php) [function.main]: failed to open stream: No such file or directory in /PATH_TO_MY_FOLDER/wp-content/plugins/wp-counter.php on line 11
Warning: main() [function.include]: Failed opening ‘wp-config.php’ for inclusion (include_path=’.:/usr/lib/php’) in /PATH_TO_MY_FOLDER/wp-content/plugins/wp-counter.php on line 11
Warning: main(wp-includes/wp-db.php) [function.main]: failed to open stream: No such file or directory in /PATH_TO_MY_FOLDER/wp-content/plugins/wp-counter.php on line 12
Warning: main() [function.include]: Failed opening ‘wp-includes/wp-db.php’ for inclusion (include_path=’.:/usr/lib/php’) in /PATH_TO_MY_FOLDER/wp-content/plugins/wp-counter.php on line 12
document.write (’ 1 views ‘)
You should put wp-counter.php to your WordPress root directory.
Thaks it’s great. But it’s not work on page :((
And on some post there is always show “1 views”.
I’ve already put wp-counter.php on my Wordpress root directory.
I’ve found the problem on page views.
on line 65 there’s
if(is_single()
it should add || is_page()) {
to view counter on page.
but I still not found why there is doesn’t work on some page, there are always show “1 views”.
for example : http://rosyidi.com/vista-file-explorer-on-xp/
thanks alot.
I’ve uninstall your plugin.
Thanks for sharing.
Now, I restored the original plugin.