Integrate phpBB 3.X into website

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide

Integrate phpBB 3.X into website

Postby marius visan » Tue Oct 16, 2007 10:44 am

I have only one problem with phpbb 3.x . I already have a website with it's users and profiles, i need to integrate the forum so it would accept my login. I mean if he logs in in my login form he can write with the same user into the forum.

Got ideeas ?

Cheers,
Marius
User avatar
marius visan
Registered User
 
Posts: 5
Joined: Sun Oct 14, 2007 9:20 am

Re: Integrate phpBB 3.X into website

Postby iBotPeaches » Tue Oct 16, 2007 10:50 am

Like a forum? Or a content mangement system? Be specific I know a few bridges out there.
Image
iBotPeaches
Registered User
 
Posts: 131
Joined: Tue Jul 24, 2007 12:38 am
Location: Vahalla

Re: Integrate phpBB 3.X into website

Postby marius visan » Tue Oct 16, 2007 10:56 am

So i have my website, developed in php with my own registration form and own database ( user / pass etc ). Now i want to add the phpBB forum. I don't want my users to register again for the forum. With the same user / pass from my site to be able to write into the forum. Understand ?
User avatar
marius visan
Registered User
 
Posts: 5
Joined: Sun Oct 14, 2007 9:20 am

Re: Integrate phpBB 3.X into website

Postby marius visan » Wed Oct 17, 2007 10:29 pm

help
User avatar
marius visan
Registered User
 
Posts: 5
Joined: Sun Oct 14, 2007 9:20 am

Re: Integrate phpBB 3.X into website

Postby Erik Frèrejean » Thu Oct 18, 2007 5:13 am

deleted

Sorry wrong answer :P
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)


Say no to ACTA, the one that will out trump SOPA/PIPA
User avatar
Erik Frèrejean
Former Team Member
 
Posts: 9896
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean

Re: Integrate phpBB 3.X into website

Postby danielartes » Thu Oct 18, 2007 5:36 am

One thing we could do is create a function that duplicates user from site_user_db to the forum database when a registered member from your site clicks on the forum link. Only if it wasn't duplicated already.

Something like:
if site_user_db doesnt exist in forum_user_database, then insert user and login using site_user_db.
select * from site_member
insert * crucial data from site_user_db to phpbb_users (user, email, password,avatar,role, etc etc).

Then when logging in make the 2 cookies for phpbb and for the site.

Me and my friend successfully did this with phpbb2 long time ago. We'll be working on it and when we are finish we'll share it on the site. but I'm hoping there is a best solution out there, I'll be doing some research.

I think the the main challenges will be:

How to insert the password in the same format (the site's password and phpbb's password).
How's a phpbb3 password generated? I can tell it's not just a simple md5 anymore. I didn't check the files yet.
How to login 2 times (forum and site) with one form located anywhere on the site.

=)
danielartes
Registered User
 
Posts: 1
Joined: Thu Oct 18, 2007 5:21 am

Re: Integrate phpBB 3.X into website

Postby marius visan » Sat Oct 20, 2007 6:37 pm

super, can you share the 2.X script and modifications ?
It doesn't matter if it's 3.x or 2.x . PLEASE :lol:
User avatar
marius visan
Registered User
 
Posts: 5
Joined: Sun Oct 14, 2007 9:20 am

Re: Integrate phpBB 3.X into website

Postby marius visan » Sun Oct 21, 2007 9:37 pm

come on boys, i really need your help.
User avatar
marius visan
Registered User
 
Posts: 5
Joined: Sun Oct 14, 2007 9:20 am

Re: Integrate phpBB 3.X into website

Postby pentapenguin » Mon Oct 22, 2007 3:57 am

You'll need to edit the includes/auth/auth_db.php file to get the user info from your own users database.
Support Resources: Support Request Template
My Sites: Download my phpBB MODs | pentapenguin.com
If you need professional assistance with your board, please contact me for my reasonable rates.
User avatar
pentapenguin
Former Team Member
 
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: Integrate phpBB 3.X into website

Postby adamsargant » Thu Oct 25, 2007 7:39 pm

marius visan wrote:come on boys, i really need your help.


This might help

viewtopic.php?f=71&t=570125#p3235922
adamsargant
Registered User
 
Posts: 9
Joined: Tue Nov 21, 2006 11:33 pm

Re: Integrate phpBB 3.X into website

Postby samiisam » Wed Nov 05, 2008 9:15 am

hi,
this was a good one. Could you please help me in one of my issues. I've got a site already with users ( for login i'll try this one...) and now want to keep phpbb forum .
I want to include phpbb in a way that all the forum pages would have the header,footer and leftnav of my site.
Please help me out..........
samiisam
Registered User
 
Posts: 3
Joined: Wed Nov 05, 2008 7:09 am


Return to 3.0.x Support Forum

Who is online

Users browsing this forum: BA172, Bing [Bot], Google [Bot] and 58 guests