karma.jpgMost webmasters that run the Pligg CMS system have asked many questions about the Karma system associated with user accounts, does this actually work, whats the point of the karma etc, one of the more frequent questions however is “How Come The Karma Values On All Users Say 10″. Read on to find out how to get you users karma to calculate automatically with a cron job.

What is user karma?

Karma takes into account a users submissions, published, queued, and buried stories. It then comes up with a mathematical equation to represent it. In order to utilize Karma.

What Does It Achieve?

Your guess is as good as ours, as far as we can tell it shows a number and has no other function or interaction with users. Even after searching the pligg forums we drew a complete blank on any functions this feature of pligg has or it’s affects on users if any.

Getting Karma To Update Values Daily

To get the karma system to update users values automatically you will need to setup a daily cron job for your site, you can normally do this from you hosting account control panel. If your on a dedicated server without a control panel you will need to know Linux commands.

The file you need to call from the cron job is located at:

http://yoursite.com/libs/karma.php

You could simply call this file a 12pm every evening or whenever you like at multiple instances during the day.

You could also call the URL from the address bar of your browser once per day to achieve the same results.

Karma values will now update after being calculated.

Share This

Popularity: 12%

If you enjoyed this post, make sure you subscribe to our RSS feed!