Karma Module
Description
The Karma module recalculates user karma scores when common actions are performed, such as when a user submits an article, leaves a comment, or performs a voting action. Karma scores are a good indicator of how active an account is on a Plikli website, and Plikli CMS makes use of karma scores when displaying the "Top Users" page.
Revision History
- Redwine, Apr 17, 2015. fix to some bugs in the Karma system
- The code, as is, updates twice the user_karma in the users table upon up-voting a story.
- Does nothing when downvoting a story.
- If a user repeatedly votes a story up and down, they accumulate karma on up-voting and is not offset by the downvoting. Therefore, the "Vote on an article is removed" value must always be set as a negative value equal to what is set in "Voted on an article"
- v1.0 07/17/2013 - Pligg 2
- v0.2 08/11/2011 i4g - You can now subtract a value when a vote is removed
- v0.10 08/20/2010 DB - First version