HTML5 multi-file upload plugin - Page 3 HTML5 multi-file upload plugin - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

HTML5 multi-file upload plugin

Started by ron4mac, January 25, 2013, 01:23:10 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

ron4mac

@tassu & Niecher

I installed versions 1.5.20 and 1.5.24 of CPG and used a couple different PHP versions with each.  Sorry, but I am unable to duplicate the problem you are having with uploaded files not actually making it into albums. Without error/logs or privileged access to your site, I can not determine where the problem might be.

Sorry it's not working for you. If you at some point discover what the issue is, please let me know what you found.

pols1337

Hi, I've tested it out.

Some thoughts:
1. Maybe show a ticker that keeps track of how many files have been uploaded.  The uploading started immediately, which was sort of unexpected, and it finished before I even knew what was going on or how many files were uploaded.
2.  I don't think the HTML5 Upload Config saves the option for Keywords or Mime Types.  To be more precise, I enter in "jpeg/jpg/png/gif/bmp" for the mime types and check the box for Keywords, yet after I save both those fields are blank. 
3.  Enlarge the upload area.  Right now it's pretty small, and the whole point is to quickly drag your pictures over right?  Your target is kind of small  ;)

Otherwise, works well!

phill104

My personal preference is for the smaller target as it makes it easier to grab the source files.
It is a mistake to think you can solve any major problems just with potatoes.

Niecher

New version (1.2.5) tested:

QuoteError "file size": Ok
Error "Allowed file extensions": OK
Error "unselected album": Fault

Regards

ron4mac

Quote from: Niecher on September 03, 2013, 08:49:02 PM
New version (1.2.5) tested:

Regards

Niecher, those messages do not exist in a standard install of CPG 1.5.20, nor are they a part of your theme (curvinosa).  Is it possible that you have some other plugin that is conflicting with this HTML5 Upload plugin?

Thank you for the Spanish translation.

Niecher

I mean, that the error messages to the file extension and the file size is displayed, but when the album is not selected the error message is not displayed.

If no error message displayed when the album is not selected, then performed the file upload causing a critical error.

Perhaps the issue is in the file "upload5.js" or the file "upload5.min.js"

Regards.

ron4mac

#46
Quote from: Niecher on September 04, 2013, 11:43:42 AM
I mean, that the error messages to the file extension and the file size is displayed, but when the album is not selected the error message is not displayed.

If no error message displayed when the album is not selected, then performed the file upload causing a critical error.

Perhaps the issue is in the file "upload5.js" or the file "upload5.min.js"

Regards.
Okay, now I understand. However, I have not been able to duplicate that behavior on my computers OSes and browsers.  Can you please let me know the operating system and web browser that you are using.

Also, I find it strange that the language for the album selector is different for my installation of 1.5.20.  This language comes directly from CPG, not the plugin.


Niecher

QuoteMy OS Windows 7
My FireFox browser 23.0.1

Admittedly, I've changed the translation of some lines coppermine language, for example, is not the same as saying "Album seleccionado" to "Selecciona un Album"

QuoteAlbum seleccionado = Selected Album
Selecciona un Album = Select album

Regards

ron4mac

#48
Quote from: Niecher on September 04, 2013, 09:57:18 PM
My OS Windows 7
My FireFox browser 23.0.1

I tried a VirtualBox with Win7 and FF and it worked okay for me with my installation of 1.5.20. So I took a better look at your theme (switcher?), and I'm pretty sure that I've solved the problem. There is a form element in the search box at the top of your theme that conflicted with the album selector.

Try this modified version and let me know if there are any additional issues.

Thanks for your feedback and patience :)

Niecher

ron4mac, thank you very much.

The problem was on the theme, the search box as you well said was the problem.

I tested again all versions of the plugin, and they all work perfectly.

Regards and thank you very much for your patience.

claude

New version of french langage  ;)
Claude

Voyagevirtuel.info
Voyagez avant de partir

ron4mac


wilk

Polish translation for 1.2.6.

Unfortunately I have an issue with this plugin. Uploading works ok, but changing plugin settings does not. When submitted they are reverted to default values. Database stores default values, but they are not updated. CPG: 1.5.26
PM me for Polish translations (new/update)

ron4mac

wilk, thank you for the translation.

I can't see where the problem with saving settings could be.  When you click on the button for 'Apply changes', does the display immediately revert to the default settings?  What theme are you using? Are you using other plugins? If the other plugins have settings, do they update okay?

wilk

When I click the apply button I'm redirected to the same settings page (translation file suggests that some info using 'saved' string should be displayed, but nothing happens) and the settings are reverted to default (installing plugin correctly inserts values to DB).

Enabling debug mode does not show any errors, only one notice for admin.php "Notice line 72: Undefined variable: choices", debug shows that DB is queried for SELECTs correctly (I'm not a plugin developer, but I see no point in invoking 8 separate SELECTs when $CONFIG array is already populated).

I use customized "curve" theme, but in renamed folder.
The other (enabled) plugins are: onlinestats 2.6, fav_button 1.3, keyboard_navigation 2.2, stripwheel 0.4, recaptcha 2.1.
The html5upload (1.2.6) is last in the queue, moving it to top does not solve the problem.
Other plugins (only onlinestats and recaptcha have settings) update their settings correctly.
PM me for Polish translations (new/update)

ron4mac

Sorry, wilk, I've run an install of CPG 1.5.26 with all of the plugins that you are running, but I have not been able to duplicate the failure that you are experiencing.

Would you please try this:  in the admin.php file of the html5upload plugin, comment out line 11.  So it would look like this:
//$superCage = Inspekt::makeSuperCage();

Let me know if that makes a difference.  Sorry for the trouble. :-\

wilk

It made no difference.

However I've managed to fix your plugin:


--- admin.php.bak Thu May 16 14:19:38 2013
+++ admin.php Mon Mar 10 10:56:40 2014
@@ -57 +57,3 @@
-echo '<form action="index.php?file=html5upload/admin" method="post">';
+echo <<< EOT
+<form action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">
+EOT;


Hardcoded URL was incompatibile with my .htaccess redirect of index.php to /.
PM me for Polish translations (new/update)

ron4mac

wilk, excellent work!!

Thank you for your effort in discovering the issue.  I'll make the change for the next release.

And I totally agree with your comment about the number of database calls in the configuration logic. I plan to combine the plugin's parameters into one database call (at least for the CPG 1.6 release if not now).

allvip


allvip

Quote from: ron4mac on January 25, 2013, 01:23:10 AM
   Allow entry of bulk Keywords and/or User Fields (optional)

Can this plugin have Allow entry of  bulk title and description?