Support » Plugin: Site Reviews » Can’t click on add rating select

  • Resolved Playzare

    (@playzare)


    Hi,
    The selector uniform-rating and star rating is not working on my website, when i click on them it does nothing, do you know if there can be some conflits with other plugins ?

    (Bottom of the page)

    Thanks,
    Bests regards

    • This topic was modified 1 year, 1 month ago by Playzare.
    • This topic was modified 1 year, 1 month ago by Playzare.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I changed the page for the test : https://bit.ly/2UPgxZm

    • This reply was modified 1 year, 1 month ago by Playzare.
    Plugin Author Gemini Labs

    (@geminilabs)

    Site Reviews uses a SELECT (dropdown) element behind the scenes to control the star rating control.

    Your theme is using Uniform to add custom styling your form elements, since the Uniform script is targeting ALL SELECT elements on your page, this is modifying the hidden SELECT element that Site Reviews transforms into a star rating control…in other words, it is breaking the star rating control.

    Since this is a compatibility issue with your theme, the only way to fix this is to edit your active theme.

    The file to edit is: wp-content/themes/p-link/js/main.js on line 374:

    This is the line in the javascript file that is causing the problem:

    $("select:not([multiple]), input:checkbox, input:radio, input:file").uniform();
    

    It needs to be changed to this:

    $("select:not([multiple]):not(.glsr-star-rating), input:checkbox, input:radio, input:file").uniform();
    

    Unfortunately since the Uniform script does not allow you to skip transforming a SELECT element by adding a CSS class to it (as many other scripts that transform form elements do) this is the only way to fix this issue.

    • This reply was modified 1 year, 1 month ago by Gemini Labs.
    • This reply was modified 1 year, 1 month ago by Gemini Labs.
    • This reply was modified 1 year, 1 month ago by Gemini Labs.
    • This reply was modified 1 year, 1 month ago by Gemini Labs.
    Plugin Author Gemini Labs

    (@geminilabs)

    @playzare

    I have submitted an issue report with the author of the Uniform javascript library (the script that is responsible for modifying your theme’s form fields and dropdowns which is conflicting with Site Reviews).

    If you are not comfortable making the change to your theme as suggested above, you will need to wait for an update to Site Reviews which will include some custom CSS to undo the modifications done by the Uniform script that your theme uses.

    Hi,
    Thank you very much for your time and for looking in detail at the conflict issue. That’s really great! You shouldn’t have done that since the problem comes from another plugin.
    I will edit the file you told me 🙂 I hope that the creator of the Uniform library will make the modification!
    Thank you again for your professionalism.
    Bests regards

    • This reply was modified 1 year, 1 month ago by Playzare.
    Plugin Author Gemini Labs

    (@geminilabs)

    @playzare

    After looking further into this issue and after much consideration, there will not be an update to address this until the uniform script is updated to resolve this (please see: https://github.com/AudithSoftworks/Uniform/issues/455).

    It would just be too convoluted to add custom CSS to the core plugin to address this issue as there is too much “hacking” involved to reverse the uniform script.

    Happy that it is now solved for you!

    • This reply was modified 1 year, 1 month ago by Gemini Labs.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t click on add rating select’ is closed to new replies.