This simple hack uses Image Shack ( A free image hosting website ) built in uploading tool as a quick way to host your members attachments on Image Shack, which is a huge bandwith saver!
[high]Features:[/high]
-Permission to be able to use it
-Works on both New Post and New Thread
[high]Install Process:[/high]
There are two versions of this hack. One is with Permissions, which takes longer to install since it has more file edits and a query that needs to be executed. And the other doesn't have permissions, and has less file edits. The complete process of both versions are below:
With Permissions
Files to edit(4)
Templates to edit(2)
New Template (2)
New Phrase (1)
Queries (1)
Without Permissions
Files to edit(2)
Templates to edit(2)
New Template (2)
New Phrase (1)
[high]Install Time[/high]: Quick, ~5-10 minutes
Please note, Image Shack only provides hosting for images.
Supported Image Types: jpeg jpg png gif bmp tif tiff swf
I found these instructions on the image shack site for integration with vbulletin:
These instructions will help you to install 'ImageShack on your Site' into the reply and post-new-thread sections of your vBulletin message board, thus giving your visitors the ability to upload images directly. After upload, they may paste the images directly into their post box.
1) Log into your admin cp, and click on Styles and Templates, then Style Manager.
2) For the theme (or themes) that you would like to add the iframe to, select in the drop down box "Edit Templates". You should see a whole list of template groups now.
3) Click the "[? ?]" on the "New Posting Templates".
4) To add the box to the reply page, click edit on the bullet point that says
"newreply".
6) Paste the iframe code DIRECTLY AFTER the instance mentioned above.
Code:
<fieldset class="fieldset"><legend>Upload your images to ImageShack</legend>
<div style="padding:$stylevar[formspacer]px">
<iframe src="http://imageshack.us/iframe.php?txtcolor=111111" scrolling="no" allowtransparency="true" frameborder="0" width="280" height="70"> You must
have an iframe-compatable browser to view the ImageShack.us upload form.</iframe></div></fieldset>
7) Click Save.
8) To add the iframe in the new thread page, click edit on "newthread".
9) Repeat steps 5, 6, and 7.
10) Login to your message board as a regular user. Either click "Post New Thread" or reply to an existing thread in order to test out your new Image Hosting Service!