Allow users to upload to a specific gallery?

ComposerRyan

Joined: 2005-02-01
Posts: 8
Posted: Tue, 2006-10-17 21:36

I'm usually a quick learner, but this time I have to ask you guys: I have a bunch of albums on my site but I only want users to be allowed to upload pictures to a specific album called "Car Gallery." They have to be logged in to upload images of course.

How do I do this? I went to permissions but it said "EVERYBODY" and the only thing I saw was "Add Sub Items" The permissions seem kind of confusing...am I not seeing something?

Also, I need to limit how many kbs the user can upload so that they don't end up taking up server space as they're gonna be uploading alot. I want to limit the size of their uploads to 100kbs...can I do this?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-10-17 22:47

topic moved to the support forums.

there are 3 predefined user groups: the administrator group, the registered users group and the everybody group.
all users with an account are in the registered users group.

browse to the album where they should have upload rights and click "edit permissions" and add the "add sub item" permission to the Registered users group.

@limited disk space:
install and activate the quotas module and assign a disk quota for that the registered users group.
if you want to limit the per file size and not the total quota, use the sizelimit module instead and enable it for that album and define a file size limit.

 
beer78

Joined: 2005-02-20
Posts: 8
Posted: Wed, 2006-10-18 15:55

This solution works. but not in joomla. I can't find the add items button in joomla frontend

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-10-18 16:33

beer78, please post your question in a new topic in the "embedding & integration" forum.

 
ComposerRyan

Joined: 2005-02-01
Posts: 8
Posted: Wed, 2006-10-18 17:34

Thanks Valiant for the help...but I forgot to ask one of the most important questions: can I APPROVE the items that users upload? I don't want them appearing on my site until I approve them.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-10-18 17:44

not out of the box, not yet.

maybe a user contributed module can help:
see the "moderate" module at:
http://codex.gallery2.org/index.php/Gallery2:User_Contributions#Modules