Easy FancyBox doesn't work anymore

Home Forums Easy FancyBox Pro Easy FancyBox doesn't work anymore

This topic contains 2 replies, has 2 voices, and was last updated by  jean-christophe 2 years, 11 months ago.

  • Author
    Posts
  • #3364

    jean-christophe
    Participant

    Hi,

    I used Easy FancyBox since months, it has worked beautifully, but now it doesn’t since today. I cannot recall any changes which might influence the plugin. I’ve uninstalled one plugin or two, but without any link with Easy FancyBox.
    I bought pro version, in order to have all options. But it still doesn’t work.
    my url : http://www.patriceloko.org/WordPress3
    I used it in order to have popup video
    (try this : http://www.patriceloko.org/WordPress3/f-c-nantes-19941995/
    and click to youtube icon).
    For Photogallery : http://www.patriceloko.org/WordPress3/photographies/

    Here is easy-fancybox.php

    < ?php /* Plugin Name: Easy FancyBox Plugin URI: http://status301.net/wordpress-plugins/easy-fancybox/ Description: Easily enable the FancyBox jQuery extension on all image, SWF, PDF, YouTube, Dailymotion and Vimeo links. Also supports iFrame and inline content.
    Text Domain: easy-fancybox
    Domain Path: languages
    Version: 1.5.6
    Author: RavanH
    Author URI:
    http://status301.net/
    */

    /* Copyright 2013 RavanH (email : ravanhagen@gmail.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    */

    /*
    For Installation instructions, usage, revision history and other info: see readme.txt included in this package
    */

    /**************
    * CONSTANTS
    **************/

    define( ‘EASY_FANCYBOX_VERSION’, ‘1.5.6’ );
    define( ‘FANCYBOX_VERSION’, ‘1.3.6’ );
    //define( ‘FANCYBOX2_VERSION’, ‘2.0.6’ );
    define( ‘MOUSEWHEEL_VERSION’, ‘3.1.3’ );
    define( ‘EASING_VERSION’, ‘1.3’ );
    define( ‘METADATA_VERSION’, ‘2.1’ );
    define( ‘EASY_FANCYBOX_PLUGINBASENAME’, plugin_basename(__FILE__) );
    define( ‘EASY_FANCYBOX_PLUGINFILE’, basename(__FILE__) );

    // Check if easy-fancybox.php is moved one dir up like in WPMU’s /mu-plugins/
    // or if plugins_url() returns the main plugins dir location as it does on
    // a Debian repository install.
    // NOTE: WP_PLUGIN_URL causes problems when installed in /mu-plugins/
    if( !stristr( plugins_url( ”, __FILE__ ), ‘/easy-fancybox’ ) )
    define( ‘EASY_FANCYBOX_SUBDIR’, ‘easy-fancybox/’ );
    else
    define( ‘EASY_FANCYBOX_SUBDIR’, ” );

    define( ‘EASY_FANCYBOX_PLUGINDIR’, dirname(__FILE__) . ‘/’ . EASY_FANCYBOX_SUBDIR );
    define( ‘EASY_FANCYBOX_PLUGINURL’, plugins_url( ‘/’ . EASY_FANCYBOX_SUBDIR, __FILE__ ) );

    /**************
    * CLASS
    **************/
    require_once(EASY_FANCYBOX_PLUGINDIR . ‘easy-fancybox-class.php’);

    easyFancyBox::run();

    Thanx

  • #3366

    jean-christophe
    Participant

    I disabled all others plugins, it seems to work… All plugs were there before…

    I don’t understand why Dailymotion’s videos never worked with Easy FancyBox..

  • #3365

    RavanH
    Keymaster

    Salut Jean-Christophe,

    It does seem to work now on your site. Which plugins did you have to deactivate before it started working again?

    About Dailymotion: those should work fine. Can you share an example on your site where it is not working for you?

    Kind regards,
    Rolf

You must be logged in to reply to this topic.