Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

WordPress Comment Plugin - How to Get it to load early

We have recently migrated our WordPress comments to Vanilla's cloud hosted solution. On average it's going okay, but the WordPress Comment plugin takes far to long to load previous comments and appears to wait until that area of the screen is visible to start loading.

I am not a developer - is there a way to change the loading from visible on screen to something sooner?

Thanks for your help

Comments

  • Welcome to the community!

    If you are using the Vanilla Cloud hosted solution, you will need to post your support requests on vanillaforums.com. This forum pertains only to the open source version and is run by volunteers that don't have access to the hosted version.

    Good luck!

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • unsure if my email will come through by my question is about the WordPress Commenting plugin not Vanilla's Forum tool so it's relevant to all groups since the slow load times are most likely hurting all groups.

  • While I still don't think we can help you:

    What version of Vanilla are you running?

    Is the issue you are having with a WordPress plugin or a Vanilla addon?

    What Vanilla plugins are enabled? What are their versions?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • do you have an example page?

    grep is your friend.

  • I need help with the WordPress Plugin named Vanilla Plugin, Version 1.1.14.

    My problem appears to be on the WordPress side not Vanilla Forums. The current plugin ASIS starts the process of loading when it's on screen rather than loading earlier.

    I am in contact with Vanilla via the paid stuff as well. My tests show that this may be a connection to the forums issue. If it is then I'll immediately note it here.

  • Ah.. you want to disable lazy loading.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • it took 2 seconds. that is about right.

    It might be browser an platform specific.

    grep is your friend.

  • @hgtonight - yes, that's a good phrase for it

    I don't mind a 2 s load as long as it's before the visitor gets to the comments. It may be caused by the Forum vs plugin because I tested our staging site with an Vanilla 2.0X test site we have running and the load of the comments was much faster.

    How do I alter that behavior?

  • You have many in-line/body based script before the embed code.

    Technically you could load it much earlier, however this is down to your precedence.

    grep is your friend.

  • OK - the new phrase has helped my search -

    http://vanillaforums.com/discussion/1502/blog-comments-taking-particularly-long-to-load-any-solutions

    I'm going to try this and then report back.

    al

  • @x00 - hmm, I know there are ads before it - how do I do what you suggested?

    I really appreciate the help fellas. I think my other request on the paid support is still moderated. :)

  • You should be able to disable lazy loading by adding var vanilla_lazy_load = false in your comments.php file after line 20 in the WP plugin.

    I can't test this, but it should work.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • clear your cache as well

    grep is your friend.

  • The removal of Lazy load did the trick

    vanilla_lazy_load = false;

    my theme - Catalyst - allowed me to put it in the header and things are loading far better.

    many thanks !!!

    Still moderated on the other site, but problem solved here :)

  • Glad that worked.

    Feel free to stick around ;)

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • will do. I'll be judicious on when to post here and when to get moderated, err, post on the other board. :)

Sign In or Register to comment.