Gallery 1.4.3 RC-1 & phpBB 2.0.8

AlpineZone
AlpineZone's picture

Joined: 2004-01-21
Posts: 69
Posted: Tue, 2004-03-30 14:05

Hello all - I just installed Gallery 1.4.3 RC-1 into my phpBB 2.0.8 forum. I used to have an old version of Gallery (1.3.x) and the SnailSource integration and it worked fine. Since I've upgraded Gallery, it no longer pulls in the forum template:

http://forums.alpinezone.com/modules.php?op=modload&name=gallery&file=index

I've followed the forum install and phpBB integration instructions carefully, but I've lost the forum format/header/footer, etc. Any thoughts on what happened? The forum seems to function correctly and accesses log-in information from phpBB, but the formatting is lost.

Also, with the SnailSource integration, permissions to add albums to Gallery were controlled by a Gallery_User group in phpBB. Is this still the case with the 1.4.3 built-in integration, or do all forum members have access? I haven't seen any documentation on that.

Thanks!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2004-03-30 17:19

Hello,

Gallerys integration is based on the Snailsource Code.

I tested 1.4.3-RC1 with phpBB2 and it works fine.
See my Testinstallation at: http://www.jems.de/phpBB2/

So guess you have modified something in your gallery installation.
Especially wrapper.header.default is important !

We decided not to modify any phpBB2 tables. So this functionality is gone.
Only Admins can create albums.
The you can give permissions to users for adding items, or whatever.
But no group permissions.

Regards,

Jens

 
AlpineZone
AlpineZone's picture

Joined: 2004-01-21
Posts: 69
Posted: Tue, 2004-03-30 20:07
Tim_j wrote:
So guess you have modified something in your gallery installation.
Especially wrapper.header.default is important !

We decided not to modify any phpBB2 tables. So this functionality is gone.
Only Admins can create albums.
The you can give permissions to users for adding items, or whatever.
But no group permissions.

Thanks Jens! I deleted my Gallery entirely and uploaded a fresh one and it now works.

Actually, you can have group permissions by using the LOGGEDIN user. This would only allow logged in users (as validated by phpBB) create albums based on the permissions you set. This suits my needs perfectly. One other question:

Why don't the skins and other formatting work when embedded in phpBB? For example, if I go directly to the Gallery install directory here - http://forums.alpinezone.com/modules/gallery/ - I see the skin. If I go through my forum here - http://forums.alpinezone.com/modules.php?op=modload&name=gallery&file=index - I see no skins. Any thoughts?

Thanks!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2004-03-30 20:34

Hi Greg,

your idea is okay. But maybe only you like it....
Maybe we introduce groups and group permissions in Gallery someday :)

Well, thats the trick of beeing embedded. We try to make Gallery a Part of the environment.

Regards,

Jens

 
AlpineZone
AlpineZone's picture

Joined: 2004-01-21
Posts: 69
Posted: Tue, 2004-03-30 20:41

Any thoughts on the skins issue?

 
sumc

Joined: 2004-03-06
Posts: 13
Posted: Thu, 2004-04-01 16:19

hey sorry to hijack but seeing as NOONE replied how on stage 3 do you link the module directory to a current installation

i.e i have www.kiteatb.co.uk/mcforum/modules and want to link to www.kiteatb.co.uk/mcgallery/

 
AlpineZone
AlpineZone's picture

Joined: 2004-01-21
Posts: 69
Posted: Thu, 2004-04-01 19:26

How about just installing Gallery in /modules? I can't see a benefit to installing it elsewhere...

 
Beerdenius
Beerdenius's picture

Joined: 2003-06-13
Posts: 1
Posted: Thu, 2004-04-01 20:43

I just installed phpBB2 2.0.8 (uses MySQL) and then installed Gallery 1.4.3RC1 as a module as per the gallery/contrib/phpBB2/HowTo.txt and they both work Great together! Both installations were easy. I've been using Gallery as standalone for about a year now, and it has become an invaluable tool for my family web site.

I am impressed with how the phpBB2 users database supercedes the existing Gallery user database. This makes user management a lot easier.

However, because any Add Photo function (XP Publish, Gallery Remote) doesn't seem to use the phpBB2 user database, I still have to maintain a double set of user databases, one in phpBB2 and the other in Gallery while accessing it as standalone.

phpBB2 users are otherwise unable to Add Photo's to Gallery. All of my small set of users either use Gallery's Add Photo admin function or the unsupported experimental XP Publish method.

Hopefully this issue will be resolved soon. (I can't yet think of a way for a workaround). If there actually is a solution and I've missed something, please let us know!

Thanks!

PS. I have noticed some Gallery "permissions" quirks seemingly associated with Gallery's NOBODY "group" and albums that can become wide open for admin-level manipulation by any phpBB2 user when Gallery is used as a phpBB2 module. Permission lists can actually contain an annoying blank, unnamed group/user, which can be deleted as part of the repair.

 
forrie

Joined: 2002-08-20
Posts: 69
Posted: Tue, 2004-04-06 04:00

I just installed phpBB2, and there aren't (any longer) instructions in the docs directory about Gallery integration. Likewise, I can't find any instructions on the Gallery site or in the source directory about this (I have CVS version of 1.x).

Can someone point me to some detailed instructions about how to get this working properly.

There is no "modules" directory in the default installation of phpBB2.

Curious, if you have a stand-alone Gallery and want to use those images in an embedded phpBB2 Gallery, how would that work if you linked it (ln -s). I probably will include a separate standalone-embedded gallery in phpBB2 for ease of use, depends on the instructions.

Thanks......

 
npereira

Joined: 2002-09-24
Posts: 114
Posted: Thu, 2004-04-08 19:20

>>There is no "modules" directory in the default installation of phpBB2.

You need to create that one yourself.

>>Curious, if you have a stand-alone Gallery and want to use those images in an >>embedded phpBB2 Gallery, how would that work if you linked it (ln -s). I >>probably will include a separate standalone-embedded gallery in phpBB2 for >>ease of use, depends on the instructions.

That's what I did, standalone and link the gallery module to the path of my standalone gallery.

>> just installed phpBB2, and there aren't (any longer) instructions in the docs >>directory

Yes there is, look in the Gallery/contrib/phpBB2 directory of version 1.4.3RC1 or higher.

 
jaimexyz

Joined: 2004-04-09
Posts: 5
Posted: Fri, 2004-04-09 18:11

Hi everybody...!

I have a phpBB 2.08 and a Gallery 1.3.4.... standalone instalations...

I going to update to latest gallery version but also I want to integrate gallery with phpbb. I have lots of pictures in my gallery and like a 6 Mb database in my phpBB.

I want to link the gallery to its original location instead of installing a new gallery in modules folder. How should I do the link... with a html file in modules folder, throught the server, or i need to edit a phpbb file?

It this operation secure? or Im putting in danger all my database and stuff?

thanks
p.d: hope you understand my english

 
npereira

Joined: 2002-09-24
Posts: 114
Posted: Fri, 2004-04-09 19:03

1) Make sure to backup everything.
2) you need shell access and type " ln -s {path to Gallery} gallery

 
jaimexyz

Joined: 2004-04-09
Posts: 5
Posted: Fri, 2004-04-09 19:28

OK...! Thanks..!
But I dont have shell access in my server...!

The integration of the gallery and phpbb does modify database structure?, does it need in anyway modify or acces de database? ... MySQL database of phpbb

 
jaimexyz

Joined: 2004-04-09
Posts: 5
Posted: Sat, 2004-04-10 17:39

Great ... it works...
php 2.0.8... with big database
old standalone gallery...
all together...

I first update my gallery.... then I copy the gallery folder into the modules folder and run setup again... but leaving albums in the same place... and it is working fine integrated with phpbb...
thanks

 
corona

Joined: 2004-04-11
Posts: 2
Posted: Sun, 2004-04-11 23:29
AlpineZone wrote:
Hello all - I just installed Gallery 1.4.3 RC-1 into my phpBB 2.0.8 forum. I used to have an old version of Gallery (1.3.x) and the SnailSource integration and it worked fine. Since I've upgraded Gallery, it no longer pulls in the forum template:

http://forums.alpinezone.com/modules.php?op=modload&name=gallery&file=index

I've followed the forum install and phpBB integration instructions carefully, but I've lost the forum format/header/footer, etc. Any thoughts on what happened? The forum seems to function correctly and accesses log-in information from phpBB, but the formatting is lost.

I upgraded my gallery to 1.4.3 RC2 from SnailSource's integration last night, and was having the same problem as well. After spent one and half hours on this issue, I figured out that some 'extra' files in the html_wrap directory were the root of this problem. They are "wrapper.footer, wrapper.header, slideshow.header, search.header, photo.header, gallery.header, and album.header". After deleting these files, everything worked like a charm. Can someone cinfirm this? It may be worthy to note this in the HowTo.txt to save some time for those who are upgrading as well.

 
DansTransAM

Joined: 2004-04-07
Posts: 3
Posted: Tue, 2004-04-13 18:13
Quote:
I upgraded my gallery to 1.4.3 RC2 from SnailSource's integration last night, and was having the same problem as well. After spent one and half hours on this issue, I figured out that some 'extra' files in the html_wrap directory were the root of this problem. They are "wrapper.footer, wrapper.header, slideshow.header, search.header, photo.header, gallery.header, and album.header". After deleting these files, everything worked like a charm. Can someone cinfirm this? It may be worthy to note this in the HowTo.txt to save some time for those who are upgrading as well.

thanks thats what I needed! saved me a lot of headache! I had edited in a my websites header but the rest of running on a .defaults. It seems if you have anything reguarding those files that you listed, they need to be deleted in order to work correctly with the integration. :D

I also ran into two problems during the switch over.

the text in general is a little big on the gallery layout. how do I shrink it down?

also on the bottom I get a parse error:
Parse error: parse error in /home/novicane/public_html/gallery/html_wrap/wrapper.footer.default on line 43

 
DansTransAM

Joined: 2004-04-07
Posts: 3
Posted: Tue, 2004-04-13 18:57
Quote:
I also ran into two problems during the switch over.

the text in general is a little big on the gallery layout. how do I shrink it down?

also on the bottom I get a parse error:
Parse error: parse error in /home/novicane/public_html/gallery/html_wrap/wrapper.footer.default on line 43

forget those two problems, i fixed them. I brought them on myself. I was switching out the defaults with my own and causing them not to work properly.

so everything works good now!