vForums Support > Programming & Coding :: Database of Codes/Hacks/Mods :: > vF File Uploader

vF File Uploader - Posted By Michael (wrighty) on 9th Feb 08 at 3:40pm
The File Uploader!

Firstly, simie coded this for Proboards. I have merely had the pleasure of converting it to vF and also hosting it! {Smile}

Preview: Clickeh!

A script that allows people to attach files to their posts, saving them from uploading them somewhere else.

This allows you to upload any of the following file types:

Image


There is a max file size limit of 1mb.

Files can be flagged as dangerous or inappropriate, and will be checked by me, or another person who is helping me moderate the files.

These are the different Icon types:
IconDescription
ImageFile has not been flagged or moderated.
ImageFile has been flagged and is queued for moderation.
ImageFile has been removed by a staff member.
ImageFile is awaiting moderation from an administrator (If a staff member doesn't know what to do with it.)
ImageFile has been reviewed and approved.
ImageFile has been removed due to a TOS violation.


Inactive Downloads

Files that haven't been downloaded in 20 days will be deleted, to save space for more uploads.

The Code:

Code:
 
  1. <script type="text/javascript">;
  2. /*----------------------------------------*\
  3. |File Uploader
  4. |Created by Simie, (C) 2007-Present.
  5. |Do not repost without permission
  6. |Modified for compatibility & Hosted By Wrighty
  7. \*----------------------------------------*/
  8. var script = document.createElement("script");
  9. script.src="http://vf.wrighty.info/codes/uploader/fileUploader.js";
  10. script.type="text/javascript";
  11. document.body.appendChild(script);
  12. </script>
 


Global FOOTER

While every attempt possible has been taken to stamp out any bugs in this code, some may remain.
If you have found a bug, or have a suggestion, please email me at
admin@wrighty.info

Have fun!

Re: vF File Uploader - Posted By Skillion (skillion) on 20th Feb 08 at 5:31am
isnt that preview from proboards {Tongue Out}

Re: vF File Uploader - Posted By Michael (wrighty) on 20th Feb 08 at 7:43am
yes, but it's the same.

Re: vF File Uploader - Posted By ajay (ajay) on 20th Feb 08 at 11:59pm
Its the same from proboards

Re: vF File Uploader - Posted By Skillion (skillion) on 24th Feb 08 at 12:54am
i know lol

Re: vF File Uploader - Posted By Marc (cr0w) on 24th Feb 08 at 12:55am
Posted By ajay on 20th Feb 08 at 11:59pm
 
Its the same from proboards


That was stated two posts before yours; please take the time to read through a thread before posting. {Unsure}

Re: vF File Uploader - Posted By GlitchesSocom (ravenelle) on 21st May 09 at 10:12pm
The Link to this external script is dead....can anyone get a hold of Wrighty?

Re: vF File Uploader - Posted By Michael (wrighty) on 21st May 09 at 10:37pm
There's a wImg Uploader that you can use instead. This one has been taken offline long time ago! {Smile}  
 

Re: vF File Uploader - Posted By ashkir (ashkir) on 22nd May 09 at 12:04am
Try this one =) http://support.virtualforums.co.uk/board/codesubmit/topic/24858/action/view_topic/wimg-host-uploader

Re: vF File Uploader - Posted By pth (pth) on 11th Nov 09 at 4:30pm
that thread doesn't work either, is there somewhere else we can get a code for the file uploader?

Re: vF File Uploader - Posted By Tim (grievous) on 11th Nov 09 at 5:59pm
 
that thread doesn't work either, is there somewhere else we can get a code for the file uploader?


Ignore michael's post about the wImg uploader..he foolishly got rid of wImg.

As for where to find the code, I'm not 100% sure. I'll do some snooping and see if I can find it. In the meantime, a staff member might know.

Re: vF File Uploader - Posted By Ross (admin) on 11th Nov 09 at 7:08pm
Hi,

There's no need for a code to do this anymore. It's a built in feature {Smile}

Just click the "Insert Image" UBBC button and you'll be given the option of uploading an image straight from your computer.

Re: vF File Uploader - Posted By dog199200 (dog199200) on 12th Nov 09 at 5:37pm
Ross,

I thought the uploader only does images? Plus if i recall it has a rather small upload limit which i don't remember what it is.