Needs review
Project:
User Points Contributed modules
Version:
7.x-1.x-dev
Component:
Code: userpoints_reset
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
15 Nov 2012 at 22:49 UTC
Updated:
23 Feb 2016 at 00:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
diwant commentedPatch'd. I ran this patch from the root of userpoints_contrib, but it only makes changes to the contained userpoints_reset module.
Comment #2
diwant commentedI'm trigger happy, forgot to test it. Stand by.
Comment #3
diwant commentedOk now try it.
Comment #4
druppiedesign commentedWorks perfect tnx
Comment #5
jim22 commentedI can't get this working.
I downloaded:
I patched the userpoints_reset module (which converts it to D7), enabled it, and nothing. It doesn't enable any admin pages, permissions, etc.
Any advice would be greatly appreciated.
Alternatively, I've built a Rules component to use with VBO which is trying to accomplish the same thing. It finds the current user's point total, creates a negative variable of that integer, which then creates a new userpoints transaction with that negative integer that zero-out that userpoint total. However, it's only working when I have selected the "All Points" taxonomy category. For some reason, it doesn't work with any other category. And I'm not able to reset all categories at once that I can find. I've even tried making the transaction "Category" an input on the VBO form.