PDA

View Full Version : Bulk Upload to Image Gallery Hack


Bharrabhaz
06-27-2006, 06:38 PM
I was with a problem:

I needed to up many pics in my site image gallery and i have some parters with help me with this,
because itīs a site with many pics of local events, but i dont wanna give FTP
access to them, because itīs very insecure to me.

So, i discovered a cool php script with permit multiple file uploads and integrate
& configured to work in subdreamer panel, so now me and my frinds have now multiple
file upload to later, make a batch upload import in gallery panel...

Lets go:

1. CHMOD you upload folder in "subdreamer/plugins/p17_image_gallery/upload/
to cHMOD 777.

2. Unzip & Upload the files in a folder called uploadtool in subdreamer/admin

3. Edit the file SFUConfig.php (of the upload script) in the lines
37 & 41 to changes to your root & URL site

4. Edit the file subdreamer/admin/menu.php and localize the section:

// ########################## Menu_Image Manager**##########################

and insert a line after
PrintMenuRow('imagemanager.php?action=displaysmili es', 'Emoticons');

like this:
PrintMEnuRow ('uploadtool/upload.php', 'Upload Tool');


5. Enjoy !!!


PS: A tool like this will be default in Subdreamer !!!
I configured to work with 20 files at time, but you can change this to your necessities, just edit the script
configuration file.
I leave other files types configured, but you can remove them and give only JPEG access, but i
leave this, to you see how configure others files with this script, so u can use it to upload
in others site areas...

PS: I install the script link in the Image Manager sction, but u can change this to others areas...

falcone
06-29-2006, 05:27 PM
great work dude

abcohen
06-29-2006, 06:16 PM
nice work.