Gallery & phpBB2
WebSnail
Joined: 2002-08-15
Posts: 34 |
![]() |
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 |
|
scottyman
![]()
Joined: 2002-08-15
Posts: 30 |
![]() |
it rocks!! trust me... check out my site http://www.londonplunge.com for another example (go to evidence) |
|
Suede
Joined: 2002-07-19
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: |
|
ClowRead
Joined: 2002-09-26
Posts: 11 |
![]() |
hoe... how do i integrate Gallery to phpBB2??? |
|
dodofreak
![]()
Joined: 2002-12-09
Posts: 75 |
![]() |
Quote:
Very nice! Check this forum topic: |
|
ken420
Joined: 2003-05-13
Posts: 1 |
![]() |
phpbb and gallery are great together! Thanks! |
|
fatwillie
![]()
Joined: 2003-02-08
Posts: 5 |
![]() |
Yep, mine works great too! http://www.fatwillie.net/phpbb/modules.php?op=modload&name=gallery&file=index |
|
markraker
Joined: 2003-10-20
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. |
|
joan
![]()
Joined: 2002-10-21
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. |
|
wbstein
Joined: 2003-12-23
Posts: 1 |
![]() |
how does this work? |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
Markos
Joined: 2004-02-19
Posts: 1 |
![]() |
i can't get the Gallery (1.4.2) installed on my www.host.sk server |
|
h0bbel
![]()
Joined: 2002-07-28
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. |
|
tenshimitsu
Joined: 2004-03-07
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... |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
tenshimitsu, download 1.4.3-cvs (be bleeding edge! It has phpBB integration built in. |
|
burk
Joined: 2004-05-24
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?? |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
yes, what did you think it does? |
|
burk
Joined: 2004-05-24
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??? |
|
jko
Joined: 2004-04-22
Posts: 34 |
![]() |
valiant wrote:
yes, what did you think it does? Emmm.... no. John |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
@jko: @burk: 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) |
|
burk
Joined: 2004-05-24
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. |
|
jko
Joined: 2004-04-22
Posts: 34 |
![]() |
valiant wrote:
@jko: Fair enough, but it's very rudimentary integration. Looking forward to it getting better though :D Burk, John |
|
burk
Joined: 2004-05-24
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.... |
|
burk
Joined: 2004-05-24
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.... |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
ok, i analyzed the gallery/phpbb mod. phpbb mod without symlink and without having gallery in phpbb/modules/gallery: 1. download phpbb 2.0.+ and gallery 1.4.3+ line 54: replace: } else { include(MODULES_PATH."$name/$file.$phpEx"); } with: } else { if ($name == 'gallery') { include("../gallery/$file.$phpEx"); /* dirty hack for use without symlinks */ } else { include(MODULES_PATH."$name/$file.$phpEx"); } } 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. 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. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
@better phpbb integration: |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
omfg, just installed the gallery/phpbb mod to see what i'm talking about. i differentiate 2 cases: - phpbb users can only login in phpbb, not with the gallery login button |
|
burk
Joined: 2004-05-24
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?? |
|
burk
Joined: 2004-05-24
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) |
|
valiant
Joined: 2003-01-04
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 ;) |
|
skuba2004
Joined: 2004-05-26
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 |
|
valiant
Joined: 2003-01-04
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. |
|
jspeed
Joined: 2004-06-07
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. |
|
skuba2004
Joined: 2004-05-26
Posts: 19 |
![]() |
Valiant, Jspeed, how is the integration done? Also. I could do this Quote:
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. But have a link somewhere else on my site for people to browse albums, right? Or how can I do the integration lik eyou guys did? Thanks |
|
jspeed
Joined: 2004-06-07
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 |
|
valiant
Joined: 2003-01-04
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. skuba2004, see the link from burk: http://www.klasse9d.hostcubix.com/forum/modules.php?op=modload&name=gallery&file=index&sid=d9f4e59dc6a76986a2cff710fc054e53 |
|
jko
Joined: 2004-04-22
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 |
|
Tim_j
![]()
Joined: 2002-08-15
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 |
|
jko
Joined: 2004-04-22
Posts: 34 |
![]() |
Tim_j wrote:
The phpBB2 Integration (tested with phpBB2 2.0.6 - 2.0.8) is Part of Gallery since Version 1.4.3. 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 |
|
TomWells
Joined: 2004-06-15
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 |
|
mingotta
Joined: 2003-12-06
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? |
|
mingotta
Joined: 2003-12-06
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: What should I do? Please, help! |
|
greenteagod
Joined: 2004-05-20
Posts: 38 |
![]() |
fatwillie wrote:
Yep, mine works great too! Whats with the mass amount of errors on your page? |
|
JadeFist
Joined: 2003-04-25
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: Warning: main(./modules//.php): failed to open stream: No such file or directory in /home/users/public_html/forum/modules.php on line 55 Warning: main(): Failed opening './modules//.php' for inclusion (include_path='.:/usr/local/share/pear') in /home/users/public_html/forum/modules.php on line 55
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 |
|
JadeFist
Joined: 2003-04-25
Posts: 21 |
![]() |
Does anyone have an idea at least? Thanks |
|
signe
![]()
Joined: 2003-07-27
Posts: 2322 |
![]() |
You need to use Gallery 1.4.4-pl2. Older versions of Gallery do not support phpBB 2.0.10 |
|
Jeffro_DLP
Joined: 2004-09-15
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: 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 |
|
signe
![]()
Joined: 2003-07-27
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. |
|
Jeffro_DLP
Joined: 2004-09-15
Posts: 7 |
![]() |
I added a link to index_body.tpl and it works great! Thanks! |
|
adegutis
Joined: 2004-09-10
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 |
|
squirrellydw
Joined: 2004-10-18
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. |
|