Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION How to harness file Uploads
#1
Hey There,

I have been working on a plugin for private use on a website for my brother. It closely resembles a slideshow or gallery plugin with some minor differences. However the main issue with my plugin is that I can't seem to get images to upload to the site with the form I have created.

I haven't seen or found any documentation on this and was wondering if anyone had any suggestions? I had tried to change the location of the tmp folder for uploading, where the $_FILES['tmp'] super global brings the images to on my local server and hadn't been successful. Likewise, I attempted to switch on and modify the tmp folder on my host's server but was unable to.

Does anyone have any suggestions or workarounds? I am currently scanning through other plugins to see how this same function was used. Any help is appreciated.

Cheers!
Reply
#2
Other plugins usually use the included file uploader for this.

There are some alternative filemanagers for GS, maybe you can check how their upload part works (or ask those developers for help):

http://get-simple.info/extend/plugin/res...nager/962/

http://get-simple.info/extend/plugin/kcf...nager/524/
Reply
#3
(2016-03-30, 20:07:45)datiswous Wrote: Other plugins usually use the included file uploader for this.

There are some alternative filemanagers for GS, maybe you can check how their upload part works (or ask those developers for help):

http://get-simple.info/extend/plugin/res...nager/962/

http://get-simple.info/extend/plugin/kcf...nager/524/

Excellent, thanks for your suggestions. I will look into these options. 

Cheers!
Reply
#4
There's also some maybe relevant info about this here: http://get-simple.info/forums/showthread...6#pid55806
Reply




Users browsing this thread: 1 Guest(s)