In response to JTPratt’s comment on my post, ‘Make Popularity Contest Work with WP-Super-Cache,’ I am releasing a modification of Lester Chan’s WP-PostViews plugin to support counting using Javascript. Please try it out to see if this works for you.
A side note to Lester Chan and Richer Yang (WP-PostViews and WP-PostViews Plus authors repectively). Please feel free to contact me about incorporating these changes into WP-PostViews and/or WP-PostViews Plus so that it can be officially committed to the wp-plugins.org repository. I would create my own version of WP-PostViews in the repository, but do not want to steal your thunder
.
Download:
WP-PostViews JS Mod for WordPress 2.5
Note:
Modded Plugin only tested to work with WordPress 2.5 and is probably not backwards compatible with WordPress 2.3.3 or earlier versions.
Special Installation Instructions:
Intallation works the same way as the original WP-PostViews except that you will need to do ONE OF THE FOLLOWING:
- Place a symbolic link from wp-content/wp-postviews-js.php -> plugins/wp-postviews/wp-postviews-js.php
- Move wp-postviews-js.php directly under your wp-content/ directory
That should be all. I would really appreciate it if you can provide any feedback (security issues, better implementations, or other important thing that I’m totally not aware of). Also please feel free to email me with questions and keep me posted on how things are going with the plugin.
Update
Lester Chan has integrated this change into the official plugin release. Support for this hack will be limited from now on.
This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.