The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Free onboard Image Hosting - "photobucket" for your board. Details »» | |||||||||||||||||||||||||||
Free onboard Image Hosting - "photobucket" for your board.
Developer Last Online: Feb 2022
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:
Take a test drive here: HTML Code:
http://usmessageboards.com USERNAME vBTester PASSWORD testmetestme 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> 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> 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
|
Comments |
#32
|
|||
|
|||
Where is the control panel for the user for this? Are there any screens around?
|
#33
|
||||
|
||||
Yeah it's not my code at all and I have no idea what if any updates the developer has done since I posted this. He's got a forum there on his site where you download this, for Q&A.
You can set it up so members can create their own accounts. I don't have mine set up that way because the whole point of it was to be able to control the images and not have them disappear. |
#34
|
|||
|
|||
Wow, I would totally pay for instructions to get this going on 4.2.2 if it can be made to work with vaultwiki's editors, which I don't see why not...
Suffering from not being able to have an easy internal method to upload wiki images and have been using imgur so far. |
#35
|
|||
|
|||
Please, update this excelent mod for vB 4.2.x
|
#36
|
||||
|
||||
It's not my code or my mod, I merely show how to use it in vB 3.8.x and haven't tried to integrate it for 4.2.X. It can't be much different, it's just template edits after all.
|
#37
|
|||
|
|||
You can try to adapt it to 4.2?
|
#38
|
||||
|
||||
I could, but just haven't seen the need since vB 4.2.x has a really good image upload system and handling of attachments native already, with option to store them in the file system already. I don't need this on my 4.2.X sites, so haven't spent any thought or time trying to port it to v4.
The only difference would be what templates to edit, and where. There was instruction posted earlier in this thread on how to add this to the v4 editor templates. |
Благодарность от: | ||
RichieBoy67 |
#39
|
||||
|
||||
Just a question, is there any time limit on how long Photbucket hosts the images? I have seen many older posts with images hosted on some of the major image hosting sites disappear after a few years.
Thanks |
#40
|
||||
|
||||
Quote:
The deal is, this is not any kind of 3rd party host you have no control over. This is totally controlled and hosted by you so nothing ever gets lost or taken down. I have no idea if the major image hosts have time limits. I only know we can't control images hosted by them, and they definitely do disappear. |
#41
|
||||
|
||||
I want to add this to my vb4 but I have had no luck lol ... can't find the correct templates to edit ...im LOST !
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|