• 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 3.x Series
    • Bug
    • Inserting Attachments Inline Problem

    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: Inserting Attachments Inline Problem

    • Issue Tools
      • View Changes
    1. issueid=2371 June 21, 2011 2:13 PM
      Feathers&Photos Feathers&Photos is offline
      New Member
      Inserting Attachments Inline Problem

      Upgraded to vB 4.1.4 and VaultWiki 3.0.12 and have noticed that when inserting an attachment inline when using the standard editor the attachment doesn't insert correctly. It appears as the below.
      Code:
      [ATTACH=CONFIG][object HTMLDivElement][/ATTACH]
      Inserting inline using the advanced editor seems to work fine. If I insert an attachment inline using the advanced editor, then switch to the standard editor, the attachment appears correctly, such as...
      Code:
      [ATTACH=CONFIG]10081[/ATTACH]
    Issue Details
    Issue Number 2371
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Attachments
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.12
    Fixed Version 3.0.12
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 21, 2011 3:44 PM
      pegasus pegasus is offline
      VaultWiki Team
      What is the value of the Image BB-Code tag in AdminCP > VaultWiki > Namespace Manager? If it has any capital letters, here's a workaround for the bug until we release a fixed build:
      1. Make the BB-Code tag name all lowercase.
      2. Then go to Custom BB-Codes > BB Code Manager, and locate the same tag. Make sure the tag name is all lowercase here as well.


      The only other scenario I can think of is that you've turned off parsing of the Image BB-Code tag in VaultWiki > Wiki Code Manager. This is another bug that I've just fixed here.
      Reply Reply  
    2. June 22, 2011 3:24 AM
      Feathers&Photos Feathers&Photos is offline
      New Member
      The problem still persists. The BB-Code tag in the namespace manager is lowercase... [images]. It's the exact same BB-Code tag (also lowercase) in the BB Code Manager. Parsing is also enabled.

      The attachment problem occurs in both VaultWiki and when inserting images inline in vBulletin.
      Reply Reply  
    3. June 22, 2011 4:43 AM
      pegasus pegasus is offline
      VaultWiki Team
      I can't see any other way this would happen. It's fine here on default VaultWiki config. You mentioned that [images] was the tag - by any chance, is it written this way in the Edit view, with the [] included? If so, you should remove them.

      Is the browser reporting any Javascript errors?

      Also check AdminCP > Plugins & Products > Plugin Manager and find the VaultWiki plugin at hook location "editor_construct". If there's a line like:
      Code:
      if ($this->vault)
      Remove that line.
      Reply Reply  
    4. June 22, 2011 6:23 AM
      Feathers&Photos Feathers&Photos is offline
      New Member
      No, the attachments don't appear in the editor with the [images] tag around them, unless they're attachments from the asset manager that have been previously uploaded to the images namespace.

      Inserted images inline appear as either:
      Code:
      [ATTACH=CONFIG][object HTMLDivElement][/ATTACH]
      in Internet Explorer/Firefox or as:
      Code:
      [ATTACH=CONFIG][object][/ATTACH]
      in Google Chrome

      I found that line in the plugin manager, but removing it doesn't seem to have had an effect and there are no javascript errors being reported by any of the browsers (IE, FF and Chrome) that I've tried. Once I disable VaultWiki the attachments behave normally and display as:
      Code:
      [ATTACH=CONFIG]10121[/ATTACH]
      in all browsers.

      If I enable the WYSIWYG editor then the attachments appear normally. If I then switch modes to the standard editor (once I've uploaded the attachment and inserted it inline in WYSIWYG mode) the attachment appears correctly.
      Reply Reply  
    5. June 22, 2011 1:54 PM
      pegasus pegasus is offline
      VaultWiki Team
      I have added a Pro Upgrade service to your account. If you can submit the details, I'll fix this directly.
      Reply Reply  
    6. June 23, 2011 3:56 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs when you have NO custom BB-Codes that appear in the editor, or the only button is the Image button. That is, either you disabled them all, or you removed all button images. Furthermore, if the Image button uses a title other than "Image", it doesn't call the Attachment Manager when clicked.

      Fixed for the next build.
      Reply Reply  
    7. June 24, 2011 12:58 AM
      Feathers&Photos Feathers&Photos is offline
      New Member
      Thanks Pegasus. The BBCode buttons were removed due to a bug with them (http://tracker.vbulletin.com/browse/VBIV-12351) in vB 4.1.4. Did you upload the uncompressed CKEditor clientscripts to the site as a fix for that problem too?

      Cheers
      Reply Reply  
    8. June 24, 2011 1:36 AM
      pegasus pegasus is offline
      VaultWiki Team
      I did, but I'm not sure if I applied that fix. I believe I did.
      Reply Reply  
    9. June 26, 2011 3:19 AM
      Feathers&Photos Feathers&Photos is offline
      New Member
      This problem is still occurring, however it seems intermittent. Some attachments seem to insert inline fine, whilst other's are still displaying incorrectly as mentioned above.

      You can see HERE, there's some that have inserted inline fine, whilst 3 or so haven't.

      I've also upgraded to the latest build of VW 3.0.12 build 002, but these problems have continued since the upgrade too.
      Reply Reply  
    10. June 26, 2011 5:23 AM
      pegasus pegasus is offline
      VaultWiki Team
      Has it occurred for you personally since upgrading, or have you only noticed other users' new posts with the issue? If it's only occurring for some users, it may be related to a user preference. I will look into this on my next shift.
      Reply Reply  
    11. June 27, 2011 3:13 AM
      Feathers&Photos Feathers&Photos is offline
      New Member
      I've had it happen when logging in as a registered user once or twice, then it seemed to fix itself. Though I made no user preference changes in between.
      Reply Reply  
    12. June 28, 2011 1:48 PM
      pegasus pegasus is offline
      VaultWiki Team
      Okay, I've just been able to duplicate this, so it's reopened. However, when I do, it's just:
      Code:
      [ATTACH=CONFIG]undefined[/ATTACH]
      This occurs only when using the Paperclip icon's drop-down menu to insert your attachments. If you're in the Asset Manager window and click the "Insert Inline" button, this will insert the attachment correctly. I'm looking into the difference now.
      Reply Reply  
    13. June 28, 2011 2:40 PM
      pegasus pegasus is offline
      VaultWiki Team
      Marking as fixed again as it's now working for this variation after some Javascript changes. "Insert All" also works correctly and uses the wiki image tag where applicable.

      Build 003 includes this change. Please note that you may have to clear your browser cache and that's probably why it was still occurring for some time, then magically went away.
      Reply Reply  
    14. June 30, 2011 12:57 AM
      Feathers&Photos Feathers&Photos is offline
      New Member
      Thanks Pegasus. I've upgraded to Build 003. Will keep an eye out for any recurrences.
      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 4:43 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 © 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.