• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Feature
    • Image and Attachment handling

    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.

    Issue: Image and Attachment handling

    • Issue Tools
      • View Changes
    1. issueid=4241 February 26, 2015 12:54 AM
      tommythejoat tommythejoat is offline
      Regular Member
      Image and Attachment handling
      Multiple image uploads are not supported and the use of the IMG button for attachment uploading is not supported

      Our board is very image intensive and we have installed the fix to allow mulitple images to be uploaded from the asset manager uploader. We also have the IMG button overloaded so that it imports attachments from either the workstation or a URL.

      The features are very important to us. They are fully functional in our forums but not in the Wiki editor.

      In the wiki editor only the asset manager can insert an attachment and it cannot insert the attachment in-line. If wery to use the overloaded IMG tool we get a permission error. If we use Cel's PhotoPopup tool the the local url's are inserted by are not parsed. ie the pictures do not appear in the post only the tags as text.
    Issue Details
    Issue Number 4241
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category Attachments
    Status Suggested
    Priority 7 - Minor Features / Enhancements
    Suggested Version 4.0.1
    Implemented Version (none)
    Milestone (none)
    Software DependencyvBulletin 4.x w/ ckEditor
    License TypePaid
    Votes for this feature 0
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags attachments




    1. February 26, 2015 10:11 AM
      pegasus pegasus is offline
      VaultWiki Team
      You can't use the asset manager / upload via IMG in wiki articles. You ARE allowed to use them in wiki comments (see: https://www.vaultwiki.org/demo?page=3#comment198)

      Both of these tools that you mention are limited by vBulletin's implementation which locks each uploaded attachment to the original user that uploaded it. This causes lots of problems in wikis where multiple users need to make changes. Only the original uploader can see or modify attachments. Previously uploaded attachments start mysteriously getting removed. This was a problem in VW3 and it was the main reason why we developed the new wiki image button that opens the File Browser.

      The reason you get a permission error in your "overloaded" tool is because there is no handler for attachments to the wiki content-type (for reasons listed above). I would argue that if you are seeing a permission error, then there is a bug in the overloaded tool for giving you an upload option against a content-type that does not allow that kind of upload.

      In wiki articles, you must use the wiki image button for uploads. That is the only way that images will be uploaded without being linked to a specific user. This button can certainly be improved, and there may be ways to add multiple uploads using the same dialog in the future.
      Reply Reply  
    2. April 5, 2015 11:44 PM
      tommythejoat tommythejoat is offline
      Regular Member
      This has reared its ugly head again. When I look at an article where the author has used IMG bbCodes with attachments, I can see the pictures he uploaded, but when he looks at the article, he cannot see them. It appears to be a permission problem, but I do not understand what is happening.

      Here is a sample of an article that exhibits this behavior.
      Code:
      Rare warranty card for KW mvt #52002.
      [IMG]http://mb.nawcc.org/attachment.php?attachmentid=248868&px120=1[/IMG]
      
      Grade 1-KW.  7 jewels, gilt, plain regulator (early ones with a silver index and later with "oreide" (brass) index).  Early ones are marked "7 jewels" while on later ones this marking was dropped.  S/ns are generally in the 1xxxx or 11xxxx ranges.
      
      Grade 1-KW s/n 17000.
      .[IMG]http://mb.nawcc.org/attachment.php?attachmentid=248884&px120=1[/IMG]
      
      Grade 1-KW, s/n 17210, marked "7 Jewels".
      [URL="http://mb.nawcc.org/attachment.php?attachmentid=249015"][IMG]http://mb.nawcc.org/attachment.php?attachmentid=249015&px120=1[/IMG][/URL] 
      
      Grade 2-KW. 11 jewels, gilt, early ones are marked marked "11 jewels" but later this marking was dropped.  The train jewels are set directly into the plate without a setting.  Many have an "imitation" setting around the jewel that consists of a circle inscribed on the plate and two non-functional jewel setting screws. Compared with the grade 3-KW, the balance bridges have relatively simpler engraving.  Some have 4 plates jewels showing while another variant is jeweled-in-pairs. Most have plain regulators but some with Hurd's regulator probably exist. If the KW mvt is gilt, 11 jewels and has a s/n in the 2xxxx range or 12xxxx range then it is more than likely a 2-KW.
      
      Grade 2-KW mvt #22901 which is jeweled-in-pairs (two visible on top with the other pair on the pillar plate side) and has "imitation" jewel settings.
      
      [IMG]http://mb.nawcc.org/attachment.php?attachmentid=248883&px120=1[/IMG]
      
      2-KW, s/n 20915, 4 visible jewels in top plate, without "imitation" settings.
      [URL="http://mb.nawcc.org/attachment.php?attachmentid=249018"][IMG]http://mb.nawcc.org/attachment.php?attachmentid=249018&px70=1[/IMG][/URL]
      Is there some straightforward way I can make these pictures appear. The pictures were there when the article was originally written even though the author did not use the recommended tools and create wiki image pages.

      Perhaps someone sufficiently talented could write a transformer application that would allow attachments to be converted to a standard formal wiki image.

      My authors are very frustrated over this.

      This is the article the snippet is from. http://mb.nawcc.org/showwiki.php?tit...Wind_Movements
      Reply Reply  
    3. April 6, 2015 11:35 AM
      pegasus pegasus is offline
      VaultWiki Team
      From what I can see, there should be nothing preventing these images from appearing for logged in users.

      However, I can see that the attachments that are linked are posted in forums where guests are not allowed to download attachments. So guests cannot see the images. I have confirmed this in another browser where I am not logged in. It is possible that a member will see the cached "invisible" image if they view the page first as a guest, but log in later. It is also possible if you use a CDN or other server cache for your attachment.php URLs that the guest version might be shown to logged in users all the time as well.

      This has ALWAYS been an issue with regular vBulletin attachments (and one of the reasons we moved away from them). Unfortunately there is nothing you can really do about it aside from making sure your permissions allow everyone, including guests, to download attachments from all of your forums and sub-forums where a user might copy an attachment link. Obviously this is not suitable for many forums.
      Reply Reply  
    4. April 6, 2015 10:32 PM
      tommythejoat tommythejoat is offline
      Regular Member
      In looking further, I realized that I had moved the attachment directories to above the web root in response to an issue with rediretion malware in attachments. The Vault files are at /home/mysite/safe/attachment/vault/. vBulletin does not seem to have any problem with this location and it was working with VaultWiki also but perhaps there is an issue.

      I would like to disable the vBulletin IMG code in the Wiki Editor but I cannot find where the buttons are c.ontrolled. Our version of IMG allows upload of attachments we also have Cel PhotoPost installed and that button is available in the Wiki
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 8:08 AM.
    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.