Here is a patch to upgrade 4.7.x-2.1 to 5.x. It just patches the userpoints.module file, you will still need to create an .info file for it to work. I tested it briefly on my test site, let me know if it works. Thanks kbahey for this wonderful module.
| Comment | File | Size | Author |
|---|---|---|---|
| userpoints_module_5x_patch.txt | 14 KB | dami |
Comments
Comment #1
dami commentedForgot to mention that I moved user/manage menu to user/userpoints/manage so it will be grouped under users configuration under admin settings page.
Comment #2
kbahey commentedThanks a lot. This is very helpful. I can create the .info file for it, and the change for the manage is reasonable.
How about userpoints_basic.module? It provides some basic features that are much needed.
Comment #3
kbahey commentedActually, I committed your changes to HEAD, and did the userpoints_basic myself.
Leaving this issue as active, since we need the following.
- 5.x port for referral_points.module
- 5.x port for userpoints_ecommerce.module
- 5.x port for userpoints_nodelimit.module
- 5.x port for userpoints_reset.module
- 5.x port for userpoints_retroactive.module
Need the following files
- referral_points.info
- userpoints_ecommerce.info
- userpoints_nodelimit.info
- userpoints_reset.info
- userpoints_retroactive.info
The following modules need some cleanup and better documentation on the sequence they are run in, and exactly what they do:
- userpoints_reset.module
- userpoints_retroactive.module
Comment #4
dami commentedWow, this is fast. Thanks!
I will find some time next week to take on userpoints_reset.module and userpoints_retroactive.module. I am not familiar with the other three, hopefully somebody else can pick them up.
Comment #5
ron williams commented+1 on the porting. I really like the functions where userpoints can be used as currency via ecommerce. This will drive users to my site since they will get items for participating. Thanks for all the great features which this module has. 2.0 has many functions which I was not expecting, including the userpoints_referral. Great work to everyone who has contributed. I'm really looking forward to using this when it's completely ported.
Comment #6
ron williams commentedSeems that the following has been completed:
- 5.x port for userpoints_ecommerce.module
- 5.x port for userpoints_reset.module
- 5.x port for userpoints_retroactive.module
The following still needs to be completed:
- 5.x port for referral_points.module
Not sure what userpoints_nodelimit.module does, but I would appreciate an explanation. Also I remember a function where an admin could manually give and take userpoints, and I can't find this in the 5.x version. Where'd it go, and is it coming back?
Comment #7
ron williams commentedAny new updates regarding the above ports which need to be completed?
Comment #8
kbahey commentedRon
When you say have been completed, where is that?
I did not see any patches coming for this.
Comment #9
ron williams commentedThese functions which I have stated are completed/working are part of the HEAD version.
Comment #10
kbahey commentedI don't see a patch.
What do you mean "are working"? Did you test them or what.
I don't understand, please be descriptive.
Comment #11
ron williams commentedI have installed and tested all parts of the current head version of userpoints. userpoints_ecommerce.module for 5.x is part of the userpoints 2.0 module (at least in the head version) and installs with the core userpoints module install. The userpoints_ecommerce.module part of userpoints 2.0 is working with the 5.x version of ecommerce correctly. userpoints_reset.module and userpoints_retroactive.module is working as they have in previous versions.
This leaves the referral_points.module part of userpoints 2.0 to be ported to 5.x. Also, the manual add/subtract function has not been updated.
Is this descriptive enough?
Comment #12
dami commentedSorry I didn't have time in the last couple weeks to work on the userpoints_reset and userpoints_retroactive code. The code may be 'working' for v2.x without modification, but we need to discuss a bit on how to deal with the new 'transaction' table and admin assigned points. Does a reset also remove all admin assigned points as well or we should provide an option not to...etc?
Comment #13
kbahey commentedNew official release created.
Comment #14
ron williams commentedManual add/subtract function has not been updated or I was unable to find this function.
Comment #15
kbahey commentedUnder user management
admin/user/userpoints
Please open new issues rather reopening closed ones.
Comment #16
(not verified) commented