Advertisement:

Advanced file upload utility

Aloittaja Kender, maaliskuu 05, 2008, 06:20:01 AP

« edellinen - seuraava »

Kender

I have an advanced upload util, it is fully integrated with SMF forum

It is not a mod, but more of an addon

it had a language file, and ability to select language
it stores settings in file, not database
admin can set
- usergroups allowed to upload (if not allowed will get not allowed message)
- max size of folder
- language based on  language.english(spanish,german).php file
- allowable uploadable extensions (txt,png,gif,rar,zip)
- <title> of page
with entering the files, you can set
- wether upload is possible
- force download or view in page


users can
- view directory (based off $ID_MEMBER (if not the members dir, they will get error))
- upload file
- download file
- create directory (subdir of member folder) for organizaation


admin has access to view all members files, and upload directly to member directory



working on....
delete

and anything else anyone thinks may be needed
http://chucknorris2012.com  Avoid a roundhouse kick to the head!  Sign the petition

Kender

this uses SSI not installed

you can place it anywhere in your directory tree, first load will request location of ssi.php, then install it (only users who can admin forum can admin this)

i probably wont include all requested info for updates, and cant provide it here, but if you request the files i can send them to you in zip
http://chucknorris2012.com  Avoid a roundhouse kick to the head!  Sign the petition

Kender

update..

this is simple, yet not so...

to install you would upload to any directory, load the index page it will ask for your ssi page (it will actually give you suggestions too)

once loaded, if you can admin the site you will be given an admin menu
admin menu can set following options

max folder size, membergroups allowed to access, extensions allowed, language (english only now, but in a language file for ease of translating), page <title>



user page (if allowed to view)
list of files, with breadcrumb trail (each user has unique directory, cannot access other users directories)
ability to make a directory in main directory for user ("site.com/fileserv/12/newsubdir")
ability to delete files and directories (even full directories, with a warning that it is permanent)
upload files (restrictions enforced on storage allocation)


integrated with forum theme (any) using ssi calls instead of modding site

i can tell you how to add buttons and can send files in .zip
http://chucknorris2012.com  Avoid a roundhouse kick to the head!  Sign the petition

baijianpeng

JoomlaGate: The way to the World of Joomla!

http://www.joomlagate.com

Kender

in all honesty, i dont know how, its that simple  :P

and it works perfectly as an ssi call for me
http://chucknorris2012.com  Avoid a roundhouse kick to the head!  Sign the petition

lodle


Kender

you can get the download from..

http://junebugbug.com/downloads/fileserv.zip

unzip the folder and insert anywhere in your domain, it should work fine from any directory, inside or outside of your smf folders

when you have it uploaded, access the fileserv/index.php file, and it will ask for your location to your ssi.php file (and should give recommendations of where when it does)

if you notice any bugs, please send it here
if you create language files please forward them to me so that i can add them to the zip

http://chucknorris2012.com  Avoid a roundhouse kick to the head!  Sign the petition

T3CHN0

Hello
Old topic I know, but in the hope you still have this!
I am making something like this my self but want something a little more secure that only members with permission can access.

I would like to download this and try it out.
The download link doesn't work.

Kindred

unfortuately, this use has not logged in since Dec 2012 and, given the dates, I suspect this was designed for 1.1.x
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

T3CHN0

Thanks Kindred
I will keep looking around. I have something already working but it's open to anyone.
I am now looking for something that needs a member login for uploads to work.
I need to allow file size up to 1GB as members send large car repair video's to me.
files need to upload to my domain.

If anyone knows of something and read this post, please let me know.

Cheers

Kindred

smfhacks/vbgamer has a downloads mod that allows files to be uploaded (and downloaded)

AEVA media gallery also allows such uploads...
I suspect that SMF MEdia Gallery (by SMFHacks) can also do that
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

T3CHN0

Thanks again Kindred.
I have got them all, none of them show a progress bar unfortunately
but then again I should really see if there are any updates as I have not updated them for the past year or so.

Members tend to think the browser has crashed if they see nothing happening and keep trying or give up.

Sir Osis of Liver

Coincidently, just spent three days dicking around with a php file uploader, trying to add a progress bar for just the reason you mentioned.  Ended up using javascript () to add a loading widget () that shows users upload is in progress.  Couple of ways to do it, depending on how your front end is coded.
When in Emor, do as the Snamors.
                              - D. Lister

Arantor

I'd be looking at what 2.1 implemented, they seem to have implemented some kind of support for that.
Holder of controversial views, all of which my own.


radu81

sorry for my bad english

T3CHN0

Lainaus käyttäjältä: radu81 - kesäkuu 17, 2014, 04:27:48 IP
Aeva does

just searched through google images: http://canvascampers.com/MGalleryItem.php?id=1115
I like the look of this one, that would be great if it was a mod for uploading.
I am surprised no one has made a mod for uploading only, there is a lot of more complex mods then just uploading.

Adding this might help thanks. but one that said 10% 20% > > 100% would be better.

Thanks for your reply's everyone.

Kindred

well, the thought is that there is no real need to "upload only". The whole point of a forum is to share stuff... so making it upload and share for download really is the main point of most mods.

That being said....  I know that you can use the SMF Downloads mod like that - by setting permissions to allow uploads and not allow downloads
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

T3CHN0

Hi
I was thinking I might try add a java script into the upload php of the smf downloads
so it shows active but don't know if I will get it to work or not, that's my only other option at the mement.

Kindred

you can talk to vbgamer (the author) about it...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

Lainaus käyttäjältä: T3CHN0 - kesäkuu 18, 2014, 04:45:33 AP
Adding this might help thanks. but one that said 10% 20% > > 100% would be better.

Adding an actual progress bar is a lot more complicated, this works fine for my purposes.  I'll post the code if you want to try it.  You can go here and roll your own gif.
When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: