1) Div by zero bug gone.
2) Calculation for text version and graphic version:
- a) A vote of 5 stars, or '++' stores a value of 2 for each vote in the database, correct?
b) 5 of these votes would record a karma value of 10, correct?
c) To determine the graphical rating, the calculation would be (2 points *5 votes =10) + (3 points * 5 votes = 15 more points), subtotal is 25 points, divide that by 5 votes which equals 5 diamonds, stars or whatever.... correct?
If my assumptions above are correct, then I would think the whole calculation matter has been resolved.
3) "Glow" color: Using the example graphics of diamonds, you have the current vote score shown in yellow, and a potential vote shown with green. But let's say that the color scheme of my site makes it so that red would be a preferable choice to green for the "glow" state. Right now, that means I would have to generate another 16 graphics (or copy the existing ones to a new name) changing only diamonds_glow.png to a red color. Everything else would remain visually identical.
Let's say you instead started with 2 (or 3, 4, whatever) complete sets of images. Now I could select any combination I wanted (from those available) for the current/possible vote. I could have green on yellow (like now), I could have yellow on green.... red on green, etc.
The only complication I see is that there would probably need to truly be a color on color "glow" version of the graphic - ie, if I want to use an all green color scheme, but need to see the difference between the glowing green, and a regular green.
One possibility for implementation of this MIGHT be to have a y/n radio button (default: no) to "Use alternate "on" image for glow state" followed by a dropdown select field for all image file names in the folder, and use the "_on" version of that file if the radio button value is "yes". Or no radio button, but the first choice/default in the dropdown is the "whatever_glow" version, and the rest are the "_on" alternatives. Does this sound reasonable, or is this level of flexibility/featureset too complex?
4) Is anyone else testing this plugin or have input on functionality or code?