• Resolved seppthethreat

    (@seppthethreat)


    Dear all,
    I just updated the Easy FanceBox Plugin to version 1.5.2 and WordPress to version 3.6.
    Now the plugin is not working anymore. Click on a picture will result in the file page of the picture (www.live2travel.de). I’m assuming there is something wrong with the jQuery Library as this is a big update in WP 3.6.
    Do you have any solutions?
    Thanks, Seb

    https://www.ads-software.com/plugins/easy-fancybox/

Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter seppthethreat

    (@seppthethreat)

    @ravanh
    I just tested the the plugin on a WP 3.6 test instance with the setup (theme etc.) of my productive environment.
    1.) Easy Fancybox was not running
    2.) I change the theme and it working
    This means the theme is the issue. Do you know how I can solve it?

    No problem with easyfancy box and WP 3.6

    so it is theme related – contact your theme developer,

    Thread Starter seppthethreat

    (@seppthethreat)

    Problem is, the theme will no longer supported ??
    Do you know how to fix it without changing the theme?

    Thread Starter seppthethreat

    (@seppthethreat)

    Problem is, the theme will no longer supported ??
    Do you know how to fix it without changing the theme?

    seppthethreat, if you can share a link to your test site I can likely tell you what the problem is and give you an indication on how to fix it… if you don’t want to share the link publicly, use the contact form on https://status301.net/contact-en/

    Otherwise, here are some tips:
    1. look at the page source code and search for other instances of fancybox (or similar scripts) coming from the theme directory; more than one will cause conflict.
    2. check which jquery.js library version is used, it should be 1.6 or higher (preferably 1.10, the one included in WordPress).
    3. check if there are more than one included in the source; if so, then make the one included by your theme go away…

    You can use the developer functions (hit F12 then choose the Console tab) in the Google Chrome or the Chromium browser to view script errors. Even though they will be cryptic, it might give you a hint where the problem is coming from.

    Thread Starter seppthethreat

    (@seppthethreat)

    @ravanh
    Thanks a lot. I could find the issue.
    The the themes function.php was the following code:

    //add_action('wp_enqueue_scripts','my_theme_scripts_function');
    
    //function my_theme_scripts_function() {
    
    //	wp_deregister_script('jquery');
    //	wp_register_script('jquery', ("//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"), false, '1.4.2');
    //	wp_enqueue_script('jquery');
    
    //	wp_enqueue_script('superfish', get_stylesheet_directory_uri() . '/js/superfish.js');
    
    //	if(is_front_page()) :
    //	wp_enqueue_script('nivoSlider', get_stylesheet_directory_uri() . '/js/jquery.nivo.slider.pack.js');
    //	endif;
    //}

    As you can see I disables it and it works. ??
    Thx

    Thread Starter seppthethreat

    (@seppthethreat)

    @ravanh
    I don’t know what happened, but now it is not working again.
    Please could you also check the source code of the page?
    I don#t know what’s wrong now.
    Thanks

    @ravanh, I just updated the jQuery to 1.10, the plugin is working, but the next and back buttons doesn’t appear. Do you have any idea?

    @seppthethreat can you share a link?

    @cristian Tismanaru are you using a plugin to create the galleries? The auto-gallery option can only work with WordPress galleries…

    @ravanh – i’m not using any script, i just uploaded the images…

    @christian – Did you create them like https://www.youtube.com/watch?v=DPKfuFHnuqk (video not mine) for example? Or does it work differently on your site?

    No, I didn’t create any gallery, the images were separately uploaded, and surrounded with some div classes.

    àCrhistian – Ok, then you have two ways to go about this:

    A. either set the option “Autogallery” (on Settings > Media under FancyBox / Images) to “All in one gallery”; this will have all images on the page linked to each other; or

    B. leave the Autogallery option to “Galleries only” and modify your post to have multiple galleries (one below each title); this will link images inside one gallery but not across galleries.

    Hope that makes sense ??

    @ravanh, thank you very much, it worked with Autogallery option ??

    Thread Starter seppthethreat

    (@seppthethreat)

    @RavenH, here is the link to my test page: https://www.seppthethreat.de
    I have only activated Easy Fancybox and Transposh.Easy Fancybox is not working.
    As soon as I’m deactivating Transposh, it is working.

    I looking in it a bit in detail and also asked the author of Transposh. He is using the standard WP 3.6 jquery. So no issue from there.
    you are writing “Easy FancyBox uses the packed FancyBox jQuery extension”. I don’t now which Fancybox jQuery extension you are meaning with this, but is seems that this is not compatible.

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Easy FancyBox 1.5.2 not working under WordPress 3.6’ is closed to new replies.