I got reports of users saying that the 'next step' after uploading fails with more than 40 images. Is it perhaps possible to disable the listing on the second page completely, or just display text? I think it might be a timeout issue if you upload too many pictures at the same time.

CommentFileSizeAuthor
#12 next-step.png13.05 KBkristi wachter

Comments

grandcat’s picture

Category: feature » support

I will check this case. But you can remove their right to "edit captions", have a look at the permission's table.

scroogie’s picture

Category: support » feature

Yes, I saw that, but I thought that just disables the input elements, but still shows the "next step" page? Also I currently cannot use that as it breaks the whole upload progress. After three files that look successfull the whole queue gets canceled with the message "You must upload an image". After that all images get deleted and the queue gets canceled. As soon as I give the users the "edit captions" permission, it works again.

scroogie’s picture

ups.

scroogie’s picture

Category: feature » bug

The problems with more than 40 images was a problem in the Zen theme that was fixed recently, sorry.
That I cannot upload pictures without the edit captions permission is a bug in my opinion.

grandcat’s picture

Category: bug » support

Why should it be a bug??
You can remove the rights for "edit captions" in the premission table. Unfortunately, the administrator has always this feature because of Drupal's right management.

scroogie’s picture

If I remove the right to 'edit caption' i get:

After three files that look successfull the whole queue gets canceled with the message "You must upload an image". After that all images get deleted and the queue gets canceled. As soon as I give the users the "edit captions" permission, it works again.

grandcat’s picture

OK, it seems to be a bit buggy at the moment. I will try to work on it, if I have time.

scroogie’s picture

If you had a suspicion on the error, I could have a look at it as well.

kristi wachter’s picture

In my testing, when I remove the permission to edit captions, the user still gets the Next Step button ... but of course couldn't edit the captions on the next page.

Using

Image FUpload (CCK) 6.x-3.0-rc2
Drupal 6.15

Thanks for the terrific module!

ain’s picture

I can confirm that captions can not be edited.

grandcat’s picture

In my testing, when I remove the permission to edit captions, the user still gets the Next Step button ... but of course couldn't edit the captions on the next page.

Where's the problem? The user will then be redirected correctly.

kristi wachter’s picture

StatusFileSize
new13.05 KB

Sorry if I was unclear - the problem is that there isn't actually any next step - there's nothing to do on the Edit Captions page, so the user is confusingly shown a page of thumbnails with no available action. It's confusing, and it's an extra click. Ideally, if the user doesn't have the ability to edit anything associated with the uploaded images, there would be no Next Step, only Save.

From your comment #1 above, I thought you were saying, "If the Next Steps page is a problem, you can skip it by turning off Edit Captions permission." In my experience, it doesn't work that way - if you turn off Edit Captions permission, you still get the Next Steps page, even though there's nothing for the user to do there.

Also, I didn't mention this before: on the Edit Node page, where Image FUpload appears, I actually get TWO Next Step buttons. Screenshot attached. Apologies if that should be a separate issue.

grandcat’s picture

Try to use another user than admin. Does it work?

The two buttons are therefore that normally, there are a lot of settings in-between. We probably have to find a better way handling this.

For D7, there will be a very light version of FUpload which won't have any next-step anymore. Stay tuned.

kristi wachter’s picture

"Try to use another user than admin. Does it work?"

Unfortunately, no, it doesn't. The screen shot I sent, and the scenario I described, were from logging in with a different role with only a few permissions.

outcom’s picture

I would also like to skip the "next step" screen, if possible. I have removed all permissions, so it's basically just an extra step that's not being used. What is the best way to disable this step?

grandcat’s picture

Just remove the permissions of this user. Please note this won't work for admin user.

kristi wachter’s picture

Grandcat,

I think what we're saying is that even if you remove all permissions for a role other than admin, the Next Step STILL doesn't go away.

Is there a way to get rid of the Next Step, if removing all permissions doesn't get rid of it?

Thanks!

scroogie’s picture

I don't think there is. If I remember correctly, the Page-Load of the second page is used to update the images in the Drupal database (namely the file status entries). Thus, if you would step over the second page, all images would be deleted again after a cron-run, because they are marked as temporary. At least this is what I believe I remember from looking over the code.

grandcat’s picture

Not through correctly. It is possible to remove the next step using permission revokes. Therefore, all is done already when submitting the images.

Normally, it should work to revoke the "edit image captions" permission to make it work for unprivileged users.

RodrigoBalest’s picture

I tried to revoke "edit image captions permission".
Now, after all files are uploaded, the 'Save button' doesn't change to 'Next step', and when you click it, a javascript alert says "No images have been selected yet. Please click the icon on the left to queue some images".

Flying Drupalist’s picture

Subscribe

jayson’s picture

subscribing

knalstaaf’s picture

Subscribing.

babbage’s picture

Subscribing. If there is nothing to edit on this page, as can be the case even for users with Edit Captions permissions, if there are no caption fields enabled, the page should just never be displayed.

webadpro’s picture

If we can't remove next step could we set a custom path for the next step?

grandcat’s picture

Please note that as admin, it is always displayed because of Drupals permission management.

babbage’s picture

This has to be changed. It should be a preference, rather than being solely permissions-controlled, so that it can be turned off for all users. Admin users need to be able to be spared confusing unnecessary cruft.

nosweat’s picture

subscribing

benone’s picture

+1

Dharmendra.s’s picture

the next step button is not disappearing i tried all the things....it's very confusing part...if you know solution tell me..