Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Discuss the integratoin of phpbb and Joomla! here.

Moderator: General Support Moderators

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

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by mehdi » Thu Aug 09, 2007 3:07 pm

hi,

@isaacshaven
I can see the forum with the bridge, but it is telling me that I have incorrect username/password.
If you have same problem while trying to connect from Joomla's homepage,
then the problem is not related to the bridge . (All pages of joomla remain unaffected, unless you visit the forum)

@bdaoust
"site name" is a setting that have no impact about how everything work (just cosmetic, would say).
Please check the FAQ, especially question "I can login in Joomla but not in Phpbb. What's wrong ?"

isaacshaven
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 123
Joined: Mon Jan 15, 2007 7:57 pm

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by isaacshaven » Thu Aug 09, 2007 3:28 pm

I figured out what the problem was. When I installed my phpbb I needed to use a different user name than the joomla, cause when I do the bridge it would add my user name from joomla to the phpbb.

Now my question is this, when members login to joomla it will add them to the forum right.

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

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by mehdi » Thu Aug 09, 2007 3:33 pm

Now my question is this, when members login to joomla it will add them to the forum right.
yes, but with latest joomla 1.013 password will be "salted". (affect unbridging essentially).

isaacshaven
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 123
Joined: Mon Jan 15, 2007 7:57 pm

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by isaacshaven » Thu Aug 09, 2007 3:41 pm

Ok i figured that, so members would have to retrieve a new password and change it.

bdaoust
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue May 15, 2007 12:30 am

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by bdaoust » Mon Aug 13, 2007 1:31 am

Is there support for Firefox?

The reason I ask is because when I login and then go to the forums (and your bridge for coopermine), it doesnt log me in when using Firefox.

IE7 is fine though.

And I cleared my cache, I am accepting cookies, etc etc.

Nice work btw.  Thanks for the bridge! :)

User avatar
loriatya
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Aug 17, 2007 3:32 pm

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by loriatya » Fri Aug 17, 2007 3:40 pm

hi!
i have installed  the bridge  on joomla 1.0.13 with the latest phpbb, and it works.
there's only one problem.
i have put a direct link in the menu, and when i click on it, the phpBB doesn't have the joomla header and menu anymore, only phpbb by itself. the only way it remains in joomla is when i put it in  awrapper, but i don't wanna use iframes in my page.
please help if you know how to fix it. should i include "index.php?" into the link?

thanx guys.

wweerdenburg
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Feb 22, 2007 1:21 pm

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by wweerdenburg » Sun Aug 19, 2007 8:16 pm

I don`t get it anymore, i have installed this mod but i only can get the following message:

++++++++++++++++++++++++++++++++++++
Unable to switch to Joomla dir
Is the provided relative path correct ?
++++++++++++++++++++++++++++++++++++
OR
++++++++++++++++++++++++++++++++++++
Unable to detect Joomla install.

According to the relative path you provided
Joomla's root should be:
/home/chroot/home/sites/speedxs.nl/k/ka/kapottepc.nl/httpdocs/lw/cms

Is that correct ?
++++++++++++++++++++++++++++++++++++


I have tried to edit the joomphpbb_conf.php but no mather wath i try there it is still not working.
My websites:

http://www.kapottepc.nl
Joomla page: http://www.kapottepc.nl/lw/cms (or http://test.kapottepc.nl)
PHPBB page: http://www.kapottepc.nl/lw/forum

My joomphpbb_conf.php file:



I have seen a lot`s of sites that have the same troubles as me, but nobody will give an correct answhere, maybe somebody can help me if i send my config files and some other things you need to know?

Thank`s a lot!

And sorry for my bad English.
Last edited by wweerdenburg on Sun Aug 19, 2007 8:24 pm, edited 1 time in total.

wweerdenburg
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Feb 22, 2007 1:21 pm

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by wweerdenburg » Mon Aug 20, 2007 8:19 am

wweerdenburg wrote: I don`t get it anymore, i have installed this mod but i only can get the following message:

++++++++++++++++++++++++++++++++++++
Unable to switch to Joomla dir
Is the provided relative path correct ?
++++++++++++++++++++++++++++++++++++
OR
++++++++++++++++++++++++++++++++++++
Unable to detect Joomla install.

According to the relative path you provided
Joomla's root should be:
/home/chroot/home/sites/speedxs.nl/k/ka/kapottepc.nl/httpdocs/lw/cms

Is that correct ?
++++++++++++++++++++++++++++++++++++


I have tried to edit the joomphpbb_conf.php but no mather wath i try there it is still not working.
My websites:

http://www.kapottepc.nl
Joomla page: http://www.kapottepc.nl/lw/cms (or http://test.kapottepc.nl)
PHPBB page: http://www.kapottepc.nl/lw/forum

My joomphpbb_conf.php file:



I have seen a lot`s of sites that have the same troubles as me, but nobody will give an correct answhere, maybe somebody can help me if i send my config files and some other things you need to know?

Thank`s a lot!

And sorry for my bad English.
Oke, i have edit my _conf file because i saw a fuw mistakes thare:



In the Joomla config file i have edit the path to http://www.kapottepc.nl so this is now the same ($joomUrl).
Is the $joomRel patch correct???

bizkit1
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Sep 10, 2007 5:46 am

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by bizkit1 » Mon Sep 10, 2007 5:49 am

Hello. I`ve done everything you written on your site, it integrates in Joomla, but instead of showing me the normal page it only shows me {PHPBB_BODY_HTML} 
What must i do??

User avatar
loriatya
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Aug 17, 2007 3:32 pm

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by loriatya » Mon Sep 10, 2007 7:36 am

I resolved all the problems with phpBB and joomla.
I just installed fireboard instead. :)) and it works perfectly. :D
i advise you all to do so too.

x1xxxx
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Sep 08, 2007 1:35 am

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by x1xxxx » Wed Sep 12, 2007 4:19 am

My site is http://arl.mae.cuhk.edu.hk/phpBB2.

The version is 2.0.22, Is it OK to your bridge?

--
xshi

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

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Wed Sep 12, 2007 5:05 am

hi,
sorry to all,
but it's been a long time I've didn't answer to support request.
I've also  discarded  lot of  mail asking for help last month .....
Sorry , but got other stuff to do.

@loriatya:
I resolved all the problems with phpBB and joomla.
I just installed fireboard instead and it works perfectly.
Great !!!!
i advise you all to do so too.
I advise all newbies/unexperimented user  to do so.
The bridge is not that complicated to install ,
but if you are spending more than hour figuring how
it works, then it might not be the right solution for you.
I'll try to improve documentation in future ...

@x1xxxx
The version is 2.0.22, Is it OK to your bridge?
Just updated title of this thread.
Is that more clear now ?
Last edited by mehdi on Wed Sep 12, 2007 5:07 am, edited 1 time in total.

User avatar
loriatya
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Aug 17, 2007 3:32 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by loriatya » Wed Sep 12, 2007 8:18 am

hi mehdi!
no offense to you with the fireboard advice, it's just that with every bridge (not just yours, but others too) there were too many problems.
i really like phpbb and i tried a lot to integrate it somehow, and also SMF (with this was the licensing problems) , but with every bridge there were other problems.
this one was the best though, the only problem was, that phpBB wouldn't integrate with joomla. the user merging worked fine, and everything, but when i created a link to the component, the forum showed up by itself without the joomla header. :D
i am noob with joomla, but not with php programming, so if you have a hunch what caused this problem, i'll try to solve it.
thanks!

and excuse my bad english  :-[

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

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Wed Sep 12, 2007 8:49 pm

hi loriatya
but when i created a link to the component, the forum showed up by itself without the joomla header
you mean that everything work fine, except you didn't got the visual integration ? weird.
obvious solution, check that the configuration file of the bridge has $joomIntegrate set to true (by default).
Otherwise ensure that gzip compression is disabled both in phpbb/joomla.

mycale
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Wed Apr 25, 2007 2:56 am

Open phpbb's login page instead of Joomla's login page?

Post by mycale » Sat Sep 15, 2007 1:03 pm

Is there a way to point users to the phpbb login page (login.php) instead of the Joomla login page (login.php or com_login/login.php)?  I am using the sqlAuth component along with the Mehd bridge to force users to register and login to the site using the phpbb user tables in the database instead of the Joomla user tables (phpbb forum around a lot longer than the Joomla part of the website...).

There are instances where a user tries to post/view/etc. content when not logged in, and he/she is redirected to the default Joomla com_login page.  This login will only log the user into the Jooomla side of the site.  I need to know how to change the redirect to point to the phpbb login.php page.

Site:  http://philmontforum.com
Forum:  http://philimontforum.com/forum
Joomla:  http://philmontforum.com/cms

I've tried to modify Mehdi's CB integration hacks at http://www.mehdiplugins.com/misc/wrongcblogin.htm to fit my needs - specifically
So how can I change such link ?
For Coppermine edit file joomla.inc.php, while for Phpbb edit file joomphpbb_engine.php .
Look for the string:
/index.php?option=com_login&Itemid=88888888
And then replace it in accordance to the page you wish.
The code in the joomphpbb_engine.php that I change is:

Code: Select all

$target = "/index.php?option=com_login&Itemid=88888888";
					header('Location: '. $joomUrl . $target);
When I change the "/index.php?option=com_login&Itemid=88888888" to "http://philmontforum.com/forum/login.php"  I get a page 404 page not found error.  The redirect points to the url http://philmontforum.com/cmshttp://phil ... /login.php.

So I go the the header line in the code above and remove the . $joomurl from the line.  When I try to access the redirect then, no page ever loads.  The browser will not load any page or give any error.

I'd appreciate any nudge in the right direction I can get.  This seems like it would be an easy task, but I cannot find the spot to change...

Thanks!

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

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Sat Sep 15, 2007 2:06 pm

hi mycale ,
first the bridge work only when you are visting a forum's page.
This would explain that you are able to use the  sqlAuth component. (probably from a non forum's page).
As soon as you visit the forum,
the bridge check if you are logged in joomla.
There's no way you could login in phpbb first.
If the bridge detect that you are logged in joomla, but not in phpbb,
the bridge then redirect you to the phpbb login page which perform login action, and then redirect to previous page.
So, in order to access to phpbb login page, you must be logged in joomla.
And the user have no control in the phpbb login page at all,
the login in phpbb is automated.
In your case, the bridge detect the user is not logged in joomla,
thus redirect to the phpbb login page.
But the phpbb login page, require login in joomla,
so you end up in an endless redirection loop.
In conclusion: don't redirect to a page that require login,
and forget about redirecting to phpbb login page.

russell235
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat Sep 15, 2007 9:01 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by russell235 » Tue Sep 18, 2007 5:20 pm

with all the new features of phpBB3, I really hope you plan to support it soon.  I'll try this one out for now and look forward to updates.  :)

carabear
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 23, 2007 4:51 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by carabear » Sun Sep 23, 2007 5:02 pm

I am having a tiny problems.  I have gotten the bridge to work correctly, however on one of the times when my bridge didn't work the forum blended perfectly into my template.  Now it doesn't.  It is still integrated and the option is set to true. 

Perhaps someone can look and tell me what's wrong, or give me a suggestion on what to fix perhaps.  I would really appreciate the help!!!

http://www.celebrityfire.com/forum

Thanks bunches!!

Cara :)
Last edited by carabear on Mon Sep 24, 2007 6:03 am, edited 1 time in total.

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

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Tue Sep 25, 2007 6:01 pm

hi carabear,
I guess it worked when you typed the slash at the end,
and didn't when you omitted it.
You can notice, that if you don't type the / at end of url,
you are redirected to http://celebrityfire.com/forum/ (no www)
url that won't work for the bridge or even  joomla.
Try to edit htacess to force the www.

carabear
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 23, 2007 4:51 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by carabear » Tue Sep 25, 2007 8:10 pm

Now I have another slight problem.  After it has been working perfectly the last couple of days now whenever I try to access the forum from the link at the top that goes to http://www.celebrityfire.com/forum/ it gives me a critical error of

phpBB : Critical Error

Could not locate valid language pack

But if I try to access the forum from http://celebrityfire.com/forum/ it is there, BUT it won't let me login and get routed back without giving me the language error again.  The phpBB seems to have no clue about it, so I was wondering if this was perhaps a problem caused by the bridge.

Thanks for your help!

Cara

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

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Tue Sep 25, 2007 10:23 pm

well, let's try to clarify thing.
whenever I try to access the forum from the link at the top that goes to http://www.celebrityfire.com/forum/ it gives me a critical error of
I don't get this error when I visit the forum. This means that you are logged in joomla/phpbb,
but the user you use to login have set in his profile,  a language different to the default one.
Since the corresponding language file is missing , you are getting this error.
Solution: restoring the missing language file... Change your preference after, and delete that file again if you wish.
If you delete your cookies, (i.e logged out from joomla & phbb) you should be able to see the forum without problem.
But if I try to access the forum from http://celebrityfire.com/forum/ it is there
You'll always be detected as logged out from this url, and can't login from that url.
Your joomla install seems to be configured to work with the www, that is why.

Conclusion, check wish language file you deleted, restore it, change your preference, re-delete it if you wish...
Unbridging won't solve this issue , anyway.
Good luck.

carabear
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 23, 2007 4:51 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by carabear » Tue Sep 25, 2007 10:37 pm

That's where I'm confused.  The forum is set to English, and so is Joomla.  Always has been.  No language files have been deleted and this just randomly appeared out of nowhere.  Someone in the phpBB room on IRC suggested reuploading the language files.  So I did that and it hasn't fixed the problem.

It just seems rather strange, because none of the settings for language have been changed at all. :(

Cara

P.S. Even if someone isn't logged in they can't access the forum it appears at this point.  So even with no account or anything it's still the language error :(
Last edited by carabear on Tue Sep 25, 2007 10:56 pm, edited 1 time in total.

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

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Wed Sep 26, 2007 1:14 am

hi carabear,
No language files have been deleted and this just randomly appeared out of nowhere.
Well, since you are so sure, I'll advise you unbridge (by restoring original files) ,
and check if you are not getting the same error.
I assume the  phpbb user  account you use for admin , already existed before bridging (otherwise salted password)

P.S. Even if someone isn't logged in they can't access the forum it appears at this point.  So even with no account or anything it's still the language error Sad
Well tell me why I can access to the forum without problem (url with www).
BTW, even if your issue seems to have no relationship with this, check that gzip compression is disabled with joomla, and also phppbb.

marko_ng
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Oct 02, 2007 8:06 pm

Re: New Bridge for Phpbb 2.020 available (from Mehdi)

Post by marko_ng » Tue Oct 02, 2007 8:17 pm

Hey Mehdi!

I've succesfully installed your bridge to my old phpbb forum (2.0.22) and new Jooomla version 1.0.13
mehdi wrote: 7 August 2007
Notice about Joomla 1.0.13:  Despites the new "salted passwords" introduced by Joomla 1.0.13 , the bridge works fine.
What does it mean? My phpbb users can not login into joomla (and so neither to phpbb). They all get a message of incorrect username or password. Everything works fine if they register wit a new username. How can i resolve the problem?
Thanks in advance!

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

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Tue Oct 02, 2007 9:09 pm

hi marko_ng,
did you use the quickmerge script ?

marko_ng
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Oct 02, 2007 8:06 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by marko_ng » Tue Oct 02, 2007 9:42 pm

Yes i did. I had a problem just with a few users, most of them have been transfered succesfully... so i can see all the users in joomla's back end. And i didn't have any problems with administrator username in phpbb. Just most of the users can't log in.  :(
Last edited by marko_ng on Tue Oct 02, 2007 9:51 pm, edited 1 time in total.

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

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Tue Oct 02, 2007 9:51 pm

hi marko_ng,
well that's weird.
The last times I tried if this quickmerge thing, with Joomla 1.0.13 it seemed to work.
Don't have time to test again, now.

Perhaps you can send an mail to all of your user asking to change their password,
using the "forget password" link ?
If after changing the password, they still can't login in joomla,
then the problem is not related to the bridge.

marko_ng
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Oct 02, 2007 8:06 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by marko_ng » Tue Oct 02, 2007 10:43 pm

Hey mehdi!

I've tried with two different users to change their password with "forget password link" and i allways got the message "Password Reset Failed!" It's really strange because it seems everything OK with databases tables (obviously because it's working with my username and some others, and the table exist in joomla database - as i said i can see all the phpbb users inside joomla). Any a idea?
tnx

marko_ng
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Oct 02, 2007 8:06 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by marko_ng » Wed Oct 03, 2007 12:15 am

Hey!

I've resolved the problem! As i thought it was something stupid. I'm using community builder and obviously while transfering user table in CB "Approve user" function is set to NO by default. That's all...

Thanks for the Bridge Mehdi!  :D

atlantean0208
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Oct 06, 2007 9:31 pm

Re: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by atlantean0208 » Sat Oct 06, 2007 9:39 pm

hi mehdi,

Is it possible for the joomla bridge works both ways?

I mean single registration/sign-on/logout from both phpbb and joomla, also moving between joomla and phpbb done
transparently/seamlessly means session set for both phpbb and joomla once user login

My phpbb forum is setup long ago and now I want to setup a joomla shop as part of my phpbb portal. All user visiting
my site must login through my phpBB ezPortal (moffiz.com). So once user login through the portal front, the user should both sign on
automatically to both phpbb and joomla.

TIA


Locked

Return to “phpbb - Joomla! Integration”