Closed (fixed)
Project:
Simple Karma
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 May 2007 at 16:28 UTC
Updated:
1 Oct 2007 at 15:44 UTC
Hi!
I think that this can be nice addon on your really useful and great module:
To show an image (emoticon) near (or instead) the number of user karma.
This image will be depends on user karma ammount, so if user karma will be more as (number which can be to set on settings page)
smiley will be happier, or nicer, and the same for opposite.
There can be e.g. 5 images.
This image can be show on user profile too.
Thanks for reading
Igor
somvprahe.sk
Comments
Comment #1
mercmobily commentedHi,
I think this is an excellent idea.
Let's think about it for a second, and I will implement it.
First of all: where shall I store the icons? Giving the module the ability to upload the images is a bit of a pain. But, at the same time, I am not entirely sure it's a good idea to "expect" people to upload those images. What do you guys thing?
Another issue is that a user's karma can grow higher and higher and higher and higher... we need a nice formula that works on the karma distribution, so that:
The top 20% users will have emoticon 1
20 to 40% emoticon 2
40 to 60% emoticon 3
I *suck* at maths, which is one of the reasons why I haven't done this yet. Is anybody out there able to give me the SQL queries to work out if a user is in a defined range? Please keep in mind that this will be an uneven Gaussian bell...
Bye!
Merc.
Comment #2
mercmobily commentedHi,
OK, I am working on this.
I didn't get much response. I guess the module doesn't have a "critical mass" yet...
Merc.
Comment #3
igorik commentedHi mercmobily
I hope that your great module will be in mass use soon :)
I am sorry thai I forgot to respond to you.
To your question about storing of images - I am not sure, but one of the ideas can be that images will be in module directory
e.g. simplekarma/images, e.g. simplekarma/images/very_bad.gif, ...etc to very_good.gif, and if the admin will be want, he/she can replace them another images.
About another issue - I supposed tha each new user will be have emoticon 3 (if there will be 5 images, default-middle is 3 of 5)
so karma 0 +- 20% of total karma = emoticon 3, +-20 to 60 can be emoticon 2 or 4, and +- 60 to 100% of maxim. ammount of karma can be emoticon 1 or 5.
I am sorry for my bad english, I am not sure if you will understand what I mean, but I hope so. :)
Have a nice day
Igor
somvprahe.sk
Comment #4
mercmobily commentedHi,
Thank you for your response :-D
I will see what the best way is. I think I'll need to store the images in "files".
Bye,
Merc.
Comment #5
stephthegeek commentedSubscribing. I like this idea very much :)
Comment #6
mercmobily commentedHi,
Well, I've tried to work out the query 3 times, and failed.
It's actually a very nasty one... I need to try a couple more times and I might come up on top :-D
Bye,
Merc.
Comment #7
igorik commentedHi Mercmobily
I told about user karma with my friends, who have or know various community pages, and they told me that the best option will be that,
where it cannot be use by smammers (dumb users who will add negative karma to other users for fun or because they don't like that users)
So one of the ideas is that karma will be positive only.
(+1,+2,+3,+4,+5)
So spam/dumb users cannot to add negative karma to anyone.
(My idea is that in Simple Karma settings there can be an option to select normal karma, or positive only karma - each admin can use an option which he/she likes.)
Please tell me what you think about it.
Bye
Igor
somvprahe.sk
Comment #8
mercmobily commentedIgorik: yours is a feature request that doesn't have much to do with "emoticons".
The whole Karma module is based on the concept of positive or negative karma. Qite a few things will cease working properly. For example, the roles-by-karma will not make any sense; also, an ever-increasing karma won't make sense from a mathematical point of view.
Bye,
Merc.
Comment #9
mercmobily commentedHi,
I looked into it.
Showing "badges" is actually outside the scope of this module. To do things like that, please look into modules like http://drupal.org/project/user_badges ...
However, I do feel that the module needs a better way to assign roles so that the admin doesn't have to do it manually. For that, I am actively looking into it.