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 » Tue Jun 20, 2006 2:18 pm

i have clean joomla 1.0.9 and modded phpbb 2.0.21, i have lot of members on phpbb side, can i use your bridge?
If you have more than 10 000  registered user, the default script for merging already existing phpbb  users into joomla might not be enough for your needs.
see here: http://www.mehdiplugins.com/forum/viewtopic.php?t=366
Concerning the mods, it depends if it affects how users are registered in phpbb database.
I'll release a FAQ soon...

EzerchE
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Thu Apr 20, 2006 12:58 pm
Contact:

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

Post by EzerchE » Tue Jun 20, 2006 2:33 pm

i have about 8000 members. i just want to guests cannot download files in joomla side...

i have installed heimdal before but its no longer supported. i separate phpbb and joomla, and upgrade joomla to 1.0.9.

i read your readme on http://www.mehdiplugins.com/misc/phpbbjoom.htm but i really confused...  :-[

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 » Tue Jun 20, 2006 2:39 pm

have installed heimdal before but its no longer supported.
I don't know what is heimdal.
i read your readme on http://www.mehdiplugins.com/misc/phpbbjoom.htm but i really confused...
What you don't understand ? You should perform a test with a local copy of your website.
Maybe these explanations are more intended fo experienced users.

EzerchE
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Thu Apr 20, 2006 12:58 pm
Contact:

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

Post by EzerchE » Tue Jun 20, 2006 2:48 pm

heimdal is integrated joomla 1.0.4 and phpbb 2.0.17

this part of installation is a little complicated to me;

http://www.mehdiplugins.com/misc/phpbbjoomhack.htm

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 » Tue Jun 20, 2006 3:05 pm

this part of installation is a little complicated to me;
just go ahead, and when you block , contact me.
Also I'd like to earn a bit from my bridge. Thus I can also install it for you, against a small fee (35$).

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 » Tue Jun 20, 2006 7:37 pm

20 June 2006, just compiled an FAQ for this bridge:
http://www.mehdiplugins.com/misc/phpbbjoomfaq.htm

good luck ....

EzerchE
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Thu Apr 20, 2006 12:58 pm
Contact:

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

Post by EzerchE » Tue Jun 20, 2006 8:10 pm

i am try to installing but i think i made wrong somethings. now i am trying to execute quickmerge.php on root it says nothing. i cant see users in joomla users, when i try to login or register from phpbb its redirects me to the joomla side... what can i do? thanks

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 » Tue Jun 20, 2006 8:16 pm

If you use two separate database for joomla and phpbb then you must copy the phpbb user table into joomla database,
before running the script. Moreover you must edit the  first line of the script quickmerge.php if the copied table has a different name (i.e not phpbb_users).
Take your time for reading instructions at my website.

EzerchE
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Thu Apr 20, 2006 12:58 pm
Contact:

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

Post by EzerchE » Tue Jun 20, 2006 8:19 pm

mehdi wrote: If you use two separate database for joomla and phpbb then you must copy the phpbb user table into joomla database,
before running the script. Moreover you must edit the  first line of the script quickmerge.php if the copied table has a different name (i.e not phpbb_users).
Take your time for reading instructions at my website.
i am using one database, i have jos_*** and phpbb_*** in same database :(

EzerchE
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Thu Apr 20, 2006 12:58 pm
Contact:

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

Post by EzerchE » Tue Jun 20, 2006 8:27 pm

oh ok i see if ($mosConfig_offline == 1) exit(); in quickmerge, my website was off, i turn it to on and now i am waiting for script...

EzerchE
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Thu Apr 20, 2006 12:58 pm
Contact:

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

Post by EzerchE » Tue Jun 20, 2006 8:30 pm

i haved failed for 127 users, i dont know why. admin and my own accound included.

its not important but when i click to registration, login or when i login from forum mainpage etc. it redirects me to the joomla side. i have joomla site in root and phpbb in /forums am i doing wrong somethings?
Last edited by EzerchE on Tue Jun 20, 2006 8:36 pm, edited 1 time in total.

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 » Tue Jun 20, 2006 8:33 pm

when i try to login or register from phpbb its redirects me to the joomla side... what can i do? thanks
as soon as you enable bridge, you register and login from joomla side.
You are not redirected from login page (component) to phpbb.
Use login module instead.
And please read my newly added Faq (Misc Part)
oh ok i see if ($mosConfig_offline == 1) exit(); in quickmerge,
well I guess it is not required for the website to be on... or off...
I just left this instruction to imitate what does Joomla.

EzerchE
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Thu Apr 20, 2006 12:58 pm
Contact:

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

Post by EzerchE » Tue Jun 20, 2006 8:42 pm

I am trying to login from joomla it says

Method Not Allowed
The requested method POST is not allowed for the URL /index.html.

so users cant login from phpbb, thats bad :(

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 » Tue Jun 20, 2006 8:52 pm

/index.html
??????
My bridge work with traditional .php extension. No .html.
Moreover you have to login from joomla.

EzerchE
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Thu Apr 20, 2006 12:58 pm
Contact:

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

Post by EzerchE » Tue Jun 20, 2006 9:05 pm

its ok i have search engine friendly urls. i set login redirect to index.php in login module.

plukke
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Sat May 20, 2006 5:58 pm

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

Post by plukke » Thu Jun 22, 2006 6:44 pm

Hi,

The bridge seems to work nicely when integrating my forum into joomla. But thats only when not logged in. I think there might be a problem that I run a site in my root /, my original phpbb2 install in /phpbb2, my joomla in /joomla en my phpbb2 Im trying to bridge is in /joomla/phpbb2.

I specified in the joomphpbb2_conf file that my joomla is located 1 dir above the phpbb2( /joomla/phpbb2) install (so ../). logging in works, beeing redirected to the joomla mainpage and when accessing the forum again it will look for the /phpbb2 install instead of the /joomla/phpbb2 install resulting in username/password failure. The FAQ told me that my login file was not hacked, the inc_login I use shows no difference at the points of the hacks than the premodded inc_login.....

Any suggestions what argument my $joomRel= variable should have or is there another problem involved??  :-[
Last edited by plukke on Fri Jun 23, 2006 5:18 pm, edited 1 time in total.

plukke
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Sat May 20, 2006 5:58 pm

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

Post by plukke » Sat Jun 24, 2006 12:20 pm

Solved. Works like a dream now. Thanks again for this nice bit of software Mehdi!

dehydratedchicken
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Sat Mar 04, 2006 1:12 pm

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

Post by dehydratedchicken » Mon Jul 03, 2006 6:52 pm

Thanks Mehdi for the bridge, just a simple question, how am I able to change the overall blackground colour from white to a prefered colour so that it in blends in with my template properly?

Regards

davidk
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Jul 10, 2006 10:31 pm

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

Post by davidk » Wed Jul 12, 2006 12:38 pm

Hi Mehdi,

  I was wondering if you have a solution or any ideas for my situation.
http://forum.joomla.org/index.php/topic,75850.0.html

Thanks in advance! :)

MrBrown
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Jul 10, 2006 4:58 pm

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

Post by MrBrown » Thu Jul 13, 2006 12:49 am

This bridge is really great. Integrating it into Joomla and Community Builder needs some work to do by "hand", but the FAQ and Instructions are very good and when done right the result is perfect in the end.

funfun168
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jul 10, 2006 4:57 pm

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

Post by funfun168 » Sun Jul 16, 2006 3:29 am

can this hack support multiple phpbb forum?

such that one joomla and 4 phpbb forums share the same user database

Also, if I placed my forum at subdomain (i.e. forum1.mysite.com, forum2.mysite.com, forum3.mysite.com & forum4.mysite.com) how can I config $joomRel ?
Last edited by funfun168 on Sun Jul 16, 2006 5:19 am, edited 1 time in total.

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 » Sun Jul 16, 2006 7:41 pm

can this hack support multiple phpbb forum?
sorry not yet.
Moreover you cannoot work with different subdomains ....

MrBrown
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Jul 10, 2006 4:58 pm

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

Post by MrBrown » Mon Jul 17, 2006 8:58 pm

There seems to be a problem with the "Newest Post" links which registered users get to jump to the last post they haven't read.
I reproduced it with a fresh install of phpBB and joomla in a fresh local DB using XAMPP.
After installing the bridge I created a new user.
It logs into phpBB automatically after loggin into Joomla, everything fine.
Now if I write a topic with another account from another computer I see a new posting in a topic and that little icon left of the topic name appears, which links to something like:
http://www.legioncondor.net/phpBB2/view ... iew=newest

So in viewtopic.php (aka inc_viewtopic.php) I end up in line 105:

Code: Select all

redirect("viewtopic.$phpEx?" . POST_POST_URL . "=$post_id#$post_id");
In the end the redirect-link would be "viewtopic.php?p=2#2" in the example.
The link really looks exactly likt this, I checked it by outputting it via message_die, so the URL shouldn't be the problem at all if I don't miss something here.

Now unfortunately that redirect doesn't seem to work for me: I always end up on the forum index page?!?
If I build a URL ("localhost/phpbbtest/viewtopic.php?p=2#2") and put it into the adress line by hand and press enter, everything works fine...

Any idea?!?!? I am getting desperate with this bug...
Last edited by MrBrown on Mon Jul 17, 2006 9:13 pm, edited 1 time in total.

mixar
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Jul 17, 2006 11:00 pm

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

Post by mixar » Mon Jul 17, 2006 11:05 pm

can you take a look at my site http://www.itsbilly.com
I have all the live site urls set to http://www.itsbilly.com if i set them to http://www.itsbilly.com it doesnt load the site properly.
I have the forum isntalled here http://www.itsbilly.com/forum/
The link to the forum is http://itsbilly.com/forum
It says I am already logged into the priate area of this site

If i link directly to the forum with http://www.itsbilly.com/forum the link is directs me here http://www.w3.org/Protocols/ for some reason, any ideas?
Last edited by mixar on Mon Jul 17, 2006 11:22 pm, edited 1 time in total.

hafez
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Thu Jul 13, 2006 10:51 am

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

Post by hafez » Mon Jul 24, 2006 2:33 pm

Hi Mehdi

Excellent bridge and looks very nice within my joomla tempalte but I can login joomla however I get the following when I try to access phpBB:

Error

DEBUG MODE

SQL Error : 1146 Table 'phpbb.joomphpbb_bridge' doesn't exist

SELECT assoc_id,phpbb_id FROM joomphpbb_bridge WHERE joom_id=6264 LIMIT 1

Line : 242
File : joomphpbb_engine.php

What am I doing wrong here? please I need a detailed advise. I'm all new to this.

Thanks for your help

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 » Mon Jul 24, 2006 4:00 pm

Hi hafez,
you must manually create the table joomphpbb_bridge
inside your forum database first. Use the sql file provided ,  add an instruction to precise
which database you use in first line (example: Use mydatab; )
and then import in phpMyAdmin.

MrBrown
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Jul 10, 2006 4:58 pm

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

Post by MrBrown » Mon Jul 24, 2006 4:00 pm

Does really no one have any idea concerning my "Jump to first unread post" problem that I pointed out above??

Does this function work for anyone using the bridge?
Can anyone reproduce my problem, or does it only happen to me?

I made a screenshot to show what I mean
Image
If I click them, I go back to the Forum Index instead of going to the first unread posting of that thread >:(

The Links that go right to the last posting in a thread do work
Image
I guess they work because they don't use the phpBB redirect function, like the "jump to first unread" function does, because it wants to jump to a specific posting by using "#" in the URL, which seems only possible by redirecting the browser so it catches the "#".

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 » Mon Jul 24, 2006 4:15 pm

Hi MrBrown,
you are not the first who complained about this little problem.
I've just understood, by taking a look to your screenshots
why I'm not having such problem.
Well, I don't have the extra arrow that is inducing problems,
I'm using the default subsilver template.
A "quick fix" would  be to change your phpbb template.
You can also give me the link to get that template,  but I'll study this (much ?)  later.

MrBrown
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Jul 10, 2006 4:58 pm

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

Post by MrBrown » Mon Jul 24, 2006 6:28 pm

Allright, thanks for your answer, at least I know that I haven't done something wrong...

But I reproduced that problem on a fresh install with the default subsilver template, which actually HAS those little extra arrows after a fresh install?!? It's just that you need someone else to post in your forum to actally see that arrows, you won't get it after posting something yourself, your own posts get marked as read by yourself automatically.

So if you want to go after this problem somewhen, the question would be:
Why don't you have these arrows on a fresh install with default template?

I guess I'll try to fix it by hacking inc_viewforum.php, I am planning to replace the part where it generates the "....view=newest" Link and replace this with the code in inc_viewtopic.php that generates the "final" link (like ".....viewtopic.php?p=2#2").
This isn't really clever as it will increase the database load, but that doesn't really matter for my forum, as most people read all unread posts anyway (pretty small Forum).
Last edited by MrBrown on Mon Jul 24, 2006 6:47 pm, edited 1 time in total.

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 » Mon Jul 24, 2006 10:48 pm

well, that's weird, but this is what I get:
Image

I would have  fixed  the problem by hacking the joomphpbb_engine.php file.
The file capture phpbb output and then process it, so basicallly I could "virtually"
perform any hacking, without having to touch the phpbb file.
Off course you have to know  how to write PCRE expressions for this...
Last edited by mehdi on Mon Jul 24, 2006 10:50 pm, edited 1 time in total.


Locked

Return to “phpbb - Joomla! Integration”