You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a function difference in latest BadgeOS 3.2. badgeos_get_users_points now have 2nd parameter also which defaults to 0 and a correct achievement id must be provided otherwise it will show 0 points. In my case the achievement id was 1648 and it works.
BadgeOS should get the points from default achievement type if achievement id is not provided to make the function backward compatible.
The text was updated successfully, but these errors were encountered:
In settings there is only field for default point type, if another field for default achievement type can also be provided then I guess it will become backward compatible.
zishanj
changed the title
badgeos_get_users_points should get default point type otherwise it shows 0
badgeos_get_users_points should get default achievement type otherwise it shows 0
Sep 15, 2019
There is a function difference in latest BadgeOS 3.2.
badgeos_get_users_points
now have 2nd parameter also which defaults to 0 and a correct achievement id must be provided otherwise it will show 0 points. In my case the achievement id was 1648 and it works.BadgeOS should get the points from default achievement type if achievement id is not provided to make the function backward compatible.
The text was updated successfully, but these errors were encountered: