Support » Plugin: GD Star Rating » Star rarting does not work

Viewing 9 replies - 1 through 9 (of 9 total)
  • Jack

    (@moxie)

    I can’t say if it’s a javascript error, but I have the same problem. ‘Everyone can vote’ and I turned off every restriction. Previously it worked, but now it doesn’t. I can’t remember to have installed any new plugins since.

    http://www.bt10.nl

    Single page with rating stars:
    http://www.bt10.nl/pedicurepraktijk-karen-beumer/

    Jack

    (@moxie)

    Anyone? I tried everything possible (to my opinion), but it’s still not working.

    LichKing

    (@lichking)

    Jack

    (@moxie)

    Thanks for the suggestion. It could be a jquery problem, although I haven’t added new plugins before the day it stopped working. I think… It would be nice if the creator of this plugin could take a look at the source code of the pages, to see if there could be a jquery problem.

    http://www.bt10.nl/stratenmaker-arnemuiden/

    gerald@WPcustoms

    (@geeman12030)

    I had the same error when I used the jquery from google ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js

    I deregistered that and enqeued the default version which is shipped with wordpress.
    wp_enqueue_script(‘jquery’);

    you got a lot of JS scripts loaded and it could conflict with one single script and messed dependancy settings.

    please try to use the default wp-includes/jquery instead of the code.jquery.com/… hosted. that solved it for me.

    Loading an other jquery than what is included in WordPress is a road to failure.
    However, on my site, with WordPress jquery, the javascript still returns an error.
    What a pity the plugin author doesn’t visit this forum.

    Jack

    (@moxie)

    I finally found out it was the plugin called The The Tabs and Accordion that caused the conflict. Must have come with an update.

    @gerald, is what you are saying (deregistering and enqueing) something that can be done without touching the plugins? In my header template of WP there are nog scripts loaded, other then the ones inserted by the plugins.

    Jack

    (@moxie)

    Ok, after searching a bit more I found the solution, so for those that have the same trouble, using GD star rating and The The Tabs and Accordion, this is how the troubles can be solved for both plugins:

    wp-content/plugins/thethe-tabs-and-accordions/lib/lib.php

    and suppress the following lines :

    wp_deregister_script( ‘jquery’ );
    wp_register_script( ‘jquery’, ‘http://code.jquery.com/jquery-latest.min.js’, false, ‘latest’);

    It seems that the fact that the jquery version is not defined (latest) brings some trouble with the plugin.

    Thanks to user Titi on the forum of the The The website.

    gerald@WPcustoms

    (@geeman12030)

    @jack: scripts are registered by your theme`s functions.php or any plugin files. you can call it where ever you want.
    to answer your question – yes you have to dive into the theme\plugin folders.

    It depends on the theme\plugin authors and if he knows his stuff it will work with other well-coded plugins.
    As macbrink said: stick to the included WP script versions.
    call your JS with correct dependancies and version settings and incompatibilities are reduced to a minimum.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Star rarting does not work’ is closed to new replies.