Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter arjes

    (@arjes)

    Well, it doesn’t work like that on our site. In the “redirect_to” parameter there is always the URL to the homepage. Regardless which URL was loaded before. When I disable the “Private Site” function and use another plugin (Restricted Site Access) everything works like it should. With the other plugin the “redirect_to” parameter has the relative URL (just the slug) without the domain – on your plugin it is just the domain without the slug. We use PolyLang Pro which modifies the URL slugs. I don’t know if that has anything to do with that.

    arjes

    (@arjes)

    So I had the same problem. I solved it by looking into the JS that comes bundled with my theme. There was another prettyPhoto JS that was minified and thrown together with other JS code snippets to make the theme elements work.

    What happens is that the prettyPhoto JS code from the theme is over-ruling the prettyPhoto that is packaged with wp-video-lightbox. So in order to make it work you have to correct the part where it constructs the embed URL in your themes prettyPhoto JS.

    movie=”https://www.youtube.com/embed/”+movie_id, … and so on
    movie=”https://player.vimeo.com/video/”+i[3]+ … and so on

    These lines are correct in wp-video-lightbox’s prettyPhoto JS – but they were wrong in the themes prettyPhoto JS.

    Hope this helps…

    • This reply was modified 8 years ago by arjes.
    • This reply was modified 8 years ago by arjes.
    • This reply was modified 8 years ago by arjes.
    Thread Starter arjes

    (@arjes)

    Found the problem – again it’s an issue with the caching plugin WP-Rocket, specifically the Lazyload feature. It added the lazyload parameters to the images in the placemarks without correctly encoding/escaping certain special characters => this messed up the JavaScript and therefore having an incomplete bgmpData field.

    I solved it by disabling the lazyload in the functions.php of the theme in the same place where you activate the bgmp scripts/filter.

    add_filter( ‘bgmp_map-shortcode-called’, ‘__return_true’ );
    add_filter( ‘do_rocket_lazyload’, ‘__return_false’ );

    Seems to be a problem / incompatibility with the caching plugin. We use WP-Rocket and I solved it by disabling JS Minification on the problematic page. It works now! But I don’t know what triggered the problem, because it worked before with the option enabled. Perhaps Google changed some of their JS code?

    Same here – zooming in works, but as soon as you zoom out the whole area turns grey and only the placemarkt icons remain. Same problem on all the different browsers.

    • This reply was modified 9 years, 3 months ago by arjes.
    Thread Starter arjes

    (@arjes)

    Seems to be an issue in compatibility with Enhanced Media Library – any workaround?

    Thread Starter arjes

    (@arjes)

    Fix works like a charm…

    Thread Starter arjes

    (@arjes)

    Awesome, thanks a lot for the super fast response – thumbs up!

Viewing 8 replies - 1 through 8 (of 8 total)