Closed (won't fix)
Project:
User Points
Version:
5.x-3.7
Component:
Code: userpoints_basic
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2008 at 11:09 UTC
Updated:
25 Jan 2011 at 10:12 UTC
I have web site which uses both userpoints and user karma modules
the thing is that I have configured user points to create user activity list for most active users within last two weeks, which means that some userpoints are set to expire after 14 days
what happens is that when points expire, it seems that userpoints also do something to karma calculation and my karma also expires although it is configured to expire after 90 days
how can I fix this?
Comments
Comment #1
jredding commentedCan you provide a bit more detail on your system? for example What version of karma are you using? Any contributed userpoint modules?
Comment #2
mrak commentedI am using:
Userpoints, 5.x-3.7
Userpoints Basic, 5.x-3.7
User Points Top Contributors, 5.x-1.x-dev
User karma module is ver. 5.x-1.10
I am using Drupal 5.2, running on php4 and mysql4
Comment #3
kbahey commentedmrak,
Are you getting an error message? Whether on screen or in the logs?
Comment #4
mrak commentedno, there is no error message (at least not one I have seen)
I have examined both log files (drupal log files) and I have not seen any unusual message on screen
so, to make it clear:
userpoints top contributors module have an option to create list of most active users and you can define time period (in my case I choose two weeks)
you can see how list looks like here: http://pollitika.com/userpoints/list/period
you have three colums; one is number of userpoints within last two weeks, second is current userpoints total and third is lifetime (difference between the two is because you can set for some points to expire after some period (in my case 90 days, I have not hit this yet)
now, when userpoints top contributors recalculate userpoints within last two weeks, at the very same time user karma of my users decreases - which is consistent with my claim that somehow, userpoints are deleted and not visible to user karma anymore (although, userpoints are clearly there in database since you can see them in column 2 and 3)
Comment #5
kbahey commentedmrak
I checked the code in user_karma module, and it does not use the userpoints API, nor mess with the userpoints table. It also has no dependency on the userpoints module at all. In fact, user_karma uses the voting API tables.
So, I can't understand how there would be a conflict in any way.
Comment #6
mrak commentedon project page you have:
"Points for using many other voting modules (Fivestars, vote up/down, ...), via the Voting API integration."
what might happen is that whataver happens with userpoints and two weeks expiring of points to make my activity page, propagates thru voting api and messes with user karma
Comment #7
kbahey commented@mrak
The votingAPI integration has its own module, so if you do not have that module installed, then there can be no interference, whether there is expiry of points or not.
Comment #8
mercmobily commentedHi,
I am the author of User Karma. Subscribing, just in case I can be of any help :-D
Merc.
Comment #9
berdirSorry for spamming the participants in this issue. Due to the release of Drupal 7 and the lack of time from the maintainers, I'm closing all remaining 5.x issues for Userpoints.
Feel free to re-open this issue or create a new one for 6.x or even better 7.x if this bug is still open or feature is missing for these versions.