The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Simple Image Upload Details »» | |||||||||||||||||||||||||||||||||||
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
Screenshots
Show Your Support
|
Comments |
#12
|
||||
|
||||
UNINSTALLED
This mod is in error |
#13
|
|||
|
|||
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 |
#14
|
|||
|
|||
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 |
#15
|
|||
|
|||
Ah, the site is back up? I take it back!
|
#16
|
||||
|
||||
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. |
#17
|
||||
|
||||
<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> |
#18
|
|||
|
|||
Quote:
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. |
#19
|
|||
|
|||
|
#20
|
||||
|
||||
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. |
#21
|
||||
|
||||
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? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|