Support » Plugin: Strong Testimonials » Star Ratings Have Disappeared

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello @ma3ry

    I would like in the first phase to know which version of Strong Testimonials / WordPress / PHP you use? We think your problem came from a recent update, I tried to reproduce it and it didn’t work so we think it might be an incompatibility with a plugin or a theme of yours. So please follow the method below:
    It might be an issue caused by a plugin or your theme.
    I recommend installing this plugin: https://wordpress.org/plugins/health-check/
    After you install and activate the above plugin it has a Troubleshooting mode which allows you to have a vanilla WordPress session, where all plugins are disabled, and a default theme is used, but only for your user – your visitors will still see the normal website.

    Go to its troubleshoot mode and only activate Strong Testimonials and see if it works correctly with a default WordPress theme (Twenty Nineteen for example) and no other plugins.

    Please let me know how it goes and what you find!

    Warmly,
    Marian

    Thread Starter ma3ry

    (@ma3ry)

    Many thanks for these explicit instructions! I installed Health Check – GREAT plugin! I ran in troubleshooting mode with twenty-twenty theme and no other plugins activated except Strong Testimonials. Rating stars are still missing.

    Strong Testimonials V 2.50.3
    WP v 5.6
    PHP v 7.2.34

    Thank you

    @ma3ry -> You can create a short video with the settings you have in view and in testimonials because we would like to reproduce this problem with us.
    We are waiting for your answer! Thank you for your understanding in solving your problem!

    Warmly,
    Marian

    Thread Starter ma3ry

    (@ma3ry)

    What do you want me to make a video of? I told you exactly what I did. Do you not believe me?

    Plugin Support mplusb

    (@mplusb)

    Hello Mary,

    I investigated further and you seem to be missing a file, this one: https://gyazo.com/6612941c45333b6ff84022bcf363717c
    Do you have cache on your site? Could you please clear it?
    If you clear your cache and it still does not work, I would recommend to delete the plugin and reinstall it.
    To do this go to your dashboard > Plugins > deactivate Strong Testimonials > then click on Delete. Once deleted go to Plugins > add new > search for Strong Testimonials > and reinstall it.
    This should fix the issue with the missing file.

    Let me know how it goes!

    Warmly,
    Mihaela

    • This reply was modified 1 year, 5 months ago by mplusb.
    • This reply was modified 1 year, 5 months ago by mplusb. Reason: removed site link
    Thread Starter ma3ry

    (@ma3ry)

    I did as you requested. I cleared the cache, deactivated and deleted the plugin. I cleared the cache again, then reinstalled and activated and cleared the cache again. No change.

    Please note that this issue is on ALL of my websites that use Strong Testimonials.

    All of my websites are using the latest version of WP. Could there be an issue with WP?

    Plugin Support mplusb

    (@mplusb)

    Thank you for reinstalling the plugin!
    I don’t believe it’s an incompatibility with the WP version as other users would be having the same issue. I also tested the plugin on my site and it works normally.

    Is it possible to reach out to your hosting company and ask them if they can find this file rating-display.css on this path: https://tooleyspainting.com/tooleys-content/plugins/strong-testimonials/public/css/rating-display.css ?

    Thank you for your patience while we debug this!

    Warmly,
    Mihaela

    Thread Starter ma3ry

    (@ma3ry)

    I host all of my websites on my own dedicated server. Yes, I have found the file. This is the content of it.

    /**
     * Star Ratings - Display Only
     *
     * Pure CSS. No floats or bidi. Simple em-based sizing.
     *
     * http://codepen.io/cdillon/pen/vXNbBw
     *
     * Based on Pure CSS Star Rating Widget by James Barnett
     * http://codepen.io/jamesbarnett/pen/vlpkh
     */
    
    /* the container */
    .strong-rating-wrapper {
      line-height: 1.7;
    }
    
    /* inline-block */
    .strong-rating-wrapper.average > span {
      display: inline-block;
    }
    
    /* block */
    .strong-rating-wrapper.average.block > span {
      display: block;
      margin: 0;
    }
    
    /* centered */
    .strong-rating-wrapper.average.centered {
      text-align: center;
    }
    
    .strong-rating-title {
      font-weight: 700;
    }
    
    .strong-rating-wrapper legend {
      clip: rect(1px, 1px, 1px, 1px);
      height: 1px;
      overflow: hidden;
      position: absolute !important;
      width: 1px;
      word-wrap: normal !important;
    }
    
    /* the fieldset */
    .strong-rating {
      display: inline-block;
      border: 0;
    }
    
    /* the stars */
    
    .strong-rating span.star {
      display: inline-block;
      margin: 0;
      max-height: none;
      max-width: none;
      padding: 0;
    }
    
    .strong-rating span.star:before {
      content: "";
      -webkit-mask: url('../svg/star-solid.svg') center center no-repeat;
      mask: url('../svg/star-solid.svg') center center no-repeat;
      display: inline-block;
      font-size: 1.25em;
      width:19px;
      height:20px;
      /* use padding not margin */
      padding: 0 4px;
      transition: color 0.3s ease;
    }
    
    .strong-rating-wrapper:not(.average) span.star:first-child:before {
      padding-left: 0;
    }
    
    .strong-rating-wrapper:not(.average) span.star:last-child:before {
      padding-right: 0;
    }
    
    .strong-rating span.star:hover {
      cursor: default;
    }
    
    /* fieldset tweaks */
    
    /* in a form */
    .strong-rating-wrapper.in-form .strong-rating {
      padding: 0;
    }
    
    /* in a view */
    .strong-rating-wrapper.in-view {
      display: inline-block;
    }
    
    .strong-rating-wrapper.in-view .strong-rating {
      margin: 0;
      padding: 0;
    }
    
    /* in the post editor */
    .strong-rating-wrapper.in-metabox {
      display: inline-block;
    }
    
    .strong-rating-wrapper.in-metabox .strong-rating span.star:before {
      font-size: 20px;
      line-height: 27px;
    }
    
    .strong-rating-wrapper.in-table-list .strong-rating span.star:before {
      /* use padding not margin */
      padding: 1px;
    }
    
    /* the magic */
    
    /* this is how we highlight stars before the checked one (siblings before): */
    
    /* hide the first label because our rating may be zero */
    .strong-rating span.star0 {
      display: none;
    }
    
    /* and turn all on */
    .strong-rating span.star:before {
      color: #FFB900;
      background: #FFB900;
    }
    
    /* then turn off stars after the current rating */
    .strong-rating span.current ~ span.star:before {
      content: "";
      -webkit-mask: url('../svg/star-regular.svg') center center no-repeat;
      mask: url('../svg/star-regular.svg') center center no-repeat;
    }
    
    /* turn on the current rating */
    .strong-rating span.current:before {
      color: #FFB900;
    }
    
    /* which may be a half star */
    .strong-rating-wrapper.average .strong-rating span.star.half:before {
      content: "";
      -webkit-mask: url('../svg/star-half-alt-solid.svg') center center no-repeat;
      mask: url('../svg/star-half-alt-solid.svg') center center no-repeat;
    }
    
    /* Responsive
    --------------------------------------------------*/
    @media only screen and (max-width: 480px) {
      .strong-rating-wrapper > span {
        display: block;
        line-height: 30px;
        vertical-align: middle;
        margin: 0;
        text-align: center;
      }
    }
    
    Thread Starter ma3ry

    (@ma3ry)

    I see that someone has marked this ticket as resolved. It is NOT resolved. None of my websites that use Strong’s Testimonial plugin are showing the star ratings.

    Could you please continue your troubleshooting.

    Thank you.

    Plugin Support mplusb

    (@mplusb)

    Hi @ma3ry!

    If the file is there is should be ok, but could you ask your hosting why it says 404 not found when trying to access that file? See: https://tooleyspainting.com/tooleys-content/plugins/strong-testimonials/public/css/rating-display.css
    While this one, for example, works: https://tooleyspainting.com/tooleys-content/plugins/strong-testimonials/public/css/rating-form.css
    And both files are in the same folder.

    Warmly
    Mihaela

    Thread Starter ma3ry

    (@ma3ry)

    The file is there. In fact, I downloaded a new copy of the software and replaced it, but the star ratings still do not show.

    As I said before, I host my own websites on my own server. I am my own host. There is no reason from a hosting perspective why the file would show as a 404.

    Thread Starter ma3ry

    (@ma3ry)

    It has now been a week since I re-opened the ticket and responded. Is anyone doing anything about this?

    Plugin Support mplusb

    (@mplusb)

    Hi @ma3ry!

    I apologize for the late reply – we’ve been investigated this and trying to see what the issue may be.
    Can you please check your .htaccess configurations? Or do you have a redirects plugin? Or do you have redirects set up on your server?
    Our team investigated and it does not appear to be an issue cause by the plugin – or every ST user would have the same issue. We are also not able to replicate this on our end no matter how hard we tried. Both the files I sent above to check (rating-form.css and rating-display.css) should be loaded the same way. This makes us believe it’s something from the server, but we are not sure what.

    As a temporary solution to this, you could open that file, this one: plugins/strong-testimonials/public/css/rating-display.css
    and copy all its CSS and paste it in Appearance > Customize > Additional CSS. This way it will be read and applied to your ratings – and they should display.
    Could you please try that?

    Warmly,
    Mihaela

    Thread Starter ma3ry

    (@ma3ry)

    Thank you for replying. The first thing I did was to copy and paste all the code from the rating-display.css file into my Simple CSS file. I cleared my WP-Rocket cache but it made no difference. Still no stars.

    So the next thing I did was remove everything from my .htaccess file except the basic WP code. Voila! The stars appeared. That means the problem must be either my caching plugin or one of my security plugins.

    So I replaced the old .htaccess file, cleared my cache with the intention of deactivating above mentioned plugins to test, but the stars are still there.

    So then I went to one of my other sites that is not showing the stars and just deactivated the plugins. Turns out the problem is All-In-One Security, but again, when I reactivated it to change the settings, the stars are still there, even after clearing cache.

    So then I went to another site where stars are not showing. This time, instead of deactivating the All-In-One Security plugin, I simply unticked some of the basic firewall options, and voila! The stars appeared. So then I ticked them all back on again to try to determine which specific setting was causing the problem, but I can’t get the stars to disappear, even after clearing cache.

    So on to the next site. This time I unticked and then re-ticked one option at a time and I finally found the problem.

    To make the stars show up, if using All-In-One Security (WP Security) plugin, you must untick Firewall -> Advanced Firewall Rules -> Advanced Character String Filter.

    Thanks for all your help. This issue is now resolved!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Star Ratings Have Disappeared’ is closed to new replies.