Needs work
Project:
User Points Contributed modules
Version:
7.x-1.x-dev
Component:
Code: userpoints_retroactive
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2013 at 08:43 UTC
Updated:
29 Aug 2015 at 23:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alfababy commentedHi jackniu,
I attached a quick doing the patch, maybe it has bug.
Please test it.
Feel free to let me know if you would have any questions, comments or issues about this ticket in general, I would be glad to answer and provide more details.
Thanks very much in advance.
Cheers!
Comment #2
dydave commentedChanging issue status to needs review for automated testing of patch.
Any feedback, testing, reporting and reviews would be highly appreciated.
Thanks to all in advance!
Comment #3
berdirYou can alternatively also form alter the settings into the vertical tabs so that all settings are in one place.
The way the userpoints are added most likely also needs some updates to be compatible with the new operations defined in userpoints_nc now so that they show up the same as as newly granted points.
Comment #4
dydave commentedThanks very much @Berdir for your feedback and advice on that.
We're surely going to look closer at your comments and get back to this issue with an updated patch.
Additionally, I wanted to add that we should probably also try adding a simpletest file, for automated testing (provided in API since D7).
We could probably add a new file called userpoints_retroactive.test as well, along with the port.
We would greatly appreciate to have any further questions, comments, opinions, suggestions or feedback.
Thanks very much to all in advance for your help, testing, reporting or comments.
Cheers!
Comment #5
jackniu commented#1: userpoints_retroactive-1963542-1.patch queued for re-testing.
Comment #6
alfababy commentedNew patch is coming.
It need depend User points Nodes and Comments module.
It will load userpoints_nc's settings automatic for granting the point, and you can choose whether enable to retrocactive node and comment.
Cheers.
Comment #7
berdirNeeds to use t() around translatable strings (prefix, table headers), spaces around => and should use instead of .
These functions will not scale if you have many nodes/comments. We should use the batch API to make sure that we can process an unlimited amount of points. See http://drupal.org/node/180528
This should use the matching operation defined in userpoints_nc_userpoints_operation_info().
Comment #8
alfababy commentedHi berdir,
Thanks for your suggestion.
I will fix them soon, and change it to use Batch API.
Comment #9
Starminder commentedI'd like to get userpoints up and running again on my site, this module is the showstopper. Any plans to finish it?
Comment #10
fugazi commentedsame question would be happy even if it works for D7
Comment #11
darrellhq commentedWill there be any update for this module?