Announcement

Collapse
No announcement yet.

Flash Uploader for Images - How do we get it back?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mark.B
    replied
    He's not been online since May so you're unlikely to get a response.

    For anyone wanting the multiple uploads back, THIS is your best bet.
    The swf file has been patched by a third party.
    Obviously we can't provide official support for that, however many people (including myself) have been using it without issue.

    Leave a comment:


  • webducknj
    replied
    Originally posted by FranzBanz View Post
    A quick workaround I've implemented for our forums is to increase the number of `Attachment Upload Inputs` (Options -> Message Attachment Options) to the number of files you want to allow uploading concurrently, and then adding a `multiple` attribute for the file input elements:
    In the `assetmanager` template, find
    HTML Code:
    <input id="firstuploadinput" type="file" class="bginput uploadinput" name="attachment[]" size="30" tabindex="1" />
    and replace it by
    HTML Code:
    <input id="firstuploadinput" type="file" class="bginput uploadinput" name="attachment[]" size="30" tabindex="1" multiple />
    In the `editor_upload_overlay` template, find
    HTML Code:
     <input id="fileupload1" class="textbox" type="file" size="30" name="attachment[]" tabindex="1" />
    and replace it by
    HTML Code:
     <input id="fileupload1" class="textbox" type="file" size="30" name="attachment[]" tabindex="1" multiple />
    This will allow users with modern (HTML5 compliant) browsers to select multiple files for uploading by using the usual file picker dialog of their operating system (holding the ctrl/shift keys to select multiple files). No code changes or plugins are required for this to work, since vBulletin is ready to process multiple uploads at once. If an user selects more files than the limit you specified in the option named above, extra uploads will fail.

    Remember that this is not well tested yet, so it should be considered experimental.


    Hello @FranzBanz; and thank you for your trick here.

    There are a few parameters in the strings above and I was wondering if you could please explain what they do? There is a 30, a 1 (tabindex), and then another 1. do any of them affect the number of files that can be uploaded at a time?

    thanks,
    bart

    Leave a comment:


  • webducknj
    replied
    Originally posted by Wayne Luke View Post

    Uploading multiple files at a time in a single file open dialog box is not a significant nor game breaking feature of the software to most of our customers. Many customers have had the Flash uploader turned off for years. The issue is a ROI one from the people at the top. Investing hundreds of hours rewriting the code for a small number of customers isn't something we're going to get approval on.

    You can still do multiple file uploads but it requires multiple file open dialogs.


    sorry Wayne, but you're dead wrong. this is a big deal and we're now in the same panic as Art as we have multiple commitments to event coverage with a boatload of photos to post from each event. we also have members covering their own events and no way to upload their photos in batches.

    very bad for vbulletin to drop the ball on this one.

    Leave a comment:


  • maupassant
    replied
    Originally posted by Mark.B View Post

    The Flash uploader is used in the asset manager, but also in the image upload dialogue box in the editor.

    The only functionality this affects is the ability to select multiple files and upload them *all at once*.
    If your issue is something different, then you should start your own thread with full details of the problem. This thread relates solely to the Flash uploader and absolutely nothing else.
    I do understand what you say and why, and so yes, maybe I will start my own thread. But I wasn't the one who introduced this other problem (and the solution for it) in this thread. It was done in posts #28 and #29, and that's why I quoted post #29 in my question and continued in this thread rather than start a new one. Thanks for your help regarding the Flash Uploader. Probably a good idea I install this patch.

    Leave a comment:


  • Mark.B
    replied
    Originally posted by maupassant View Post

    Isn't this something for the asset manager ? We do not use the asset manager on our forum.
    The Flash uploader is used in the asset manager, but also in the image upload dialogue box in the editor.

    The only functionality this affects is the ability to select multiple files and upload them *all at once*.
    If your issue is something different, then you should start your own thread with full details of the problem. This thread relates solely to the Flash uploader and absolutely nothing else.

    Leave a comment:


  • maupassant
    replied
    Originally posted by Mark.B View Post
    You might want to try this instead:
    http://www.vbulletin.org/forum/showthread.php?t=307008

    A customer patched the file. Obviously we can't formally verify it, however I'm using it on my site and quite a few customers and support staff are using it also.
    Isn't this something for the asset manager ? We do not use the asset manager on our forum.

    Leave a comment:


  • Mark.B
    replied
    You might want to try this instead:
    http://www.vbulletin.org/forum/showthread.php?t=307008

    A customer patched the file. Obviously we can't formally verify it, however I'm using it on my site and quite a few customers and support staff are using it also.

    Leave a comment:


  • maupassant
    replied
    Originally posted by FranzBanz View Post
    This is possible, albeit a bit hacky, using a plugin. If you add
    PHP Code:
    $vbulletin->options['attachboxcount'] = $vbulletin->options['attachlimit']; 
    for the newattachment_start hook, this'll set the maximum number of concurrent uploads to the maximum number of attachments you allow per post. You could also just set the limit to an arbitrary number of your choice.
    Hi, I have just tried this (set the max number of concurrent uploads to the max number of attachments allowed per post), and something strange is happening. I have now 100 upload slots (because I allow 100 attachments per post). But only 20 files upload at once, and not 100. Any idea why ? Thanks in advance for your help.

    Leave a comment:


  • Art Andrews
    replied
    Huge thanks to FranzBanz on putting this solution out there. As many other people have stated, I too am really disappointed at IB's approach to this issue, but it is what it is and complaining about it isn't going to change anything. I am just glad that someone from within our ranks was willing to step up to the plate and provide some type of solution that at least lessons the blow.

    Leave a comment:


  • IggyP
    replied
    wow, it may not be a big deal for a majority but i bet more people than you might think will have problems with this...

    and for the ones who do have a prob its a MAJOR one...its not unusual for me to upload over 100 pics in a thread, and up to around 50 "at once", which is simply not possible one at a time...

    many forums are image posting intensive and would like to encourage image uploads...which should be more and more common into this high tech future we got, lol....due to more forums existing if nothing else, but big respects to those working on this...unless i missed something, it seems at present there isnt really a way to fix it without breaking something else but will try to keep patient

    Leave a comment:


  • FranzBanz
    replied
    This is possible, albeit a bit hacky, using a plugin. If you add
    PHP Code:
    $vbulletin->options['attachboxcount'] = $vbulletin->options['attachlimit']; 
    for the newattachment_start hook, this'll set the maximum number of concurrent uploads to the maximum number of attachments you allow per post. You could also just set the limit to an arbitrary number of your choice.

    Leave a comment:


  • Jennifer2010
    replied
    I can verify this works on my install too. Thank you! However, does anyone know how to increase the number of maximum uploads from 10? Most of our users upload probably 20 - 50 pictures per thread.

    Leave a comment:


  • Dmitri
    replied
    FranzBanz, Thanks a lot! It works on my forum too!

    Leave a comment:


  • alexm
    replied
    Originally posted by Art Andrews View Post
    the only hope of tackling this is to take the the existing/compromised YUI and have a flash code close the exploit and then enable the YUI as it is already supported in the current vb coding
    My attempt can be found here:

    http://www.vbulletin.com/forum/forum...57#post4015757

    Usual disclaimers apply!

    Leave a comment:


  • djbaxter
    replied
    Originally posted by DirtRider View Post
    My question is why did the VB codes not give this as a workaround why does it take a customer with only 3 post to have to do this for the community?
    Because they weren't aware of it. Once FranzBanz posted this as a fix, BOP5 published it as a product at vbulletin.org within about 12 hours.

    How about giving credit where it's due instead of this incessant slamming of vBulletin? It's getting tiresome.

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X