PDA

View Full Version : ImageShack upload option when posting


mkdevo
18 Dec 2005, 15:22
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
18 Dec 2005, 15:36
Very nice!!!!

Thanks

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

MentaL
18 Dec 2005, 17:30
awesome

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

rb290
18 Dec 2005, 19:10
only worked for firefox, how can i get it to work with i.e.

Yorixz
18 Dec 2005, 19:26
This is wonderfull, I'm sure many people will be happy with this :)

Corriewf
19 Dec 2005, 00:57
Danny already released this......
http://www.vbulletin.org/forum/showthread.php?s=&threadid=94805

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

Corriewf
19 Dec 2005, 02:27
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
22 Dec 2005, 09:17
uninstalled it again since it doesn't automatically insert the VB code into the message

Xtrato
22 Dec 2005, 19:09
it not hard to do yourself you lazy bum :D

Allan
22 Dec 2005, 20:04
Thanks, Click Install ;)

Danny Diamond
29 Dec 2005, 03:08
Thanks man. Works on 3.5.1 as well.

apollooooooo
10 Jan 2006, 14:39
thanks

vietfancy
23 Jan 2006, 15:20
cool

G_Man
11 Feb 2006, 21:48
Good Stuff!!!

Thanks for posting that!!!