Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
ImageShack Like Multi Uploader for you vB Details »
ImageShack Like Multi Uploader for you vB
Mod Version: 1.3b, by flup (Member) flup is offline
Developer Last Online: Oct 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 4
Released: 24 Dec 2008 Last Update: 25 Dec 2008 Downloads: 33
Not Supported Template Edits Additional Files Re-usable Code Translations  

For this modification I used the 'yet another vB Login on non-vB Page' by 'Calorie'.

What does it do
Well, it's pretty simple actually. I created a page which can be called from the navbar in a popup and will allow your users to upload up to 10 images at a time. Non logged-in users will be prompt with an error message.

It has no restriction on filesize and dimensions what so ever! But it does resize all images according to a 640*480 dimension with keeping the original aspect ratio.

What do you have to do?
1. Create a folder in your forum folder called 'uploaded' and CMODD it with 777

2. Add the following JS to your headinclude template BEFORE <!-- CSS Stylesheet -->:

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

3. Create a link in the navigation bar (either in navbar template or header template) with the following link:

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

4. Change the configuration values at top of the upload.php file:

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

5. Upload the file in the attachment to your forum root directory aswell as the watermark.png image

6. Finished!

Test Results
I tested the script by uploading this image:
File Dimensions: 2576 x 1920 pixels (7.1 Megapixels)
File Size: 2,14 MB (~ 2214 kb)

After uploading there was a file with these stats:
File Dimensions: 640 × 477 pixels (notice the aspect ratio is kept original)
File Size: 278 kb (~ 0,2 MB)

Version Changes v1.3
- Added the option to choose where the watermark is placed (left/right-top, left/right-bottom)
Version Changes v1.3b
- This version is similar to v1.3, but instead of YOU having the option to select the position of the watermark, a user will be able to choose via a dropdown menu. (See screenshot)

Version Changes v1.2
- Support for PNG watermarks (I noticed that the PNG background is not made transparant, I have no time to look at this, cause of having to celebrate christmas, I'll look at it asap!) (See screenshot of the car (bottomright is the watermark))

Version Changes v1.1
- Support for image resize for .GIF and .PNG images aswell

Version 1.0
- Support for image uploads (gif/jpg/png)
- Support for image resize for jpg images
- Up to 10 files at a time

Download Now

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

Screenshots

Click image for larger version

Name:	uploadform.jpg
Views:	128
Size:	29.6 KB
ID:	91142   Click image for larger version

Name:	uploadresponse.jpg
Views:	113
Size:	31.0 KB
ID:	91143   Click image for larger version

Name:	25122008_3301IMG_0598.jpg
Views:	64
Size:	273.2 KB
ID:	91161   Click image for larger version

Name:	uploaderv13b.jpg
Views:	73
Size:	45.0 KB
ID:	91162  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 25 Dec 2008, 02:46
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Real name: aupurbo
SWEET.. any plan to have watermarking option?
Reply With Quote
  #3  
Old 25 Dec 2008, 03:59
dvbusuario's Avatar
dvbusuario dvbusuario is offline
 
Join Date: Oct 2007
Error en las imágenes. Png
__________________

Webmaster: http://www.ElDestrampe.net
Reply With Quote
  #4  
Old 25 Dec 2008, 11:03
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Watermarking could be an option, im not sure what dvbusuario is referring to? Guess it had something to do with the resize function for PNG images.. that could be a problem yes.
Reply With Quote
  #5  
Old 25 Dec 2008, 11:18
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Script is updated, now also supports PNG and GIF resizing. Tested all filetypes with a 1024*768 document. The source files where roughly around 300 - 580kb, after resizing I had 122kb, 170kb and 194kb.

And support for a .PNG watermark, althoug transparancy isn't support yet I noticed (not sure why), so perhaps using a nice bar with a name/url of your site will do the trick aswell for now

Also added the date (dmY) in front of the image, this should make it easier to clean up the images folder once in a while when running near your upload limit

Last edited by flup; 25 Dec 2008 at 11:43.
Reply With Quote
  #6  
Old 25 Dec 2008, 11:40
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Real name: aupurbo
Thanks for the update. I got another idea to consider, how bout usergroup permissions as well!
Reply With Quote
  #7  
Old 25 Dec 2008, 11:53
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
There are usergroup permissions in the script allready, but that will only determine wether a user is able to use the uploader or not. Perhaps you are thinking of:

Admins: max. 10 per time
Mod: max. 5 per time
User: max. 2 per time

or something? If you only mean the access to the file per usergroup, use this at top of the script:


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

I added a functionality to set the place where the watermark will go.
Reply With Quote
  #8  
Old 25 Dec 2008, 12:01
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
I added a second version (v1.3b) which allowes users to select the position of the watermark theirselfs, perhaps there is some text in the bottom right corner which they don't want to overwrite.
Reply With Quote
  #9  
Old 25 Dec 2008, 12:06
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
I'm off to christmas diner, suggestions are welcome & enjoy using the script
Reply With Quote
  #10  
Old 25 Dec 2008, 17:11
dvbusuario's Avatar
dvbusuario dvbusuario is offline
 
Join Date: Oct 2007
add How to Copy image for a "url" directly
Attached Images
File Type: png url.PNG (52.8 KB, 14 views)
__________________

Webmaster: http://www.ElDestrampe.net

Last edited by dvbusuario; 25 Dec 2008 at 17:25.
Reply With Quote
  #11  
Old 25 Dec 2008, 17:29
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Not really planning on adding that, it's just basic functionality to improve using the [IMG] tag and images on forums. If there's an URL already just use that one between the [IMG] tags or save the images to your harddrive for uploading
Reply With Quote
  #12  
Old 29 Dec 2008, 07:07
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Will this work on vB 3.7 or later?
__________________

Reply With Quote
  #13  
Old 29 Dec 2008, 17:47
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Yep, will work for any version. There is no version related material.. however I'm in doubt now.. the login check might be changed during the versions after 3.5.4, give it a quick test.. it only involves 2 simple template changes which can be reverted in a seconden
Reply With Quote
  #14  
Old 29 Dec 2008, 19:11
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Does adding this prevent uploads of other files, such as MP3, PDF etc?

I am looking for something that watermarks my photos as I will be doing live coverage from a major tradeshow in Las Vegas next week and I don't want others stealing my photos but I dont want to prevent members uploading other types of files.
Reply With Quote
  #15  
Old 30 Dec 2008, 00:27
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
it checks the file's mimetypes (image/jpg image/jpeg image/png image/gif image/xjpg image/xjpeg I believe) otherwise the upload will be terminated..
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 16:52.

Layout Options | Width: Wide Color: