Support » Plugin: NextGEN Gallery Voting » Plugin freeze after voting

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author shauno

    (@shauno)

    Hi fmonserrate

    I seems as though the ajax isn’t being picked up properly once the vote is saved. From what I can see in your source code, it seems you are running some sort of HTML compression plugin or code. The code most probably removed HTML comment (eg <!– this is a comment –>).
    The voting process needs to have comments outputted in the source code, as it using them to parse the response and understand the vote.

    Try disabling that plugin/code, and testing again.

    Thread Starter fmonserrate

    (@fmonserrate)

    Hello!

    yes…you are right!

    I have some code in functions.php to compress HTML…if i remove that…your plugin works good!

    Thank’s one more time for the great support!

    Best Regards

    Thread Starter fmonserrate

    (@fmonserrate)

    …by the way … i have some chance to put both work together?

    Plugin Author shauno

    (@shauno)

    Hi again fmonserrate

    Can you email me the code you are using to shaunalberts AT gmail DOT com. I will have a look at it and see if I can make it work with NGG Voting. I can’t promise anything though 🙂

    Plugin Author shauno

    (@shauno)

    Just to resolve this for anyone else coming across it. The site was using a HTML compression class named "WP_HTML_Compression", and it was removing HTML comments from the source code. NGG Voting needs HTML comments to parse the JS response with AJAX voting. Simply setting the variable $remove_comments to false in the class definition solved the problem.

    Thread Starter fmonserrate

    (@fmonserrate)

    ok! Thank you very much!

    Have a nice weekend!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin freeze after voting’ is closed to new replies.