User Album

pwarner

Joined: 2005-11-28
Posts: 7
Posted: Tue, 2006-01-31 16:21

Hi all,

I have a problem that I hope someone could help me with. I am using the UserAlbum to create an album for a user when they register. What I need to do is make is so that they can only Add a photo and Edit/Detele a photo that belongs in their album. I don't want them to be able to alter permissions and rename albums etc. I would be most grateful if anyone can help me with this.

Best Wishes

Pete

 
pwarner

Joined: 2005-11-28
Posts: 7
Posted: Wed, 2006-02-01 11:12

Please... Any help would be much appreciated

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2006-02-04 19:27

look in modules/useralbum/classes/UserAlbumHelper.class and you'll find the code that sets up the permissions on the newly created user album. you can try changing that...

 
pwarner

Joined: 2005-11-28
Posts: 7
Posted: Mon, 2006-02-06 10:44

Hi,

Thanks for the reply. Had a look at UserAlbumHelper.class but really struggling to get this to work. Does anyone know what I should change and what to?

Thanks

Pete

 
dotnature
dotnature's picture

Joined: 2005-10-26
Posts: 224
Posted: Mon, 2006-02-06 15:38

maybe check out simple module, might be easier to customize to http://gallery.menalto.com/node/35587

 
pwarner

Joined: 2005-11-28
Posts: 7
Posted: Mon, 2006-02-06 16:59

I am just looking at that as I type this.. ;)

It Seems that making the gallery do some thing simple is much harder than expected :(

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-02-06 20:19

permissions are simple?