Update: 27 Nov 2002
Gallery 1.3.2 is now supported by Gallery->phpBB2 Integration Mod version 1.4.0.
Just a quick note to say that Gallery has been modified to work with phpBB2 although the support is still not official.
As a first stop you are advised to visit <!-- BBCode Start --><A HREF="http://www.snailsource.com/forum/" TARGET="_blank">www.snailsource.com/forum/</A><!-- BBCode End --> and check the Gallery forum there and I'd prefer to keep things all in one place but I'm sure loads of people will miss this post or simply duplicate posts anyway :grin:
null
Posts: 30
it rocks!! trust me...
check out my site http://www.londonplunge.com for another example (go to evidence)
Posts: 5
Very nice!
Let me ask you - does it read the permissions set in phpBB?
thanks again for this great idea and making it a reality :wink:
- Suede
Posts: 11
hoe...
how do i integrate Gallery to phpBB2???
Posts: 75
Check this forum topic:
http://www.snailsource.com/forum/viewtopic.php?t=525
Posts: 1
phpbb and gallery are great together! Thanks!
Posts: 5
Yep, mine works great too!
http://www.fatwillie.net/phpbb/modules.php?op=modload&name=gallery&file=index
Posts: 2
I hate to be a pain... i have looked through all the forums and links, and can'd find the steps/details to get the two apps to integrate. i have phpbb 2.0.6 and 1.4.3 gallery.
Thanks for any and all help, Mark
Posts: 3473
Snailsource has a version that works with 1.3.3. http://www.snailsource.com/forum/dlman.php?func=select_folder&folder_id=9
One of our devs is working on built in phpBB2 integration, but that will be in 1.4.2 (at the earliest) so a bit of a wait.
Posts: 1
how does this work?
do the uploads go on my server or a gallery server?
do I connect to an account with gallery?
how?
Posts: 32509
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=10720
Posts: 1
i can't get the Gallery (1.4.2) installed on my www.host.sk server
can someone help me?
Posts: 13451
Markos, and in what sense is this related to the original thread?
Please make a new thread, detailing what you have done, and what errors/problems you encounter in it.
Posts: 1
but how can I get the older versions of gallery? o_O I would like to integrate it with phpBB, but there's only the newest version available...
Posts: 13451
tenshimitsu, download 1.4.3-cvs (be bleeding edge! ) from http://jpmullan.com/galleryupdates
It has phpBB integration built in.
Posts: 7
The phpBB integration explained in the Gallery 1.4.3 zip file, does that include the phpBB userdatabase in the gallery so that everybody that is registered in the forum can add images in the gallery??
Posts: 32509
yes, what did you think it does?
AFAIK all phpbb users will be registered gallery users.
Posts: 7
Thanks, and sorry for the stupid question. I have another question now.
How do i create a link in the phpbb/modules directory to the gallery directory like it is written in the readme.txt???
Posts: 34
Emmm.... no.
All that the integration does is read the phpbb user database and list the members when you open up the album permissions control panel. There is no automatic "rights" inheritance. There is no integration with usergroups either. Similarly, only the admin can create new albums.
John
Posts: 32509
@jko:
it's not contradictory, all phpbb users will be gallery users, but without any rights. you can admin gallery rights only within gallery itself.
but you don't need to register and login twice etc.
@burk:
so it's not only me who thinks that there should definitely be a better explanation in the readme about what the integration does and what he means by a "link in the modules directory".
as i said, i don't use the phpbb mod.
do you have shell access (ssh)? is it a linux box?
then try
ln -s /pat/to/your/phpbb/modules/gallery /path/to/your/gallery
perhaps he just means a html redirect "link", don't know.
i guess i'll try it tonight on my linux box at home as so many people ask the same question and the author of the mod doesn't answer.
edit: edited softlink (ln -s)
Posts: 7
I dont have shell access. It is just a free webhost. I have access through FTP and have a cPanel, but i couldn't find anything about it there.
Posts: 34
Fair enough, but it's very rudimentary integration. Looking forward to it getting better though :D
Burk,
I didn't set up a symlink as I was adding a fresh gallery install into phpbb rather than integrating an existing gallery. However, if you have cpanel, I believe that the "redirects" function in the domain menu is what you are after for creating a symlink.
John
Posts: 7
Hmmmm.... Im not really sure. Someone wrote that the galleryforlder was supposed to pop up in the modules folder after you had added tha link...
I guess I will just have to start deleting the gallery then, and install it in the modules folder instead....
Posts: 7
Hmmmm.... Im not really sure. Someone wrote that the galleryforlder was supposed to pop up in the modules folder after you had added tha link...
I guess I will just have to start deleting the gallery then, and install it in the modules folder instead....
Posts: 32509
ok, i analyzed the gallery/phpbb mod.
it works also without a symlink, but you need to edit the mod a little.
easiest way to do it without symlink: install gallery in phpbb/modules/gallery.
if you want to keep gallery in the folder where you have it already, we need to change the phpbb/modules.php (comes with the gallery/phpbb mod)
ready?
phpbb mod without symlink and without having gallery in phpbb/modules/gallery:
1. download phpbb 2.0.+ and gallery 1.4.3+
2. unzip modules.php.gz and edit it as following:
note that you have to change the include path '../gallery/index.php' to your needs, just point it to the index.php of your gallery installation.
3. upload the edited modules.php to phpbb/modules.php
4. modify phpBB2 code as instructed in the file that comes with the mod.
perhaps you'll need to adjust the path to the gallery icon in phpbb/templates/subsilver/overall_header.tpl
note: there's no "phpbb/modules" folder needed, if you don't use symlinks and don't use any other mods that are installed in this directory.
please let me know if it works.
Posts: 32509
@better phpbb integration:
i didn't do it and i'm not willing to spend time doing it for gallery 1.x
G2 is very modular and it will be fairly easy to integrate it into any form of existing user management.
Posts: 32509
omfg, just installed the gallery/phpbb mod to see what i'm talking about.
i differentiate 2 cases:
1. you click in phpBB on the Gallery link
-> loads the module.php and after it gallery/index.php
2. you browse to your gallery directly
-> no features of the phpBB integration will be used
- phpbb users can only login in phpbb, not with the gallery login button
- when you click in 2. "[manage users]" in gallery, there's only the admin user of gallery
- same for permissions when you click from 2.
- but everything works if you use 1.
- gallery has phpbb looks (phpbb css is included)
Posts: 7
I installed the gallery in the modules folder instead and it is working fine... The MOD you made looks cool to... I am not so satisfied with the way phpBB integrated the gallery (thinking about looks and design), so i think i am going to mod the modules.php so that it doesnt include the header and footer of the phpBB template.
Hmm.. I tried that now.... I cant seem to find how the header and footer gets to the modules.php page. There is no inclusion of the header and footer files.. Do you know how this is done??
Posts: 7
I modded a bit on the html_wrap files and now it looks good....
Visit my gallery at: http://www.klasse9d.hostcubix.com/forum/modules.php?op=modload&name=gallery&file=index&sid=d9f4e59dc6a76986a2cff710fc054e53
(It is a site for my class at school)
Posts: 32509
looks nice. feel free to watch this topic if others would like to get rid of the phpbb look too and ask questions ;)
Posts: 19
I still didn't understand what steps are necessary if I ONLY want to share usersbase between phpBB and Gallery. I don't want to embend gallery inside PHPBB.
Could you help me pleeeeease????
Thanks
Posts: 32509
IMO it's not worth it. the integration is not very comfortable. you'll have to modify the current gallery/phpbb mod heavily to get what you want.
on a more general note:
with the existing phpbb/gallery you are only allowed to browse gallery through the link in phpbb. that's only for people who have phpbb in the center of their whole website.
i've integrated myHeadlines and linkbase, both standalone user-based php/mysql applications into phpbb. "integrated" means: both applications use the phpbb user table/session instead of their own. nothing else.
and that's the way the gallery integration should be done.
Posts: 2
OK I have all this integrated and its working brilliantly, but my one issue is the fact that only a phpBB admin can create albums, but users can create sub albums if I set the permissions so.
How can I allow ALL the phpBB board members to create thier OWN albums? There must be some way.....
thanks very much in advance.
Posts: 19
Valiant, Jspeed, how is the integration done?
Also. I could do this
But have a link somewhere else on my site for people to browse albums, right?
And I could even remove the link to gallery fropm the phpbb messages.
Or how can I do the integration lik eyou guys did?
Thanks
Posts: 2
skuba im no expert at all, its a miracle I even got it installed. The docs are really straight forward. But I really need to know how to change the permissions for the whole gallery and not just each album!!! Anyone know what I need to do?? At the moment only the admin can create albums and user can create sub albums...I do not want it this way.
Thanks
Posts: 32509
jspeed, you have to administer the permissions in gallery as if it was a normal gallery installation. there are no usergroups in gallery and this integration doesn't make use of phpbb usergroups. don't blame me, i didn't write it.
so you'll have to assign each phpbb user the according permissions or modify some php code to make use of phpbb usergroups in gallery.
skuba2004, see the link from burk: http://www.klasse9d.hostcubix.com/forum/modules.php?op=modload&name=gallery&file=index&sid=d9f4e59dc6a76986a2cff710fc054e53
notice that all links are like "phpbb/module.php?here_comes_the_gallery_part".
wait for G2 and a nice integration with phpbb (fall/winter 2004) or modify the current integration with gallery 1.x if you want a more flexible integration.
Posts: 34
There is an updated (beta) integration mod across at www.snailsource.com which adds usergroup funtionality.
Be aware - when a usergroup member becomes an album owner they are able to assign permissions to any registered user, including non-usergroup users - a potential back-door that means all users can effectively get an album (well, sub-album to be precise).
John
Posts: 6818
The phpBB2 Integration (tested with phpBB2 2.0.6 - 2.0.8) is Part of Gallery since Version 1.4.3.
A HowTo is in the contrib/phpBB2 folder of Gallery.
Jens
Posts: 34
Yes, but the integration is very limited - it really needs usergroup integration plus a whole load more stuff before it could be considered trully integrated. As it stands it works really well for a site where the admin can create albums for users. As soon as you make users able to "own" an album , there are all sorts of permissions issues as previously mentioned.
Sorry for this rant and I do really love Gallery - it's by far the best album script-set out there - but to claim phpbb integration is just misleading. A large number of phpbb users probably use Smartor's album mod and, whilst it has many limiting features as an album script, it does integrate properly into phpbb - usergroups, quotas, permissions, etc. Gallery, whilst superior as an album script, is way behind in integration terms.
Rant over - sorry.
John
Posts: 7
jko,
Amen.
Sigh,
Users of phpBB2 _really_ need to be able to create their own albums! I hope the folks who know how to do this will step up to the challenge!
Tom
Posts: 26
hallo! I want to try to integrate my phpbb with gallery, but I read on the HowTo.txt that I need a fresh phpbb installation. Mine is not fresh, a couple of threads open. Is it safe to do it all the same?
Posts: 26
I tried to integrate it by moving the gallery directory into the phpbb/modules/ directory, but the phpbb page shows nothing about gallery: http://www.glauco.info/apps/phpbb/index.php!
Plus, the phpbb/modules/gallery/ page returns me an error:
Fatal error: Call to a member function on a non-object in /web/htdocs/www.glauco.info/home/apps/phpbb/modules/gallery/classes/gallery/UserDB.php on line 325
See: http://www.glauco.info/apps/phpbb/modules/gallery/
What should I do? Please, help!
Posts: 38
Whats with the mass amount of errors on your page?
Posts: 21
This is a bit frustrating. I'm trying to integrate the latest Gallery with phpBB 2.0.10. I followed the instructions within the contributions/phpBB2 folder. The forum is installed in the /modules/ directory as well. When I follow the link, I get:
Something is obviously wrong with it not going to the right directory? Is there something I need to change in the modules.php? Anyone have any ideas? Thanks
Posts: 21
Does anyone have an idea at least? Thanks
Posts: 2322
You need to use Gallery 1.4.4-pl2.
Older versions of Gallery do not support phpBB 2.0.10
Posts: 7
Hello. First post on this forum.
I have gallery 1.4.4pl2 installed and phpbb 2.0.10 installed as well. Both are fresh installations.
I followed all instructions on integrating gallery with phpbb2. I didn't get any errors and assume everything is working.
My question is, why don't I see anything on the phpbb2 main page linking to the embedded gallery? Is there something I am missing? I thought once everything was done, I would have some sort of link on the main page that lists the forums linking to the gallery.
If I manually add this to the forum URL, I get the gallery emdedded in php:
.../phpbb/modules.php?op=modload&name=gallery&file=index
But when I navigate back to the forum, there's no way to see the gallery unless I manually add the above to the url.
I hope I am making myself clear enough.
Thanks!
Jeff
Posts: 2322
Jeffro_DLP, Gallery doesn't (can't) create links for you. You need to edit your template files to add a link to Gallery.
Follow the instructions/examples in the contrib/phpBB2 directory for manually patching your template.
Posts: 7
I added a link to index_body.tpl and it works great!
Thanks!
Posts: 34
I've integrated Gallery with PHPBB 2.0.6 and it works fine. It's using the forums color scheme (black background, white text) but then uses blue text for the Polling text (see this screen shot).
I'm not a PHPBB expert so it may be coming from the template being used by I've never seen blue text anywhere in the forum, only on the photo album pages. Can anyone give me a pointer as to where to look for this setting?
Thanks
Al
Posts: 53
Just wanted to know if this still works with PHPBB2 2.0.11 and Gallery v1.4.4-pl4.
I figured it out, yes it does.