Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Free onboard Image Hosting - "photobucket" for your board. Details »»
Free onboard Image Hosting - "photobucket" for your board.
Version: 1.00, by Max Taxable Max Taxable is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 01-31-2014 Last Update: Never Installs: 15
Template Edits
 
No support by the author.

Should be same install on any vBulletin board, versions 3.0 and up to 3.8.7. I have not tried this yet on vBulletin 4 and up.

This uses NO:
  • Plugins
  • Auto template
  • Files to upload (except one icon image)
  • DB changes

Take a test drive here:

HTML Code:
http://usmessageboards.com
USERNAME vBTester
PASSWORD testmetestme
Simply go to any thread and have a look at quick reply and click the icon.




I've had this "hack" on my board for a few years and recently installed it on a couple other fellas boards and decided it was time to share the secret. Have your own image hosting tool that is independent of 3rd party ones that like to block hotlinking and take images down after awhile.

The software used is by another author and is not my code. The template edits to integrate it to your vBulletin installation however, is.

First of all go to: http://codefuture.co.uk/projects/imagehost/ and download the free image hosting software.

Upload this package to root level of your server using a clever name for the folder, like "imagemagic" or something related to your board's topic. For a baseball board recently, I styled this "picturecatcher."

You should now be able to use and administer this by going to the URL, yourboard.com/yournameforthis

Once it is installed and working and you have done the setup and configuration to your liking, it is time to integrate this to your board. The best place to do this is in the WYSIWYG editors and the quick editors throughout.

Use "Search In Templates" to find all templates that have the word "separator" or "separator.gif" in them. This will populate the list of all the editor templates in your style. The list looks like this:



And you want to edit the templates you see in red, above.

In these templates find:
HTML Code:
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
And add after that:
HTML Code:
<td><div class="imagebutton">
<a href="javascript:void(0);" onclick="window.open('http://yoursite.com/yourimagehostfoldername/index.php?mode=vbull&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=860,height=625');return false;"><img src="$stylevar[imgdir_editor]/uploadimage.png" width="21" height="20" alt="Upload Image for Posting" /></a></div></td>
You'll want to experiment with this, as not all styles have the same templates for the editors. But most do.

Upload this image to your server at location / and style it "uploadimage.png."



Do this edit for each template indicated on the populated list above that are in red.

The result is, every member who is logged in will see the icon in the posting editors and on click, will give them a popup with the uploader loaded and ready for their images. You and your members will see this in your editors:



And that's it! The uploader itself is very user friendly and intuitive, not much different at all from photobucket, ImageShack, or any other image hosting feature including vBulletin's own attachment uploader. So your membership should have no problems with it.


I posted all images in this post, using this very same image uploader, on my board! So as you can see it can be used anywhere to post images. There are also links provided after upload, for direct sharing, email sharing, and so on.

Enjoy!

Show Your Support

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

Comments
  #22  
Old 03-26-2014, 09:53 PM
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I have uploaded the files as per the instructions, however when I go to the URL to do the initial install all I get is a blank screen.

Any ideas?

D.
Reply With Quote
  #23  
Old 03-26-2014, 11:24 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gadget_Guy View Post
Hi,

I have uploaded the files as per the instructions, however when I go to the URL to do the initial install all I get is a blank screen.

Any ideas?

D.
Link?
Reply With Quote
  #24  
Old 08-28-2014, 09:04 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, is there any way to have this upload and store the images on to a different server?
Reply With Quote
  #25  
Old 08-28-2014, 12:29 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
Hi, is there any way to have this upload and store the images on to a different server?
Only to one you have control of.
Reply With Quote
  #26  
Old 08-28-2014, 12:53 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. My forum is on urljet but I have an account at siteground with a couple of other websites on, could I have the pics hosted on siteground?
Reply With Quote
  #27  
Old 08-28-2014, 01:31 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
Yes. My forum is on urljet but I have an account at siteground with a couple of other websites on, could I have the pics hosted on siteground?
You can install this on any host you use. Doesn't have to be the same one the board is hosted on.
Reply With Quote
  #28  
Old 08-28-2014, 05:51 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That sounds awesome, thanks, will give it a try.

Cheeky request, but I have this mod at the moment - https://vborg.vbsupport.ru/showthread.php?t=123481 and it automatically inserts the links into the post without having to copy and paste, any chance you would be able to incorporate that feature into this mod?
Reply With Quote
  #29  
Old 08-28-2014, 06:25 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No idea.
Reply With Quote
  #30  
Old 07-10-2015, 03:59 AM
Kwikms Kwikms is offline
 
Join Date: Jul 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does the user still has control over the images he uploaded? Can he delete the image afterwards?
Reply With Quote
  #31  
Old 07-10-2015, 03:13 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a option you would set.
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 05:36 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06021 seconds
  • Memory Usage 2,332KB
  • 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
  • (3)bbcode_html
  • (3)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
  • (4)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete