Hi, I am having trouble with activity points calculations in general.
This occurred following an upgrade to 3.1.0.
We have now done a fresh re-install of vBActivity, and have recalculated the points as of 1 January 2013. The problems persist.
On the surface, the points calculation seems correct, but users are reporting anomalies, such as the user with the "Most polls posted" trophy, who says he has not posted any polls at all this year.
When running activity competitions there are clear errors. For example:
I have created two "Total Score" competitions running over the exact same time-frames. The results were calculated retrospectively, and I assume this won't be a problem.
The two competitions both had different criteria. For one I selected multiple criteria (points for posts, threads, polls, blogs, etc). For the other, I selected only one criteria (Points for posts).
The winner points lists generated were exactly the same for both competitions; the winner list of names was in the same order, and the points they had received were the same. Obviously this should not be the case since the criteria set were different for each competition.
I have replicated this problem with different competition setups, and it persists.
Users in the Admin usergroup are appearing in the results despite them being excluded in the permissions section.
--Previous attempts to resolve the problem--
We have our own developers who work on our forum. They have done some minor cosmetic customisation, such as how the trophies are displayed in the postbit and how the competition results are displayed to users on the front-end ; I assume this will not be causing the evident incorrect calculations in the back end, but I am mentioning it just in case.
Prior to doing a fresh reinstall, our developers tried to solve the problems. Here is some of their feedback:
We also experienced a problem with pagination on the achievements page (front-end) but I have not been able to see if this persists with the new reinstall as I have yet to setup achievements. Here is the feedback from our developer on this issue:
This issue is rather urgent for us as we have been attempting to run an activity competition with valuable prizes for our community, and disappointing them with a delay or potential scrapping of the competition will be a very negative thing from our community management side of things.
Your swift response will be greatly appreciated.
Regards,
rpm.
This occurred following an upgrade to 3.1.0.
We have now done a fresh re-install of vBActivity, and have recalculated the points as of 1 January 2013. The problems persist.
On the surface, the points calculation seems correct, but users are reporting anomalies, such as the user with the "Most polls posted" trophy, who says he has not posted any polls at all this year.
When running activity competitions there are clear errors. For example:
I have created two "Total Score" competitions running over the exact same time-frames. The results were calculated retrospectively, and I assume this won't be a problem.
The two competitions both had different criteria. For one I selected multiple criteria (points for posts, threads, polls, blogs, etc). For the other, I selected only one criteria (Points for posts).
The winner points lists generated were exactly the same for both competitions; the winner list of names was in the same order, and the points they had received were the same. Obviously this should not be the case since the criteria set were different for each competition.
I have replicated this problem with different competition setups, and it persists.
Users in the Admin usergroup are appearing in the results despite them being excluded in the permissions section.
--Previous attempts to resolve the problem--
We have our own developers who work on our forum. They have done some minor cosmetic customisation, such as how the trophies are displayed in the postbit and how the competition results are displayed to users on the front-end ; I assume this will not be causing the evident incorrect calculations in the back end, but I am mentioning it just in case.
Prior to doing a fresh reinstall, our developers tried to solve the problems. Here is some of their feedback:
This is an update regarding the project. We [...] finally found the main problem causing most of the problems mentioned. In the new version they did some refactoring, moving the code updating user's points, inserting data into contest table etc. to a new hook, and emptied the old hook file. However, they did not add the new hook into XML file, and the hook was not executed at all, causing all issues mentioned. You can report this as a bug in their product and inform them, that their "newpost_complete" hook file is empty, and the new file "postdata_postsave" is never called.
The problem with permissions (admins being included in the contests) is a little harder to troubleshoot, as it seems to be working when points are added for current contest, but not working when rebuilt from Admin CP. This should be checked further if the problem still exists.
We also experienced a problem with pagination on the achievements page (front-end) but I have not been able to see if this persists with the new reinstall as I have yet to setup achievements. Here is the feedback from our developer on this issue:
The issue with pagination not working was another bug in file /dbtech/vbactivity/actions/achievements.php, where pagenumber and perpage variables are used from global scope, instead of being populated from request URL.
This issue is rather urgent for us as we have been attempting to run an activity competition with valuable prizes for our community, and disappointing them with a delay or potential scrapping of the competition will be a very negative thing from our community management side of things.
Your swift response will be greatly appreciated.
Regards,
rpm.
Last edited: