It works fine on my blog – so it’s possible another plugin is messing things up.
You could test by disabling the other plugins…
Thread Starter
Emanon
(@emanon)
Done. I’ve tried to disable all other plugins, and I’ve tried adding comments when logged in, when not logged in, and as a previously unapproved commenter. The popularity values were increased by 1 for every comment, probably because you get the full post view (which I have set to 1 point)?
I tried to change the value of a comment to 11, thinking there might be a problem with handling 10 properly. No result.
I suppose this plugin calculates popularity every time I reload the page? That is – if I change values of anything and save them to the database, and then reload the page – I will get some new scores, right?
btw. I use the 1.0 beta 4, perhaps there is a newer version out there?
EDIT: Updated to version 1.0, didn’t help.
Are the comment counts being recorded in the database?
Thread Starter
Emanon
(@emanon)
What exactly am I looking for, and where?
If you mean the number of comments registered in “wp_ak_popularity”, then yes – they are registered.
The values in “wp_ak_popularity_options” are also correct.
Sorry, this works fine for me so I have no idea what the problem is. Is anyone else having this trouble?
Thread Starter
Emanon
(@emanon)
Just a thought; If a post’s popularity is calculated as a percentage of the most popular post, and a couple of posts have got a huge amount of comments (eg. spam), the value of a single comment would be neglectible, right?
Can this be it, or have I misunderstood how your plugin works?
I have a couple of post’s from back in the days (before spamprotection) that has got more than five hundred comments registered in the database (although they are deleted from the blog).