Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple Image Upload Details »»
Simple Image Upload
Version: 1.4.0, by Sium Sium is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.2.1 Rating:
Released: 05-09-2013 Last Update: 05-09-2013 Installs: 16
Template Edits
Translations  
No support by the author.

Download: http://mod.postimage.org/download/si...in_english.zip

This is a very simple alternative to attachment mod. It works only with images and allows users to quickly add images to posts. All images are stored on third party image hosting service and bbcode for images is automatically inserted in posts when users upload images. Thumbnails are automatically created on image hosting server. This mod is very easy to install and very easy to use.

Code:
#
#---------[ 1. EDIT TEMPLATES ]------------------------------------------------
#

Log In and go to Admin Control Panel > Styles & Templates > Style Manager > Edit Templates > headinclude

#
#---------[ 2. BEFORE, ADD ]---------------------------------------------------
#

<script type="text/javascript" src="http://mod.postimage.org/vbulletin-english.js" charset="utf-8"></script>

#
#---------[ 3. SAVE ]----------------------------------------------------------
#

Other options and language settings are available here: http://postimage.org/mod.php

Powered by Postimage.org

Download Now

File Type: zip siu_vbulletin_english.zip (883 Bytes, 182 views)

Screenshots

File Type: png 1.png (21.4 KB, 0 views)
File Type: png 2.png (17.6 KB, 0 views)
File Type: png 3.png (13.4 KB, 0 views)
File Type: png 4.png (74.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-03-2013, 05:22 PM
hoangserip's Avatar
hoangserip hoangserip is offline
 
Join Date: Jun 2009
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UNINSTALLED
This mod is in error
Reply With Quote
  #13  
Old 06-05-2013, 06:18 PM
Toshinobu Toshinobu is offline
 
Join Date: Oct 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm on 4.2.1 and it didn't work for me.

The link never appears anywhere. I tried including it in the headinclude and the editor_clientscript template.

It appears to be an issue with the Javascript file. When I look at the source code I can see the code is incomplete.

Example of http://mod.postimage.org/vbulletin-e...ink-family.js:

Code:
// MOD Title: Simple Image Upload 
// MOD Author: Sium < admin@postimage.org > (N/A) http://postimage.org/ 
// MOD Version: 1.5.0 

if(typeof postimage_lang==='undefined') { 
var postimage_lang="english"; 
var postimage_add_text="Add image to post"; 

function postimage_query_string(postimage_search_name){
if(window.location.hash{
postimage_query=window.location.hash.substring(1).split("&");
for(postimage_i=0;postimage_i
That is exactly where the file ends.
Reply With Quote
  #14  
Old 10-08-2013, 02:06 PM
LordCo LordCo is offline
 
Join Date: Feb 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the site uses some script to stop people seeing the full code. I finally got to see the full code by using IE5

// MOD Title: Simple Image Upload // MOD Author: Sium < admin@postimage.org > (N/A) http://postimage.org/ // MOD Version: 1.5.0 if(typeof postimage_lang==='undefined') { var postimage_lang="english"; var postimage_add_text="Add image to post"; function postimage_query_string(postimage_search_name){if(w indow.location.hash){postimage_query=window.locati on.hash.substring(1).split("&");for(postimage_i=0; postimage_i<postimage_query.length;postimage_i++){ postimage_string_data=postimage_query[postimage_i].split("=");if(postimage_string_data[0]==postimage_search_name){postimage_string_data.shi ft();return unescape(postimage_string_data.join("="));}}}retur n void(0);}function postimage_isVisible(e){return e.offsetWidth>0 || e.offsetHeight>0;}function postimage_isEditor(e){return (e.id).indexOf('vB_Editor')>-1;}function postimage_isCkeditor(e){return (e.className).indexOf('ckeditor')>-1;}if(opener){var postimage_text=postimage_query_string("postimage_t ext");if(postimage_text){var postimage_id=postimage_query_string("postimage_id" );var postimage_area=opener.document.getElementsByTagNam e('textarea');for(var postimage_i=0;postimage_i<postimage_area.length;po stimage_i++){if(postimage_i==postimage_id){break;} }var postimage_inserted=false;if(typeof opener.vB_Editor==='object'){for(var A in opener.vB_Editor){if(opener.vB_Editor[A].wysiwyg_mode && opener.vB_Editor[A].initialized){opener.vB_Editor[A].write_editor_contents((opener.vB_Editor[A].get_editor_contents()+postimage_text),true);posti mage_inserted=true;}}}if(typeof postimage_area[postimage_i]!=='undefined'){if(postimage_inserted===false && typeof opener.CKEDITOR==='object' && typeof opener.CKEDITOR.instances[postimage_area[postimage_i].id]==='object'){opener.CKEDITOR.instances[postimage_area[postimage_i].id].insertText(postimage_text);}else{postimage_area[postimage_i].value=postimage_area[postimage_i].value+postimage_text;}}opener.focus();window.clos e();}}function postimage_insert(){var postimage_area=document.getElementsByTagName('text area');for(var postimage_i=0;postimage_i<postimage_area.length;po stimage_i++){if(!postimage_area[postimage_i].name.match(/username_list|search|recipients|backup/i)){if(postimage_isVisible(postimage_area[postimage_i]) || postimage_isEditor(postimage_area[postimage_i])){postimage_div=document.createElement('div');pos timage_open=document.createElement('a');postimage_ open.innerHTML=postimage_add_text;postimage_open.h ref="javascriptostimage_upload("+postimage_i+"); ";postimage_span=document.createElement('span');po stimage_span.innerHTML=" • ";postimage_div.appendChild(document.createElement ('br'));postimage_div.appendChild(postimage_span); postimage_div.appendChild(postimage_open);postimag e_div.appendChild(document.createElement('br'));po stimage_div.appendChild(document.createElement('br '));if(postimage_isCkeditor(postimage_area[postimage_i])){if(postimage_area[postimage_i].parentNode.nextSibling){postimage_area[postimage_i].parentNode.parentNode.insertBefore(postimage_div, postimage_area[postimage_i].parentNode.nextSibling);}else{postimage_area[postimage_i].parentNode.parentNode.appendChild(postimage_div); }}else{postimage_area[postimage_i].parentNode.appendChild(postimage_div);}}}}}functi on postimage_upload(areaid){window.open("http://postimage.org/index.php?mode=vbulletin&areaid="+areaid+"&hash=1& lang="+postimage_lang+"&code=&content=&forumurl="+ escape(document.location.href),"postimage","resiza ble=yes,width=500,height=400");return void(0);}if(typeof postimage_text==='undefined'){if(window.addEventLi stener){window.addEventListener('DOMContentLoaded' ,postimage_insert,false);}else if(window.attachEvent){window.attachEvent('onload' ,postimage_insert);}}}

The mod is still dead though - the URL the images get uploaded to is dead
Reply With Quote
  #15  
Old 10-08-2013, 02:39 PM
LordCo LordCo is offline
 
Join Date: Feb 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, the site is back up? I take it back!
Reply With Quote
  #16  
Old 10-08-2013, 11:09 PM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a great image host. We use it a lot and well worth the $20 I spent on having our own account.

It is ideal for hosting images that other sites refuse to show. (Adult)

They went down last night - first time in months for them, but are back up this morning.

It runs flawless as advertised for us, but your mileage may vary on a free account.
Reply With Quote
  #17  
Old 10-09-2013, 12:44 AM
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Location: Brisbane
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font face="Georgia">The Add Image link is now appearing in my shoutbox. How do I remove it from the shoutbox but keep it in the post window?

That's the only issue I am having with this mod though. Good mod, once that gets ironed out.</font>
Reply With Quote
  #18  
Old 02-19-2014, 02:04 PM
titan90 titan90 is offline
 
Join Date: Jul 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bob_R View Post
The instructions simply read:

#
#---------[ 2. BEFORE, ADD ]---------------------------------------------------
#

<script type="text/javascript" src="http://mod.postimage.org/vbulletin-english.js" charset="utf-8"></script>

Notice it just reads BEFORE, ADD

Before what?

No biggie I think it fixed itself.

Just don't like unclear instructions.
So where exactly does the code go in the headinclude?

I ended up placing mine right above the RSS code line and it worked. search for RSS in the headinclude template and paste above that.
Reply With Quote
  #19  
Old 02-25-2014, 12:50 AM
NTT NTT is offline
 
Join Date: May 2007
Location: Viet Nam
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The same mod Postimage.org Uploader for vb4.1.x By ITVNN FORUM

Screenshots:
Reply With Quote
  #20  
Old 02-25-2014, 05:41 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same guys, same mod.

I can't speak for the free service as I pay. We host over 5000 images with them, and nary a glitch since we signed with them on May 11th of last year.

Very happy with their service and price.
Reply With Quote
  #21  
Old 02-26-2014, 08:14 PM
mariannet's Avatar
mariannet mariannet is offline
 
Join Date: Mar 2003
Location: Denmark
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm very interested in this, but also worried about my sites images.
If I choose this, I will pay for the service.
Is all good about them?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:38 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.04492 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete