| Author | Message |
| Post Title: WordPress 2.5.1, Gallery2, and phpBB3 | |
DickNervous
Joined: Apr 19, 2005 Posts: 17
|
Posted: Thu Jun 19, 2008 12:58 pm
So here is what I have:
- WordPress 2.5.1 - Gallery 2 - phpBB3 I installed all three as stand-alone and made sure they were working. Next I installed the WPG2 plugin for WordPress which integrates Gallery2 and WP. It allows for single sign on and easily adding images to posts, etc. I wanted to integrate WP and phpBB3 but the one mod out there to do that does not work with WP 2.5.1 due to changes in the way the password hash is done. So my thought is to integrate phpBB3 and Gallery2, which honestly, makes more sense. The question is will the phpBB3-Gallery2 integration clash with the WPG2 integration? I would like to have both so contributors to the site (via WP) can eaily use images in the gallery in their posts just like folks in the forums will be able to. Also, would this allow for single-sign-on between the three applications? Thanks! |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Thu Jun 19, 2008 2:36 pm
I've entertained the idea of 3-way integrations before, but the task is fairly daunting because each app has it's own way of doing things and it takes a lot of time studying the code of each one to get familiar with what needs to be done. I don't know about WP, but I assume it has users, groups, varying levels of permissions, etc, and each of those things must be dealt with by the integration code. Even with the phpBB-WP integration and the WP-Gallery integration there would still be custom code to write because both integrations would need spots in the same parts of the master apps code to handle users, registrations, permissions, changes, etc. and the two integrations would not be aware of each other.
If you were to go with phpbb-Gallery integration using phpbb as the master app, you would need to fork out most of the functions in g2helper to also hook parts of the WP code to handle users, groups and permissions. Then if you just need WP users to be able to insert Gallery images in posts, I suppose g2image is all that is needed there. As for the password issue, you should be able work around that. I don't know about WP but Gallery and phpBB passwords are easily distinguishable. I think Gallery adds a 4 character salt to the password and prepends the salt to the password. phpBB adds $H$ to the beginning of it's hashed passwords. Both apps use plain md5 for users imported from earlier versions. There is a workaround for using the phpBB hashed password in Gallery here - http://www.nukedgallery.net/postt4013.html [nukedgallery.net] |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
DickNervous
Joined: Apr 19, 2005 Posts: 17
|
Posted: Thu Jun 19, 2008 3:55 pm
Thanks Jettyrat, I didn't think through all the groups, permissions, etc issues. I was just thinking authentication.
Since this is for a case modding/gaming site and the forums and case gallery are the heart of it, I think I will go with the phpBB3/gallery integration as the primary since all users will want to use that. The WP side of it is for "staff" posting news, reviews, worklogs, etc so if I have to "dumb down" the integration of that, we can live. Using even g2image with lightbox is still way better than what we have done in the past with standard html..... |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Jun 20, 2008 7:59 am
I think that you'd first have to integrate phpBB3 and wordpress w/ phpBB3 as the master (since that's how G2 treats phpBB3). Then you'd have to integrate that integration w/ G2.
If you can get the first working, please let me know, as I've pondered the thought of transitioning this site to a phpBB3-based site, or a WP/phpBB3-based site. |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Fri Jun 20, 2008 9:09 am
Dari, don't know what you have in mind for this site, but I'm experimenting with some code right now for my own site that will run outside of phpbb, but use phpbb3 as the site engine. Basically will use phpbb for everything, only instead of generating forums, it will generate regular site pages. I don't really need publishing functionality for my site, but that should be fairly easy to add since phpbb already has posting functions. Just need another table to store published content in vs forum content and a little code to handle the published stuff.
Anyway, I have a very basic framework already working... |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
DickNervous
Joined: Apr 19, 2005 Posts: 17
|
Posted: Sun Jun 22, 2008 11:10 pm
I gave up on the phpBB3/WP integration because the only thing I can find is WP-United which was broken when WP 2.5.1 came out with the new password hash.
Since this is for a case modding/pc enthusiast site I figure the phpBB3/G2 integration is the key one. If I can get this working and then it would be good. Once that is done I will ponder trying to integrate WP and G2, but that is the least of my worries. I'll keep y'all posted on how I make out... |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jun 23, 2008 7:57 am
actually, if you're only using WP for posting news-ish type of things, but don't allow commenting, you really don't need much in terms of integration beyond the theme. i suppose you could even allow comments, but have the "comment" link redirect to a forum post dedicated to that article.
but yes, i'm in the same boat as mr. nervous, i'm gonna stick w/ phpBB3 and G2 for now. |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
DickNervous
Joined: Apr 19, 2005 Posts: 17
|
Posted: Tue Jun 24, 2008 11:38 am
dari wrote: › actually, if you're only using WP for posting news-ish type of things, but don't allow commenting, you really don't need much in terms of integration beyond the theme. i suppose you could even allow comments, but have the "comment" link redirect to a forum post dedicated to that article.
but yes, i'm in the same boat as mr. nervous, i'm gonna stick w/ phpBB3 and G2 for now. That's exactly what I am going to do. Now it is just a matter of determining if there is a way ti integrate the themes or if I just need to recreate the theme for phpBB3 |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Jun 24, 2008 11:42 am
i think you need to recreate the theme for phpbb3, as the CSS selectors are completely different.
|
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
DickNervous
Joined: Apr 19, 2005 Posts: 17
|
Posted: Tue Jun 24, 2008 1:27 pm
Yeah, I tried the simple method, just creating a WP page with an include to include the phpBB3 index page. It sorta works. The content shows up but not the styles, I am assuming because the include calls it from a different directory than it is expecteing and therefore all the relative paths are off for the CSS files.
|
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
visualtorrent
Joined: Dec 02, 2005 Posts: 7
|
Posted: Thu Oct 16, 2008 2:18 pm
I have a test site running phpbb3, gallery2, and wordpress all together. I've installed WP-United to combine phpbb3 and Wordpress (there's a fix for it that does work), I've installed phpbb3/gallery2 integration, and I've installed gallery2/wordpress integration. Comments and guest authors are vital to me, so I need full Wordpress and phpbb3 integration.
There's only one bug I found so far. phpbb3 handles my user accounts and creates a user in the G2 database each time a new account is created. WP-United also creates a user in the Wordpress database when a logged in user accesses the blog for the first time. But G2/Wordpress integration also creates a G2 user at the same time, the trouble is, that G2 user already exists so G2 throws an error. It works, despite the error, but if the process of creating that G2 user were skipped the whole thing would be flawless. Basically, if a user exists = don't create the user. I haven't actually modified the code because I haven't looked that far into it. Unfortunately, WPG2 doesn't have an option to skip the user creation part of the integration. Perhaps I could just find a G2 embed box and use that instead, since I don't need user integration? All I really need is the ability to quickly bring G2 elements over into a Wordpress posting. I might just use this instead of full gallery2/wordpress integration: http://wordpress.org/extend/plugins/wp-gallery-remote/ Like I said, the rest works fine... So far. |
| Author | Message |
| Post Title: Re: WordPress 2.5.1, Gallery2, and phpBB3 | |
jettyrat
Joined: Nov 28, 2005 Posts: 1144
|
Posted: Thu Oct 16, 2008 2:43 pm
It might be easy to add code to check for a users existence before attempting to create one. The phpbb/gallery integration does this. I don't know anything about the G2/WP integration. Sounds like it should be easy enough, though...
|