[SOLVED] [Plugin] HTML Uploader (does not work)

mitsurugi

Joined: 2010-09-05
Posts: 9
Posted: Sun, 2010-09-05 23:06

Hi this is about the html uploader plugin http://codex.gallery2.org/Gallery3:Modules:html_uploader

When i want to upload photos still appears the flash method, as the plugin description says that have to be replaced by the html ones, but not

I did:

→ download it from -contrib git repository
→ extracted to my-gallery3/modules/
→ went to modules page and checked:

HTML Uploader 1 Simple HTML uploader that replaces the Flash based uploader
→ Pressed the refresh/save button (message appears: [tick] Activated: HTML Uploader)
→ went to an album and press to add photos
→ and appears the typical flash uploader ...

i ignored any step? Or i forgot something? If sb got any idea why didn't work ... thx

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2010-09-05 23:27

Are you using RC2 or an experimental version of G3?
Use the experimental version directions:
http://codex.gallery2.org/Gallery3:Upgrading

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mitsurugi

Joined: 2010-09-05
Posts: 9
Posted: Mon, 2010-09-06 08:15

Thx @floridave now it works correctly btw i will have to find another solution... is quite annoying upload photos 3 by 3 for some of my users...

thx again

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Mon, 2010-09-06 16:26

There is the flash uploader, and server add as well.
You can easily extend the number of upload boxes greater than 3 in the HTML uploader.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mitsurugi

Joined: 2010-09-05
Posts: 9
Posted: Wed, 2010-09-15 09:37

Yeah, for me, with access to FTP "Server Add" is the best way, but for other simply users that don't want to have flash in their browsers or simply, they dont know how to install it

I search for what you say about extend the # of upload boxes, but i couldn't find a "clear method"

I touch the source of uploader.php in html_uploader/controllers/ (is the only way i found)

So edited line 45 and changeed:

Quote:
foreach (array("file1", "file2", "file3") as $key) {

with:

Quote:
foreach (array("file1", "file2", "file3","file4","file5") as $key) {

And then line 119 that have:

Quote:
$group->upload("file3");

Add to more lines with

Quote:
$group->upload("file4");
$group->upload("file5");

Is there any other method?