Please login or register.
Login with username, password and session length
May 25, 2013, 12:51:43 PM
News: We're back! And here to stay!
collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

you must provide a description by kasix
[Yesterday at 11:48:59 PM]


Fatal error: by mailtobala04
[May 17, 2013, 04:36:20 PM]


Backend Items (Images) don't work by bauchinj
[May 15, 2013, 04:18:55 PM]


Permissions issue: a user can upload images in other user galleries by guidocx84
[May 11, 2013, 05:17:44 PM]


Payment after loggin by mirjam
[May 11, 2013, 03:02:56 PM]


image titles without dashes by mirjam
[May 11, 2013, 02:57:48 PM]


Batch Upload Fails by mirjam
[May 11, 2013, 02:52:08 PM]


Slow Gallery with many Photos by mirjam
[May 11, 2013, 02:49:36 PM]

Advertisement


Pages: [1]   Go Down

Author Topic: User upload  (Read 322 times)

Offline sublevel4

  • Newbie
  • *
  • Posts: 3

User upload
« on: May 24, 2012, 06:46:27 PM »
I would like to to make it so that users can upload into Gallery1 and Gallery2 that i have created and not create galleries. How do i do that?

Offline mirjam

  • Dev Team
  • Hero Member
  • *****
  • Posts: 558

Re: User upload
« Reply #1 on: May 25, 2012, 11:44:54 AM »
The usergroup that is allowed to upload images needs to have create permission for the galleries they are allowed to upload images in. So at component level (Backend > Components > RSGallery2 > Control Panel > Options (toolbarbutton)), "Create" permission would be inherited, effectively "Not allowed", this way you user cannot create a new gallery at the top level. Then for the gallery where they are allowed to upload images (Backend > Components > RSGallery2 > Gallery > [Edit the gallery] > Set Permissions), set the Create permission to Allowed so that after saving the 'Calculated Setting' is 'Allowed'.

With this setting you users can still create subgalleries in that gallery, however, for the frontend My Galleries you have to option to limit the number of galleries users can have via Backend > Components > RSGallery2 > Control Panel > Configuration > tab: My galleries > Setting "Maximum number of galleries a user can have" = 1. This way from the frontend a user cannot create any more galleries if they already own one gallery. From the backend these users could create more galleries though.

Perhaps the new feature mentioned here http://www.rsgallery2.nl/nightly_builds_rsgallery2_joomla_1.61.72.5/what_will_be_new_next_version_posting_guidelines_download_16673.msg43927.html#msg43927 is something you might already want to use. It adds a "Create Own" permission. The difference between "Create" and "Create OWn" is analogues to Joomla's core permissions "Edit" and "Edit Own". "Create Own" (allowing the user to upload images only in galleries they own) is currently only implemented in the Frontend, which is also the reason that there is no official release with this.

If you want to use the "Create Own" that you'll want to make sure that the gallery that you create for a specific user has that user as its owner when you create it: Backend > Components > RSGallery2 > Gallery > [Edit the gallery] > Set "Owner" to the user you want.

What do you think of this?
Suddenly on maternity leave: our baby boy was born a few weeks early, he's doing well now.
For the next couple of weeks I won't available, for true emergences pm locutusweb please.

I hope that RSGallery2 users will help each other out in the mean time.

Offline sublevel4

  • Newbie
  • *
  • Posts: 3

Re: User upload
« Reply #2 on: May 25, 2012, 07:38:42 PM »
Thank you Mirjam for the information. I will see what i can do. I was hoping for something simple but it is what it is.

Thanks,
D
Pages: [1]   Go Up