Ratings widget doesn't show correct average

This topic contains 25 replies, has 5 voices, and was last updated by  Stiofan O’Connor 9 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #8870

    Greg Mount
    Free User
    Post count: 82

    The attached screenshot is the output of a place listing with 6 ratings. Five of the ratings are 5 stars and one is 4 stars. The rating summary in the sidebar says, “5.2 / 5 based on 6 reviews”. All caches have been cleared and the site is running the latest version of GD and all extension plugins. You can view the listing here:

    http://torontomindbody.org/places/yoga-studios/tamara-verma-tripura/

    #8872

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Greg,

    I am just finishing for the night but i will flag this for vikas to look at (he is next on shift)

    That is a strange one, says 6 reviews but i count 8, looks like somehow the review count has been messed up, i think we wrote a function to fix that, hopefully vikas has it handy.

    Can you please provide:
    wp-admin login
    cpanel or FTP and DB access.

    Nice looking site BTW 🙂

    Thanks,

    Stiofan

    #8883

    Greg Mount
    Free User
    Post count: 82
    This reply has been marked as private.
    #8962

    Vikas
    Full Member
    Post count: 1128

    Hi,
    I need ftp and db access of this staging server.

    Thanks

    #8968

    Greg Mount
    Free User
    Post count: 82
    This reply has been marked as private.
    #8971

    Vikas
    Full Member
    Post count: 1128
    This reply has been marked as private.
    #8974

    Greg Mount
    Free User
    Post count: 82

    Just noticed another related issue: go to torontomindbody.org, select any place or event listing, go to the reviews tab and hover just to the left of the 5-start input field. It’s possible to give a 6 out of 5 rating! WTF?

    #8982

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    That issue seems to be related to CSS and your CSS changes, i have fixed the JS so that this can not happen in future, it will be in the version released later today

    If you need the fix now in geodirectory-assetsjsjRating.jquery.js line 200

    Please change from

    return note;

    to:

    
    
    if(note>opts.rateMax){note = opts.rateMax;}
    return note;

    Thanks,

    Stiofan

    #9047

    purpleedge
    Expired Member
    Post count: 539

    Cool! That’s for people who “give 120%” 🙂

    (Might be an Ozzie thing, our sports people often claim to have given over 100% during a game ??)

    #9098

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Vikas has still not received details to be able to check?

    Stiofan

    #9124

    Greg Mount
    Free User
    Post count: 82

    Out of town until Monday. Will follow up then.

    #9128

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for the update.

    Stiofan

    #9264

    Greg Mount
    Free User
    Post count: 82
    This reply has been marked as private.
    #9334

    Greg Mount
    Free User
    Post count: 82

    Here’s another weird one: http://torontomindbody.org/places/yoga-studios/lila-yoga-studio/

    Sidebar shows a rating of 5.5 / 5 based on 2 reviews, however there are actually 5 reviews, three of which have star ratings.

    #9492

    Greg Mount
    Free User
    Post count: 82
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 26 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket