Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

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
  #2  
Old 05-10-2013, 07:09 PM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not to many free uploaders allow upload of adult content. I will try your service - any paid features or member benefits?
Reply With Quote
  #3  
Old 05-11-2013, 08:30 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Krusty1231 View Post
Not to many free uploaders allow upload of adult content. I will try your service - any paid features or member benefits?
I'll be trying it too.
Reply With Quote
  #4  
Old 05-14-2013, 11:05 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haven't tried it yet. But, check out the screenshot I provided.

Why is it there twice?

Where exactly do you put the one line in the headiclude template? That's probably why.

Thanks!!
Attached Images
File Type: png Screen shot 2013-05-14 at 8.03.14 PM.png (10.4 KB, 0 views)
Reply With Quote
  #5  
Old 05-22-2013, 04:12 AM
elfenny's Avatar
elfenny elfenny is offline
 
Join Date: May 2012
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can operate in 4.2?

edit ... If it works, thanks
Reply With Quote
  #6  
Old 05-22-2013, 08:38 AM
inigo inigo is offline
 
Join Date: May 2010
Location: Spain
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone has tried in 4.1.7?

Thanks!
Reply With Quote
  #7  
Old 05-25-2013, 11:23 AM
Kane@airrifle's Avatar
Kane@airrifle Kane@airrifle is offline
 
Join Date: Jun 2011
Location: ZA
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attachment 155170
Quote:
Originally Posted by Bob_R View Post
Haven't tried it yet. But, check out the screenshot I provided.

Why is it there twice?

Where exactly do you put the one line in the headiclude template? That's probably why.

Thanks!!
Quote:
Originally Posted by elfenny View Post
can operate in 4.2?

edit ... If it works, thanks
Working for me in 4.2.3

in headinclude placed just below
Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script>



On my board the headiclude edit placed the script in some inappropriate places, for example our Dragonbyte chatbox and in vbGallery/Albums. My solution was to block the unwanted locations with CSS in /style/additional css

Example: vbGallery Create new album and edit photo/album
Code:
/* Postimage Link Forms Disable*/
#edit_form > div.blockbody.formcontrols > div > div:nth-child(2) > div > a,  #usercss > form > div.blockbody.albumedit > ul > li > div.maineditor > label > div > a{
visibility: hidden;
pointer-events: none;
cursor: default;
}
Example: Dragonbyte chatbox (I have two instances, adjust accordingly)
Code:
/* Postimage Link Chatbox Disable*/
#dbtech_shoutbox2 > div.blockrow.dbtech_vbshout_wrapper > div > div > div:nth-child(1) > ul.dbtech_shoutarea_left > li > div > a, #dbtech_shoutbox1 > div.blockrow.dbtech_vbshout_wrapper > div > div > div > ul.dbtech_shoutarea_left > li > div > a{
visibility: hidden;
pointer-events: none;
cursor: default;
}
And lastly, should you want to style a button instead of showing the bland link. Obviously change colour, padding etc to suit your style
Code:
/* Postimage Link Button*/
#vB_Editor_QR > div > div > div > div > a, #vB_Editor_001 > div > div.editor_textbox_container.smilie > div > div > a {
	color: rgb(0, 0, 0);
font-size: 9px;
padding: 5px;
text-shadow: 0px -1px 0px rgba(30, 30, 30, 1);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: rgb(219, 219, 219);
background: -moz-linear-gradient(90deg, rgb(219, 219, 219) 30%, rgb(219, 219, 219) 70%);
background: -webkit-linear-gradient(90deg, rgb(219, 219, 219) 30%, rgb(219, 219, 219) 70%);
background: -o-linear-gradient(90deg, rgb(219, 219, 219) 30%, rgb(219, 219, 219) 70%);
background: -ms-linear-gradient(90deg, rgb(219, 219, 219) 30%, rgb(219, 219, 219) 70%);
background: linear-gradient(0deg, rgb(219, 219, 219) 30%, rgb(219, 219, 219) 70%);
-webkit-box-shadow: 0px 2px 1px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 2px 1px rgba(50, 50, 50, 0.75);
box-shadow:         0px 2px 1px rgba(50, 50, 50, 0.75);
}
Attached Images
File Type: jpg qr_postimage_button.JPG (42.5 KB, 0 views)
Reply With Quote
Благодарность от:
Krusty1231
  #8  
Old 05-25-2013, 07:15 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 06-03-2013, 12:30 AM
elfenny's Avatar
elfenny elfenny is offline
 
Join Date: May 2012
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UNINSTALLED
This mod is in error, the option to insert image appears within the thread several times...
Attached Images
File Type: png Sin t?tulo.png (64.0 KB, 0 views)
Reply With Quote
  #10  
Old 06-03-2013, 04:43 PM
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Posts: 535
Благодарил(а): 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.
Here's another unanswered complaint/issue.

I have the Do Not Resize box checked/enabled and yet it still re-sizes the image.
Reply With Quote
Reply

Thread Tools

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 03:19 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.04602 seconds
  • Memory Usage 2,339KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_code
  • (4)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete