Forum Replies Created

Viewing 15 replies - 46 through 60 (of 66 total)
  • thisismyalterego

    (@thisismyalterego)

    yes ?? I’m pretty sure you just need to add the wp_footer(); call to your footer.php as written above.

    Glad I could help. I had a bad time with the plugin the last 2 days so I know how you might felt

    thisismyalterego

    (@thisismyalterego)

    well I was spying on your page – seems it works now ??

    thisismyalterego

    (@thisismyalterego)

    okay and are you using
    <?php wp_footer(); ?>
    in your footerfile? This functions is doing all the magic with infinite scroll by looking up for external footer content (there is a footer.php in infinite scroll where the callback is written in )

    thisismyalterego

    (@thisismyalterego)

    Oh one important thing! Are you using a footer.php file?
    To me it seems that infinite scroll is not nested in the header, but in the footer!

    Here is what infinite-scroll creates in the footer of my page when looking into the code:
    https://jsfiddle.net/jwnNH/

    You can have a look with another theme on your page how it is build there.
    Maybe you can force infinite scroll to post there stuff in your header – or you need a footer file.

    thisismyalterego

    (@thisismyalterego)

    Okay – I hope it works ??
    One problem *could* be that you are not using a “classic” url structure but loading code dynamically by using hash tags.

    Infinite scroll is “grabbing” the code from the second page by using the link that its selector has (a.next for example) – I’m not sure if a grabber can handle this well…

    Maybe I have some time over the weekend (not today sadly because I have a deadline) to look this up with one of my other pages (that are using hashtag-navigation too)

    I’ll keep you posted

    thisismyalterego

    (@thisismyalterego)

    Is your theme written by yourself or is it a theme from the web (that got modified)

    thisismyalterego

    (@thisismyalterego)

    Another idea would be to deactivate every other plugin first.

    I saw in your code you are using slimbox. Problem is that slimbox is including another jquery-latest library so there are 2 of them included in your code…

    thisismyalterego

    (@thisismyalterego)

    alright. Maybe some other plugins are messing around?
    Can you try using another theme for testing? Because you are using something like jquery to load the content currently…? this could make it more difficult.

    I don’t see any reason that infinitescroll isn’t loaded at all, but maybe it’s your theme.

    The only thing I also did – I don’t know if it matters is, that I am using another permalinkstructure – when having get parameters submitted via url by using ?page= I’ve experienced some problems with infinite loop in the past, so I’ve changed that and I’ve also changed the permalink structure in nextgen-gallery plugin. There is an option for that . But this we can check out later.

    thisismyalterego

    (@thisismyalterego)

    Hello again,
    I saw that there are some bugs on our page. We should get rid of them first.
    When looking in the console it says that the following files (which are included) can not be found:

    js/jquery.ba-hashchange.min.js
    js/ajax.js

    also some graphics are missing, but this shouldn’t be a problem. But with missing js files…?this might not so good.

    Oh, and do you have the latest version of ngg and infinite-scroll (from infinite-scroll.com) ?

    thisismyalterego

    (@thisismyalterego)

    Hi Kewdo,
    can you offer me a screenshot of the part of your code from the infinite-scroll.php file?

    Here is what my function there looks like:
    https://jsfiddle.net/Y6wqp/

    Do you have the latest version of NGG running?

    If there is no hint that anything from infinite-scroll is loaded at all there must be something wrong with that php file, not only the selectors. We will fix that – I’m sure. Just compare yours with mine or upload a screen here ??

    Oh and do you have a link to your page? Maybe I can have a look too

    thisismyalterego

    (@thisismyalterego)

    Just replace false with true in that specific function.
    I’ve modded my page like this and never experienced any problems so far.

    thisismyalterego

    (@thisismyalterego)

    the “is_singular” function checks if the wordpress page is a single page or single post (that can be edited via the backend) or if it’s a data-collector (like blog, archive, etc which are putting out multiple single entries)

    for some reason the infinite-scroll developers decided to disable the whole functionality when the browser is on this “single pages”

    when changing false with true, also single pages work.

    thisismyalterego

    (@thisismyalterego)

    When clicking on the “down arrow” more pics are loaded, so I guess you’ve figured it out already, right?

    thisismyalterego

    (@thisismyalterego)

    Hey there,
    I know you had this problem a couple of months ago, but maybe my post is still helpful for you – or other folks. I have posted a solution for people that don’t get NGG and infinite scroll work together here:

    https://www.ads-software.com/support/topic/work-with-nextgen-gallery-1

    I also have a solution for the lightbox problem for prettyphoto-lightbox at least. Maybe I can help you with your problem too. Just post a reply here, I am following this post.

    thisismyalterego

    (@thisismyalterego)

    I also made a fix to the lightbox “prettyPhoto”, so it still works after the dynamic reload and a fix to a bunch of other NGG bugs too. Just leave me a message if you are interested in this too, I get updates for this post by email.

    The reason why I am not posting it here directly is because I’ve never got a “thank you” on one of these boards when I’ve posted helpful stuff. Maybe this is the only possibility to get some ??

    BTW: To make infinite scroll work you need my fix I’ve posted here PLUS you need to configure infinite-scroll with the correct parameters which are:

    content selector: .ngg-galleryoverview
    navigation selector: .ngg-navigation
    next selector: .ngg-navigation a.next
    item selector: .ngg-gallery-thumbnail-box

Viewing 15 replies - 46 through 60 (of 66 total)