Gallery with phpBB2 - permission to add albums
IngerK
Joined: 2003-07-05
Posts: 26 |
![]() |
I have Gallery 1.4.3 integrated in phpBB2. This works fine except that registered users are not able to make albums (admin has to add the album - and change permissions). I wish that all registered users should be able to add albums, is this possible? How? |
|
hansonc
Joined: 2003-11-28
Posts: 3 |
![]() |
so since I've asked this before and gotten no answer and it appears I'm not the only one wanting to do this, is there a dev willing to throw an answer out to this question? thanks |
|
beckett
![]()
Joined: 2002-08-16
Posts: 3474 |
![]() |
The crux of this issue is right now, we override Gallery's user storage mechanism and hook directly into your {phpBB/Nuke/Mambo/...} user database, which not surprisingly, doesn't have a setting for "can add albums". We're not quite sure yet how best to handle our new custom data, such as this flag. One option would be to add fields to the database directly, but it's not quite that simple. Our custom things might get zapped if someone upgrades their phpBB and the database is repopulated. Another would be to cache our own data locally, but then syncing issues arise (one simple example: imagine giving creation authorization to someone, whose user account is then erased, and a new random user is created with the now available userid, and suddenly our new user has unintended write access). So the official answer from the dev. team is this is on our radar screen, but we need to devote more thought to how to do this properly. If anyone has good ideas or suggestions, we'd certainly love the input! -Beckett ( beck@beckettmw.com) |
|
AlpineZone
![]()
Joined: 2004-01-21
Posts: 69 |
![]() |
I just created some top level albums based on theme and then give the LOGGEDIN user permissions to create sub-albums. Not an ideal solution for everyone, but works great for me based on my needs. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
Quote:
The crux of this issue is right now, we override Gallery's user storage mechanism and hook directly into your {phpBB/Nuke/Mambo/...} user database, which not surprisingly, doesn't have a setting for "can add albums". We're not quite sure yet how best to handle our new custom data, such as this flag. why not create a new group in phpbb "galleryContributors". this approach is not perfect as it doesn't have fine grained permission control. you could use the specific phpbb permission (view, post, ...) and the album would be mapped to an invisible forum in phpbb. |
|
TomWells
Joined: 2004-06-15
Posts: 7 |
![]() |
Whoa! :o This is a major shortcoming for Gallery. In prior versions the default behavior for phpBB2 was to create a group of Gallery_users and go from there. Simple. It works fine. Is there a way for me to locally change this back to the old method? Can I just uncomment some of the changes? I'll have to quit using this software & look for something else if this can't be done :cry: Regards, Tom |
|