Version: 2.2.1, by Lea Verou
Developer Last Online: Jul 2012
Category: Profile Enhancements -
Version: 3.6.8
Rating:
Released: 08-03-2007
Last Update: 11-14-2007
Installs: 93
DB Changes Uses Plugins Template Edits
Additional Files Translations
No support by the author.
e-steki Karma v2
I'm really excited to present the new, better from all aspects, version of my previous hack (the one that was in beta stage). I've spent numerous hours to make this, its my greatest modification so far, so I hope you like it!
What is it?
e-steki Karma is a powerful system to let users rate each other with a rating from -5 to +5. Each user's karma is a number, which is the average of all votes they have received. Refer to the Features section for more information.
What's the use?
Less flames. Users vent their spleens on rating the one that got on their nerves with a -5 and that's it.
Easier spotting of bad members/trolls by new users. This way, new users will not take seriously the bad members' posts and they won't get a bad idea about your forum, they will just think "oh nobody likes that guy anyway, he's not representative of the forum".
Users try to have a good behaviour because they know that otherwise their karma will decrease.
On a big board, it makes it easier for you to spot members that would perhaps make a good moderator (if they have a high karma value) or members that may need to get banned (if they have a very low karma value). You will also be able to judge how a ban will affect your other users, according to how much they like the soon-to-be-banned user (which is reflected in his karma value).
Features
The features in bold were added in the second version. Features in bold italics were enriched in version 2 but existed in version 1 partially.
Much better and more safe coding than the previous version. Most of the code has been rewritten from scratch.
Great power about who will use the system, via the permission settings.
Maintenance section
Easier installation than version 1 (Only one template edit (placement of a small comment), the others that version 1 had are now performed via template hooks).
Fully phrased (exept for the AdminCP Maintenance section)
Users with karma administrative priviledges can see for every user who they rated and by whom they have been rated and remove any vote they wish (useful for karma flooding that some users perform to be in the stats).
Most of the bugs in the previous version are now fixed with the maintenance section addition.
The bug with the date of the last vote in the profile is now fixed.
Displaying the karma in the postbit is now done with no queries.
Users with karma administrative priviledges can see the IP of the rater in each vote
A nice, usable and extensive html manual instead of an ugly readme.txt ;-)
End user Features
Users that have the Karma turned off don't count at all for the system. their votes don't count in anything, and the votes others gave them before they turned it off also don't count at all. Those users also, can't see anything that has to do with the karma system, anywhere. It's like the karma does not exist for them and they don't exist for the karma. However, if they switch it on again, nothing is lost and they may continue from the point where they deactivated it.
Rating is now performed by clicking on an image, no form submitting required (saves one click)
There is a complete statistics page, with 7 tables that display various statistics.
The Karma of each user displays in the postbit (unless he has opted out of the Karma, is not permitted to use it, or the admin has turned off this feature) and users can rate him from there
In each member's profile they can see if they have previously rated them and what rating they gave.
They can view all the votes they have given in a separate page and remove some of them if they wish (or go to the member's profile and change them). Votes that are not active at the time are marked with an admin-controlled formatting. He can also sort the votes by date or rating (default sorting is controlled by the admin). In the same page, users with karma administrative priviledges can also view who rated each user (fully, with sorting, formatting and vote removal).
Controversy feature, via an admin customizable algorithm. Controversy for each user is displayed in their profile, as well as in the stats and is color-coded as well as descriptive.
Each user can view the percentages of the votes he (or every user, if set so by the admin) has received in a nice graph by clicking in the controversy value.
Don't forget to Mark as INSTALLED!
Important: Supported for only a few days after each release.
Installation/Upgrade instructions included in the zip.
Changelog 2.2.1: Important bugfixes
2.2: I don't remember as apparently, I forgot to add it to the changelog initially
2.1: fixed bugs, cached templates and added the feature of a popup menu rating form in the postbit. 2.0: Initial release
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
SELECT userrating.voteid as voteid, userrating.userid as userid, userrating.raterid as raterid, userrating.ratername as ratername, userrating.rating as rating, userrating.active as active, userrating.dateline as dateline, userrating.ipaddress as ipaddress
FROM vb_userrating AS userrating
INNER JOIN vb_user AS user ON ( userrating.raterid = user.userid
AND user.karma =1)
WHERE userrating.userid = AND user.karma = 1 AND user.usergroupid NOT
IN (1,3,4) AND ((1186962797-user.lastactivity)/86400<=30)
ORDER BY userrating.rating DESC;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user.karma = 1 AND user.usergroupid NOT
IN (1,3,4) AND ((1186962797-user' at line 5
Error Number : 1064
karmatest.php?? Did I include that in the package??
LOL!!
Ignore that file, its just a test I was doing to debug sth, I forgot it inside the package.
You don't have the hook at the right place. You have it at the beginning of the template and its supposed to be under:
HTML Code:
<div>
$vbphrase[posts]: $post[posts]
</div>
Arrghh! This is driving me nuts, OK I put it where you said, nothing. I put it before and after, nothing. So I started messing around just because I wanted to see the dang thing work. So I put it in the postbit legacy, LOL!
Oh Yeah, it showed up...and doubled itself after every post. I had about a hundred of them showing up between the posts by the end of the thread.
Anyway, I can see everything on this....except I absolutely can not get it to show in the postbit. Want a Temp Admin account?
Arrghh! This is driving me nuts, OK I put it where you said, nothing. I put it before and after, nothing. So I started messing around just because I wanted to see the dang thing work. So I put it in the postbit legacy, LOL!
Oh Yeah, it showed up...and doubled itself after every post. I had about a hundred of them showing up between the posts by the end of the thread.
Anyway, I can see everything on this....except I absolutely can not get it to show in the postbit. Want a Temp Admin account?
Try firstly to give me a screenshot of the issue, cause I didn't exactly understand what happened.
installed in testing forum and there is a quistion:
1- how can i disallow users to edit the option (Participate in the Karma system) in user CP ?
Regards,
There is a setting for restricted usergroups and restricted userids. Use the one that suits you (depending on whether you want to restrict a whole usergroup or just some users)
what i need is to force all members to be (Participate in the Karma system) and there is not option for a user to uncheck the option (Participate in the Karma system) even if his user group allowed to use Karma system.
another thing when i remove some usergroup from (Usergroups that are not permitted to use the Karma system) then return it all members of this usergroup are marked as not Participate in the Karma system so each user need to check the option in his user CP to join the system again.
i think we need in admincp to enter the usergroup id that we want to force them to use the system and a usergroup that optionaly can use the system and the usergroup that not allowed to use the system.