• 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
    • Uploading Image failed

    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: Uploading Image failed

    • Issue Tools
      • View Changes
    1. issueid=1229 March 7, 2010 6:49 PM
      hollosch hollosch is offline
      Senior Member
      Uploading Image failed

      When i upload an image in the images-namespace, the uploader names the picture with two dots.

      Example: Original-File it is star.jpg
      After Upload in the Attachements it's named: star..jpg
    Issue Details
    Issue Number 1229
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Images
    Status Forum Bug
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.0 Beta 6
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 7, 2010 8:14 PM
      pegasus pegasus is offline
      VaultWiki Team
      The only thing that could be remotely related is in vault/special_plugins_data.php. Find:
      Code:
      		$filenames[] = substr_replace($filenames[0], '.jpg', strlen($filenames[0]) - $endlen - 1);
      Replace with:
      Code:
      		$filenames[] = preg_replace('#' . preg_quote(file_extension($filenames[0]), '#') . '$#', 'jpg', $filenames[0]);
      But this code doesn't change the name of the attachment itself, just the name of the related thread - and only if it matches the name of an attachment that was already uploaded.

      So if you re-upload the attachment with the same problem after this change, I have a feeling this may be a problem with vBulletin.
      Reply Reply  
    2. March 7, 2010 8:24 PM
      hollosch hollosch is offline
      Senior Member
      Don't work.
      You must attach a file with the same filename as this article's title.
      star..jpg
      Reply Reply  
    3. March 7, 2010 8:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      I don't believe that VaultWiki is changing the filename. You may want to create a report on vBulletin.com about your filename changing when you upload this file. Include information like file size and dimension limits for the uploaded filetype, and how the file compares to these limits.
      Reply Reply  
    4. March 8, 2010 7:43 AM
      hollosch hollosch is offline
      Senior Member
      I wrote to the vB-Germany Support... Awaiting Feedback...
      Reply Reply  
    5. March 8, 2010 8:09 AM
      hollosch hollosch is offline
      Senior Member
      It's a vB-Bug (fixed in 4.0.3):
      http://www.vbulletin-germany.com/for....-quot-zu-viel

      http://www.vbulletin.com/forum/proje...?issueid=36400
      Reply Reply  
    6. March 8, 2010 11:50 AM
      pegasus pegasus is offline
      VaultWiki Team
      Good to see a solution.
      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 9:50 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.