Log in

View Full Version : Miscellaneous Hacks - Add image to post, postimage.org


dorans
09-19-2011, 10:00 PM
Excuse me for bad English.

Makes it easy to place an image in the message.

Search in: editor_ckeditor
<vb:if condition="$smiliebox">editor_textbox_smilie</vb:if>">

add below
<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=english&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;"Add image to post </a><br /><br />

Addform.html upload to the root forum.

I ask the moderator to move if it is not a good place. Modification with postimage.org, script for vBulletin.

goxy63
09-19-2011, 11:41 PM
Looks nice

tagged, rated

Pozdrav

Max Taxable
09-20-2011, 12:25 AM
Years ago I had this in my 3.5.4 and it's almost okay, just be advised that postimage.org takes the images down after a very short time. Leaving you with lots of red x's in your postbit.

I do not recommend this.

Scalemotorcars
09-20-2011, 01:15 AM
Use it with this mod to fix the above issue.

https://vborg.vbsupport.ru/showthread.php?t=253309&highlight=external

Its fixed all my missing photobucket images and red x's. I just hate that...

dorans
09-20-2011, 05:40 AM
Looks nice

tagged, rated

Pozdrav

Thank you :) It's not my module, just use it:)

Years ago I had this in my 3.5.4 and it's almost okay, just be advised that postimage.org takes the images down after a very short time. Leaving you with lots of red x's in your postbit.
I do not recommend this.

Da li zna neko ovo za imageshack?

Max Taxable
09-20-2011, 11:57 AM
Use it with this mod to fix the above issue.

https://vborg.vbsupport.ru/showthread.php?t=253309&highlight=external

Its fixed all my missing photobucket images and red x's. I just hate that...That's a sweet mod, thanks for posting it.

sweetpotato
10-09-2011, 02:04 AM
Useful Mod, thank you. Is it possible to work with image from photobucket?

sweetpotato
10-09-2011, 02:34 AM
Not work with vb 4.1.7

Markos
01-26-2012, 08:05 PM
does this work in 4.1.10

eyedream
03-31-2012, 08:14 AM
vb 4.1.11 not working only come one dot :(

Akangage
04-01-2012, 04:26 AM
vb 4.1.11 not working only come one dot :(

Same with me, its dot only :(

Rickie43
08-27-2012, 02:50 AM
is this also available for vb 3.8?

elfenny
09-02-2012, 11:52 PM
I was interested in, does not work in 4.1.12

andrew67
10-23-2012, 11:22 PM
Can anyone with this working on 4.2.0 please post up where they have posted the code ? I had it working previously on 3.8, but since upgrading to 4.2.0 the templates are all different.

Thanks

dorans
10-24-2012, 01:20 PM
newthread template
<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /></div>
bottom add
<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=serbian&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">>>>>[ KLIKNI OVDE DA DODAŠ SLIKU ]<<<</a><br /><br />

-------------
pm_newpm template
<!-- / subject field -->

bottom add

<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=serbian&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">>>>>[ KLIKNI OVDE DA DODAŠ SLIKU ]<<<</a><br /><br />

newreply template
<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /> </div>

bottom add
<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=serbian&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">>>>>[ KLIKNI OVDE DA DODAŠ SLIKU ]<<<</a><br /><br />

editpost template
{vb:rawphrase message_by_x_on_y_at_z, {vb:link member, {vb:raw postinfo}}, {vb:raw postinfo.username}, {vb:raw postinfo.postdate}, {vb:raw postinfo.posttime}}:</div>

bottom add
<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=serbian&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">>>>>[ KLIKNI OVDE DA DODAŠ SLIKU ]<<<</a><br /><br />

editor_ck editor return to the original.
It only works in the full editor, not in quickedit

andrew67
11-07-2012, 12:04 AM
Thanks dorans, unfortunately the main place I need it is in quick reply. I am not quite sure what you mean here ?

editor_ck editor return to the original.

xbrian88
03-14-2013, 10:16 AM
newthread template
<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /></div>
bottom add
<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=serbian&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">>>>>[ KLIKNI OVDE DA DODA? SLIKU ]<<<</a><br /><br />

-------------
pm_newpm template
<!-- / subject field -->

bottom add

<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=serbian&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">>>>>[ KLIKNI OVDE DA DODA? SLIKU ]<<<</a><br /><br />

newreply template
<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /> </div>

bottom add
<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=serbian&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">>>>>[ KLIKNI OVDE DA DODA? SLIKU ]<<<</a><br /><br />

editpost template
{vb:rawphrase message_by_x_on_y_at_z, {vb:link member, {vb:raw postinfo}}, {vb:raw postinfo.username}, {vb:raw postinfo.postdate}, {vb:raw postinfo.posttime}}:</div>

bottom add
<br /><br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=serbian&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">>>>>[ KLIKNI OVDE DA DODA? SLIKU ]<<<</a><br /><br />

editor_ck editor return to the original.
It only works in the full editor, not in quickedit

quickreply??

xbrian88
03-20-2013, 04:47 PM
??????

dorans
02-26-2014, 07:29 AM
Postimage made ​​a good script for Vbulletin 4.xxx

https://vborg.vbsupport.ru/showthread.php?t=298017&page=2