Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

FileUpload 1.2.1 Released

2»

Comments

  • Options
    PS - any chance of a fix to the file upload bug that prevents files with apostrophes in their filename from uploading? :-)
  • Options
    edited October 2010
    Hi, I can't unzip the FileUpload package.
    Could you fix it ?
  • Options
    AdrianAdrian Wandering Spirit Montreal MVP
    seems to be working now...
  • Options
    Hi, I can't unzip the FileUpload package.
    Could you fix it ?
    Download WinRaR and install on your computer; then unzip with WinRaR.
  • Options
    I noticed it on the add-ons that it is not unzip the file. it seems to be an issue with the zip file. Anyone going to fix them?
  • Options
    My users can't delete their own uploads. How do I change this?
  • Options
    Btw, if anyone wants to see their images appear inline, on line 13 replace with:

    <td><img src="<?php echo Url("/discussion/download/{$Media->MediaID}/{$Media->Name}"); ?>"><?php echo $Media->Name; ?>/></td>

    Hope the proper inline images solution will come soon, but this will suffice till then.

    Line 13 of what file?
  • Options
    I think he means line 13 of the file link_files.php in the "views" folder of the plug in. Seems to work but how can the size of the image be restricted?
  • Options
    TimTim Operations Vanilla Staff
    I noticed it on the add-ons that it is not unzip the file. it seems to be an issue with the zip file. Anyone going to fix them?
    I just downloaded it and unzipped it fine.

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    FlamFlam New
    edited October 2010
    Ok I replaced line 13 of link_files.php with

    imageMediaID}/{$Media->Name}"); ?>" />MediaID}/{$Media->Name}"); ?>'><?php echo $Media->Name; ?>

    It's basically a fixed version of what the guy above proposed.

    In my fileupload.css I also added
    div.Attachments .uploadpic {max-width:500px;}

    To make the images not overflow

    Now I just need to figure out how to allow users to delete their own uploads...

  • Options
    TimTim Operations Vanilla Staff
    @Flam Are you using 1.2 or 1.2.1 ?

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    @Tim 'Version' => '1.2.1',
  • Options


    Now I just need to figure out how to allow users to delete their own uploads...

    @Flam, Hmmm, I never realized, until I checked with a forum member, that the little "trash can" was not a option to anyone but myself as admin. Glad you mentioned it.
  • Options
    I noticed it on the add-ons that it is not unzip the file. it seems to be an issue with the zip file. Anyone going to fix them?
    I just downloaded it and unzipped it fine.
    I could not do it from my mac, but was able to do it from my PC. Strange. Thanks!
  • Options
    TimTim Operations Vanilla Staff
    I guess the file delete permission detection needs fixing. Alright.

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    Is anyone able to port this attachments importer to PHP:
    http://vanillaforums.org/discussion/13136/attachments-to-fileupload-importer/p1

    Would be great to have his function. This is the missing pies to upgrade my forum from 1 to 2 and starting to jump into the code of vanilla2 to help build extentions
  • Options
    LincLinc Detroit Admin
    edited October 2010
    This plugin makes me all hot and bothered and gives me an inferiority complex as a developer. image

    :)
  • Options
    have translated the attachments importer into php - but someone else should check it to be good code
    http://vanillaforums.org/discussion/comment/130064/#Comment_130064
  • Options
    It won't allow word document uploads or excel uploads for my users. It says file limit is 2MB even though the file is only 14kb.
    Does anyone know why it shoots a nonsensical error and how to fix it?
  • Options
    I have a user that uses IE and says she gets "image too big" errors when uploading any kind of file... even small jpg's

    I don't have IE, lol, so I cannot test this... seems similar to @Flam's comment above though.
Sign In or Register to comment.