Apply points retroactively for previous members OR after updating "Points for basic events"

krisvannest - March 16, 2008 - 11:28
Project:User Points
Version:5.x-3.4
Component:Code: userpoints API
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

When installing this mod after members have already created content, it doesn't seem to take into account content created before installation. For instance, members who have contributed/posted a lot to the site don't have any points because the mod doesn't seem to recognize their past work.

A similar scenario is when the admin makes changes or updates to the "Points for basic events" setting (on Points settings admin page)-- for instance, say I decide I want to change the # of points for forum postings, it doesn't seem to update current/past members point values to account for those new values.

FWIW I wasn't sure if I missed something, so I did a test run of update php after changing "Points for basic events" but didn't notice any point changes for previous members.

Otherwise, nice mod & thx, KV

#1

jredding - March 16, 2008 - 11:40
Status:active» by design

This is not a bug, it is how its designed. Points are granted when the action occurs so if you change point levels they won't be retroactive.

You'll want to look into userpoints_retroactive in the user points contributed project.

#2

krisvannest - March 16, 2008 - 16:19
Status:by design» closed

Ah, thanks much for that-- totally missed the contrib additions, but downloaded them now from http://drupal.org/project/userpoints_contrib and works just as you suggested.

#3

jredding - March 16, 2008 - 16:29
Status:closed» by design

changing status back to by design as this was never a bug to begin with thus it can't be fixed nor closed.

 
 

Drupal is a registered trademark of Dries Buytaert.