Forums

[Plugin: GD Star Rating] One Star to many (16 posts)

  1. paulstelzer
    Member
    Posted 3 years ago #

    Hello

    I used GD Star Rating - a powerful and great plugin - but I saw that when a visitor make a rating of 5, 6 stars are displayed.

    I hope you understand me and can solve my problem.

    Paul

  2. Milan Petrovic
    Member
    Posted 3 years ago #

    I will need to see the page. Usually it has something to do with CSS, but it could be a serious bug with inserting data into database. If the database is the problem you need to enable debug into file feature and send me debug.txt file for analysis.

    But first, give me the link to check out.

  3. paulstelzer
    Member
    Posted 3 years ago #

    Thank you for your fast reply.

    For example on http://www.opensource-portal.de/cms/wordpress.html - The maximum is 10 stars, but 11 are shown.

    But I am surprised that on a second blog is no mistake - there the stars are shown correctly

  4. paulstelzer
    Member
    Posted 3 years ago #

    Another question. How can I create a list? For example a reviews list with title, stars, asc or desc sorted.

  5. Milan Petrovic
    Member
    Posted 3 years ago #

    Everything is alright with the voting. Problem is with CSS. Your theme has .inner class that adds left and right padding. And .inner is also name of the class in rating css. I will add the fix in the next version. For now, you can add to your theme style.css at the very end:

    .starsbar .inner { padding:0; }

    this should fix the problem.

    As for the other question, check out my blog post: http://wp.gdragon.info/2008/10/24/rc3-and-shortcode-example/, and most importantly user guide (download page on the blog).

  6. paulstelzer
    Member
    Posted 3 years ago #

    Thank you - The first problem is solved.

    To the second: I need a php code because I want integrate it on my homepage (the first site). A review list where the best programm/ game will show.

  7. Milan Petrovic
    Member
    Posted 3 years ago #

    Same paramters used for shortcode can be used for a php function. User guide has a list of functions with descriptions and list of parameters.

  8. paulstelzer
    Member
    Posted 3 years ago #

    Sorry, but I found nothing in the user guide what help me to create a list on my homepage.

    Thank you very much for your help.

  9. Milan Petrovic
    Member
    Posted 3 years ago #

    Page 17 in the user guide, function wp_gdsr_render_widget(). I know that name is missleading, I will sort that out in next release. Parameters are the same as for the shortcode that will create a list of posts, parameters in the appendix.

  10. paulstelzer
    Member
    Posted 3 years ago #

    I have used this wp_gdsr_render_widget('min_votes=0'), but there appear mm (http://www.browsergameport.de/) -> under Browsergames

  11. Milan Petrovic
    Member
    Posted 3 years ago #

    I can't see anything there.

  12. rizwanbutt
    Member
    Posted 2 years ago #

    Hi,
    I have use plugin for rating my blog posts.I required to display list of top 10 posts of highest rated.i use this code
    <?php $widget = array(
    'rows' => '10',
    'display' => 'all',
    'title' => 'Rating',
    'select' => 'post',
    'order' => 'asc',
    'category' => '3',
    'tpl_header' => ul,
    'tpl_item' => li%RATING% : a href="%PERMALINK%">%TITLE%/a> (%VOTES% %WORD_VOTES%)/li,
    'tpl_footer' => /ul

    '
    );
    wp_gdsr_render_widget($widget, true);

    ?>
    But the result comes with 0 ratings for all post and no permalink value.so the title not link to the permalinks.
    kindly check the code where i goes wrong.
    Advance thanks for help.
    Best regard's

  13. Milan Petrovic
    Member
    Posted 2 years ago #

    This code doesn't work. From version 1.3.0 all that is changed. 1.4.2 has a function builder panel where you can select options, and get function for that with all the parameters.

    User guide will be updated soon.

  14. rizwanbutt
    Member
    Posted 2 years ago #

    thanks for the response.
    I have lastest version of gd star rating.where i can find builder panel and any estimated time for user guide updation.

  15. waqas23
    Member
    Posted 2 years ago #

    Hi
    I m facing same problem as rizwanbutt. I can not found “function builder panel”. Can you please explain it in more details?

    Thanks in advance

  16. Milan Petrovic
    Member
    Posted 2 years ago #

    It's called Builder. And you need 1.4.2 version to see it.

Topic Closed

This topic has been closed to new replies.

About this Topic