Karma plugin + graphical output

Creating and modifying plugins.
Post Reply
tazilein
Regular
Posts: 56
Joined: Sun Apr 30, 2006 11:44 pm
Contact:

Karma plugin + graphical output

Post 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
my S9Y-Blogs: my personal brainbackup | [url=http://www.viennacityflats,at]Vienna Apartments Rental[/url] | Kasperls Geschichten | various other Sites using S9y as CMS
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Karma plugin + graphical output

Post 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.
=Don=
tazilein
Regular
Posts: 56
Joined: Sun Apr 30, 2006 11:44 pm
Contact:

Re: Karma plugin + graphical output

Post 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!
my S9Y-Blogs: my personal brainbackup | [url=http://www.viennacityflats,at]Vienna Apartments Rental[/url] | Kasperls Geschichten | various other Sites using S9y as CMS
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Karma plugin + graphical output

Post 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.
=Don=
tazilein
Regular
Posts: 56
Joined: Sun Apr 30, 2006 11:44 pm
Contact:

Re: Karma plugin + graphical output

Post 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
my S9Y-Blogs: my personal brainbackup | [url=http://www.viennacityflats,at]Vienna Apartments Rental[/url] | Kasperls Geschichten | various other Sites using S9y as CMS
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Karma plugin + graphical output

Post by Don Chambers »

I'm happy to learn that it worked out for you!
=Don=
Post Reply