Mehdi's Bridge for Phpbb2 (not 3 yet ...)
Moderator: General Support Moderators
Forum rules
-
- Joomla! Intern
- Posts: 59
- Joined: Sun Sep 24, 2006 1:11 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Because my users are stupid they keep trying to login from the Forum rather than the main Joomla login. Is there an issue with removing the login/logout/register buttons in phpbb? If not how do I do it?
-
- Joomla! Intern
- Posts: 63
- Joined: Tue Aug 30, 2005 4:52 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
If you look at the overall_header.tpl file in the overall_header.tpl, you will be able to see where to remove the links.
I preempted the same issue.
Here's mine as an example
I preempted the same issue.
Here's mine as an example
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/subSilver/%JOOMPHPBB_STYLESHEET%" type="text/css" />
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<a name="top"></a>
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br /> </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">  <a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a> <a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a> <a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a> <a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
</span></td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a> <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a> </span></td>
</tr>
</table></td>
</tr>
</table>
<br />
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi Eeef,
first , is your forum visually integrated ?
if so, I guess it is more convenient to use the joomla login module.
If a user click on a login forum, he should be redirected to a joomla login page,
which is less convenient than the login module, because you are not redirected to
forum after login .... (unless you hack joomla).
If the user use the "login form" inside phpbb template, this just just doesn't work as expected,
and that's why I ask to remove it from phpbb template.
If your forum is visually integrated, then it's ok to remove the login link from the forum.
You can also make a custom page, and put in this one a screenshot saying "please use the login module of joomla".
Every button/links can be removed from phpbb templates.
For the login form you hack index_body.tpl, while for the login link you hack overall_header.tpl .
could you explain a bit better ?Because my users are stupid they keep trying to login from the Forum rather than the main Joomla login.
first , is your forum visually integrated ?
if so, I guess it is more convenient to use the joomla login module.
If a user click on a login forum, he should be redirected to a joomla login page,
which is less convenient than the login module, because you are not redirected to
forum after login .... (unless you hack joomla).
If the user use the "login form" inside phpbb template, this just just doesn't work as expected,
and that's why I ask to remove it from phpbb template.
If your forum is visually integrated, then it's ok to remove the login link from the forum.
You can also make a custom page, and put in this one a screenshot saying "please use the login module of joomla".
Every button/links can be removed from phpbb templates.
For the login form you hack index_body.tpl, while for the login link you hack overall_header.tpl .
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
5 october 2006,
added an online script to quickly fix the CSS of the phpbb template when
integrated inside joomla template. here:
http://www.mehdiplugins.com/misc/cssintegrator.htm
Hopefully , it would help people to fix the CSS of their phpbb theme faster, in the context of a visual
integration inside Joomla. Also it could help newbies that know nothing about CSS.
Improved navigation in the menu of the website. ( so that people are less lost between all the links)
cheers
added an online script to quickly fix the CSS of the phpbb template when
integrated inside joomla template. here:
http://www.mehdiplugins.com/misc/cssintegrator.htm
Hopefully , it would help people to fix the CSS of their phpbb theme faster, in the context of a visual
integration inside Joomla. Also it could help newbies that know nothing about CSS.
Improved navigation in the menu of the website. ( so that people are less lost between all the links)
cheers
Last edited by mehdi on Wed Oct 04, 2006 11:11 pm, edited 1 time in total.
- rookey
- Joomla! Intern
- Posts: 70
- Joined: Fri Sep 22, 2006 5:19 pm
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
I did the described hacks, but after logout at the phpbb board, it doesn't redirect back to the Joomla index page.
Can this be accomplished somehow?
thanks,r.
Can this be accomplished somehow?
thanks,r.
-
- Joomla! Intern
- Posts: 59
- Joined: Sun Sep 24, 2006 1:11 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Do you define the size of the integrated phpbb anywhere? I've using a template that can be fixed or full width, just wondering if I can get phpbb to do the same, as it does natively?
- adec
- Joomla! Explorer
- Posts: 365
- Joined: Sat Sep 03, 2005 8:56 pm
- Location: UK
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
i'm curious about the same question as Eeef ... I used this solution about 5 mths ago on a site .. all works perfectly ...
just downloaded all the files again tonight to add to a new site (phpbb 2.21 + joomla 1.11) .. and the width of the forum is causing a problem in the fixed width joomla template .. not too sure where the 'width' is defined at the moment .. any hints would be great ...
from looking at the site it seems to say table = 100% ... but when i get to the actual post part it becomes too wide and drops below my left menu .... hmm
just downloaded all the files again tonight to add to a new site (phpbb 2.21 + joomla 1.11) .. and the width of the forum is causing a problem in the fixed width joomla template .. not too sure where the 'width' is defined at the moment .. any hints would be great ...
from looking at the site it seems to say table = 100% ... but when i get to the actual post part it becomes too wide and drops below my left menu .... hmm
- adec
- Joomla! Explorer
- Posts: 365
- Joined: Sat Sep 03, 2005 8:56 pm
- Location: UK
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
ahh just discovered .. it only breaks out of my site template if you are looking at an actual post, and you are logged in as an administrator or a moderator .... if you're a normal person logged in then it works fine ... hmm
oh and its just in IE ... fine in firefox..
***Edit***
Actually .. I've just worked out its only when you are logged in as admin or moderator ... and you are viewing a post which has an inline photo using the attachment mod .. for everyone else its fine .... you can be logged in as a normal user and its fine ... just have the extra rank and it pushes the post down ... bizarre ... i wish i could use firefox to spot the problem, but in firefox it all works! arrgghh
oh and its just in IE ... fine in firefox..
***Edit***
Actually .. I've just worked out its only when you are logged in as admin or moderator ... and you are viewing a post which has an inline photo using the attachment mod .. for everyone else its fine .... you can be logged in as a normal user and its fine ... just have the extra rank and it pushes the post down ... bizarre ... i wish i could use firefox to spot the problem, but in firefox it all works! arrgghh
Last edited by adec on Sat Oct 14, 2006 9:34 pm, edited 1 time in total.
-
- Joomla! Intern
- Posts: 59
- Joined: Sun Sep 24, 2006 1:11 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
At the moment mine stays at a fixed width in the phpbb index and topic lisiting but expands when you open a topic. Any ideas how I can make the behaviour the same as reading a topic for the phpbb index and topic lisiting? i.e. it always expands to full width?
- rookey
- Joomla! Intern
- Posts: 70
- Joined: Fri Sep 22, 2006 5:19 pm
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Hello!
Is there a way to automatically add NEW registering users to the phpbb database without requiring them to log in there at first?
It would be great if this could be accomplished, since I have to add users to special discussion groups there and always have to inform them that they have to enter the board with their new username, too, before I can do that. Sending these emails isn't a problem as long as only 1-2 users are registering daily, but will cause headache as soon as there will be more..
thanks,
r.
Is there a way to automatically add NEW registering users to the phpbb database without requiring them to log in there at first?
It would be great if this could be accomplished, since I have to add users to special discussion groups there and always have to inform them that they have to enter the board with their new username, too, before I can do that. Sending these emails isn't a problem as long as only 1-2 users are registering daily, but will cause headache as soon as there will be more..
thanks,
r.
- adec
- Joomla! Explorer
- Posts: 365
- Joined: Sat Sep 03, 2005 8:56 pm
- Location: UK
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Hi rookey ... i was wondering exactly the same thing .. as I seemed to have more users in the joomla site than i did according to the phpbb front screen ..
I noticed with a test account that once the registered joomla user had visited the forum page, whilst logged .. then they appear ..
pretty sure in the past that as soon as someone registered with joomla they auto appeared in phpbb ... but thats on a site running phpbb 2.20 and joomla 1.10
edit: sorry Mehdi ... just read your faq and understand it now .. http://www.mehdiplugins.com/misc/phpbbjoomfaq.htm
I noticed with a test account that once the registered joomla user had visited the forum page, whilst logged .. then they appear ..
pretty sure in the past that as soon as someone registered with joomla they auto appeared in phpbb ... but thats on a site running phpbb 2.20 and joomla 1.10
edit: sorry Mehdi ... just read your faq and understand it now .. http://www.mehdiplugins.com/misc/phpbbjoomfaq.htm
Last edited by adec on Sat Oct 21, 2006 2:21 pm, edited 1 time in total.
- rookey
- Joomla! Intern
- Posts: 70
- Joined: Fri Sep 22, 2006 5:19 pm
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
a solution for that would be phantastic nevertheless..!!adec wrote:sorry Mehdi ... just read your faq and understand it now .. http://www.mehdiplugins.com/misc/phpbbjoomfaq.htm[/i]
-
- Joomla! Apprentice
- Posts: 7
- Joined: Wed May 10, 2006 2:06 am
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Can someone please look at my thread
http://forum.joomla.org/index.php/topic,108409.0.html
I am having some issues with this bridge and my index page not working.
http://forum.joomla.org/index.php/topic,108409.0.html
I am having some issues with this bridge and my index page not working.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Nov 01, 2006 2:49 pm
need help
hi
i have installed everything as shown at your homepage and everything goes right (or went right? no clue ).
but if i klick the link "Forum" no phpBB main page opens, instead i get a error message:
Warning: main(joomphpbb_engine.php): failed to open stream: No such file or directory in /is/htdocs/23565/www.almad.de/phpBB2/index.php on line 4
Warning: main(joomphpbb_engine.php): failed to open stream: No such file or directory in /is/htdocs/23565/www.almad.de/phpBB2/index.php on line 4
Fatal error: main(): Failed opening required 'joomphpbb_engine.php' (include_path='.:/usr/share/pear') in /is/htdocs/23565/www.almad.de/phpBB2/index.php on line 4
can someone help me with this? sorry but i'm not very good at that stuff and my english is bad too...
my hp adress is: http://www.almad.de
it is a completely new installation of joomla and phpbb
i have installed everything as shown at your homepage and everything goes right (or went right? no clue ).
but if i klick the link "Forum" no phpBB main page opens, instead i get a error message:
Warning: main(joomphpbb_engine.php): failed to open stream: No such file or directory in /is/htdocs/23565/www.almad.de/phpBB2/index.php on line 4
Warning: main(joomphpbb_engine.php): failed to open stream: No such file or directory in /is/htdocs/23565/www.almad.de/phpBB2/index.php on line 4
Fatal error: main(): Failed opening required 'joomphpbb_engine.php' (include_path='.:/usr/share/pear') in /is/htdocs/23565/www.almad.de/phpBB2/index.php on line 4
can someone help me with this? sorry but i'm not very good at that stuff and my english is bad too...
my hp adress is: http://www.almad.de
it is a completely new installation of joomla and phpbb
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi Ain Soph Aur,
the error is quite explicit.
Seems you didn't copy the joomphpbb_engine.php in your forum's folder.
the error is quite explicit.
Seems you didn't copy the joomphpbb_engine.php in your forum's folder.
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
1 November 2006, workaround for the bug 24420 found in some php installs ( getcwd() returns random results in a callback ) .
If you are suffering from the "white page syndrom" when you login
(although gzip compression is disabled in Joomla and Phpbb),
then redownload that bridge and replace the file joomphpbb_engine.php by the new one.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Nov 01, 2006 2:49 pm
the file exists!
the problem is, the file is there! i dont understand it...mehdi wrote: hi Ain Soph Aur,
the error is quite explicit.
Seems you didn't copy the joomphpbb_engine.php in your forum's folder.
do you have a idea what else it can be?
thx
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi Ain Soph Aur,
when I go to: http://www.almad.de/phpBB2/joomphpbb_engine.php
the server behaves as if such files didn't exist.
So my only explanation is that you didn't copy the file in the right folder.
when I go to: http://www.almad.de/phpBB2/joomphpbb_engine.php
the server behaves as if such files didn't exist.
So my only explanation is that you didn't copy the file in the right folder.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Nov 01, 2006 2:49 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
ok, go there now. the file is there, but i get the same error message
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
just went to http://www.almad.de/phpBB2/,
seems to work ....
seems to work ....
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Nov 01, 2006 2:49 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
ok ok, thx a lot!!
maybe i'm a little bit stupid
THX
maybe i'm a little bit stupid
THX
-
- Joomla! Apprentice
- Posts: 16
- Joined: Wed Nov 01, 2006 9:36 am
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi medhi,
ok i have installed the joomphpbb bridge 3 times now, following ur strict instructions yet i cannot get it to work. the first time i installed it, when i went to login in on the forum, it just sent me back to my site saying that "You are logged into a private part of the site blah blah blah". the 2nd and 3rd time i installed it, my link in the menu sends me to
my $mosConfig_live_site: http://www.blankbeatz.com, which is what i put in the config file in the $joomUrl. i am using a single database for both the forum and the site. i was able to merge the single user (me) perfectly, and i can still login into joomla. if i manually type "http://blankbeatz.com/forum i can access the forum but i cant login.
PLEASE HELP!!
ok i have installed the joomphpbb bridge 3 times now, following ur strict instructions yet i cannot get it to work. the first time i installed it, when i went to login in on the forum, it just sent me back to my site saying that "You are logged into a private part of the site blah blah blah". the 2nd and 3rd time i installed it, my link in the menu sends me to
.
my $mosConfig_live_site: http://www.blankbeatz.com, which is what i put in the config file in the $joomUrl. i am using a single database for both the forum and the site. i was able to merge the single user (me) perfectly, and i can still login into joomla. if i manually type "http://blankbeatz.com/forum i can access the forum but i cant login.
PLEASE HELP!!
-
- Joomla! Intern
- Posts: 86
- Joined: Thu Apr 20, 2006 12:58 pm
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
I installed it again, works nice but i have 12000 members, joomla side have 8000 where is 4000 members? how can i add them...?
and if i ban someone in phpbb, user cant enter forum but can enter joomla as registered member
and if i ban someone in phpbb, user cant enter forum but can enter joomla as registered member
-
- Joomla! Intern
- Posts: 86
- Joined: Thu Apr 20, 2006 12:58 pm
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
joomla doesnt accept nicknames with "-" or "_" "&" characters. the users has invalid characters in nickname dont added to joomla, how can we set it to merge for all users?
ok i made it.
I removed the lines causing error for invalid characters from joomla.php and registration component temporarily. and first i apply quickmerge for active users and second for inactive users
now i have all of my members
ok i made it.
I removed the lines causing error for invalid characters from joomla.php and registration component temporarily. and first i apply quickmerge for active users and second for inactive users
now i have all of my members
Last edited by EzerchE on Thu Nov 16, 2006 3:47 pm, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 13
- Joined: Mon Nov 13, 2006 6:49 pm
- Location: Chattanooga, TN
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Hi Mehdi,
Please see my post at http://forum.joomla.org/index.php/topic,117751.0.html
It's about the white/grey text color of posts in phpbb. I see you had applied a fix for this and that fix is in my version of your bridge but the text is still white and I can't change it.
Please see my post at http://forum.joomla.org/index.php/topic,117751.0.html
It's about the white/grey text color of posts in phpbb. I see you had applied a fix for this and that fix is in my version of your bridge but the text is still white and I can't change it.
-
- Joomla! Intern
- Posts: 86
- Joined: Thu Apr 20, 2006 12:58 pm
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
After the making bridge, when a user clicks a link to my forum's topic from outside of forum, he/she redirecting to main page of forum. whats causing this?
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi EzerchE,
visit the forum at the first time (after being logged in joomla).
he is automatically redirected to forum's page.
This is because login to the forum,
is done by the bridge only if you visit the forum,
and when logging is done you are redirected to forum's homepage.
However, as soon as user is logged in forum ,
external links will work.
I don't know how to fix this yet.
sorry.
a problem appears when a logged joomla userwhen a user clicks a link to my forum's topic from outside of forum, he/she redirecting to main page of forum. whats causing this?
visit the forum at the first time (after being logged in joomla).
he is automatically redirected to forum's page.
This is because login to the forum,
is done by the bridge only if you visit the forum,
and when logging is done you are redirected to forum's homepage.
However, as soon as user is logged in forum ,
external links will work.
I don't know how to fix this yet.
sorry.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Wed Jan 18, 2006 7:34 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
I believe that I have solved this problem so I bother.mehdi wrote: hi EzerchE,a problem appears when a logged joomla userwhen a user clicks a link to my forum's topic from outside of forum, he/she redirecting to main page of forum. whats causing this?
visit the forum at the first time (after being logged in joomla).
he is automatically redirected to forum's page.
This is because login to the forum,
is done by the bridge only if you visit the forum,
and when logging is done you are redirected to forum's homepage.
However, as soon as user is logged in forum ,
external links will work.
I don't know how to fix this yet.
sorry.
I have done the following thing:
I have created a module Wrapper of 1 pixel of high and I have him placed in the "home", that is where I have the module with the links to the last posts. This wrapper charges the page of the forum “www.mydomain.com/forum", but as has a single pixel, itself is not seen, neither uncomfortable. In this way, when someone enters the website, he is as if the user entered directly to the forum, so that when clicks the last posts, already is also loged in the forum. Thus we avoid that be redirected to the index of the forum.
They can see it functioning in http://www.mxtotal.net (in Spanish). The module wrapper I have it placed in the end of the page, but itself is not seen, reason has only a pixel of high.
Yet I have not tested it at 100%, but at first sight seems that functions.
I think if I place this module in header and published on all pages, the problem with email notifications will be solved also. But it I have not tested still.
Sorry for my english, and thanks to Mehdi for his excelent work.
Josep
-
- Joomla! Intern
- Posts: 86
- Joined: Thu Apr 20, 2006 12:58 pm
- Contact:
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
Hey, thanks nice trick i will try
-
- Joomla! Explorer
- Posts: 437
- Joined: Tue Oct 04, 2005 3:56 pm
Re: New Bridge for Phpbb 2.020 available (from Mehdi)
hi ,
but since I didn't find this very clean, I didn't suggest that.
I think this willl increase the loading time of joomla's page, but it is not obvious (because of caching by browser)
Probably I need to suggest a cleaner alternative ...
Well someone had similarly found a solution with an invisible iframe,I believe that I have solved this problem so I bother. [...]
have created a module Wrapper of 1 pixel of high and I have him placed in the "home"
but since I didn't find this very clean, I didn't suggest that.
I think this willl increase the loading time of joomla's page, but it is not obvious (because of caching by browser)
Probably I need to suggest a cleaner alternative ...
Last edited by mehdi on Tue Nov 28, 2006 11:59 am, edited 1 time in total.