Page 1 of 1
Karma plugin + graphical output
Posted: Fri Nov 05, 2010 6:14 pm
by tazilein
Hi,
I currently give the Karma-Plugin a first try. I want to show the outcome of the votes for an entry as a graphical bar (f.ex 4,5 out of 5 stars instead of the text "5 out of 5, 1 vote"). I did not find an option to change from text to graphics. Am I really the first one who is missing that?
Is there any possibility to change serendipity_event_karma.php to change this behaviour?
Regards,
tazilein
Re: Karma plugin + graphical output
Posted: Mon Nov 08, 2010 3:36 am
by Don Chambers
There are numerous options in the karma plugin beginning with version 2.0.. do you want no text at all?
Also, in case you are interested, I created several additional graphics for the karma plugin a few years ago. You can read about, demo, and download them
here.
Re: Karma plugin + graphical output
Posted: Mon Nov 08, 2010 10:31 am
by tazilein
Hi Don,
I checked the many options that Karma 2.0 provides, but I found no option to set the outcome to a graphical bar.
The best way for me would be:
Graphical bar with the overall rating
space
"Rate this:"
graphical bar like now where you can enter your voting
PS: I already found your entry via google - nice graphical options!
Re: Karma plugin + graphical output
Posted: Mon Nov 08, 2010 5:13 pm
by Don Chambers
The plugin could probably be modified to include new options to display/hide the text component. The fastest solutinon would be them by adding this to your stylesheet:
Code: Select all
.serendipity_karmaVoting_current,
.serendipity_karmaVoting_visits {display: none}
That will leave you with just the rating bar.
Re: Karma plugin + graphical output
Posted: Thu Nov 25, 2010 10:21 am
by tazilein
Hello Don,
thank you for your reply. I used your advice and use now the karma voting plugin as a rating for our apartments. The karmabox is viewed 2 times on the page. The first time to show the result and the second time at the bottom where users can add their comments / reviews. Here you can vote. The german version of our website has already the final version:
http://www.viennacityflats.at/wien/arch ... se-76.html
on the english website some css-fixing has to be done:
http://www.viennacityflats.at/vienna/ar ... se-76.html
Re: Karma plugin + graphical output
Posted: Thu Nov 25, 2010 4:22 pm
by Don Chambers
I'm happy to learn that it worked out for you!