Usernames: Gallery 1.4.4 & phpBB 2.0.10

saidiadude

Joined: 2004-07-30
Posts: 15
Posted: Fri, 2004-07-30 00:29

Hello all, I'm a new user of Gallery. Plan to install it next week at the site located in my sig below. Poked around the newsgroups and did a quick search. One question seems to be brought up frequently:

- Is there a mod that will allow usernames from phpBB to be used in Gallery seamlessly (i.e. invisible to the end user)?
- A followup: Is there a mod that will do the reverse also (someone creates a username in my Gallery, and it is carried over to phpBB)?

BTW, Kudos to all the folks who have worked hard to make Gallery the excellent package that it is today.

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Fri, 2004-07-30 01:10

1. Yes... that's how Gallery embeds by default. Read the documentation in the /contrib/phpBB2 directory of Gallery.

2. No... that's not possible.

 
saidiadude

Joined: 2004-07-30
Posts: 15
Posted: Fri, 2004-07-30 02:08

Thx for the reply. I'll read the docs suggested.

To enforce (2), is the following possible:
- disable login/register in Gallery and instead display login/register for phpBB? I could just edit the appropriate file to not show the link,

That way, any users wishing to use my Gallery would have to login/register with phpBB first.

Would that work?

 
saidiadude

Joined: 2004-07-30
Posts: 15
Posted: Sat, 2004-07-31 02:01

OK, I installed Gallery 1.4.4 on a test server with a copy of my phpBB code (updated to 2.0.10). Followed directions in the contrib/phpbb2 directory. I can access Gallery (embedded into phpBB2), no errors shown and my header is shown as needed.

Some questions:
- How do users create their own albums?
- How are these tied to their userid on phpBB? Gallery never asked for a DB name or id/passwd for phpBB - did I forget to install something?

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Sat, 2004-07-31 02:09

Gallery automatically detects that it's embedded and will take the necessary information directly from phpBB.

To enable your users to create albums, you must create a root album, and change the permissions to allow LOGGEDIN to create sub-albums.