• Resolved texas2607

    (@texas2607)


    Good evening,
    I have 2 questions.
    1/ At the start the button displays “submit your review” but when I click on it to send the review the button does not change state and marks all the same thing and the fields all remain filled.
    Would it be possible to have a change to notify the user that the notice is being sent and then that it has been sent.

    For example :
    a/ Initially the button to: “Submit your review”
    b/ When you click on it (and the fields are all filled in) then the button can display: “sending in progress…”
    c/ when sending is done then erase all fields and a message states that sending is ok

    2/ i have a “—” in front of the name of the one who left his review?

    Thanks in advance
    Regards,
    Fred

    Sorry for my English, but it’s google translate.

    Wordpress : 4.7.3
    Site reviews : 2.1.1

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Hi Fred,

    Does the page reload when you submit a review?

    When you click the submit button, the button state changes to disabled, on success the fields are cleared and a message is shown to the user saying, “Your review has been submitted!”

    If this doesn’t happen, then it sounds like a Javascript conflict with your theme or with another plugin.

    Please send the system info file to [email protected] so I can see which plugins you have installed, your active theme, browser version, etc.

    You can find the system info on the Site Reviews -> Get Help -> System Info page.

    Thanks

    Plugin Author Gemini Labs

    (@geminilabs)

    Regarding your second question, that dash in front of the name is the proper way to attribute an author’s quotation in English composition.

    https://english.stackexchange.com/questions/28601/appropriate-dash-to-use-when-attributing-a-quotation

    However, if you would prefer not to show a dash before a review’s author’s name, add the following code to your theme’s functions.php file:

    add_filter( 'site-reviews/rendered/partial', function( $rendered, $partial ) {
        if( $partial == 'reviews' ) {
            $rendered = str_replace( '<p class="glsr-review-author">&mdash;', '<p class="glsr-review-author">', $rendered );
        }
        return $rendered;
    }, 10, 2 );
    • This reply was modified 7 years, 11 months ago by Gemini Labs.
    • This reply was modified 7 years, 11 months ago by Gemini Labs.
    Thread Starter texas2607

    (@texas2607)

    Hi,

    It’s ok for the 1st question, I had an error with Firefox, I reinstalled it and now it works, but concerning the 2nd question it does not work.

    regards,
    Fred

    Plugin Author Gemini Labs

    (@geminilabs)

    Please copy and paste the following snippet to your active theme’s functions.php file:

    https://gist.github.com/pryley/85d72fcc41993ddf7fe8f7111447daab

    If you have a caching plugin installed (such as W3 Total Cache), you may need to also purge the cache.

    • This reply was modified 7 years, 11 months ago by Gemini Labs.
    Thread Starter texas2607

    (@texas2607)

    Thank you very much it works.

    Fred

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display bug’ is closed to new replies.