• Resolved swagatam1975

    (@swagatam1975)


    Hello team,

    I want to understand the lazy load feature of your plugin.

    When I select Async comment load to DOMREADY and select Load comment async threshold as “0” it causes my post pages to load twice and I can see some random code inserted at the end of the URL.

    The above procedure loads the comments after reloading the page and by adding some random code at the end of the URL which I don’t want.

    I simply want the comments to load once the viewpoint is reached with a spinner indicator which shows comments are loading.

    I would be grateful if you could throw some light on the above issue.

    Kind Regards

    Swag

    • This topic was modified 1 year, 1 month ago by swagatam1975.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Ronald Huereca

    (@ronalfy)

    Hi @swagatam1975 that usually happens when the wrong comment section selector is entered. This can happen for a variety of reasons such as theme changed.

    In Ajaxify Comments is a tool called Menu Helper. It can try to find the selectors for you.

    More on Menu Helper (docs site): https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/menu-helper

    Thread Starter swagatam1975

    (@swagatam1975)

    Thank you so much for your kind reply,

    The Menu Helper indeed looks very helpful, I will go through all the steps mentioned in it.

    So, if I complete those steps correctly will I be able to avoid the double loading of my post pages and still have the lazy load feature implemented?

    I do not want the posts loading twice while implementing the lazy load feature.

    Thank you very much for your time!

    Plugin Author Ronald Huereca

    (@ronalfy)

    In theory without having looked at your site, yes. Menu Helper is brand new, so please let me know if you run into any snags.

    Thread Starter swagatam1975

    (@swagatam1975)

    I saved and updated the selectors appropriately using the menu helper, but I am still getting the same results.

    The posts with comments are loading twice with a random code being added at the end of the URL.

    This happens when the following settings are enabled:

    Load Comments Async Threshold = 0 (If I keep this field empty the above problem does not happen, but then the comments are not lazy loaded)

    Async Comments Load Trigger = DomReady (when I use Viewport or None, all comments disappear).

    Here’s the example URL where you can see the results:

    makingcircuits.com/blog/sine-wave-inverter-circuit-using-pic16f72/

    Thank you so much for your time.

    Plugin Author Ronald Huereca

    (@ronalfy)

    @swagatam1975 I apologize, this ended up being a bug and nothing to do with the selectors.

    I discovered that lazy loading wasn’t working at all, so I have pushed up 2.0.1 as a fix.

    I agree that lazy loading is a bit confusing to figure out, so I’ll make it a bit more user friendly in the next version.

    Regarding the URLs, If you don’t want the URLs to update, there is an option in Advanced to disable URL updates.

    Please let me know if this resolves your issue so I can mark this as resolved. I would also be extremely grateful for a star rating.

    Thanks,

    Ronald

    Thread Starter swagatam1975

    (@swagatam1975)

    Thank you so much @ronalfy,

    I greatly appreciate your kind response!

    I tried disabling the URL update but that did not help the URL updating for the current situation.

    But no problem, I will wait for the new version of the plugin and hope a lazy loading feature is included in the plugin, because lazy loading feature is so important for sites which have large number of comments.

    Many Thanks once again, you can close this thread!

    Kind Regards

    Swag

    Plugin Author Ronald Huereca

    (@ronalfy)

    @swagatam1975 are you on version 3.0.1 and lazy loading is not working?

    Thread Starter swagatam1975

    (@swagatam1975)

    Yes, unfortunately the recent update did not improve the results.

    The results are exactly the same as explained earlier.

    The posts with comments load once and then reloads again by updating the URL with some random code at the end of the URL.

    I am not sure whether the lazy loading is happening or not because there’s no way to verify it.

    In the “Viewport” and “none” modes the comments completely disappear.

    There’s another popular comment lazy load plugin which works wonderfully well, but it has its own problems, for example it fails to show the comment posted notification to the users. Moreover the plugin author is not interested to respond to the issues and does not update the plugin.

    Therefore if you could make the lazy loading effective in your plugin it would a great feature of the plugin and it would benefit many WordPress users like me who want their site to load faster by implementing a proper lazy loading for their post comments.

    Looking forward to your reply

    Many thanks.

    Thread Starter swagatam1975

    (@swagatam1975)

    Just wanted to inform you that since the new update did not improve the results I had to revert to my previous comment plugin wpdiscuz.

    Thread Starter swagatam1975

    (@swagatam1975)

    I just noticed that your plugin version is not 3.0.1, rather it is 2.0.1, am I missing something?

    Plugin Author Ronald Huereca

    (@ronalfy)

    @swagatam1975 Sorry, 3.0.1 was a typo.

    Regarding lazy loading, if you’d like more help to fix it, please send me a support request on DLX Plugins? Can you please mention in that what theme you’re using?

    Thanks!

    Thread Starter swagatam1975

    (@swagatam1975)

    Thank You so much @ronalfy

    Done!

    I have sent the feature request, here’s what I submitted in the request:

    Please add a “lazy loading comments” feature to your plugin with the following specifications:
    1) Scroll Mode: The comment loads only when the user scrolls down to the comment viewport. As soon the user reaches the comment viewport a “spinner logo” is shown which indicates that the comments are lazy loading. The spinner goes away when the comments finish loading.
    2) Manual Mode: A “load comment” button is shown just above the comment section, which can be toggled by the user to load the comments manually.
    3) A Code: A functions.php code which can be used to replace the spinner effect with a message saying for example “Comments are loading, please wait”

    I am using Genesis Child Theme = AIKO

    Kind Regards

    Swag

    Plugin Author Ronald Huereca

    (@ronalfy)

    We resolved this matter in private.

    In general, the lazy loading feature was unstable. The Genesis theme was also not compatible with lazy loading.

    The lazy loading bugs have been resolved and Genesis integration is now included in the plugin.

    Thread Starter swagatam1975

    (@swagatam1975)

    Yes, after the new update everything is working perfectly fine.

    Many thanks for your kind efforts!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Why Page Reloads Each Time a Post is Opened’ is closed to new replies.