Karma Calculation

Creating and modifying plugins.
Post Reply
Lux
Regular
Posts: 764
Joined: Fri Aug 12, 2005 4:36 pm
Location: Grüt, Zürich, Switzerland
Contact:

Karma Calculation

Post by Lux »

Hi,

I have one little problem with the karma plugin.

Setting the results to "Text" and having two votes with "0" and one with "+1", gives back "0.333333" instead of "Gut".

Any hints?

Cheers

Dirk
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Karma Calculation

Post by garvinhicking »

Hi!

Can you tell what the exact settings are, then I can try to reproduce it. The values/votes were cast AFTER you changed the setup, not before, right?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Lux
Regular
Posts: 764
Joined: Fri Aug 12, 2005 4:36 pm
Location: Grüt, Zürich, Switzerland
Contact:

Re: Karma Calculation

Post by Lux »

garvinhicking wrote:Can you tell what the exact settings are, then I can try to reproduce it.
Please check: http://dl.dropbox.com/u/1486929/www.dei ... 015-25.png
garvinhicking wrote:The values/votes were cast AFTER you changed the setup, not before, right?
The only change to reproduce is to set "Abstimmungswerte als Text darstellen?" to "Yes". Since I did that from the beginning there was no change (or even save to disk) before.

Cheers

Dirk
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Karma Calculation

Post by garvinhicking »

Hi!

Just an empty ELSE -Statement made that happen for this specific range.

A fix has been committed to SVN!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Lux
Regular
Posts: 764
Joined: Fri Aug 12, 2005 4:36 pm
Location: Grüt, Zürich, Switzerland
Contact:

Re: Karma Calculation

Post by Lux »

garvinhicking wrote:Just an empty ELSE -Statement made that happen for this specific range.
A fix has been committed to SVN!
Thanks a lot Garvin.

Cheers

Dirk
Post Reply