• 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
    • Can't add attachments to Articles

    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: Can't add attachments to Articles

    • Issue Tools
      • View Changes
    1. issueid=1916 August 14, 2010 10:26 AM
      dfidler dfidler is offline
      New Member
      Can't add attachments to Articles
      If the administrator has set a "Time Limit on Editing of Posts" then you can't add attachments after that time limit.

      Issue:

      Per summary, if a time limit is set on editing posts then you can't 'manage attachments' on an article once that time limit has expired.

      Workaround:

      Add all attachments to the article within the allotted time frame or remove the time limit on post editing.

      Discussion:

      The two workaround really aren't feasible for our use case. We are using the wiki for knowledge transfer and to hold our projects which include schematics, path files, etc. Projects often start off as WIPs and eventually grow into full projects but. Throughout the WIP process, users must be able to manage attachments as schematics will change, new path files will be created, etc.

      Also, as the edit time limit is a global setting in vB (AdminCP -> vBulletin Options -> Message Posting and Editing Options -> Time Limit on Editing of Posts), you can't remove this time limit without also removing the time limit on your forum posts.
    Issue Details
    Issue Number 1916
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Attachments
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.2
    Fixed Version 3.0.3
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 14, 2010 11:51 AM
      pegasus pegasus is offline
      VaultWiki Team
      I can only see this occurring in vBulletin < 4. If you're on vBulletin 3.x, go to AdminCP > Plugins & Products > Plugin Manager, and edit the VaultWiki plugin at hook location fetch_threadinfo. At the very end of the plugin code, add:
      Code:
      if (
      	THIS_SCRIPT == 'newattachment' AND
      	(
      		$thread['namespaceid'] > 0 OR
      		(
      			VAULT_36X_COMPAT AND
      			$threadcache["$threadid"]['namespaceid'] > 0
      		)
      	)
      )
      {
      	$vbulletin->options['edittimelimit'] = 0;
      }
      Reply Reply  
    2. August 14, 2010 2:34 PM
      dfidler dfidler is offline
      New Member
      Nice. I was thinking of modding the attachment package. I keep forgetting that vB is chalk full of globals.

      Is this code going to get merged into the 3.0.3 branch?
      Reply Reply  
    3. August 14, 2010 4:08 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes it will.
      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 6:40 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.