The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
e-steki Karma version 2.2 Details »» | |||||||||||||||||||||||||
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?
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. Admin/Mod FeaturesDon'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
|
Comments |
#232
|
|||
|
|||
Quote:
I agree with your first and second suggestion, however I don't have the time atm to update or support this modification (as I said, its only supported for a few days after each release). The third suggestion is not needed, as they are already hidden for the members. |
#233
|
|||
|
|||
ok i fixed this myself. I have to change a little for the sql query in the "e-steki Karma profile field part 2" to get rid of this error for some reason
Code:
$isthere = mysql_num_rows($db->query_read("SELECT karma FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND karma=1")); Code:
$isthere = $db->num_rows($db->query_read("SELECT karma FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND karma=1")); |
#234
|
||||
|
||||
Well I've found couple of interesting things. One is a serious bug, which never came to my mind, but has to be fixed :O because is a big one aye
[bug 1] Code:
When u give karma to someone, you use this link ./karma.php?do=processvote&u=$$$$&rating=4 But if you use firefox (works on ie too u just have to bother yourself coping the link word for word), and copy the link, you cna change that number to any number, for example 100, and it will give 100 karma points to that user. if you put -1000 it will take 1000 points from that user :O I wonder how one of my users figured it out, but very cleaver indeed. The creep didn't even report it, but there you go I'm pretty sure it is how you intended it to, but, is a bit ehhh to classify inactive users as not having opted to participate in the system. I mean, in the stats page the part which says "users have chosen to not participate in the Karma system. Shame on them!" In my personal opinion, only active users, who have opted not to participate should be counted here. [Suggestion 1] Okey this suggestion, is better than any of the previous 3 ^^ When you give karma, you are redirected to the members profile, but my users (at least) find it quite annoying. I guess vBulletin has made them used to been redirected to the same page they were at. [Suggestion 2] At the moment, in order to calculate karma averages, you are using the old fashion add all scores and divide by the number. However, it is not the same to have 100 votes and an average of 4 than having 5 votes and an average of 5. I recon a formula such as the one used on imdb.com is more aquarate than the current formula Quote:
[Comment] I run a Spanish forum, so I had to translate the phrases, I just wanted to say, it was quite complicated at times to translate them, because it wasn't intuitive from the names, and the original English sentence what the purpose of the phrase was. Also in many cases, you just put a word/sentence, which will be followed by a variable (ie number username etc) and dont use the {1} that makes it quite complicated to translate in many languagues I could do a list if you are interested Thx for listening ^^ |
#235
|
|||
|
|||
Really useful feedback NolF. Thanks a lot.
I hope my users don't figure out bug #1 till I have time to fix it Its so scary to think of what can happen if they do, they really take the karma seriously. I don't think bug #2 can easily be fixed though. Perhaps a workaround would be to substract inactive users from that number, whether they have opted out voluntarily or not. I'll try to find some time to fix bug #1 soon, it doesn't seem too time consuming to fix. About the phrases, {1},{2} etc is used in vB phrases as well, its supposed to be the "correct" way. Placing a variable next to the phrase is problematic if a language requires it to be before the phrase or in the middle of it. edit: Perhaps you should put bug #1 in code tags, till its fixed, so that it can't be read by guests or unlicensed users. You never know who's reading. |
#236
|
|||
|
|||
Bug #1 bothered me quite a lot, so here's a workaround.
Tell me if it works. |
#237
|
||||
|
||||
yep that works, when u give 100 for example, it is set back to 5, and if you use 4.5 for example it counts as 4
great job faster than I expected great job Quote:
for example karma_rated ---- {1} has rated in my opinion should be {1} has rated {2} karma_you_have_voted ---- You have rated this user a it should be -> You have rated this user a {1} etc there are some more |
#238
|
|||
|
|||
Oh, lol
Yeah, a list of those would help, so that I change them in the next update. |
#239
|
||||
|
||||
Here you go, a list with the sentences I recon need the {1}s
karma_percent_of_votes == % of total votes => {1} % of total votes [Note: I think this phrase is not beign used] karma_rated == {1} has rated => {1} has rated {2} karma_ratedby == {1} was rated by => {1} was rated by {2} karma_users_have_rated == users have rated => {1} users have rated {2} users karma_users_not_participate == users have chosen to not participate in the Karma system. Shame on them! => {1} users have chosen to not participate in the Karma system. Shame on them! karma_users_that_gave_the_most_x_votes == users that gave the most {1} votes => {2} users that gave the most {1} votes [Note: the {2} is the number 10 by default] karma_you_have_voted == You have rated this user a => You have rated this user a {1} userrating_lastrated == Last rated on => Last rated on {1} ======= Note: I've only included the ones users can see, ACP functions can go in english no problem Thx for the fix once again ^^ |
#240
|
|||
|
|||
I'm wanting to install this hack but am unsure about if its working without problems? Can someone advise on its status? does it work?
cheers |
#241
|
||||
|
||||
This is an excellent hack, well done, just a question tho can I change the word Karma to something else?
thanks, Mike. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|