Mehdi's Bridge for Phpbb2 (not 3 yet ...)
Moderator: General Support Moderators
Forum rules
-
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Jul 10, 2006 5:26 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Ok, thnx anyway.. And thnx for a realy great bridge, its by far the best one
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
8 september 2006, redirection bug fix.
The only issue I know yet related to this bug is: see this post (little arrow bug)
But this might have a more serious impact. Update anyway.
FAQ updated.
especially question related to define ( 'RG_EMULATION', 0 )
and also: How can I set different modules to be shown with my phpbb forum? How I can assign a different template ? etc ....
quickmerge script improved (errors are more explicit)
The only issue I know yet related to this bug is: see this post (little arrow bug)
But this might have a more serious impact. Update anyway.
FAQ updated.
especially question related to define ( 'RG_EMULATION', 0 )
and also: How can I set different modules to be shown with my phpbb forum? How I can assign a different template ? etc ....
quickmerge script improved (errors are more explicit)
-
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Jul 10, 2006 5:26 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Thnx alot for the update
Last edited by maffia100 on Fri Sep 08, 2006 5:37 pm, edited 1 time in total.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Sep 09, 2006 4:53 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
i think i have problems with the CSS, the phpBB don't show any graphics!
my url: http://87.230.6.119
forum url: http://87.230.6.119/phpBB2
my config:
i hope anyone can help me!
gzip is disabled! browser cache is empty...!
my url: http://87.230.6.119
forum url: http://87.230.6.119/phpBB2
my config:
i hope anyone can help me!
gzip is disabled! browser cache is empty...!
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Jul 10, 2006 5:26 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
You could try to link to your default template class, template_css.css. like this:
$patternCss="%JOOMPHPBB_STYLESHEET%"; //at least 3 characters, don't enclose in brackets
$integrateCss="template_css.css";
$defaultCss="subSilver.css";
and put the css code in there from the subSilver.css
$patternCss="%JOOMPHPBB_STYLESHEET%"; //at least 3 characters, don't enclose in brackets
$integrateCss="template_css.css";
$defaultCss="subSilver.css";
and put the css code in there from the subSilver.css
Last edited by maffia100 on Sat Sep 09, 2006 7:44 pm, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 12, 2006 10:13 pm
- Location: Bucharest, Romania
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Hello guys.
First, I'd like to thank Mehdi for this Bridge.
Second, I already have a Joomla installation and a clean (no users, no posts) phpBB forum.
I have a database with phpBB users/posts that are also merged in Joomla. (from the phpBB component)
The only way I can perform operations to my SQL database is through phpMyAdmin (including SQL query). However, I'm not too good in SQL.
What should I do in order to insert the users AND the posts in the new phpBB forum?
Also, a few other bugs I can't sort at this moment,
I've tested this Bridge on two website (http://etherfast.evogames.ro and http://gameover.evonet.ro) . The first one has an all-page-wide template with a left column, and the second one is stretched in the middle with a left column. On etherfast, when I click FORUM, the website's template changes, and there are no more graphics at all (take a look). On gameover, everything is ok with the template, but the forum is too narrow in the middle of the page and looking inestethical.
LATER EDIT: I sorted out the template issue (it was from the .css files) and I merged the both, but however, the website logo isn't displaying, aswell as an important module of the website (Who's online) isn't loading.
Is there any template file I have to edit?
First, I'd like to thank Mehdi for this Bridge.
Second, I already have a Joomla installation and a clean (no users, no posts) phpBB forum.
I have a database with phpBB users/posts that are also merged in Joomla. (from the phpBB component)
The only way I can perform operations to my SQL database is through phpMyAdmin (including SQL query). However, I'm not too good in SQL.
What should I do in order to insert the users AND the posts in the new phpBB forum?
Also, a few other bugs I can't sort at this moment,
I've tested this Bridge on two website (http://etherfast.evogames.ro and http://gameover.evonet.ro) . The first one has an all-page-wide template with a left column, and the second one is stretched in the middle with a left column. On etherfast, when I click FORUM, the website's template changes, and there are no more graphics at all (take a look). On gameover, everything is ok with the template, but the forum is too narrow in the middle of the page and looking inestethical.
LATER EDIT: I sorted out the template issue (it was from the .css files) and I merged the both, but however, the website logo isn't displaying, aswell as an important module of the website (Who's online) isn't loading.
Is there any template file I have to edit?
Last edited by Etherfast on Sun Sep 10, 2006 10:44 pm, edited 1 time in total.
Signature rules: http://forum.joomla.org/index.php/topic,65.0.html
Only exact url's allowed
Only exact url's allowed
- dtab55
- Joomla! Apprentice
- Posts: 10
- Joined: Sun Jun 25, 2006 5:21 pm
- Location: Alexandria, Virginia
- Contact:
[solved]Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Problem -> quickmerge
Everything else works flawlessly, except for the quick merge. I execute it, and it finnishes with a blank page. None of the phpbb users are put into joomla. Anyone else who registers works fine, just not the originals? Any ideas?
[solved] Make sure you are using the updated download.
Everything else works flawlessly, except for the quick merge. I execute it, and it finnishes with a blank page. None of the phpbb users are put into joomla. Anyone else who registers works fine, just not the originals? Any ideas?
[solved] Make sure you are using the updated download.
Last edited by dtab55 on Tue Sep 12, 2006 5:22 pm, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Tue Jul 11, 2006 4:46 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
I've just downloaded and installed the bridge, and am having the following issue.
When I click on Reply from a post in the forum, the post a reply box comes up fine, but in the topic review box where it should show the original message that I am replying to, I get:
Fatal error: Call to undefined function: checkinputarray() in /homepages/xx/xxxxxx/htdocs/awttw/forums/joomphpbb_engine.php on line 203. I put the x's in there to mask part of the url, it does display the proper path.
I have Joomla 1.0.11 installed, with a fresh install of phpBB 2.0.21 with only the default message in the forum.
Can I get a little help on this??
When I click on Reply from a post in the forum, the post a reply box comes up fine, but in the topic review box where it should show the original message that I am replying to, I get:
Fatal error: Call to undefined function: checkinputarray() in /homepages/xx/xxxxxx/htdocs/awttw/forums/joomphpbb_engine.php on line 203. I put the x's in there to mask part of the url, it does display the proper path.
I have Joomla 1.0.11 installed, with a fresh install of phpBB 2.0.21 with only the default message in the forum.
Can I get a little help on this??
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi shadowmaster
Well, I think you didn't update globals.php file, that would explain ...Fatal error: Call to undefined function: checkinputarray()
-
- Joomla! Intern
- Posts: 59
- Joined: Sun Sep 24, 2006 1:11 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Mehdi, quick noob question.
I've got an existing forum, but want to expand it to a joomla driven site. If i install the bridge, will all my phpbb users be 'joomla' users? If not is there any easy way round it?
ta
Eeef
I've got an existing forum, but want to expand it to a joomla driven site. If i install the bridge, will all my phpbb users be 'joomla' users? If not is there any easy way round it?
ta
Eeef
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
A script is provided to copy all phpbb users into joomla database (i.e same username/password/email).will all my phpbb users be 'joomla' users? If not is there any easy way round it?
Note we assume , that all users won't play at changing their username in joomla,
before visiting the forum at least once (being logged in joomla).
Because the first time (i.e first visit to forum being logged),
phpbb user/joomla users are bound according to username.
-
- Joomla! Intern
- Posts: 59
- Joined: Sun Sep 24, 2006 1:11 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Thanks for that. I realised I'd posted this in the wrong place so put it in a new post. It's got some more questions in it, would you mind having a look?
http://forum.joomla.org/index.php/topic,97753.0.html
http://forum.joomla.org/index.php/topic,97753.0.html
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
mehdi , thanks about this bridge !
Quick question : if i dont need to "join" my joomla Users and my PhpBB users [ i just want phpbb users ] can i skip the bridge , install phpbb with no mods and hacks and changes and just link to it from my joomla site to a new blank browser window?
I really dont need Joomla user management ...
Thanks in advance for your reply
Quick question : if i dont need to "join" my joomla Users and my PhpBB users [ i just want phpbb users ] can i skip the bridge , install phpbb with no mods and hacks and changes and just link to it from my joomla site to a new blank browser window?
I really dont need Joomla user management ...
Thanks in advance for your reply
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi se-eida,
I didn't implemented a "visual integration only" bridge.
Maybe I'll do it later ...
As soon as you bridge the forum,
there's a kind of master/slave scheme for login access in phpbb, where joomla stay the master.
In order to connect to the forum, the user must exist in joomla (although it is systematically duplicated in phpbb, if there's no corresponding phpbb user)
However, managements of rights stay for each user independent in phpbb and joomla.
For instance you can have an administrator in joomla, who have just a "basic" registered account in phpbb.
you mean you are interested only by visual integration or what ?Quick question : if i dont need to "join" my joomla Users and my PhpBB users [ i just want phpbb users ] can i skip the bridge , install phpbb with no mods and hacks and changes and just link to it from my joomla site to a new blank browser wind
I didn't implemented a "visual integration only" bridge.
Maybe I'll do it later ...
As soon as you bridge the forum,
there's a kind of master/slave scheme for login access in phpbb, where joomla stay the master.
In order to connect to the forum, the user must exist in joomla (although it is systematically duplicated in phpbb, if there's no corresponding phpbb user)
However, managements of rights stay for each user independent in phpbb and joomla.
For instance you can have an administrator in joomla, who have just a "basic" registered account in phpbb.
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
mehdi thanks for the quick immediate reply!...
yes i read this on the dedicated FAQ .. i see lots of public request for this "just visual implementation , not user DB linking" hehe !
anyway , what i was thinking was moving to a completely independent installation of phpbb and just linking it to a menu item...
i must admit though that the visual integration was pretty nice... but the redirection and Administation Panel access problems seem hard to resolve ! ... [although some of the Redirection issues solved when i "$joomIntegrate = false. "
yes i read this on the dedicated FAQ .. i see lots of public request for this "just visual implementation , not user DB linking" hehe !
anyway , what i was thinking was moving to a completely independent installation of phpbb and just linking it to a menu item...
i must admit though that the visual integration was pretty nice... but the redirection and Administation Panel access problems seem hard to resolve ! ... [although some of the Redirection issues solved when i "$joomIntegrate = false. "
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
If it's the question, then there's no need to ask me, you just don't use any bridge at all.anyway , what i was thinking was moving to a completely independent installation of phpbb and just linking it to a menu item...
Some people complain of problems, but I hope it's not the majority.but the redirection and Administation Panel access problems seem hard to resolve ! ...
It would be a bit discouraging to see people people requesting "visual integration" only,
just because they have a basic redirections problem. Most of the times problem are solved by reading the FAQ.
Some people are less lucky though .... Anyway uninstallation is straightforward : just restore old phpbb file.
It doesn't harm to try my bridge anyway !
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
yes mehdi , no direct or indirect bad comment about your work of course , i found some redirection hints in your forum i'll try them and i ll see how it goes!
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
mehdi could you point me to a link where the redirection issue is dealt with ?
[when i login after hiting the se-eida.com/forum link it doesnt take me to the forum index but to the page index]
and then , if i have the template implemented phpbb the redirect doesnt work even at posting e.t.c.
thank you!
[when i login after hiting the se-eida.com/forum link it doesnt take me to the forum index but to the page index]
and then , if i have the template implemented phpbb the redirect doesnt work even at posting e.t.c.
thank you!
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi
I've just played withyour install,
since I was not sure about which redirection issue you are talking off (so many redirections for this bridge to work).
I'm a bit surprised to see the page "if your browser does not redirect automatically click here".
I would personally say "if your browser does not redirect automatically, then change your browser"
Joomla istelf perform a redirection when you login, and I don't see the point in
displaying such page.
So I guess your redirection issue is about this:
http://www.mehdiplugins.com/forum/viewt ... =2194#2194
where I explain how to hack core joomla com_login.
cheers
I've just played withyour install,
since I was not sure about which redirection issue you are talking off (so many redirections for this bridge to work).
I'm a bit surprised to see the page "if your browser does not redirect automatically click here".
I would personally say "if your browser does not redirect automatically, then change your browser"
Joomla istelf perform a redirection when you login, and I don't see the point in
displaying such page.
So I guess your redirection issue is about this:
http://www.mehdiplugins.com/forum/viewt ... =2194#2194
where I explain how to hack core joomla com_login.
cheers
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
I forgot a thing
how did you disable user detail profile editing for joomla part , se-eida ?
I mean of course when I type the link myself i.e
option=com_user&task=UserDetails&Itemid=888888
how did you disable user detail profile editing for joomla part , se-eida ?
I mean of course when I type the link myself i.e
option=com_user&task=UserDetails&Itemid=888888
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
ok i just saw your edit on the mehdiforum telling where the change is..hehe..i'll try that later
this is one issue , the other is that when the forum is visually implemented in the joomla template it doesnt redirect after posting.. [IE7 RC1,IE 6]
ps:i didnt understand the last question!..sorry
------------------------
edit : made the changes :
to /forum/joomphpbb_engine.php
and
to /components/com_login/login.php
but still the redirection after LOGIN doesnt send you to the forum index but to the page index
this is one issue , the other is that when the forum is visually implemented in the joomla template it doesnt redirect after posting.. [IE7 RC1,IE 6]
ps:i didnt understand the last question!..sorry
------------------------
edit : made the changes :
Code: Select all
if( !$my->id && strcmp($phpbbCurPage, "login")==0 && !isset($_GETPOST['logout']) ) {
$target = "/index.php?option=com_login&Itemid=88888888&backapp=1";
header('Location: '. $joomUrl . $target);
exit();
and
Code: Select all
$params->def( 'back_button', $mainframe->getCfg( 'back_button' ) );
$backapp=intval(mosGetParam( $_REQUEST, 'backapp'));
if($backapp==1) $params->def( 'login', 'http://link-to-the-forum' );
else $params->def( 'login', $mosConfig_live_site );
$params->def( 'logout', $mosConfig_live_site );
but still the redirection after LOGIN doesnt send you to the forum index but to the page index
Last edited by se-eida on Tue Sep 26, 2006 10:55 am, edited 1 time in total.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon May 29, 2006 1:34 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hey
i got a problem with the bridge {PHPBB_BODY_HTML},
i have joomla 1.0.11, than i have installed phpbb 2.021 and after this the phpbb joomla bridge.
I followed the instruction from mehdis website ... everything works fine.
Now i linked the phpbb component inside joomla administration to make
a navigation point and a sitemap entry.
If i click at this navigation point i got a site with my template and the code {PHPBB_BODY_HTML},
see here.
If i go at the the direct path http://cms.floeha.de/forum/ it works
but i will need the direct link because of the Itemid.
I also removed the trailing slash in phpbb administration for the script path
and i also disabled cookies.
can anybody help me pls
here is my joomphpbb_conf.php
i got a problem with the bridge {PHPBB_BODY_HTML},
i have joomla 1.0.11, than i have installed phpbb 2.021 and after this the phpbb joomla bridge.
I followed the instruction from mehdis website ... everything works fine.
Now i linked the phpbb component inside joomla administration to make
a navigation point and a sitemap entry.
If i click at this navigation point i got a site with my template and the code {PHPBB_BODY_HTML},
see here.
If i go at the the direct path http://cms.floeha.de/forum/ it works
but i will need the direct link because of the Itemid.
I also removed the trailing slash in phpbb administration for the script path
and i also disabled cookies.
can anybody help me pls
here is my joomphpbb_conf.php
Code: Select all
$joomUrl="http://cms.floeha.de"; //no trailing slash at the end
$joomRel= "../"; // relative path from phpbb,unlike previous setting this one should end with a slash
$joomIntegrate = true;
//-------------------
$patternCss="%JOOMPHPBB_STYLESHEET%"; //at least 3 characters, don't enclose in brackets
$integrateCss="subSilverInteg.css";
$defaultCss="subSilver.css";
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
@ se-eida
sorry I almost forget this post.
I'm not sure you took a close look at the hack,
when I say to write: http://link-to-the-forum
Off course "this is link to your forum", you don't have to copy this "as it is".
I've just tested, this work exactely the same way as if phpbb was not bridged.
I cannot go to:
http://www.se-eida.com/index.php?option ... id=8888888
and change my username for instance.
@Force
sorry I almost forget this post.
I'm not sure you took a close look at the hack,
when I say to write: http://link-to-the-forum
Off course "this is link to your forum", you don't have to copy this "as it is".
I don't understand what this mean, or what redirection you are expecting.the other is that when the forum is visually implemented in the joomla template it doesnt redirect after posting.
I've just tested, this work exactely the same way as if phpbb was not bridged.
well after login,ps:i didnt understand the last question!..sorry
I cannot go to:
http://www.se-eida.com/index.php?option ... id=8888888
and change my username for instance.
@Force
This is how it is intended to work.If i go at the the direct path http://cms.floeha.de/forum/ it works
See the faq, question: "How can I set different modules to be shown with my phpbb forum? How I can assign a different template ? Menu item is not highlighted ! etc ...."but i will need the direct link because of the Itemid.
cookies are a requirement for joomla to work and thus also for the bridge.and i also disabled cookies.
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
sorry ! stupid mistake !corrected this..but still no redirection [you can check it out @ http://www.se-eida.com/forum ]
when i was talking about "redirection" in general i meant after POSTING and in other cases [ loggin to the admin panel , etc]
when i was talking about "redirection" in general i meant after POSTING and in other cases [ loggin to the admin panel , etc]
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
I think you didn't hack properly the com_login component.
Anyway the login module works fine...
You can just remove the login link from the forum,
and force your users to use the login module of Joomla.
Anyway the login module works fine...
You can just remove the login link from the forum,
and force your users to use the login module of Joomla.
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
I attached the 2 files
No it doesnt work.. when you LOGIN from PHPBB login module it still sends you to the root Index and not to the Forum index.[both IE,FireFox]
No it doesnt work.. when you LOGIN from PHPBB login module it still sends you to the root Index and not to the Forum index.[both IE,FireFox]
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
all right, hack the login.htm.php file instead,
in function loginpage
replace the line:
$return = $params->get('login');
by :
in function loginpage
replace the line:
$return = $params->get('login');
by :
this times this should work.$backapp=intval(mosGetParam( $_REQUEST, 'backapp'));
$return= $backapp==1 ? "http://www.se-eida.com/forum/" : $params->get('login');
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
i replaced it with the 2 lines ..
but unfortunately..
but unfortunately..
-
- Joomla! Apprentice
- Posts: 32
- Joined: Sun Sep 24, 2006 3:32 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
WORKING!!!!!!!!!!!!!!!!!!!!!!!!!
MEHDI RULEZ
MEHDI RULEZ
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon May 29, 2006 1:34 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
@Force
[/quote]
thx mehdi, now i understand it,
and i have not disabled cookies for joomla,
i have only disabled cookies in the forum administration
This is how it is intended to work.If i go at the the direct path http://cms.floeha.de/forum/ it works
See the faq, question: "How can I set different modules to be shown with my phpbb forum? How I can assign a different template ? Menu item is not highlighted ! etc ...."but i will need the direct link because of the Item id.
cookies are a requirement for joomla to work and thus also for the bridge.and i also disabled cookies.
[/quote]
thx mehdi, now i understand it,
and i have not disabled cookies for joomla,
i have only disabled cookies in the forum administration
Last edited by Force on Thu Sep 28, 2006 6:11 am, edited 1 time in total.