Active
Project:
Image FUpload
Version:
6.x-3.0-rc2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2009 at 08:32 UTC
Updated:
28 May 2012 at 13:19 UTC
Jump to comment: Most recent file
Comments
Comment #1
grandcat commentedI will check this case. But you can remove their right to "edit captions", have a look at the permission's table.
Comment #2
scroogie commentedYes, 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.
Comment #3
scroogie commentedups.
Comment #4
scroogie commentedThe 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.
Comment #5
grandcat commentedWhy 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.
Comment #6
scroogie commentedIf I remove the right to 'edit caption' i get:
Comment #7
grandcat commentedOK, it seems to be a bit buggy at the moment. I will try to work on it, if I have time.
Comment #8
scroogie commentedIf you had a suspicion on the error, I could have a look at it as well.
Comment #9
kristi wachter commentedIn 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!
Comment #10
ain commentedI can confirm that captions can not be edited.
Comment #11
grandcat commentedWhere's the problem? The user will then be redirected correctly.
Comment #12
kristi wachter commentedSorry 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.
Comment #13
grandcat commentedTry 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.
Comment #14
kristi wachter commented"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.
Comment #15
outcom commentedI 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?
Comment #16
grandcat commentedJust remove the permissions of this user. Please note this won't work for admin user.
Comment #17
kristi wachter commentedGrandcat,
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!
Comment #18
scroogie commentedI 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.
Comment #19
grandcat commentedNot 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.
Comment #20
RodrigoBalest commentedI 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".
Comment #21
Flying Drupalist commentedSubscribe
Comment #22
jayson commentedsubscribing
Comment #23
knalstaaf commentedSubscribing.
Comment #24
babbage commentedSubscribing. 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.
Comment #25
webadpro commentedIf we can't remove next step could we set a custom path for the next step?
Comment #26
grandcat commentedPlease note that as admin, it is always displayed because of Drupals permission management.
Comment #27
babbage commentedThis 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.
Comment #28
nosweat commentedsubscribing
Comment #29
benone commented+1
Comment #30
Dharmendra.s commentedthe next step button is not disappearing i tried all the things....it's very confusing part...if you know solution tell me..