• Resolved karma9999

    (@karma9999)


    Hey team,

    Hope you guys help me out with this. Whenever someone is trying to give a star review, the loader.gif loads in a HUGE size.

    Here’s a short video: https://vimeo.com/685089874

    Waiting for your reply

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor dudo

    (@dudo)

    Hi!

    Do you have a link that I can test?

    Thanks,
    Dario

    Thread Starter karma9999

    (@karma9999)

    Hi dudo,

    Thanks for giving your time to this topic. Here’s the link: https://indianpdf.com/psychology-self-teaching-guide-pdf/

    Open it and try giving a star review. You’ll see the issue.

    Plugin Contributor dudo

    (@dudo)

    With FTP, can you open the file wp-content/plugins/yet-another-stars-rating/includes/yasr-includes-functions.php and, on line 35, change this

    $yasr_visitor_votes_loader = '<div id="loader-visitor-rating" style="display: inline-block">&nbsp; '.
            ' <img src="' . esc_url(YASR_IMG_DIR . 'loader.gif').'" title="yasr-loader" alt="yasr-loader"></div>';

    to this?

    $yasr_visitor_votes_loader =
            '<div id="loader-visitor-rating" style="display: inline-block">&nbsp; '.
            '<img src="' . esc_url(YASR_IMG_DIR . 'loader.gif').'"
                  title="yasr-loader" alt="yasr-loader" height="16" width="16">'.
            '</div>';
    

    Let me know!

    Plugin Contributor dudo

    (@dudo)

    Can you please let me know if you still have this issue with version 3.0.3?

    Thank you!

    Thread Starter karma9999

    (@karma9999)

    Apologize for the delay,

    Yes, the issue has been resolved after I followed your steps.

    Thanks a lot for the amazing support.

    Thread Starter karma9999

    (@karma9999)

    Hello Team,

    After updating the plugin, I am facing the exact same issue for which I started this thread. After giving a star rating, the plugin shows the ” Loader.gif ” which is not at all small but huge.

    I tried the previous method and it worked back then. But now, when I tried changing the code on yasr-includes-functions.php I found that there is no loader.gif function code on that page.

    Here’s a short video: https://vimeo.com/685089874

    waiting for your reply.

    Regards,
    Karma

    Plugin Contributor dudo

    (@dudo)

    Hello!

    I can’t see the video but been able to see live in your site.

    Did you deleted all your caches? (CDN, plugins, etc)

    I tried the previous method and it worked back then. But now, when I tried changing the code on yasr-includes-functions.php I found that there is no loader.gif function code on that page.

    Yes, now that part of code is into the file includes/classes/YasrScriptsLoader.php but there is no need to edit it , since height and width attributes are already defined.

    Try to delete all your chaches and let me know ??

    • This reply was modified 2 years, 8 months ago by dudo.
    Thread Starter karma9999

    (@karma9999)

    Hello Dudo,

    Yes, I cleared the cache multiple times but the issue was not resolved. In the previous version I saw that the plugin was not showing any star rating as well but it was resolved when I updated to the newer version. But sadly the loader issue was still there no matter how many times I clear the cache or update the plugin. ??

    What if I remove the loader.gif ?

    Is this is possible? If yes, can you guide me how to do it… If not, there must be a solution for this.

    BTW I’m really happy with your support guys.

    Waiting for your reply.

    Plugin Contributor dudo

    (@dudo)

    Hello!

    Sorry for the delay.
    I see you’ve already removed the gif, seems like is working fine now ??

    Hello, I have a different kind of problem with the file loader.gif.

    It’s showing fine for me, but I would like to disable it. It’s the only file on my website that for some reason doesn’t load on CDN and showing warning in gtmetrix test.

    Can you please guide me how to disable the file? I have inserted this into my style settings:
    .yasr-vv-container-loader { display: none; }

    Unfortunately the file still loads in the background.

    Thanks!

    Plugin Contributor dudo

    (@dudo)

    Hello @narubi, you can download this file https://gist.github.com/Dudo1985/bfe86d4df889e47f86234a504a884319 and then upload it in /wp-content/plugins/yet-another-stars-rating/includes/classes/ overwriting the old one.

    Let me know!

    Best,
    Dario

    Thanks a lot Dario.

    Maybe it would be a good idea to either put an option to disable it, or remove it completely. I don’t think anyone would even notice it’s gone.

    Plugin Contributor dudo

    (@dudo)

    I don’t know if I will add an option, but from the next version it will be easier to disable it.

    When next version will be released, just add this code to your functions.php child theme

    add_filter(‘yasr_custom_loader’, static function () {
    return ”;
    });

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Loader issue’ is closed to new replies.