Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
carring feature request #135511: Querying how many points gained during certain period forward for implementation in 6.x branch
make it so that you can query how many points have been gained by users during a defined period (this date and that date)
Comment | File | Size | Author |
---|---|---|---|
#11 | userpoints-gained-during-period-p1388732-10.patch | 1.88 KB | chipway |
#9 | userpoints-gained-during-period-p1388732-9.patch | 1.83 KB | chipway |
#1 | p1388732.patch | 1.84 KB | benjaminbradley |
Comments
Comment #1
benjaminbradley CreditAttribution: benjaminbradley commentedThis has been implemented via the function:
NOTE: This function does NOT care if the points have since expired. We are only interested in the total number of points GAINED during the specified time period.
Other questions (which this function does NOT answer) might be:
Comment #3
arne.olafson CreditAttribution: arne.olafson commentedThis would also be a good feature for the drupal 7 module.
Comment #4
FrancoisL CreditAttribution: FrancoisL commented#1: p1388732.patch queued for re-testing.
Comment #6
FrancoisL CreditAttribution: FrancoisL commentedAny update on this project ? we are looking for a solution to display user point for a specified given time (6 month for example.
Thanks
Comment #7
chipway CreditAttribution: chipway commented#1: p1388732.patch queued for re-testing.
Comment #9
chipway CreditAttribution: chipway commentedPatch revu.
Comment #11
chipway CreditAttribution: chipway commentedRebuilt the patch against last dev version.
Comment #12
chipway CreditAttribution: chipway commentedWe tested this function on one of our web site, and it works.
Comment #13
scalp CreditAttribution: scalp commentedHad to change a couple of things from the patch to get this to work in the Drupal 7 version. I'm actually just using this in a custom module instead of as a patch, but if you wanted to patch the userpoints module just change the function name:
Comment #14
manuel.adanClosing this as outdated, 6.x version is no longer maintained.