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
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…