Advanced search  

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

Pages: 1 2 [3] 4 5   Go Down

Author Topic: HTML5 multi-file upload plugin  (Read 256232 times)

0 Members and 1 Guest are viewing this topic.

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #40 on: September 02, 2013, 02:33:34 pm »

@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.
Logged

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: HTML5 multi-file upload plugin
« Reply #41 on: September 02, 2013, 05:36:23 pm »

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!
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: HTML5 multi-file upload plugin
« Reply #42 on: September 02, 2013, 08:20:50 pm »

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

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: HTML5 multi-file upload plugin
« Reply #43 on: September 03, 2013, 08:49:02 pm »

New version (1.2.5) tested:

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

Regards
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #44 on: September 03, 2013, 11:55: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.
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: HTML5 multi-file upload plugin
« Reply #45 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.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #46 on: September 04, 2013, 02:24:03 pm »

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.

« Last Edit: September 04, 2013, 02:35:24 pm by ron4mac »
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: HTML5 multi-file upload plugin
« Reply #47 on: September 04, 2013, 09:57:18 pm »

Quote
My 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"

Quote
Album seleccionado = Selected Album
Selecciona un Album = Select album

Regards
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #48 on: September 05, 2013, 02:05:28 am »

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 :)
« Last Edit: September 05, 2013, 03:51:32 pm by ron4mac »
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: HTML5 multi-file upload plugin
« Reply #49 on: September 05, 2013, 12:56:36 pm »

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.
Logged

claude

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 30
    • Voyagez avant de partir
New version of french langage
« Reply #50 on: February 02, 2014, 02:57:40 pm »

New version of french langage  ;)
Logged
Claude

Voyagevirtuel.info
Voyagez avant de partir

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: New version of french langage
« Reply #51 on: February 02, 2014, 11:06:31 pm »

New version of french langage  ;)

Thank you, Claude.
Logged

wilk

  • Translator
  • Coppermine regular visitor
  • **
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 51
  • Wilk Wilkowy
    • #QuizPL @ IRCnet
Re: HTML5 multi-file upload plugin
« Reply #52 on: March 09, 2014, 03:14:47 am »

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
Logged
PM me for Polish translations (new/update)

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #53 on: March 09, 2014, 04:44:19 am »

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?
Logged

wilk

  • Translator
  • Coppermine regular visitor
  • **
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 51
  • Wilk Wilkowy
    • #QuizPL @ IRCnet
Re: HTML5 multi-file upload plugin
« Reply #54 on: March 09, 2014, 07:21:23 pm »

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.
Logged
PM me for Polish translations (new/update)

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #55 on: March 10, 2014, 03:12:01 am »

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:
Code: [Select]
//$superCage = Inspekt::makeSuperCage();
Let me know if that makes a difference.  Sorry for the trouble. :-\
Logged

wilk

  • Translator
  • Coppermine regular visitor
  • **
  • Country: pl
  • Offline Offline
  • Gender: Male
  • Posts: 51
  • Wilk Wilkowy
    • #QuizPL @ IRCnet
Re: HTML5 multi-file upload plugin
« Reply #56 on: March 10, 2014, 11:21:50 am »

It made no difference.

However I've managed to fix your plugin:

Code: [Select]
--- 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 /.
Logged
PM me for Polish translations (new/update)

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #57 on: March 10, 2014, 02:04:42 pm »

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).
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: HTML5 multi-file upload plugin
« Reply #58 on: June 09, 2014, 01:37:53 pm »

Awesome plugin.
Thanks a lot.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: HTML5 multi-file upload plugin
« Reply #59 on: June 09, 2014, 02:02:06 pm »

   Allow entry of bulk Keywords and/or User Fields (optional)

Can this plugin have Allow entry of  bulk title and description?
Logged
Pages: 1 2 [3] 4 5   Go Up
 

Page created in 0.033 seconds with 20 queries.