[Plugin: Popularity Contest] Not properly counting page views
-
I’m spinning this off as it’s own thread as I feel it’ll be beneficial for others in the same position.
Popularity Contest isn’t stated to work with newer versions of wordpress, but honestly i wonder if it ever worked at all. I’m always up for a challenge though..
I found it wasn’t counting any page views. Comments and pingbacks registered but no types of views.
Where I’m at:
in the raw code you can change a variable that at least gets it to spit out data. It isn’t a proper fix (as it states in the code that it won’t work with cached sites) and it’s recording wrong (homepage hits are recording as category views) but it’s a start.line 59 of the code
// By default the view is recorded via an Ajax call from the page. If you want Popularity Contest to do this on the // back end set this to 0. Setting this to 0 will cause popularity contest results to improperly tally when caching is // turned on. It is recommended to use the API. @define('AKPC_USE_API', 1);
change the 1 to an 0.
I’m going to keep playing with it, to see if I can get it functional..
- The topic ‘[Plugin: Popularity Contest] Not properly counting page views’ is closed to new replies.