Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • wintermute77

    (@wintermute77)

    I’m assuming this is because your browser is using Google’s index of sites known to host malware. In that case you can “Request a Review” through Google Webmaster Tools. Google will rescan the site, and if they don’t detect malware, they will remove it from the list.

    Google Webmaster Tools
    https://www.google.com/webmasters/tools/

    *Add the site to Google Webmaster Tools (If you haven’t already done so)
    *Verify ownership of the site (If you haven’t already done so)
    *Click the site so you can see the Dashboard for that site
    *Click on [ More Details ] from the red malware warning bar
    *Click on “Request a Review” and complete the form
    *Wait a few hours to a day or so for the warning to be removed from the search results (IF the site is clean)
    *Check your messages in Google Webmaster Tools for messages related to the status of your review

    Thread Starter wintermute77

    (@wintermute77)

    Works like a charm. Many thanks.

    I haven’t gone through the plugin in detail so this is posted as a hacky fix to get stuff working rather than an actual solution, but:

    The problem appears to be that the javascript is looking for elements with a class of “needs-rating” or “form-rating”, but the stars are output inside a list with a class of just “rating”.

    Add the “rating” class to the list of elements that the JS attaches to, and the stars start working again.

    In detail:
    /plugins/rate/js/rate.js

    Line 6:
    Change
    var nratings, fratings;
    to
    var nratings, fratings, sratings;

    Line 72:
    Immediately below:
    fratings = $('.form-rating li');
    add the line:
    sratings = $('.rating li');

    Line 76:
    Immediately below:
    nratings.bind('mouseenter mouseleave', doHover).click(doRating);
    add the line:
    sratings.bind('mouseenter mouseleave', doHover).click(doRating);

Viewing 3 replies - 1 through 3 (of 3 total)