Support > cpg1.5 plugin contributions

HTML5 multi-file upload plugin

<< < (2/20) > >>

Αndré:
Your plugin looks really amazing. I suggest to change some parts of the language file tough.

Find

--- Code: ---$lang_plugin_html5upload['html5_method'] = 'HTML5 multi-file upload';
--- End code ---
and replace with

--- Code: ---$lang_plugin_html5upload['html5_method'] = 'Multiple files - HTML5-driven';
--- End code ---
(to match the description of the flash uploader)


The second row overwrites the first one:

--- Code: ---$lang_plugin_html5upload['html5upload'] = 'Upload file(s) using HTML5 methods';
$lang_plugin_html5upload['html5upload'] = 'HTML5 Upload';
--- End code ---


In codebase.php, I suggest to find

--- Code: ---cpg_db_query("INSERT INTO {$CONFIG['TABLE_CONFIG']} (name, value) VALUES ('html5upload_autoedit', '1')");
--- End code ---
and replace with

--- Code: ---cpg_db_query("INSERT INTO {$CONFIG['TABLE_CONFIG']} (name, value) VALUES ('html5upload_autoedit', '0')");
--- End code ---
so that option isn't enabled by default. It again matches the behavior of the flash uploader and if there are any error messages you're able to read them (I just tried to upload some unsupported file types, saw the red boxes for a very short time and was then redirected to the empty edit files page).

ron4mac:
Thanks for the suggestions, André.  I assume that I would submit v1.0 in this thread ... correct?

Αndré:
Yes. I added you to the contributor group, so you're able to edit your posts. Please attach any new version to the initial post (as far as I know you can add 3 attachments per post as contributor).

phill104:
ron4mac,

It would be great if you could add a list of currently supported browsers to your original post. I'm quite suprised to find IE9 and IE10 currently do not work.

I really love this plugin, brilliant job.

ron4mac:

--- Quote from: Phill Luckhurst on January 29, 2013, 08:34:45 pm ---ron4mac,

It would be great if you could add a list of currently supported browsers to your original post. I'm quite suprised to find IE9 and IE10 currently do not work.

I really love this plugin, brilliant job.

--- End quote ---

Thanks, Phill.

I don't have a lot of resources to test it out.  I developed on Mac OS with Safari, Chrome and Firefox.  I might be able to put together a VirtualBox IE setup to explore getting it to work there (if at all possible).

Thanks for your feedback.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version