Berdir,
As you know, from this post, http://drupal.org/node/1165256, I paid MasterChief to customize user points to use decimals. It works great. I looged in yesterday to my modules and was told I had updates. I accepted. One of them was your latest user points. Once it installed it wiped out all the code from MasterChiefs Module. It was back to prior ways. I understand you've seen and approved his work? But apparently the changed code he made to the core hasn't been added to your core and updates yet?
I deleted the updated module and reinstalled his module. Now it's working well again.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | masterchief.patch | 32.16 KB | MasterChief |
Comments
Comment #1
MasterChief commentedI attach the patch with decimals, note that it doesn't take your latest uptades Berdir since the 1st september :)
IWasBornToWin don't install the last updates until this issue is closed :)
Comment #2
berdirI have not seen (except what just has been attached to #1), reviewed, or added *anything*. If you update, you need to re-apply the patch and should be good to go.
There were no actual changes, I've just made a official, stable version.
Also, there is no need for a new issue, we already have #1165256: Allow points with decimal places, let's continue there.
Comment #3
rimu commentedI'm using this patch on the 1.0 version of this module. It's working fine, except I changed line 1338 from
to
Comment #4
kuserver commentedGreat thanks for patch!!!
Useful information for newbie in D7 to apply this patch :)
When I was trying to install this patch ON WORKING SITE WITH INSTALLED USERPOINTS MODULE & USERS WHICH ALREADY HAVE USERPOINTS I got one big mistake - old userpoints which users got without decimals made mistakes on site.
It seems that your site have to be a new without installed userpoints module to apply this patch!
Comment #5
vat0r commentedGreat patch but I've noticed a small issue. If you use up to the eighth decimal for points ie. 0.00000009 you cannot subtract say 0.00000001 using the admin interface. The form only allows ten characters something like -0.0000001
Comment #6
divined commentedWarning: 1265 Data truncated for column 'points' at row 1: UPDATE {userpoints} SET points=