• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Finding a solution to wiki image uploading

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 3 of 3

    Thread: Finding a solution to wiki image uploading

    • Thread Tools
      • Show Printable Version
    1. August 6, 2015 #1
      Desita
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Desita is offline
      Junior Member
      Join Date
      July 28, 2015
      Posts
      6
      Rep Power
      0

      Finding a solution to wiki image uploading

      So, I ran across this nifty little tip on the VB forums about a modification to implement an image uploading script to work on your forum. Problem being the instructions were made for 3.8.x
      http://www.vbulletin.org/forum/showthread.php?t=307803

      I'm at the point where I have the script ready to go, but I can't for the life of me figure out how to add the button to the editor.
      I tried looking at your plugins to ckeditor, but I'm no coder and that didn't help at all. So I figured I'd try asking here in hope that a solution is much easier than I'm making it out to be since the team here obviously has experience in doing this since you've done it yourself.

      He provides all the code he used and a working demo login as well, so you can see what it looks like. I've tried making a plugin.js file and added the hooks and whatnot according to http://www.vbulletin.org/forum/showthread.php?t=278828


      I was able to get a button to appear next to the quote button as it says. But when I change it from the hello world stuff he put in as default, it complains and the editor errors out. I obviously have no idea what to put in there to replace the code he used for his VB 3 install.
      Reply With Quote Reply With Quote

    2. August 8, 2015 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      Take the window.open part (content of the onclick attribute) from the vB3 example and put it as the hello world part of the CKeditor example.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. August 9, 2015 #3
      Desita
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Desita is offline
      Junior Member
      Join Date
      July 28, 2015
      Posts
      6
      Rep Power
      0
      Yeah it worked great. For reference in case others want to do this, here is everything I did to make this work on VB 4.2.2 in the ckeditor.

      1. Install the image software as described in http://www.vbulletin.org/forum/showthread.php?t=307803. I got the 1.6.5 download and it was working fine for me. All set up and good to go.

      2. I followed the guide to add a button here: http://www.vbulletin.org/forum/showthread.php?t=278828, as was already pointed out.

      3. And the thing that made it all work for me:
      Replace
      Code:
      alert('Hello world!');
      editor.insertHtml( 'Hello World! - Hello World!' );
      With
      Code:
      window.open('http://IMAGEHOST/BASE-URL-HERE/index.php?mode=vbull&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=860,height=625');
      Aside from renaming all the 'celButtonDemo' into something else, that is all I can recall changing from his provided code. Didn't have much luck with changing where the button appeared. Replacing "Quote" with "Image" broke things for me.
      I won't say the the setup is perfect, but it works. For example, by button is off center. Would love to know how to fix that.
      Reply With Quote Reply With Quote

    Similar Threads

    1. Does VW have a solution for disambiguation? (multiple topics with the same name)
      By Alfa1 in forum VaultWiki Questions
      Replies: 4
      Last Post: November 13, 2013, 3:20 PM
    2. image bbcode non-wiki image?
      By mickknutson in forum VaultWiki Questions
      Replies: 1
      Last Post: July 19, 2012, 3:15 PM
    3. uploading images
      By mickknutson in forum VaultWiki Questions
      Replies: 3
      Last Post: July 20, 2011, 2:14 PM
    4. Add background image wiki main page
      By levimatt in forum VaultWiki Questions
      Replies: 1
      Last Post: February 11, 2011, 1:13 PM
    5. Cannot Access Image Wiki Pages (Logged Out)
      By Kaelon in forum VaultWiki Questions
      Replies: 17
      Last Post: April 6, 2010, 12:30 PM

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • 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 Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 8:13 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.