vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Add image to post, postimage.org (https://vborg.vbsupport.ru/showthread.php?t=270598)

dorans 09-19-2011 10:00 PM

Add image to post, postimage.org
 
1 Attachment(s)
Excuse me for bad English.

Makes it easy to place an image in the message.

Search in: editor_ckeditor
Code:

<vb:if condition="$smiliebox">editor_textbox_smilie</vb:if>">
add below
Code:

<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/showthrea...light=external

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

dorans 09-20-2011 05:40 AM

Quote:

Originally Posted by goxy63 (Post 2248072)
Looks nice

tagged, rated

Pozdrav

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

Quote:

Originally Posted by Max Taxable (Post 2248081)
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

Quote:

Originally Posted by Scalemotorcars (Post 2248089)
Use it with this mod to fix the above issue.

https://vborg.vbsupport.ru/showthrea...light=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

Quote:

Originally Posted by eyedream (Post 2315302)
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
Code:

<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /></div>
bottom add
Code:

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

<!-- / subject field -->
bottom add

Code:

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

<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />                        </div>
bottom add
Code:

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

{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
Code:

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

Quote:

Originally Posted by dorans
editor_ck editor return to the original.


xbrian88 03-14-2013 10:16 AM

Quote:

Originally Posted by dorans (Post 2375622)
newthread template
Code:

<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /></div>
bottom add
Code:

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

<!-- / subject field -->
bottom add

Code:

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

<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />                        </div>
bottom add
Code:

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

{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
Code:

<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/showthrea...=298017&page=2


All times are GMT. The time now is 04:53 PM.

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.01228 seconds
  • Memory Usage 1,767KB
  • 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
  • (18)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete