Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
e-steki Karma BETA Details »»
e-steki Karma BETA
Version: 1.00, by Lea Verou Lea Verou is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-06-2006 Last Update: 03-08-2006 Installs: 24
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

New version for 3.6, with a lot more features, bugfixes and better coding!!

-------------------------------------------------------------------------------
Beware that this is still a BETA. This means, it may have bugs. If you want to help with the beta-testing phase, please mention what happened with this hack (if it works or not, if you encountered any bugs, if everything is ok etc) as detailed as possible.


I used quite a lot code from User Rating 1.0 by tnguy3n for this modification. Then I changed it a lot to fit my needs, and I think it's so changed that it could be released as a separate modification. I also got his permission for this

What does e-steki Karma have that User Rating 1.0 doesn't?
1. When a user votes someone for a second (or third, fourth etc) time, the new vote replaces the old instead of being added. I felt it was more fair this way.
2. There is a complete statistics page, with 7 tables that display various statistics
3. Ratings are from -5 to 5 instead of 1-10 and they are represented by images
4. The Karma of each user displays in the postbit (unless he has it turned off)
5. 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.
6. Since there are no comments, there is no possibility that the user gets a "you didn't complete all fields" error. In fact, even the phrase for it is removed.
7. The table is not placed where the hack author wants (above the footer in UR1) but where YOU want it (by inserting a small comment in the place that you want it in MEMBERINFO). This, however, means one more template change is involved.
8. There is no field that you should add via the userfield manager. This caused bugs in UR1 as you had to run a query to set all the checkboxes to 1 and new registrants had their karma turned off by default.
9. IP in who rated
10. Although they can't see who voted, they can see if they have rated a user and with what (see screenshot).


Why somebody may prefer User Rating 1.0 over e-steki Karma?
I have removed some of the user rating 1.0 features that I didn't need. Some of you may need them though, so pay a visit to User Rating's thread as well.
1. There are no comments in this hack. Nowhere. I've removed anything that has to do with comments.
2. There is no "anonymous voting". In my site, only admins see who has voted, so it's useless to us.
3. No template changes in UR1.
4. A little bit less queries and plugins (since there are less abilites in certain things) in UR1.
5. The "can rate himself" is off by default.
6. Only admins can see who voted. This is planned to be a usergroup permission in the future though.

Misc features
1. WOL location for stats
2. Fully phrased
3. Usergroup permissions

Why is it a beta?
1. Because the end product is the biggest modification I've worked on and there is a high chance I missed something
2. The permission for "Can view Stats" is not working sometimes.
3. I'm not sure how if the install code is going to give an error on an existing installation of e-steki Karma or UR1.

Planned features
1. Of course, bugfixes
2. Usergroup permission for who can see who voted. (currently only admins can see that.)
3. The stats line in memberinfo wont appear if the user does not have permission to view the stats.
4. Ignore specific usergroups from the karma (such as banned)
5. Suggest your own, as long as they keep the system as fair as possible. My main concern is that the system is fair and democratic, and this is why I made most of the changes.

Don't forget to click INSTALL if you use this or you will be damned to hell

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 04-07-2006, 06:06 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Extilus, no I need to see the ratingform one.

The Chief I didn't understand what you said.
Reply With Quote
  #103  
Old 04-07-2006, 12:45 PM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
Extilus, no I need to see the ratingform one.

The Chief I didn't understand what you said.
ah, now I need to write it again...lol

ok, well would it be possible to make this hack as simple as can be, by like having a different link for people to vote, like let's say, http://www.myetalk.com/forums/rating.php?u=MEMBERID here or something like that, then anybody could vote, then the average voting of the user is displayed in the profile represented in a cool image or something?

I would like to make this as easy as possible, no need of like all the extra stuff like the comments and other things..?

hope you will be able
Reply With Quote
  #104  
Old 04-07-2006, 08:37 PM
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Location: Spokane, WA
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the rating form:

PHP Code:
<form action="$thiscriptmethod="post">
            <
input type="hidden" name="do" value="rateuser">
            <
input type="hidden" name="userid" value="$userinfo[userid]">
            <
input name="rating" type="radio" value="-5">
            <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]">
            <
input name="rating" type="radio" value="-4">
    <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m4]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m4]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m4]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m4]"
            <
input name="rating" type="radio" value="-3">
    <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m3]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m3]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m3]">
    <
input name="rating" type="radio" value="-2">
    <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m2]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m2]">
    <
input name="rating" type="radio" value="-1">
  <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m1]">
    <
br />
    <
input name="rating" type="radio" checked="checked" value="0">
    <
img src="/images/neutral.gif" alt="$vbphrase[karma_0]"><br />
    <
input name="rating" type="radio" value="1">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p1]">
    <
input name="rating" type="radio" value="2">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p2]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p2]">
    <
input name="rating" type="radio" value="3">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p3]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p3]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p3]">
    <
input name="rating" type="radio" value="4">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p4]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p4]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p4]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p4]">
    <
input name="rating" type="radio" value="5">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><br />
            <
br />
            &
nbsp;<input class="button" type="submit" name="submit" value="$vbphrase[userrating_ratenow]"><br />
            </
form
Reply With Quote
  #105  
Old 04-07-2006, 08:40 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Chief
ah, now I need to write it again...lol

ok, well would it be possible to make this hack as simple as can be, by like having a different link for people to vote, like let's say, http://www.myetalk.com/forums/rating.php?u=MEMBERID here or something like that, then anybody could vote, then the average voting of the user is displayed in the profile represented in a cool image or something?

I would like to make this as easy as possible, no need of like all the extra stuff like the comments and other things..?

hope you will be able

There are no comments in this hack...
Reply With Quote
  #106  
Old 04-07-2006, 08:42 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Extilus, the problem is on the alt tags or on the number of images?
Reply With Quote
  #107  
Old 04-07-2006, 11:58 PM
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Location: Spokane, WA
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup. just checked those phrases. Sure enough they were set for 9 & 10 ... Quite odd :laugh
Reply With Quote
  #108  
Old 04-08-2006, 12:28 AM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle

There are no comments in this hack...
ok but did you get the thing about the seperate link?
Reply With Quote
  #109  
Old 04-15-2006, 07:44 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this hack

Click Install
Reply With Quote
  #110  
Old 04-15-2006, 08:03 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm a big problem with this hack:

- On "karma_stats.php" page, on top, i have:
"Warning: array_count_values(): The argument should be an array in /karma_stats.php on line 146

Warning: array_count_values(): The argument should be an array in /karma_stats.php on line 205"

- In postbit, nothing show

- And, on "member.php" page, nothing show also

ps: permissions to usergroup OK, permissions hack OK
Reply With Quote
  #111  
Old 05-07-2006, 07:11 PM
ConKien ConKien is offline
 
Join Date: Apr 2004
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Michelle, r u still working on this?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:23 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07762 seconds
  • Memory Usage 2,364KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete