I don't want points to be re-added to the user account when a node is deleted

Hope I explained myself well enough...

Comments

dami’s picture

Sorry, but I don't quite understand...Do you mean you don't want a user to lose points when his post is deleted?

pamphile’s picture

yes Dami,

your correct. Nothing must happen when the node is deleted.

dami’s picture

That's when of the features I needed on my site. Specifically I wanted user gets points when his/her post is promoted to front page or marked as sticky. Then, if the post is demoted or made un-sticky, the user won't lose his/her points...I have modified the userpoints module to achieve this and also added some other features I need. I am still testing it and will post it in a couple days.

jredding’s picture

Component: Code » Code: userpoints_basic
Status: Active » Fixed

Looks like these items were committed.

jredding’s picture

Category: task » feature
Status: Fixed » Active

Sorry trigger happy, wrong issue. This feature has not been incorporated.

dami’s picture

I am not sure if userpoints.module wants to implement this, maybe more suitable for a contrib module. I had it implemented locally about a year ago, it kinda worked but then I discarded the idea. Mostly because of two reasons:
1. It gives me comfort when I know there is retroactive.module I can rely on when anything goes wrong. But with this setup, recalculate/retro points would be very difficult, if not impossible.
2. I was also worried about the abuse possibilities it opens.

jredding’s picture

I'm throwing my vote for NOT implementing this in core. It has massive potential for abuse and a contrib module can easily implement this by hitting the hook with a few lines of code. (hint: points before.. wipe out the negative points).

berdir’s picture

Status: Active » Closed (won't fix)

Sorry for pinging the participants, I am closing old issues. This version is not supported any more.

You are of course welcome to re-open this issue for a newer version if the bug still exists or you still want to add this feature.