No Admin Access w/ Gallery embedded in Mambo

RYANOBRIEN

Joined: 2006-06-12
Posts: 2
Posted: Mon, 2006-06-12 16:23

I've installed MamboPlus 2.1.3 (i.e. Mambo 4.5.2.3 with phpBB 2.0.16 sharing user and session tables but otherwise independent) on a Linux box with Apache, MySQL, & PHP successfully. I have installed Gallery 1.5.3 successfully and have added Gallery to Mambo as a component and added the component link to my user menu in Mambo and set admin level and link settings on the Mambo Gallery Component page. So far so good, I can see Gallery imbedded in the Mambo page no problem. By the way this is really slick.

Here's the problem: I have tried various Mambo user access level settings but none of them give Gallery Admin access to the user, not even the Mambo Super User logged into the Mambo frontend. Gallery appears to recognize the Mambo User is logged in but never grants Admin access. If I go directly to Gallery and avoid Mambo, the Gallery Admin user has full access no problem. It's my understanding that when logged into Mambo with a user who has been granted minimum admin access as indicated in the Mambo Gallery Component page & on the Mambo User config page, the user when viewing the imbedded Gallery page should see full Gallery admin rights (i.e. links to create albums, configure Gallery, etc...), but I can't see them from within Mambo. I would very much like to have my Mambo Super User have full Gallery Admin access form within the Mambo.

Any help on this subject would be greatly appreciated.

 
RYANOBRIEN

Joined: 2006-06-12
Posts: 2
Posted: Thu, 2006-06-15 16:32

Problem Solved.

For Future MamboPlus & Gallery 1 integrators the problem lies in the Gallery/init.php page. You must modify the case:mambo database field name array to reflect the correct Mambo user table field names so Gallery can get permissions from Mambo. Once done everything seems to work good. I'm guessing the Mambo user table field names were changed as a result of the integration of phpBB into Mambo in MamboPlus.