Quote:
Originally Posted by juzz86
Mate I have been using your plugin for a while now, with great results. I scoured the thread time and time again going over the posts of those who've tried to do this before me, as I'm having the same trouble.
I am attempting to add a 'good' tally to the postbit. Getting it into place and stuff is fine, but I cannot for the life of me seem to find the correct variable to put here.
|
You just had to go there and open Pandora's box...
So it looks like the variables were setup right (
post.hagoodrank &
post.hatotalrank), but the routine for updating votes was completed bugged up... results were always 0 because results were never properly saved.
I've fixed that, updating upload/helpfulanswers.php
Also found another bug in switching back & forth in voting types and templates, fixed that in the xml file.
And finally added a resync routine to get all the old votes from members updated, so you don't have zeros on people with vote history, also the xml file.
Note: This is a lightly tried update from my working-version code with whatever else I've done since 2.4.2 so please proceed with caution.