Comments

johnv’s picture

Status: Active » Fixed

You have to install the plupload library separately. Did you do that?
I got it working as such:
1. download plupload from http://plupload.com/, and put in sites/all/libraries
2. install plupload module. Because there is discussion about the correct location of the library, I used the version from #1140666: Problem saving/deleting node: "You must at least upload one file.".
It uses sites/all/libraries
3. install mupload.module
4. set the widget

fender-dupe’s picture

i put the plupload files inside the module inside sites all modules

you are saying I should put the in the library folder?

And then you select widget to plupupload, does it actual work, you can select multiple images in cck image field?

fender-dupe’s picture

just tried this

created libraries folder in sites/all

and uploaded plupupload files from their website

when I go to image field and and try to select the plupupload, it is not there

vingborg’s picture

As stated on the frontpage, you select the "Muploader" widget. Sorry, but 99% percent of the answer to your question is standard Drupal installation basics, and I really don't have the time to repeat it in this comment.

fender-dupe’s picture

I am really sorry dev for taking your time, I am sure I am not the only one who is confused with this module. There is no info how to install it. It is connected to another module that is in sandbox.

What front page, front page of the site, of the article or plupload page?

I swear I will make video how to install this module.

Why the files should not go into sites / modules? why you have to put them in libraries

it would not take you long to give a small update how to install this.

I have at least 10 sites and did not have problems with other modules, I figured out all of them. But this one is a brainer.

You select the muploader wideget where? Under cck image field, I tried there, there is no muploader there, I can select only image / image for that field

fender-dupe’s picture

I have checked front page again, it does not have any files to download, your plugin is in sandbox man???

And you are telling me that I can't install the module? I am not a dev but I am not a noob too.

Good day

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

daco’s picture

StatusFileSize
new152.14 KB

Hi,

just in case someone else finds any problem trying to use this module, here is a step by step installation guideline

1. get the module from http://drupal.org/sandbox/vingborg/1138512 using

git clone http://git.drupal.org/sandbox/vingborg/1138512.git mupload

You need to have git installed for this to work. For those that don't, I've attached a zip file with the module (as of today August 30 2011). Just unzip it to get the same folder you would get with the "git clone" instruction.

2. Place the module in sites/all/modules (it didn't work from a specific site's module folder sites/mysite/modules)

3. get the plupload module dev version from http://drupal.org/project/plupload

4. get the plupload library from http://www.plupload.com/download.php and place teh unzipped folder in sites/all/libraries (and install the libraries module if you don't have it installed from http://drupal.org/project/libraries)

5. enable mupload and plupload

6. select "muploader" control type in the field you want to use it with (in content type > manage fields)

7. done! enjoy your new plupload widget when creating or editing a new node

vingborg’s picture

That's a nice writeup, daco. Now I really need to get my act together and find the time to finish this thing ;-)

johnv’s picture

Title: how to use this module » Mupload - how to use this module

a better title for dashboard.

KirstenLangholz’s picture

I did all you said and even implemented the patches given - but no good. The upload doesn't show up.

What am I doing wrong?

Attached the patches I used and the files. Maybe you can shed some light on it.

jmix’s picture

I tried too with same patches as above, no way to make the plupload appear... (i choose "muploader" widget type for my field).
Result is like if it was a "file" field. Any idea on how to make this work ? Thanks !

jmix’s picture

Hum ok, that now woks, i jus had to configure the muploader field to show thumbnail previews and unlimited number of values...

sangwo’s picture

Works for me with no patches at all;

1. git clone from the sandbox mentionned above (Eclipse Egit plugin does it very easily);
2. put the cloned mupload folder into sites/all/modules;
3. put the plupload-1.5.1.1/plupload folder into sites/all/libraries;
4. put the plupload-7.x-1.0-beta3/plupload folder into sites/all/modules;
5. enable both mupload and the plupload integration;
6. select the right widget type for your image field in your content type and set its values to unlimited;
7. done;

jmix’s picture

Sangwo, don't you have any problem when deleting / removing an image ?
On my install, removing an image deletes all images...

sangwo’s picture

Sorry for the slightly misleading and overly optimistic previous message but the clients tests have shown the following bugs:

(a) Cannot edit existing messages without uploading at least one picture
--> This patch worked: http://drupal.org/files/issues/handling-required_files.patch
(b) Get an ugly "Warning: unlink(...) [function.unlink]: Permission denied in plupload_handle_uploads()" message
--> http://drupal.org/node/1121070 comment #5
(c) Get a "Warning: implode() [function.implode]: Invalid arguments passed in form_error()" on saving a new node (everything seems to get done though)
--> No solution yet (maybe a global update of the system to 7.9 could help)
(d) When deleting one image, all images get deleted
--> http://drupal.org/node/1219854 comment #6

Also applied the "save all images" and "weight" patches from here http://drupal.org/files/issues/mupload-save_all_images-1164552-30.patch and here http://drupal.org/files/file-weight-sorting-1182760-5.patch respectivly (just in case even though described as being no critical bugs and the saving part also worked without the patch);

Now looks like it works except for the implode() warning;
The implode warning is caused by this piece of code from the includes/form.inc:

/**
 * Flag an element as having an error.
 */
function form_error(&$element, $message = '') {
+  if (isset($element['#parents'])) {
  	form_set_error(implode('][', $element['#parents']), $message);
+  }
}

The two lines marked with plus make the system ignore the faulty statement in case no $element or $element['parents'] are set. Currently they both are empty. Now I do understand that the right solution should attack the reason these elements aren't set instead of silencing the problem in core drupal code (updating drupal core will very probably bring this warning issue back by the way), but still. It works

Drupalitta’s picture

After spending some time trying to figure out this module and patching it together, I finally got a great working module with no (mayor) bugs. Everything works - rearranging, no file upload required, no accidental mass deletion. Only bug that occasionally appears now is the Implode warning mentioned above. Everything else works!!! :D So for the convenience of others, I am uploading the complete patched module files for both Mupload and Plupload (versions of Jan 28, 2012)
These work really nicely. Thank you everyone for your inputs.

Enjoy!

testtest23112’s picture

@Drupalitta, that's awesome, thanks a lot!

Have there been any commits to the project since last month (January 29)?
If so, it would be great if someone attached the updated versions of mupload and plupload just like Drupalitta did. Thanks in advance!