GD STAR RATINGS help needed...

GD STAR RATINGS help needed...

Neil23Neil23 Posts: 0Questions: 0Answers: 0
edited June 2013 in General
from Newbie...

I have loaded the GD Star Rating and trying to have a report of selected posts as at
http://www.lastminutetheatretickets.com/blog/index.php/41670/audience-ratings/

BUT the STARS ONLY work when I have logged in via ADMIN etc... and don't show live.. or for anyone else not logged in...

I have seen this working at the following url but don't know how to achieve it.. any advice greatly appreciated...

http://www.alloprod.com/labels-participatifs/

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Does it work if you disable DataTables? I'm not entirely sure what the issue is looking over the page. You aren't initialising the star rating in a document ready function, which might effect it, but first need to get it working without DataTables.

    Allan
  • Neil23Neil23 Posts: 0Questions: 0Answers: 0
    Hm... I will have a look to see where the option is to 'disable TataTables... ' cannot seem to see it..
  • Neil23Neil23 Posts: 0Questions: 0Answers: 0
    YES - Found it.. and yes it works... you are a genius! :)
  • Neil23Neil23 Posts: 0Questions: 0Answers: 0
    I have switched off the Data Tables in TablePress... and although it is now showing the stars and 'allows' a vote... the votes are not updating automatically on http://www.lastminutetheatretickets.com/blog/index.php/41670/audience-ratings/

    but ARE showing as being updated on the individual show pages.. ie.. http://www.lastminutetheatretickets.com/blog/index.php/10482/the-woman-in-black-review/
  • Neil23Neil23 Posts: 0Questions: 0Answers: 0
    Further experimentation on this.. and for information in trting to establish the problem...
    If posted within TablePress it seems the results are not displaying.. as at
    http://www.lastminutetheatretickets.com/blog/index.php/41670/audience-ratings/

    if posting a sample of the same short-codes (without styling) then they seem okay...
    http://www.lastminutetheatretickets.com/blog/index.php/41943/test-post-24/

    so.. how to rectify?
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Hmmm - very odd. All I can really say is that I think the star initialisation should happen before the table is initialised (but when the page has been fully loaded - i.e. document ready), or in DataTables' fnInitComplete function.

    Allan
This discussion has been closed.