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.

CommentFileSizeAuthor
userpoints_module_5x_patch.txt14 KBdami

Comments

dami’s picture

Forgot to mention that I moved user/manage menu to user/userpoints/manage so it will be grouped under users configuration under admin settings page.

kbahey’s picture

Thanks 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.

kbahey’s picture

Version: 4.7.x-2.1 » master
Status: Needs review » Active

Actually, 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

dami’s picture

Wow, 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.

ron williams’s picture

+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.

ron williams’s picture

Seems 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?

ron williams’s picture

Any new updates regarding the above ports which need to be completed?

kbahey’s picture

Ron

When you say have been completed, where is that?

I did not see any patches coming for this.

ron williams’s picture

These functions which I have stated are completed/working are part of the HEAD version.

kbahey’s picture

I don't see a patch.

What do you mean "are working"? Did you test them or what.

I don't understand, please be descriptive.

ron williams’s picture

I 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?

dami’s picture

Sorry 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?

kbahey’s picture

Version: master » 5.x-2.0
Status: Active » Fixed

New official release created.

ron williams’s picture

Status: Fixed » Postponed (maintainer needs more info)

Manual add/subtract function has not been updated or I was unable to find this function.

kbahey’s picture

Status: Postponed (maintainer needs more info) » Fixed

Under user management

admin/user/userpoints

Please open new issues rather reopening closed ones.

Anonymous’s picture

Status: Fixed » Closed (fixed)