Support » Plugin: NextGEN Monoslideshow » Fix for working with Nextgen 2.0

  • Resolved Icodia – Service developpement

    (@icodia-service-developpement)


    Hello,

    I just fix it after half a day searching hard.
    Everything take place in the file monoslideshow.php :

    Line 55, replace :
    add_action('parse_request', array(&$this, 'check_request'));
    With :
    add_action('parse_request', array(&$this, 'check_request'), 9);

    Line 95, replace “check_request” method with :

    function check_request( $wp ) {
    	if(strstr($_SERVER["HTTP_REFERER"], "monoslideshow.swf")){
                require_once (dirname (__FILE__) . '/xml.php');
                exit();
          }
          else return;
        }

    Have fun,
    Icodia’s developpement team.

    http://wordpress.org/plugins/nextgen-monoslideshow/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thank you! I just encountered this same error at a customer site after installing WP 3.6. Your fix worked perfectly.

    For me as well..

    WP 3.6
    NextGen 2.0.7
    NextGEN Monoslideshow 0.9.6 + above fix

    Thanks!

    Hmm. I made the change on line 55 and then on 99 replaced

    function check_request( $wp ) {

    if ( !array_key_exists(‘callback’, $wp->query_vars) )
    return;

    if ( $wp->query_vars[‘callback’] == ‘monoslideshow’) {
    require_once (dirname (__FILE__) . ‘/xml.php’);
    exit();
    }

    }

    with

    function check_request( $wp ) {
    if(strstr($_SERVER[“HTTP_REFERER”], “monoslideshow.swf”)){
    require_once (dirname (__FILE__) . ‘/xml.php’);
    exit();
    }
    else return;
    }

    But I am still getting the “something went wrong… slideshow doesn’t contain any items” error message. Am I missing something?

    Thread Starter Icodia – Service developpement

    (@icodia-service-developpement)

    Hi !

    Same problem since version 2.0.11 of NextGen Gallery. Here is the new fix :

    function check_request( $wp ) {
     	if(strstr($_GET["callback"], "monoslideshow")){
                require_once (dirname (__FILE__) . '/xml.php');
                exit();
          }
          else return;
    
    and always :
    Line 55, replace :

    add_action(‘parse_request’, array(&$this, ‘check_request’));

    With :

    add_action(‘parse_request’, array(&$this, ‘check_request’), 9);
    }

    Thanks!

    Danke für den Fix!
    jetzt funktionieren alle meine alten monoslideshow posts wieder

    Thank you

    That’s great, thanks!

    thanks!

    Hello,

    I have a problem with the plugin NextGen Gallery 2.0.40 on WordPress 3.8.1. I can’t display the items of the “Gallery Settings” tab. For example, nothing appears in the menu “Display galleries as”.

    What can I do ?

    My confiugration :
    Operating System : Linux (32 Bit)
    Server : IcodiaSecureHttpd
    Memory usage : 43.19 MByte
    MYSQL Version : 5.5.15-log
    SQL Mode : Not set
    PHP Version : 5.3.27
    PHP Safe Mode : On
    PHP Allow URL fopen : Off
    PHP Memory Limit : 128
    PHP Max Upload Size : 64M
    PHP Max Post Size : 64M
    PCRE Backtracking Limit : 1000000
    PHP Max Script Execute Time : 120s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes

    Thank you for you help

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fix for working with Nextgen 2.0’ is closed to new replies.