Forums

GD Star Rating
Voting only works after refresh (7 posts)

  1. Dutch SilverShadow
    Member
    Posted 4 months ago #

    Dear developer(s),

    First of all I want to say this is a great plugin. Thanks for building it! I am using this plugin in two of my sites, in one of them however when I try to submit a vote I see the vote is cleared but I can't see the rating go up. After I refresh the page I do see the rating went up by 1, so the vote is cleared. The problem is that I don't want to refresh the page, I just want the vote to be cleared immediately.

    I've made a custom template for my ratingblocks for the post and for comments. I call on the function in my theme file. I have changed the css to comply my design.

    You can view it here

    Can somebody please tell me what I've done wrong? And if someone else already had the same problem? Maybe there is a forumpost where the solution is already given, I couldn't find it...

    Thanks in advance!!!!

    http://wordpress.org/extend/plugins/gd-star-rating/

  2. Dutch SilverShadow
    Member
    Posted 4 months ago #

    Sorry maybe I have to explain how you can vote on that page...

    The site works with Kudos. Next to the kudos-rating you see a green (up) and a red (down) button. For comment-rating you see beneath a comment the name en other meta, at the and you'll see [+] rating [-]. You can press one of the two. I've programmed the rating systems that if someone placed a vote the UI for voting dissappears...

    I really hope someone can help me with this, I feel its something small that I'm missing...

    Thanks!

  3. Dutch SilverShadow
    Member
    Posted 4 months ago #

    By the way for my kudos rating on the right of the movie I use a custom [TAB] template. The code looks like this:
    (inactive)

    <div class="thumblock %CSS_BLOCK%">
         <div class="ratingtext %CSS_TEXT%">%RATING%<br />KUDOS</div>
        <div class="raterclear"></div>
    </div>

    (active)

    <div class="thumblock %CSS_BLOCK%">
         <div class="ratingtext %CSS_TEXT%">%RATING%<br />KUDOS</div>
         <div class="voteWrapper">
             %THUMB_UP%
              %THUMB_DOWN%
        </div>
        <div class="raterclear"></div>
    </div>

    For the comments rating I use a custom [TCB] template, which looks like this:
    (inactive)
    <div class="thumblock %CMM_CSS_BLOCK%"><div class="ratingtext %CMM_CSS_TEXT%">%RATING%</div><div class="raterclear"></div></div>

    (active)
    <div class="thumblock %CMM_CSS_BLOCK%">%THUMB_UP%<div class="ratingtext %CMM_CSS_TEXT%">%RATING%</div>%THUMB_DOWN%<div class="raterclear"></div></div>

    Hope this clears the sky around my problem for the heroes who can help me in this issue... Plz let me know!

  4. Tech4Eleven
    Member
    Posted 4 months ago #

    Did you find a solution?

    I kind of have the same problem except that on IE only, after a refresh and vote again, the vote never gets registered. I have to close out of all IE windows and vote again for it to work.
    http://wordpress.org/support/topic/plugin-gd-star-rating-casting-multiple-votes-using-internet-explorer

    Are you experiencing that?

  5. Dutch SilverShadow
    Member
    Posted 4 months ago #

    No haven't found any solution yet. I guess something is going wrong with the AJAX call but can't seem to find out where....

  6. Dutch SilverShadow
    Member
    Posted 4 months ago #

    No haven't found any solution yet. I guess something is going wrong with the AJAX call but can't seem to find out where.... The %rating% isn't refreshed after voting, my vote gets registered, but only after refresh. I think with you maybe the problem may layin the section where the query is made. Have you looked at the caching bug? Or the query thats not being instantiated by the script?

  7. Tech4Eleven
    Member
    Posted 4 months ago #

    The rating or vote count gets refreshed for me after I manually refresh my browser. This is the behavior on all browsers. Thats not a concern to me. It's the "unable to vote again on the same post unless I close IE completely" issue thats getting me. It's going to be hard to run a legit contest starting monday with this but even with the bug, gd star rating is the best there is.

    I would have no idea or time to parse together logs and bugs and such to find a solution. sorry.

Reply

You must log in to post.

About this Plugin

About this Topic