• fergu5

    (@fergu5)


    I’m running WordPress MU 2.9.2 and NextGen Gallery 1.5.1

    When I click ‘Add Gallery / Images’ I only get the options to ‘Add new gallery’ or ‘Upload Images’ the ‘Upload a Zip-File’ and ‘Import image folder’ options are both missing?

    Please can you help?

    fergu5

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter fergu5

    (@fergu5)

    OK – I’ve answered half of my own question…

    I’ve found how to get the ‘Upload a Zip-File’ option to be displayed.

    Under ‘Site Admin’ click ‘NextGEN Gallery’ then tick the box next to ‘Enable zip upload option:’ – Easy once you know how;-)

    Still have no idea how to get the ‘Import image folder’ option to show.

    Any ideas?

    fergu5

    Thread Starter fergu5

    (@fergu5)

    LOL – I think I’ve answered the second part of my question too.

    In the file ‘addgallery.php’ at lines 267-268 there is the following if statement…

    if (!IS_WPMU && nggGallery::current_user_can( ‘NextGEN Import image folder’ ) )
    $tabs[‘importfolder’] = __(‘Import image folder’, ‘nggallery’);

    This checks amongst other things whether or not you are using WordPress MU. If you are using MU, like I am, then you are not shown the ‘Import image folder’ option. I can only imagine this is to stop directory browsing to other blogs on the same web server as a matter of security – it does however stop me using a good feature of NextGEN Gallery.

    Alex – is there any other way this feature can be resticted? At present I have just amended line 267 to read…

    if (nggGallery::current_user_can( ‘NextGEN Import image folder’ ) )

    to get me round this issue.

    fergu5

    Alex Rabe

    (@alexrabe)

    In the first version is by design not allowed to import for WPMU blogs, when I catch some time I will make it more flexible…

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

The topic ‘[Plugin: NextGEN Gallery] Missing Upload/Import options’ is closed to new replies.