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

jredding’s picture

Can you provide a bit more detail on your system? for example What version of karma are you using? Any contributed userpoint modules?

mrak’s picture

I 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

kbahey’s picture

Status: Active » Postponed (maintainer needs more info)

mrak,

Are you getting an error message? Whether on screen or in the logs?

mrak’s picture

no, 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)

kbahey’s picture

mrak

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.

mrak’s picture

on 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

kbahey’s picture

@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.

mercmobily’s picture

Hi,

I am the author of User Karma. Subscribing, just in case I can be of any help :-D

Merc.

berdir’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Sorry 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.