vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Image Hosting (https://vborg.vbsupport.ru/showthread.php?t=75158)

loneranger 01-25-2005 10:00 PM

Image Hosting
 
Image hosting v1.0

This is my first relase of this script, if people can test it and let me know any bugs please.

Features
  • Upload image
  • Restrict Image Type
  • Restrict Image Size
  • Restrict Image Dimensions
  • Restrict amount of images
  • Delete upload images
  • Restrict who can upload images
  • and more...

nexialys 01-26-2005 03:38 PM

would be great to have a screenshot or a description of your personal use of the script... because for now... vague!
(there is no such tool in the db right now, so it's a good thing to have this, but!)

loneranger 01-26-2005 03:47 PM

i use this system so users can upload an image to my server and can hot link, The user can then post his image on other boards or just my board. I will get some screenshots for you

a Live demo at
www.sig-mania.co.uk/forums/index.php

the link is on the navbar, you will need to sign up first to use it

FleaBag 01-26-2005 05:17 PM

Is this secure? IE what's the chances of someone manipulating it to upload php files?

yoyoyoyo 01-26-2005 05:23 PM

cool idea! add this to the "add watermark" hack and it could be a great way to advertise your site! :D

SVTBlackLight01 01-26-2005 06:30 PM

Great idea! The only suggestion I would have would be to limit users to max total upload size instead of number of uploads.

Red Blaze 01-26-2005 07:30 PM

I'd like this merged as awards, or with the Ushop hack. Would be nice.

Reeve of shinra 01-26-2005 07:37 PM

:: big thumbs up :: I cant wait to get home and install

noppid 01-26-2005 07:42 PM

Good job coding, but couldn't this bring a hosting account down quickly?

I think if someone hosted an 800KB file and then linked to it on a busy forum in their signature, your bandwitch would be gone in no time.

10GB/800KB=12500 Downloads or displays to use 10GB of bandwidth.
12500/50=250 Downloads or displays each for 50 users to use up 10GB bandwidth.

This is the extreme, but as you can see it adds up fast. This will make the hosts that offer unlimited BW for $8.00 cringe I bet!

On the other hand, limiting pics to 64K...
10GB/64KB=156250 Downloads or displays to use 10GB of bandwidth.
That is alot more views per 10GB, but certainly possible to use up.

Ok, I'll put the calculator away now.

Have you seen the usage go up on your site with remote hits to the database to retrive the images? I'm wondering if this would be a great front end for uploading to a folder via php and just using a url for the link eliminating the DB calls for the vB backend and image retrival. You'd have all the security for uploading and managing images and none of the DB overhead on displays or storage.

Just some thoughts to consider.

Cheers!

SVTBlackLight01 01-26-2005 08:28 PM

Another reason to limit upload file size instead of number of uploads. I think that the increase in bandwidth should be expected with this sort of hack, as with any other image hosting or gallery script would. Although it would be great if some sort of bandwidth limit or vB's built-in server load limit could be integrated with this hack.

Also, what dependable host offers true unlimited bandwidth for $8?


All times are GMT. The time now is 10:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00970 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete