should phpbb and joomla reside on the same database for integration?

Discuss the integratoin of phpbb and Joomla! here.

Moderator: General Support Moderators

Forum rules
Locked
drb06
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Thu Apr 27, 2006 2:54 am

should phpbb and joomla reside on the same database for integration?

Post by drb06 » Thu Apr 27, 2006 1:46 pm

Can somebody please let me know if both joomla and phpbb should reside on the same database to get integrated or not?

I guess I have install CB component and then phpbb CB plugin after that.

Am i right?

thanks,

drb

User avatar
Websmurf
Joomla! Hero
Joomla! Hero
Posts: 2230
Joined: Fri Aug 19, 2005 2:23 pm
Location: The Netherlands
Contact:

Re: should phpbb and joomla reside on the same database for integration?

Post by Websmurf » Fri Apr 28, 2006 8:57 am

Yes, both should be in the same database.
Adam van Dongen - Developer

- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl

geeffland
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 172
Joined: Sat Oct 29, 2005 1:43 pm

Re: should phpbb and joomla reside on the same database for integration?

Post by geeffland » Fri Apr 28, 2006 1:36 pm

drb06,

Looks like you are talking about the phpBB Connector... The answer is yes for it as well.  Both should be installed into the same database.  The sequence of installation is not critical concerning when phpBB is installed but yes CB needs to be installed prior to the phpBB Connector plugin.

FYI there is a README.DOC in the ZIP file which covers most things you will need to know.  The next version willl have a more comprehensive README included.

Greg
Thanks,
Greg

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: should phpbb and joomla reside on the same database for integration?

Post by mehdi » Mon May 22, 2006 1:04 am

Last edited by mehdi on Mon May 22, 2006 1:11 am, edited 1 time in total.

drb06
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Thu Apr 27, 2006 2:54 am

Re: should phpbb and joomla reside on the same database for integration?

Post by drb06 » Mon May 22, 2006 1:43 pm

Looks like a great bridge.....much needed for yrs!!!

Has anyone tried it?

drb

User avatar
t17169
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 172
Joined: Thu Sep 15, 2005 3:52 pm
Location: US

Re: should phpbb and joomla reside on the same database for integration?

Post by t17169 » Tue May 23, 2006 12:01 am

mehdi wrote: not for this new bridge:
http://extensions.joomla.org/component/ ... Itemid,35/

After countless hours playing around with SMF and the two bridges, I'm not happy with either.  This is my first foray into possible alternatives since Joomlaboard is simply not robust enough for what I need.  I am definitely using Community Builder, however, I do want to separate the two databases.  How will this bridge function in terms of login, synching users, etc with CB?

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: should phpbb and joomla reside on the same database for integration?

Post by mehdi » Tue May 23, 2006 12:28 am

Well , one of the reason I made this bridge was that I didn't want to be forced to use CB, while I'm just interested in integrating phpbb.
However if you are still interested in using it with CB, that's possible.
EDIT:
You just have to remove the login link inside your phpbb's template and then use the login module provided by CB to perform connexion.
Why ? because the login link inside the phpbb template will redirect to core joomla's login component which doesn't sync with CB.
Same thing with core joomla's  login module. Only the CB's login module does the job.

Each features that require the user to login into phpbb (view private message, new topic etc) are redirected to joomla core login component. Problem is that, this component doesn't sync with CB users.  Nor the core joomla's login module. Only the CB's login module does the job. You'll need to have a CB login component (which isn't provided).
To fix this you can create your "own component", by using the trick here. Then you'll have to edit joomphpbb_engine.php file to redirect to that new component instead of the regular core login component.

How will this bridge function in terms of login, synching users, etc with CB?
My bridge automatically sync users from Joomla with Phpbb,
while the CB's login module, automatically sync CB users with Joomla's users.
Thus it is possible "by transition" to sync phpbb users with CB users.

Remark: it is possible to use any login module with this bridge, so it will probably work with the one from CB.

Anyway I didn't play a lot with CB. You should perform your own test.
Just use "easy php" if you don't want to test on your live site.
Last edited by mehdi on Tue May 23, 2006 10:44 am, edited 1 time in total.

drb06
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Thu Apr 27, 2006 2:54 am

Re: should phpbb and joomla reside on the same database for integration?

Post by drb06 » Wed May 24, 2006 8:06 pm

I am bit confused.

I am currently opening my phpbb forum using a wrapper.

How can I use this bridge for that?

(reason for using wrapper is to preseve the joomla layout)


any suggestions please?

drb

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: should phpbb and joomla reside on the same database for integration?

Post by mehdi » Thu May 25, 2006 3:22 am

(reason for using wrapper is to preseve the joomla layout)
well the bridge allow to get rid of the wrapper ( I mean the iframe), while preserving joomla's layout.

By the way, upon someone request, i've successfully used that bridge in combination with CB.
Slight modification had to be done to joomphpbb_engine.php file though ( corrections done when there's a  redirection that use  com_login or com_registration).

see also the PM I sent you.

samefing
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 20, 2006 10:10 am

Re: should phpbb and joomla reside on the same database for integration?

Post by samefing » Tue Jun 20, 2006 10:13 am

Hi, im also trying to use phpbb and Joomla and integrate the foums into the site using a wrapper...however, after setting up the bridge (medhis, have no CB components installed) i get the following error when linking to the forum..

"Cannot find "com_phpbb" component ..."

Im thinking i missed a section of the install notes...this part

"Now install com_phpbb.zip inside Joomla. It isn't a traditional component, since this one is only used by the bridge, and that you'll have to link directly to your forum's folder."

Was there a file i should edit to link to the com_ directory?

Help would be most appriciated.

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: should phpbb and joomla reside on the same database for integration?

Post by mehdi » Tue Jun 20, 2006 11:18 am

"Cannot find "com_phpbb" component ..."
The relative path is not properly set.
I'll update the file and put a more explicit error.
Also I'm working in a FAQ.

samefing
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 20, 2006 10:10 am

Re: should phpbb and joomla reside on the same database for integration?

Post by samefing » Tue Jun 20, 2006 11:24 am

Aha figured it was going to be something simple :|

My phpbb install is located inside the joomla directory, so surely the relative link would just be "/forums"?

I've just updated it to just "/forums" and now get the following

Warning: chdir(): No such file or directory (errno 2) in /home/.pastry/globe/murderinc.dreamhosters.com/forums/joomphpbb_engine.php on line 136
Cannot find "com_phpbb" component ...

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: should phpbb and joomla reside on the same database for integration?

Post by mehdi » Tue Jun 20, 2006 11:29 am

My phpbb install is located inside the joomla directory, so surely the relative link would just be "/forums"?
It is the relative path from the forum to joomla.
Thus if the forum is located in a subfolder, then should be ../

samefing
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 20, 2006 10:10 am

Re: should phpbb and joomla reside on the same database for integration?

Post by samefing » Tue Jun 20, 2006 11:36 am

Ah ok, was me being stupid, thanks for your help!

Just 1 more question...I want to link to the forums from the main menu and have the forums open in the central content area. I tried using a wrapper and found it opened a new instance of the site inside the wrapper, then spotted i could link straight to the component (phpbb), when i did this all that was shown where i expected the forums to be was the following message.

"{PHPBB_BODY_HTML}"

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: should phpbb and joomla reside on the same database for integration?

Post by mehdi » Tue Jun 20, 2006 8:18 pm

Please read my newly added FAQ (Misc Part)


Locked

Return to “phpbb - Joomla! Integration”