Log in

View Full Version : ImageShack upload option when posting


mkdevo
12-17-2005, 10:00 PM
Personally, I have attatchments disabled for regular users, and I always get asked the question, 'where can I host a picture?'.

ImageShack actually provides code to enable you to add an ImageShack upload form on your forum. NOTE: The following code was NOT written by me. It was provided by ImageShack (here (http://reg.imageshack.us/vb.php)), and I am simply passing it on for those of you who don't know about it.

Install time: < 2 minutes.

INSTRUCTIONS:

In your newreply, newthread, editpost, or pm_newpm templates, FIND:

<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
$disablesmiliesoption
</div>
</fieldset>

ADD AFTER:

<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>

Note that this code can be added to any or all of the above templates (newreply, newthread, editpost, or pm_newpm).

That's it. Enjoy!

eViL_sTiGmA
12-18-2005, 02:36 PM
Very nice!!!!

Thanks

thedvs
12-18-2005, 03:02 PM
Is it possible to do this so that its only allowed & shown in a specific forum?

MentaL
12-18-2005, 04:30 PM
awesome

rb290
12-18-2005, 05:54 PM
how do you get a iframe browser ?
tells me page cannot be displayed

rb290
12-18-2005, 06:10 PM
only worked for firefox, how can i get it to work with i.e.

Yorixz
12-18-2005, 06:26 PM
This is wonderfull, I'm sure many people will be happy with this :)

Corriewf
12-18-2005, 11:57 PM
Danny already released this......
https://vborg.vbsupport.ru/showthread.php?s=&threadid=94805

mkdevo
12-19-2005, 12:22 AM
d'oh! bummer.. i just searched for 'imageshack' in the subject line.. oh well.. :(

Corriewf
12-19-2005, 01:27 AM
d'oh! bummer.. i just searched for 'imageshack' in the subject line.. oh well.. :(

Easy to do. Just shows how good of an idea it is right. :)

dreamer81
12-22-2005, 08:17 AM
uninstalled it again since it doesn't automatically insert the VB code into the message

Xtrato
12-22-2005, 06:09 PM
it not hard to do yourself you lazy bum :D

Allan
12-22-2005, 07:04 PM
Thanks, Click Install ;)

Danny Diamond
12-29-2005, 02:08 AM
Thanks man. Works on 3.5.1 as well.

apollooooooo
01-10-2006, 01:39 PM
thanks

vietfancy
01-23-2006, 02:20 PM
cool

G_Man
02-11-2006, 08:48 PM
Good Stuff!!!

Thanks for posting that!!!