Closed (duplicate)
Project:
User Points
Version:
7.x-1.0-rc1
Component:
Code: userpoints
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2011 at 23:04 UTC
Updated:
21 Jul 2014 at 23:09 UTC
Jump to comment: Most recent, Most recent file
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=