Star Rating for Reviews

267 comments · AddThis

Latest version:
0.4
2007.11.02

Star Rating for Reviews is a simple WordPress plugin that inserts pretty rating stars based on the score you assign using intuitive, inline [rating:] tags. It can also calculate and output overall ratings for you based on all previous scores you have assigned, useful for reviews that have multiple categories or an album review where each track is assigned a score.

This plugin supports storing rating data into your WordPress database. These data can then be retrieved by functions provided to output a list of reviews, sortable by date, post title or rating scores. Random reviews function and single post function (to be used in WordPress loop) are also provided, see Usage section for detailed description of these functions.

Features

  • uses simple, intuitive tags to generate kawaii inline rating stars for your posts
  • supports versatile rating systems
  • supports text only output for RSS
  • automatically calculates and displays overall ratings, if desired
  • supports storing rating scores automatically into database *
  • supports outputting list of reviews sortable by date, post title or rating scores *
  • supports widget-like, sortable table of reviews *
  • supports custom star images
  • supports custom prefixes and suffixes for your own CSS class
  • supports globally forced star count for consistency
  • uses as many stars as you want! **
  • standards compliant: valid XHTML

* database writing has to be enabled via Options
** limited to 20 for practicality

Usage

Presentation

Once installed, you can add rating stars to your posts by using [rating:] tags.

Star Ratings for Review in action


Normal rating:

[rating:3.5] = Rating: ★★★½☆

By default, this will be interpreted as 3.5/5, as shown in the rating stars generated. Default denominator can be changed via options detailed in the next section. Even though this tagging style is simple, it might not be future proof when someday you decided to change the default denominator to say 10 (for whatever reason). In this case 3.5 will be interpreted as 3.5/10, which is very different compared to 3.5/5. Once you start using this tagging style, make sure you are not going to change the default denominator in the future. :)

[rating:3/4] = Rating: ★★★☆

“3/4″ will generate a “3 out of 4 stars” rating and “2/8″ will generate “2 out of 8 stars” and so on. This will continue to work as long as the denominator is not larger than 20. Beyond that, the score will be normalized and display in the default 5 stars system, as shown in the next example.

[rating:93/100] = Rating: ★★★★½

The “Rating:” prefix you can see in all examples above is the default prefix, which you can remove easily to show just the stars or add in your own custom CSS class by changing some options. More information about this in the Options section.

 


Overall rating:
Automatically calculated overall rating based on previous scores can be inserted using the following tag style:

[rating:overall] = Overall Rating: ★★★★☆

Similar to the first example, this overall rating will be represented in the default 5 star rating system. It is possible to force the overall rating to be outputted in different number of stars by using the following tag style:

[rating:overall/4] = Overall Rating: ★★★☆

The “Overall Rating:” is again, the default prefix, which can be changed via options. For more information, see Options.

Demo review

 


Custom images:
First of all, the default star image used is taken from the excellent Silk icon set. These png icons support different background colours via png transparency. However, you can still use your own star images by replacing the 3 images included in the “star-rating” plugin folder, namely “star.png”, “halfstar.png” and “blankstar.png”. File extensions can be changed via options if desired.

For your information, “tiny-star.png”, “tiny-halfstar.png” and “tiny-blankstar.png” are only used by special functions that output list of reviews based on stored data in the database. Feel free to replace them with your own images as well if desired.

 


Text only output:
By default, this plugin will output text only ratings for your RSS feeds and use graphical output when someone is reading the post on your site. This is, in my opinion, the optimal choice since some RSS readers do not support images. However, if you like you can output images for your RSS feeds too, or oppositely, output text only ratings for both RSS and posts displayed on your site. Please refer to the Options section if you want to make these changes.

Demo feeds

 

Data (for advanced users)

Database writing is turned off by default. In order to use these advanced features, you will need to manually turn it on by changing the option values, see Options for more details. If you are not interested in this feature, you should skip this section.


Custom fields
If database writing is turned on, this plugin will parse your document searching for rating tags and store the overall rating score into a custom field called “rating” when you edit or save your blog post. The name of the custom field can be changed via options to prevent conflict with other plugins. The reason why custom field is used instead of a new database table is the ease of implementation and the fact that most people write reviews occasionally. The downside of this is when uninstalling this plugin, you will need to manually remove those “rating” entries within the custom field table.

To check if this plugin is doing its job, once you turned on the database writing, go to edit one of your older posts which already used the rating tags (or simply insert the rating tags into any post if you’re new to this plugin) and choose “Save and Continue Editing”. Now, check the custom field near the bottom of the editing panel to see if a new “rating” field has been added. If it’s there, congrats, this plugin is working properly; if it’s not, you might have forgotten to turn on the database writing option, or the rating tag is invalid. Feel free to post your questions here (with detailed explanation) if you can’t get this to work.

Once you turned on this auto insert feature, you can still disable it for specific post by putting [rating:none] anywhere in your blog post, preferably at the bottom for tidyness.

 


Functions
4 different functions are provided in this plugin that allow you to output a list of reviews based on date, rating score, or randomly selected. These functions uses “rating” custom field data to retrieve and sort the reviews. You need to either turn on autometa (see Options) or manually put these rating in yourself.

1. sr_getreviews()

sr_getreviews($limit, $orderby, $order, $usestar, $prefix, $suffix)

$limit
- number of reviews to be returned
Acceptable value: any integer
Default value: 5

$orderby
- criterion used to sort the review
Acceptable value: “date”, “title”, “rating”
Default value: date

$order
- sort ascendingly or descendingly
Acceptable value: “ASC”, “DESC”
Default value: “DESC”

$usestar
- number of star to be used for rating
Acceptable value: any integer
Default value: 5
Note 1: put in “0″ to output rating in percentage i.e. numerically
Note 2: rating stars used are with tiny prefix (tiny-star.png, tiny-blankstar.png etc.), they are smaller than regular stars in blog post

$prefix
- prefix to be put before the code for each reviews
Acceptable value: any valid XHTML tags or plain text
Default value: “<li>”

$suffix
- suffix to be put after the code for each reviews
Acceptable value: any valid XHTML tags or plain text
Default value: “</li>”

<?php sr_getreviews(5,date,DESC,5); ?>

 
You can also output ratings in percentage format as illustrated below:

<?php sr_getreviews(5,date,DESC,0); ?>

 

2. sr_getrandom()

sr_getrandom($limit, $usestar, $prefix, $suffix)

See the explanation above for each parameter.

<?php sr_getrandom(5,5); ?>

 

3. sr_listreviews()

sr_listreviews($orderby, $order, $usestar, $date, $limit)

This outputs list of reviews in a widget-like, sortable table format. (implemented using the awesome tablesorter plugin for jQuery)

$date
- format of date to be used
Acceptable value: PHP date format
Default value: “M j, Y”

$limit
- number of reviews to be returned
Acceptable value: any integer
Default value: “0″
Note: “0″ limit implies no limit i.e. retrieve all available reviews

<?php sr_listreviews(date,DESC,5,"M j, Y",10); ?>

Date Title Rating
Tips: Shift+Click to sort multiple columnsPowered by Star Rating for Reviews
Apr 30, 2009 Kuroki Meisa debuts Hellcat ★★★½☆
Mar 25, 2009 Perfume – One Room Disco ★★★½☆
Feb 2, 2009 Hinouchi Emi – ME… ★★★★☆
Jan 31, 2009 Nishino Kana – MAKE UP ★★★★½
Jan 12, 2009 Perfume – Dream Fighter ★★★★★
Jan 7, 2009 Proposal Daisakusen ★★★★½
Jan 5, 2009 Arashi – truth/Kaze no Mukou e ★★★★½
Dec 22, 2008 Ai Otsuka – Kurage, Nagareboshi ★★★★½
Dec 17, 2008 GREEN/Days ★★★★★
Oct 10, 2008 Aira Mitsuki – COPY ★★★☆☆

 

4. sr_getsingle()

sr_getsingle($post_id, $usestar, $prefix, $suffix, $size)

This function is intended to be used within the WordPress Loop. You can put this within the loop to display rating score or stars in categories, tags, or main page for each posting. See examples: categories, tags, main page.

$post_id
- the ID of current post within the loop
Acceptable value: $post->ID

$prefix, $suffix
- prefix, suffix to be added before and after the ratings code returned
Acceptable value: any valid XHTML tags or plain text
Default value: ” (empty)

$size
- the size of stars, can be normal or tiny
Acceptable value: 0, 1 (0 for tiny stars, 1 for normal stars)
Default value: 0

For $usestar, see the sr_getreviews().

Customization

Starting from version 0.4, a default CSS is imported into the WordPress header, which I hope will work nicely with your blog theme. If not, feel free to open the CSS and edit it or disable the CSS import by setting $sr_mycss to 1, which will remove all the default styling for CSS classes associated with this plugin.

By default, ratings and reviews returned by listing functions are hardcoded with special CSS classes, namely “sr-review” for the review permalink and “sr-rating” for the ratings returned, which can be either numerical percentage or star images.

You might want to take a look at another plugin I’ve written called “MyCSS”, which allows you to attach and edit custom stylesheet that’s independent of the blog theme you’re using. This makes it convenient and easy to organize theme independent CSS classes such as those used in plugins, saving you the trouble of appending these classes into your theme’s core CSS everytime you change a theme.

Options

Hopefully this plugin will work as desired in an “out of the box” way so that you don’t need to change anything. However, several extra options are still provided for those of you who would like to have it your way. :)

Since this plugin is still in its early stage, setting options in the WordPress admin panel is not supported yet. For now, you will need to open up the php file using either your favourite text editor or WordPress built-in plugin editor to change some of the variables you can find near the top of the code.

  • $sr_limitstar: globally set star count, e.g. putting 5 will ALWAYS generate your score using the 5 star rating system, put 0 to disable this feature
  • $sr_defaultstar: default denominator when not explicitly specified in your tags
  • $sr_prefix: custom prefix for normal ratings
  • $sr_allprefix: custom prefix for overall ratings
  • $sr_suffix: custom suffix, leave blank unless you want to close html tags
  • $sr_ext: file extensions for custom star images, e.g. gif, jpg, png
  • $sr_usetext: text only output settings, accepted values are 0, 1 and 2
    0: images for posts and feeds
    1: images for posts, text for feeds
    2: text for all
  • $sr_mycss: using your own CSS? if yes, put in 1 to disable default CSS import
  • $sr_cuttitle: shorten post title to specific amount of character, put 0 to disable title cut off

The following are advanced options, mainly to turn on the functionality of storing ratings into database as custom field values:

  • $sr_autometa: 0 to turn off database writing, 1 to turn it on, this feature is disabled by default (it’s stable, I’m just leaving the choice up to advanced users)
  • $sr_metakey: meta key for custom field, change this if there’s conflict with other plugins

Installation

  1. Download and extract the “star-rating-for-reviews” folder
  2. Upload the “star-rating-for-reviews” folder to your WordPress plugin directory, usually “wp-content/plugins”
  3. Activate the plugin in your WordPress admin panel

Upgrade

  1. Deactivate the plugin in your WordPress admin panel
  2. Remove the “star-rating-for-reviews” folder in your WordPress plugin directory
  3. Follow the installation guide above

Download

Star Rating for Reviews plugin 0.4 for WordPress (30kb .zip)

Please donate to support active development of this plugin, thank you!

Support

If you have any questions, suggestions, or found any bugs in this plugin, feel free to post them in your comments. I’ll try my best to answer them but there’s no guarantee, so don’t be disappointed if you do not hear back from me promptly. :/ If you find this plugin useful and feel like donating some money for my effort, please use the PayPal button above, thanks! <3

History

0.4 [2007.11.02]

  • Added: Sort reviews by title
  • Added: sr_listreviews() function to output all reviews in a sortable table (good for dedicated review page)
  • Added: Default CSS stylesheet (can be turned off via options)
  • Added: Cut off long title when getting list of reviews for sidebar
  • Changed: XHTML markup for list of reviews generated
  • Changed: Tiny star images
  • Fixed: Division by zero if overall tag is placed at the top of a post
  • Misc: Cleaned up the code and fixed minor bugs

0.3.1 [2006.09.12]

  • Fixed: Sorting bugs

0.3 [2006.08.08]

  • Added: Support to store rating data into database
  • Added: Functions to output list of reviews, sortable by date or by rating scores
  • Added: Filter to parse excerpt
  • Added: Skip tag parsing by using ` character (suggested by Denis)

0.2 [2006.07.28]

  • Fixed: Path error
  • Fixed: [strong] instead of [b] for W3C standards
  • Fixed: RSS text output bug

0.1 [2006.07.08]

  • Initial release

{ 72 trackbacks }

Modified Star Rating for Reviews plugin at Uncategorized
July 11, 2006 at 6:02 pm
Star Rating for Reviews · WordPress插件中文站 UNITED STATES
July 11, 2006 at 8:30 pm
WordPress Plugins Feature: July | blogHelper UNITED STATES
July 16, 2006 at 1:28 pm
Lorelle on WordPress » blogHelper Begins WordPress Plugins Reviews UNITED STATES
July 18, 2006 at 7:59 am
carballada.com » De reformas SPAIN
July 21, 2006 at 6:58 pm
punkprojekt.com» Blog Archive » 本站使用的Wordpress插件 UNITED STATES
July 25, 2006 at 9:33 am
Email Monitoring & Email Filtering Blog
September 24, 2006 at 5:28 pm
Musik-Kritik » Blog Archive » Neues
September 27, 2006 at 1:23 pm
TwiddleGeek » Blog Archive » Tools of the Trade
October 2, 2006 at 12:27 pm
插件 » Blog Archive » Star Rating for Reviews
October 13, 2006 at 3:44 am
the waiting room » Blog Archive » Yusuf Islam - Heaven/ Where True Love Goes
November 10, 2006 at 11:53 am
FunkWadCuintWhich » Movie Review-ish: Who Killed The Electric Car?
November 29, 2006 at 2:14 pm
æ blogs | squozen » Blog Archive » Rating Things UNITED STATES
December 29, 2006 at 6:11 am
b l o g . c h i g g i n s . c o m » Blog Archive » Rated (sta)R UNITED STATES
January 11, 2007 at 3:33 pm
Die Suche nach dem Heiligen Review-Plugin at bastelblog GERMANY
January 11, 2007 at 7:06 pm
herrow.com » Blog Archive » Star Ratings for reviews UNITED KINGDOM
February 5, 2007 at 9:56 pm
butcheee.com v.6.4 » Blog Archive » 300
March 16, 2007 at 3:57 pm
UvA 2007 IMP (pilot site) » Iran laat twee Zweedse gevangenen vrij
April 17, 2007 at 10:15 am
Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 05/11 UNITED STATES
May 11, 2007 at 11:49 am
» wordpress插件 - 更新于05/11 » wordpress是什么
May 12, 2007 at 1:47 am
Wordpress Plugins 5/12/07 UNITED STATES
May 13, 2007 at 12:17 am
WeblogToolsCollection Español » Blog Archive » Plugins de WordPress publicados 11/5 UNITED STATES
May 15, 2007 at 10:56 am
Awesome Wordpress plugins at Netsua.com
May 16, 2007 at 6:13 am
wordpress是什么 » Blog Archive » wordpress插件 - 更新于05/11 CHINA
May 16, 2007 at 8:03 pm
WP Plugins DB » Blog Archive » Star Rating for Reviews UNITED STATES
May 20, 2007 at 3:53 am
The Blog for DesignCreatology » Blog Archive » WP Plugs May 25, 2007
May 25, 2007 at 8:03 pm
Star Rating plugin for WP | Library Love UNITED STATES
May 26, 2007 at 7:53 pm
Prof Kienstra’s Vision | bookreviews
May 27, 2007 at 5:12 am
The Mac Night Owl » Do You Really Want to Write a Blog?
May 30, 2007 at 3:04 am
Star Rating for Reviews Plugin » D’ Technology Weblog: Technology News & Reviews
May 31, 2007 at 7:53 am
WeblogToolsCollection Español » Blog Archive » APAD: Star Rating for Reviews UNITED STATES
June 1, 2007 at 4:43 pm
Books #29 - 31: More Roman Mysteries | Snippets and Blabbery
June 2, 2007 at 2:08 pm
Wordpress Rating Plugin | Gizmostuff
June 9, 2007 at 2:36 pm
Some plugins I have used - Webmastering with Keral Patel UNITED STATES
July 1, 2007 at 6:01 am
Plugins Gone Wild! | The Habitation of Justice UNITED STATES
July 15, 2007 at 7:13 pm
Flippress Blog » Blog Archiv » Backend mit Wordpress
August 9, 2007 at 6:29 am
All Things Anne » Blog Archive » WordPress Plugin Reviews UNITED STATES
August 12, 2007 at 11:02 pm
Saki Wrote What?!! » Shoot 'Em Up thoughts UNITED STATES
September 6, 2007 at 1:47 am
Radio GTN - It Lives!?! » Shoot ‘Em Up Review UNITED STATES
September 6, 2007 at 2:57 pm
More Wordpress Landing Page Plugins | unintuitive
September 8, 2007 at 2:23 pm
A 6 Word Story and A 4 Slide Sales Pitch at Bionic Teaching
September 25, 2007 at 8:26 pm
Nyttig Wordpress-plugin og -verktøy : aalmo.com
October 4, 2007 at 9:49 am
Redesign Projects Over the Thanksgiving Break
November 26, 2007 at 3:44 am
Ajax and CSS Post Rating - Blog Tipz | Make Money Online
December 5, 2007 at 4:25 am
Add Stars to Each Posting - whichplugin.com
December 13, 2007 at 2:05 pm
Gustavo Maciel » [18] Plugins para Wordpress
December 18, 2007 at 11:46 pm
Spontaneous Derivation » Moving from Beta Blogger to a Self-Hosted Wordpress for First-Timers, Part 3: Plugins and Little Things UNITED STATES
January 28, 2008 at 12:07 am
Redesign Projects Over the Thanksgiving Break | The WordPress PAD
February 12, 2008 at 12:57 am
Retazos de la web del 2008-02-15 (microblogging) | hombrelobo, una mente dispersa UNITED STATES
February 16, 2008 at 7:01 am
WordPress plugin - Star Rating for Reviews | GO Blog UNITED STATES
February 18, 2008 at 9:56 pm
WP Plugin Review » Blog Archive
March 4, 2008 at 2:46 pm
  2 more cool plugins to tell you about by Information Doorway UNITED STATES
March 5, 2008 at 7:09 am
Himbeerlola.de » Blog Archive » Die Lola hat neues Spielzeug GERMANY
March 5, 2008 at 11:58 am
Star Rating for Reviews plugin at BloggingAmigos
April 1, 2008 at 1:41 pm
Sistemas para puntuar/valorar tus posts » BlogMundi UNITED STATES
April 5, 2008 at 8:26 pm
Site to-do list at House of Cranks
May 13, 2008 at 2:46 am
Make WordPress Dance to your Tune | Blog Oh Blog
May 31, 2008 at 3:23 pm
After a little hiatus… | MichaelGorman.net
June 13, 2008 at 4:51 pm
50+ Wordpress随机插件 - 网络应用与资讯 CHINA
July 2, 2008 at 5:56 am
The Star Rating plugin for Wordpress | David Olsen Consulting
July 26, 2008 at 4:48 am
Install plugin star rating di wordpress
October 3, 2008 at 5:41 am
Is there a free plugin for Wordpress that allows you to rate something? Or review it?
October 4, 2008 at 3:20 am
Modification du plugin “Star Rating for Reviews” | Treyarch Anime Blog
October 5, 2008 at 12:33 pm
♥ true-luv.com » Blog Archive » Star Rating for Reviews
October 13, 2008 at 1:43 pm
Updated the Reviews Summary | Lair of the Green Knight
November 7, 2008 at 1:23 pm
Speeding Up Your Wordpress Blog | Spontaneous Derivation UNITED STATES
November 12, 2008 at 5:17 pm
» Star Rating for Reviews - WordPress Plugins Catalog UNITED STATES
November 30, 2008 at 10:16 pm
Commentarii Mei » Seven Cool Wordpress Plugins
December 5, 2008 at 10:13 pm
Wordpress Review Site
December 8, 2008 at 1:30 am
SAP Lobby » 50+ Wordpress随机插件 zz
December 25, 2008 at 11:12 am
Meine WP-Plugins…. « Necrowxrst’s Weblog
January 10, 2009 at 2:08 pm
All my bookmarks ever | Daniel John Gayle UNITED STATES
May 29, 2009 at 7:02 pm

{ 195 comments… read them below or add one }

Emma UNITED KINGDOM June 23, 2009 at 3:21 am

Hi

I installed the plugin and activated it but it there is nothing showing up on my posts to rate the post.

Do I need to add something to my single.php file for it to show up?

Thanks.

Reply

Best LCD TV UNITED STATES June 9, 2009 at 9:00 pm

I have used this plug in on my LCD TV website. I think you’ve made a great plugin, surpassing any other rating plug in I’ve used. Thanks you.

But I can’t get the listreviews to work, even after updating the options?

Reply

SEO Expert UNITED STATES June 3, 2009 at 9:03 pm

This may be a great plugin if you can figure out how to make it work. I get the installation, but then what?? It doesn’t show up anywhere, there’s nothing in the plugin section of the admin panel that allows you to do anything.

I must have tried a dozen ratings plugins and they either only go in one spot or they don’t work…unfortunately, this one goes in the “they don’t work” category for me.

All I want is a simple plugin or script that allows me to put a rating anywhere on a page as many times as I need it and all should work individually. The ones that worked for me are limited. Once a rating is made on one, it effects all of them. So if I clicked on the 3rd star, if I add that code anywhere else it will show a 3 star rating.

I’m working on a site that has local restaurants and would like the user to be able rate each one.

DSoes anyone know of a plugin that works individually like I need??

Reply

Dave May 31, 2009 at 7:01 am

This looks great. Is it possible to hard code this into a theme file instead of using the shortcode in a post? Thanks :)

Reply

Lenox May 25, 2009 at 12:08 pm

Having problems with rating custom field in post. I have database writing but having trouble fixing it.

Reply

Rob UNITED STATES May 23, 2009 at 10:01 am

You know, when you bitch about support, andimazlan, developers who donate their time get burned out.

Crack open a book on CSS to fix your problem with star border.

Reply

andimazlan MALAYSIA May 23, 2009 at 5:09 am

It seem that the author didn’t bother with all the comments and feedback here, didn’t even answer and try to solve problems post by users.
Anyway great plugin and how to remove the border around each star image?? Please..

Reply

Roadblock UNITED STATES May 19, 2009 at 5:32 pm

The plugin installs. works, but cant get it to work in the sidebar. I must be missing something easy. Im also using thesis if that matters.

Reply

kevink UNITED STATES May 13, 2009 at 4:06 pm

plug in works but i get the starts first then the word review next with a colon like this:

XXXX Review:

I’d like to to go

Review: XXXXX

Anybody got a fix for this?

Thanks,

KK

Reply

Nick UNITED KINGDOM April 11, 2009 at 10:27 am

Will there ever be support for user reviews for this plugin? So users can vote in the comments?

Reply

edwinx CANADA April 6, 2009 at 7:20 pm

Hi,
I am having some troubles with this plugin. I get this error:

Warning: Cannot modify header information – headers already sent by (output started at /home/discover/public_html/food/wp-content/plugins/star-rating-for-reviews/star-rating.php:1091) in /home/discover/public_html/food/wp-includes/pluggable.php on line 850

is this an issue with the plugin or WP ?

thanks

Reply

Rob UNITED STATES April 6, 2009 at 2:46 pm

If anyone is successful getting this free product to work, please let me know. I’m tempted to try the paid one, wordpressreviewplugin.

Reply

Macdara April 5, 2009 at 12:58 pm

Installed in 3 mins and working beautifully. Thanks very much!

Reply

Amit February 11, 2009 at 1:04 pm

Thanks a lot, This plugin really rocks and the best part really is that it is free.

There is also paid plugin for the reviews : http://www.wordpressreviewplugin.info/

Reply

Giovanni Wassen NETHERLANDS January 12, 2009 at 7:29 am

Great, this was just what I needed for my WP-blog!

Reply

Drew UNITED STATES December 22, 2008 at 9:42 am

Hey, just wondering if there is any way to display only posts from a specific category when using sr_getreviews();

Kind of like running a loop with wp_query before it?

Reply

Eric December 11, 2008 at 4:18 pm

I love this plugin but need to remove the border around each star image. I edited the CSS file but had no luck. Any help would be MUCH appreciated.

Reply

John UNITED STATES December 10, 2008 at 11:18 pm

For some reason the text “rating” appears on top of the stars. I cant get them to all be on the same line like in all of the pictures. As a back up plan I tried removing the text “rating” from the code, but the star color disappears so thats not an option. Any ideas what I can do?

Reply

Mike UNITED STATES December 6, 2008 at 9:49 am

This does exactly what I’ve been looking for – thank you very much!

Reply

jcolsen NORWAY November 21, 2008 at 9:39 pm

Is there any way the star ratings can output without images like in those lists in your examples?

Reply

Justin CANADA November 11, 2008 at 8:59 pm

The things i couldn’t get working in the previous post are

php sr_listreviews(date,DESC,5,”M j, Y”,10);

php sr_getreviews(5,date,DESC,5);

(they didnt show up)

Reply

Justin CANADA November 11, 2008 at 8:16 pm

I can’t get the to show up I’ve enabled $sr_autometa to 1 and the custom fields are showing up but when I include the above php code into a page or blog post nothing shows up… is there something I’m missing?

Reply

Sean UNITED STATES November 6, 2008 at 2:27 am

I am really confused on how to get the information to display on my website. I have successfully written the information to a database, I just don’t know how to display it.

Reply

LittleOne November 4, 2008 at 12:40 pm

How do you get rid of the border around the stars? I’ve tinkered with the CSS but with no success. Apologies if this has been asked and answered already, but I can’t seem to find further info here.

Reply

mugger UNITED STATES October 31, 2008 at 4:01 pm

Download finally worked. I uploaded and enabled. See no setting. See nothing in Post Edit for this plugin.

Reply

mugger UNITED STATES October 31, 2008 at 2:35 pm
George October 27, 2008 at 5:33 pm

Great plugin – just what I was looking for!

Unfortunately, it seems to conflict with the ‘Wordpress Navigation List Plugin NAVT’ . The latter stops working when yours is activated.

Any ideas why?

Reply

ind INDONESIA October 3, 2008 at 5:19 am

hi my star rating plugin doesn’t exist.. why??

Reply

mache September 29, 2008 at 10:09 am

hi,
i’m working on your plugin to use it on my website. i think a really dumb problem but i can’t figure out how to solve it. these are the things i’ve done until know: change the star file for the images i want to use instead of stars. second, i mange to get out the border i had for all the images in y theme. now i can’t figure out how to make the stars get more together. the space between then is big, and i think it must be due to something on my template’s css but i can’t figure out what
please help!

thanks

Reply

Nicole UNITED STATES September 22, 2008 at 12:27 pm

Hi,

I love this plugin, but when I use the to make the widget-looking table showing my reviews, the ‘rating’ metakey in my posts keeps changing from the assigned number (60,70,80) to random numbers like 2480 and 3400, thus causing the following error to show up above the list:

Warning: str_repeat() [function.str-repeat]: Second argument has to be greater than or equal to 0 in /home/discojin/public_html/story/wp/wp-content/plugins/star-rating-for-reviews/star-rating.php on line 327

Also, this causes the stars displayed, instead of 10, to be the large numbers (2480~3400).

Also, is there a way to use sr_listreveiws on different pages, to not show ALL reviews, but to exclude or include categories. For example, list all reviews on the ‘all review’ page and only ‘movies’ on the movie review page?

Thanks!
-Nicole

Reply

Eric UNITED STATES September 17, 2008 at 2:11 am

Excellent plugin. I have been using it for a while and like it very much. Keep up the great work!

Reply

Thomas UNITED STATES September 16, 2008 at 8:31 pm

When it complies the top rated does it take into consideration the % of votes? For examle if one person votes it 5/5, would it beat out other posts who may have an average of 4.5?

Reply

Jay September 16, 2008 at 1:38 pm

Hiya.

I’ve been using your plugin for a while, and have recently updated it to the latest version.

However now I am receiving an error in my sidebar where I list my most recent reviews. The error is as follows:

Warning: str_repeat() [function.str-repeat]: Second argument has to be greater than or equal to 0 in /home/baku/public_html/blog/brainfart/wp-content/plugins/star-rating-for-reviews/star-rating.php on line 327

Could you let me know how I could possibly resolve this?

Many thanks,

Reply

Lee CANADA March 3, 2009 at 11:19 am

Don’t know if this has been answered for you, but here you go: Had this same problem. List out your posts on a page with the sr_getreviews to see which will show you which post is the problem. Edit the post and look at the value that is being stored. I have found if the post value is higher than 100 you will get this error.

Lee

Reply

Jonathan Dingmann September 15, 2008 at 1:46 pm

Another problem I’m seeing is that,

GD Star Rating: Settings -> Articles Posts and Pages

You are currently not offering a “do not show this on author pages”, for the author.php template pages.

That would be great if you could add that in. I do not want the rating to show up on my author pages as it has no relevance to the blog and rating.

Reply

turan FINLAND August 26, 2008 at 6:29 am

Hi!

I think I might have caused the problem somehow.

At least now it’s working after I re-installed the plugin. So you can just forget these two posts of mine!

Reply

turan FINLAND August 26, 2008 at 5:12 am

Activating this plugin seems to cause some problems with the latest version of Wordpress. After activating it you cannot log in or out, or post to Wordpress as all you get is a blank screen. Clearing the option active_plugins from database is a cure for this problem, but it also deactivates the plugin.

I tried with some other plugin and it doesn’t cause the same problem, so it’s probably because your plugin is not compatible with the latest version of Wordpress? Seems to be a common problem with several plugins. Noticed this as I was searching for a fix to my “blank page” problem.

Seems like you haven’t updated the plugin for a while, are you still planning to work on this? It’s a pity if not as the plugin itself was exactly what I was looking for.

Reply

Ben UNITED STATES August 15, 2008 at 10:04 am

I think I am missing something easy. When using the plug in the stars always display vertically. I didn’t see any information on this. Thanks for the help.

Reply

Eric UNITED STATES August 14, 2008 at 3:14 pm

After a bit toil I finally got it to work. Great plugin! A little more functionality and customizable options would be cool too.

Reply

Alexandre August 8, 2008 at 11:47 pm

Hello,

I am using an “asides” plugin in my blog (http://www.piepalace.ca/blog/projects/miniposts/) and I’d like to display the rating stars within them, in the sidebar.

Is this possible? I don’t know much about programming, but I believe the sidebar is considered to be “outside the loop”, right?

I’d really appreciate any help. Thanks!

Reply

Graham Ferguson UNITED KINGDOM August 3, 2008 at 1:30 pm

Hi,

Has anyone found a solution to the problem of getting this error message which has been reported a few times already?

Warning: str_repeat() [function.str-repeat]: Second argument has to be greater than or equal to 0 in /home/fergusga/public_html/wp-content/plugins/star-rating-for-reviews/star-rating.php on line 327

Thanks

Graham

Reply

Saulo Benigno August 2, 2008 at 5:49 pm

How can I remove the star border ?

http://i35.tinypic.com/245d9g1.jpg

That border, thanks :)

Reply

Jonathan Dingman July 31, 2008 at 1:27 pm

When do you think this plugin is going to get some more updates? Added functionality?

Some better documentation too? It’s hard to figure out how to use it immediately. There aren’t any settings under Settings or Manage, I had to go read the readme.txt, and it still doesn’t explain very well how to use the plugin.

It’s a great plugin and I’d love to feature it on my blog, but some things need to get cleaned up first.

Reply

scott June 27, 2008 at 2:27 pm

is there anyway to restrict this to one category? I only want it to display posts from one single category..

Reply

haveaname June 14, 2008 at 7:18 am

I want to use this plugin for multiple feature ratings e.g.

Nokia N-82 (Prod. Name)

Rate by feature:
Performence: XXXXX
Design: XXXXX

where:
Nokia N-82 is product and i want that visitor can rate this product by features (Performence, Design). ‘X’ are the rating stars

I hope you understand. please reply, Thanks

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>