• 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 Discussion
    • Ideas & Suggestions
    • Image files in the Wiki

    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 4 of 4

    Thread: Image files in the Wiki

    • Thread Tools
      • Show Printable Version
    1. June 18, 2017 #1
      tommythejoat
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      tommythejoat is offline
      Regular Member
      Join Date
      October 22, 2008
      Location
      Boston
      Posts
      81
      Rep Power
      194

      Question Image files in the Wiki

      I am trying to understand how the image files are structured in the file system or database for the wiki. I thought that they were similar to the vBulletin attachments, but looking at the directory implies something very different. In particular, none of the images are in the files where I can find them.

      Here is a screen shot of what I found on my XenForo site. I think that we may have moved the controlling folder to the wrong location during our upgrade of XenForo to include out old vBulletin attachments.
      vaultFiles.jpg
      Tommy the JOAT
      Technical Admin NAWCC MB
      "Everything you ever wanted to know about watches and clocks"
      Reply With Quote Reply With Quote

    2. June 19, 2017 #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,934
      Blog Entries
      18
      Rep Power
      659
      On XenForo, the VaultWiki image files are in the directory /internal_data/vw_attachments

      However, if your quoted directory is actually a copy of the source attachment directory for an import, then the filenames in that directory do not correspond to your current database, so simply copying the folder to the correct location will not work.

      Additionally, if your /internal_data/vw_attachments directory already contains images, the images in the correct directory may not actually correspond to anything in your database if there were multiple import attempts made, especially if an import was made while your "controlling folder [was moved] to the wrong location".

      For this reason, it is important that any imports are made against real directories that actually contain the correct files.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. June 26, 2017 #3
      tommythejoat
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      tommythejoat is offline
      Regular Member
      Join Date
      October 22, 2008
      Location
      Boston
      Posts
      81
      Rep Power
      194
      The attachment files in the regular XenForo system have the same file names and paths they had in vBulletin. The actual image files exist in that structure. I mistakenly thought that VaultWiki would work the same way.

      There are no image files in the structure built by VaultWiki that I can find. It appears that the structure is similar to the vb/xf one for the directory tree inside the vw_attachments folder but terminates in a file that has encoded information that I presume locates the images somewhere. What are the files full.vw and 360.vw that appear as the name of the final leaf in each tree?

      When we have finished our configuring and testing, we will be doing a fresh import of everything. It sounds like we will not have any reasonable way to get the images back before then. Is that correct?
      Tommy the JOAT
      Technical Admin NAWCC MB
      "Everything you ever wanted to know about watches and clocks"
      Reply With Quote Reply With Quote

    4. June 27, 2017 #4
      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,934
      Blog Entries
      18
      Rep Power
      659
      The file full.vw contains the binary data for the original image; in most cases, this has not been altered from the original file that was uploaded. The file 360.vw contains the binary data for that image resized to 360 pixels wide. Similar to the id.attach and id.thumb files in vBulletin.

      The problem is that the path (the preceding subdirectories) is probably not relevant to the current import, because the correct path for the data is dependent upon the positions of certain entries in the database. So there is no way to know which image is which by looking at the folder alone. The only way to "fix" this would be a fresh import of the wiki.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Finding a solution to wiki image uploading
      By Desita in forum VaultWiki Questions
      Replies: 2
      Last Post: August 9, 2015, 4:02 PM
    2. importer file asks for image location. There is none because i do not use a vw image function.
      By Alfa1 in forum VaultWiki Questions
      Replies: 1
      Last Post: September 18, 2013, 9:40 AM
    3. image bbcode non-wiki image?
      By mickknutson in forum VaultWiki Questions
      Replies: 1
      Last Post: July 19, 2012, 3:15 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

    Tags for this Thread

    attachments, files, image, vbulletin, xenforo

    View Tag Cloud

    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:28 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.