Flash Uploader for Images - How do we get it back?
Collapse
X
-
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.com -
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" />
HTML Code:<input id="firstuploadinput" type="file" class="bginput uploadinput" name="attachment[]" size="30" tabindex="1" multiple />
HTML Code:<input id="fileupload1" class="textbox" type="file" size="30" name="attachment[]" tabindex="1" />
HTML Code:<input id="fileupload1" class="textbox" type="file" size="30" name="attachment[]" tabindex="1" multiple />
Remember that this is not well tested yet, so it should be considered experimental.Comment
-
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" />
HTML Code:<input id="firstuploadinput" type="file" class="bginput uploadinput" name="attachment[]" size="30" tabindex="1" multiple />
HTML Code:<input id="fileupload1" class="textbox" type="file" size="30" name="attachment[]" tabindex="1" />
HTML Code:<input id="fileupload1" class="textbox" type="file" size="30" name="attachment[]" tabindex="1" multiple />
Remember that this is not well tested yet, so it should be considered experimental.
Thank I will implement this until I have completed my move over to Xenforo and VB wonder why their customers are getting so pissed of late
Comment
-
So far as I know, that fix will not work with IE-10. That eliminates anywhere from 10% to 25% of users, depending on who's statistics you like.Last edited by mediasnog; Sat 11 Jan '14, 6:37am.Fedora 15 - Apache/2.2.22 - PHP:5.3.13 (switchable Fast-CGI, CGI, Mod-PHP, SuPHP) - MySQL:5.5.23Comment
-
For anyone interested I have made this into a modification available here- http://www.vbulletin.org/forum/showthread.php?t=306915 - But all credit goes to FranzBanz, I would not have known a fix existed without their post.
The one thing the modification will do is tell people the maximum number of files they are allowed to upload first because there is no (easy) way to limit the number of files that can be selected using the multiple attribute but vBulletin will not process any files above the max set in settings.
The mod requires VB 4.1.10 or higher.👍 1Comment
-
According to Microsoft, IE supports multiple upload as of version 10, see http://msdn.microsoft.com/en-us/libr...r_improvements, but maybe it's disabled in the IE9 quirks mode vBulletin puts IE in for not breaking hacks needed for former IE versions (I didn't test that). It won't work in IE <= 9, where the `multiple` attribute is ignored and the field degrades to an old one-file-upload field. Apart from IE, all major desktop browsers support multiple file upload, see e.g. http://www.quirksmode.org/html5/inputs.html#t11.
However, as I mentioned before - this is just a quick workaround, not a full-featured replacement for the flash-based image/asset uploader.Last edited by FranzBanz; Sat 11 Jan '14, 7:23am. Reason: Added quote for clarification of the context.👍 1Comment
-
Interesting since I'm running IE-10 with Windows 7 and it falls back to single file upload for me.
It's my understanding the multiple upload is controlled more by the underlying operating system than it is by the browser.
EDIT: A regular HTML input with multiple set works with my IE-10 install. For some reason the edit provided does not work with IE-10. It does work with FireFox. So I would imagine it does have something to do with the IE "quirks mode".Last edited by mediasnog; Sat 11 Jan '14, 8:31am.Fedora 15 - Apache/2.2.22 - PHP:5.3.13 (switchable Fast-CGI, CGI, Mod-PHP, SuPHP) - MySQL:5.5.23Comment
-
Also see this thread: http://www.vbulletin.org/forum/showthread.php?t=306915Last edited by Wayne Luke; Sat 11 Jan '14, 10:45am.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
How about giving credit where it's due instead of this incessant slamming of vBulletin? It's getting tiresome.
Comment
-
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.Comment
-
This is possible, albeit a bit hacky, using a plugin. If you add
PHP Code:$vbulletin->options['attachboxcount'] = $vbulletin->options['attachlimit'];
👍 1Comment
-
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 patientComment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment