Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

WordPress 2.5.1, Gallery2, and phpBB3

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
DickNervous

Beginner
Beginner


Joined: Apr 19, 2005
Posts: 18

PostPosted: Thu Jun 19, 2008 12:58 pm    Post subject: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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!
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: WordPress 2.5.1, Gallery2, and phpBB3  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1161

PostPosted: Thu Jun 19, 2008 2:36 pm    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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]
Back to top
Offline View user's profile Send private message
DickNervous

Beginner
Beginner


Joined: Apr 19, 2005
Posts: 18

PostPosted: Thu Jun 19, 2008 3:55 pm    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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..... Smile
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6318
Location: Washington Township, NJ, USA

PostPosted: Fri Jun 20, 2008 7:59 am    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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.
Back to top
Offline View user's profile Send private message Visit poster's website
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1161

PostPosted: Fri Jun 20, 2008 9:09 am    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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...
Back to top
Offline View user's profile Send private message
DickNervous

Beginner
Beginner


Joined: Apr 19, 2005
Posts: 18

PostPosted: Sun Jun 22, 2008 11:10 pm    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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...
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6318
Location: Washington Township, NJ, USA

PostPosted: Mon Jun 23, 2008 7:57 am    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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.
Back to top
Offline View user's profile Send private message Visit poster's website
DickNervous

Beginner
Beginner


Joined: Apr 19, 2005
Posts: 18

PostPosted: Tue Jun 24, 2008 11:38 am    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6318
Location: Washington Township, NJ, USA

PostPosted: Tue Jun 24, 2008 11:42 am    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

i think you need to recreate the theme for phpbb3, as the CSS selectors are completely different.
Back to top
Offline View user's profile Send private message Visit poster's website
DickNervous

Beginner
Beginner


Joined: Apr 19, 2005
Posts: 18

PostPosted: Tue Jun 24, 2008 1:27 pm    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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.
Back to top
Offline View user's profile Send private message
visualtorrent

Beginner
Beginner


Joined: Dec 02, 2005
Posts: 7

PostPosted: Thu Oct 16, 2008 2:18 pm    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1161

PostPosted: Thu Oct 16, 2008 2:43 pm    Post subject: Re: WordPress 2.5.1, Gallery2, and phpBB3 Reply with quote

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...
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkSearch Engine OptimisationCompare VoIPSEO IndiaWeb Design Melbournemiami web designSEO IndiaLink BuildingPhoenix SEOPhoenix Web MarketingSEOManual Directory Submission Serviceflorida web design companyScottsdale Interior Designweb marketing servicesScottsdale SEOHome Appliances

7th year online! 2003-2010
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia