Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Image/File Uploader Details »
Image/File Uploader
Mod Version: 1.00, by tnguy3n (Member) tnguy3n is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.0.3 Rating: (1 vote - 5.00 average) Installs: 38
Released: 04 Sep 2004 Last Update: Never Downloads: 15
Not Supported  

Coded by tnguy3n for http://www.all4actions.net
Live Demo: http://www.all4actions.net (create a thread or reply)

Well, I wrote this lil script for my board so that my member can upload images/pics since my board host lots of images of movie stars and all such, and database grows really fast if using Attachment Manager. It's been released at my forum for a while now, and didn't have time to post it here... it's fully tested, but maybe there'r still few bugs may be found.

What can you do with this script?
- Allow certain membergroups to access the script
- Upload img/banner in signature (sig hosting)
- You can set the max width & height, in case ppl upload huge image & break table cell of your forum
- You can set max filesize and allow certain extensions to be uploaded

lots more features will be added to v.2 of the script, admin can add file extensions, filesize and keep track on upload dir via Admin CP.

P.S. Due to mah busy schedule, support for this hack will be very limited ... You guys can find me on at my board sometimes, or post bugs in this thread: http://all4actions.net/forums/showthread.php?t=3389

------

If you want certain membergroups to see this File/Image Uploader option, you can use conditional in your template, i.e:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 04 Sep 2004, 22:43
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Real name: Nguyễn
Sreenshots

here goo few screenshots

Last edited by tnguy3n; 31 Mar 2007 at 20:20.
Reply With Quote
  #3  
Old 04 Sep 2004, 22:46
MiskaTorn MiskaTorn is offline
 
Join Date: Aug 2004
Can you make it so that the pictures can only be posted on your domain or other selected ones as well? DOn't need people eaqting up my bandwidth again with this

Looks awesome though
Reply With Quote
  #4  
Old 04 Sep 2004, 22:56
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Real name: Nguyễn
Originally Posted by MiskaTorn
Can you make it so that the pictures can only be posted on your domain or other selected ones as well? DOn't need people eaqting up my bandwidth again with this

Looks awesome though
how about disabling hotlink?
Reply With Quote
  #5  
Old 04 Sep 2004, 23:10
nexialys
Guest
 
would be simply better if the attached files are included in the post, like when we add smilies in our posts... so users don't have to copy/paste the code...
Reply With Quote
  #6  
Old 04 Sep 2004, 23:42
Mr. HillBilly Mr. HillBilly is offline
 
Join Date: Oct 2003
Where can users see what images they have uploaded?
Reply With Quote
  #7  
Old 04 Sep 2004, 23:44
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
omg omg omg omg omg omg omg omg omg ty
Reply With Quote
  #8  
Old 05 Sep 2004, 12:12
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
Will this allow uploads more than say 3mb though or is it only for very small files.
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #9  
Old 05 Sep 2004, 12:32
nexialys
Guest
 
@ Mindtrix : PHP upload is limited by your server, not by scripts...
Reply With Quote
  #10  
Old 07 Sep 2004, 17:20
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Real name: Justin
can you limit the number of files uploaded in one post?
Reply With Quote
  #11  
Old 07 Sep 2004, 17:27
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Question

Thanks, I will try


While editing the showthread_quickreply template, I kinda lost it after this:
<!--######## Scroll down about 3/4 of the page, look for: ######## -->

Look for your signature fieldset, and ABOVE IT, ADD:
What is the exact line that I need to look for, so that I can put the next thing above it? Because after 'look for' there's nothing to look for :surprised:
Reply With Quote
  #12  
Old 08 Sep 2004, 00:29
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Real name: Nguyễn
Originally Posted by TCB
Thanks, I will try


While editing the showthread_quickreply template, I kinda lost it after this:


What is the exact line that I need to look for, so that I can put the next thing above it? Because after 'look for' there's nothing to look for :surprised:

in showthread_quickreply, find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above it, add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #13  
Old 14 Sep 2004, 17:52
Milorad Milorad is offline
 
Join Date: Mar 2003
what happens if a file already exists?

if its overwritten is there a way to make it generate an error instead?
Reply With Quote
  #14  
Old 14 Sep 2004, 23:26
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Real name: Nguyễn
Originally Posted by Milorad
what happens if a file already exists?

if its overwritten is there a way to make it generate an error instead?
It won't overwrite, but to print an error message instead.
Reply With Quote
  #15  
Old 15 Sep 2004, 02:26
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
What about security issues - will it test to see if the file is an image ?

Reason I ask, is that with a tool like this, someone could upload a FTP php script and then access your whole server with web-server privileges...
__________________
Natcher00
... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
... also he's Penfold to Dark_Wizard's Danger Mouse in development of vBWar
http://www.mobileforces.org/sig.jpg
{DaniWeb: Learn HOW-TO mod_rewrite your vB board}
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:31.

Layout Options | Width: Wide Color: