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: Mehdi's Bridge for Phpbb2 (not 3 yet ...)

Post by mehdi » Sun Oct 28, 2007 4:50 pm

hi kerma,
Fatal error: Call to undefined function joomphpbbBindUsername() in /htdocs/wwwroot/forum/login.php on line 57
obviously the joomphpbb_engine.php file is missing or not invoked.
probably you didn't install things properly.
I can't figure out how you got this error. Sorry.

UnsTotti
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Nov 04, 2007 8:33 pm

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

Post by UnsTotti » Sun Nov 04, 2007 8:49 pm

Hello Mehdi,

I have installed the bridge and she works fine. Many thanks for it.

Only I have a small problem.
The forum runs within Joomla, so with "true" not false.

Now I have inserted a Mod "activity mod plus" where I can call play Games about a Popup.

However every time when I call the play, it is indicated of the Joomla Header with and I do not want it thust.
activity.php is includet in inc_activity.php.
Is there a possibility to indicate the plays without joomla header?

I thank you very much for your answer.  8)

Yours sincerely

Unstotti

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 » Mon Nov 05, 2007 1:59 pm

Hi UnsTotti,
your question is not quite clear.
I guess you wish to disable "visual integration" for activity.php only.
What I suggest is that you
edit the joomphpbb_engine.php file
And near the comment "we must disable visual integration from certain pages "
inside the if($joomIntegrate) test,
insert between lines 45 & 46 this line:
if( strcmp($phpbbCurPage,"activity")==0) $joomIntegrate=false;
just in case:
line 45:            }
      /* insert your new line here */
line 46:        }//end if if($joomIntegrate)
line 47:  } //end bloc first initialisations

UnsTotti
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Nov 04, 2007 8:33 pm

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

Post by UnsTotti » Mon Nov 05, 2007 9:36 pm

Hello Mehdi,

thank you for your answer.
I don`t know this whether I has properly written...
Also, I have installed the bridge, then I have in the Joomphpbb.php, put the forum on true.
So thus

Code: Select all

$joomIntegrate = true;
with it the forum runs in Joomla.

Then I have inserted the Mod " activity mod plus".
I have changed the file activity.php in inc_activity.
With it is also indicated in Startside by the Activity Mod plus within Joomla.
If I play now a game about a Popup Window, the play is indicated me.
This is OK.
But round the play is indicated me of the Header by Joomla. I would not want this, I would like to have indicated only the Game not the Header or Modules from Joomla. I hope you understand my posting.

Sorry for my bad English, is not my motherlanguage.

Here are an example for you. Then you will see what I mean

http://www.free-game.co.uk/activity.php ... 048d377337
This Site is not my Site, is an example, so that you see what I mean with the Popup Window

Many thanks for your efforts.  ;)

Greeting

UnsTotti
Last edited by UnsTotti on Mon Nov 05, 2007 9:42 pm, edited 1 time in total.

UnsTotti
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Nov 04, 2007 8:33 pm

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

Post by UnsTotti » Mon Nov 05, 2007 9:44 pm

Excuse me, has pressed from provided copying  :-[
Last edited by UnsTotti on Mon Nov 05, 2007 9:50 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 Nov 06, 2007 6:09 am

hi UnsTotti ,
do the  hack I explained  in previous post ... this should do the job

UnsTotti
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Nov 04, 2007 8:33 pm

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

Post by UnsTotti » Wed Nov 07, 2007 4:43 pm

Excuse the late answer.

Sorry...  :-\
So this well functions.  :)

Many thanks for your help Mehdi...

Greets UnsTotti

unmgroup
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Oct 29, 2006 5:08 am

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

Post by unmgroup » Sun Dec 02, 2007 1:18 pm

Dear Mehdi... I'm willing to provide the funds for the PHPBB3 visual integration for Joomla 1.0.13 . Please email me at: [email protected] . Thanks

saltcreep
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Dec 14, 2007 2:18 pm

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

Post by saltcreep » Fri Dec 14, 2007 2:36 pm

mehdi wrote: hi shadowmaster
Fatal error: Call to undefined function: checkinputarray()
Well, I think you didn't update globals.php file, that would explain ...

I hate to bring up this old thread, but I am having the same problem..
a call to undefined function checkinputarray() in the reply preview box and for smileys

and I can not find anywhere where it says to change anything in the globals.php file for the medhi bridge.
Last edited by saltcreep on Fri Dec 14, 2007 2:38 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 » Fri Dec 14, 2007 2:43 pm

hi saltcreep,
a call to undefined function checkinputarray() in the reply preview box and for smileys
use joomla 1.013/1.012 please and no other version.

I find weird however that you don't get problem for all  other pages

saltcreep
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Dec 14, 2007 2:18 pm

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

Post by saltcreep » Fri Dec 14, 2007 2:53 pm

I only see the checkinputarray() error in the places where intergration is turned off.

I changed joomphpbb_engine.php to not turn off intergration on smileys or the preview pane and they work, but I get the full joomla screen in those areas when I do that.

Joomla version is 1.0.13
phpBB version is 2.0.22

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 » Fri Dec 14, 2007 3:00 pm

hi saltcreep

disabling integration call index2.php of joomla instead of index.php
and then do not bother at parsing output to integrate phpbb content.
Perhaps you have a problem with index2.php file of Joomla (in the root of your joomla install).
Does the print button work, in any joomla article ?

saltcreep
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Dec 14, 2007 2:18 pm

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

Post by saltcreep » Fri Dec 14, 2007 3:17 pm

Mehdi you are a genius!!

Thank you, index2.php was missing.  I have replaced it and it is working correctly now.

Thankyou very much!!  :D

unmgroup
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Oct 29, 2006 5:08 am

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

Post by unmgroup » Fri Dec 14, 2007 3:55 pm

I have emailed Mehdi several times about financing the development of PHPBB3 for Joomla but I never got a response. The offer of $1500 is still on the table. My email is: [email protected] .

varagon
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Dec 21, 2007 2:25 am

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

Post by varagon » Mon Dec 24, 2007 10:35 am

Hi all.  I hate to bring up an older topic, but having issues.

I'm attempting to install Mehdi's Coppermine bridge.

However, this is the error I'm getting:
Cannot find "com_coppermine" component .
Seems you need to install it first.

My site is http://www.sekgg.net with coppermine at http://www.sekgg.net/gallery

Any thoughts? 

The directions were clear, however, I wasn't for sure what was meant by the first step: "install com_coppermine.zip inside Joomla"  Does that mean simply FTP the zipped file over to my home directly where Joomla is installed, or unzip the com_coppermine file first, then FTP the three files over to my home directory?  I use Go Daddy, and my plan doesn't allow unzipping on their server (unless I missed it).

Thanks a bunch, I look forward to getting this installed, and happy holidays!

sberreteaga
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Oct 25, 2007 11:52 am

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

Post by sberreteaga » Sun Dec 30, 2007 4:29 pm

Hello,

I've this problem with the bridge "No phpbb output". It was working fine and i don't know why this problem was appear. Someone can help me?

I've resolve the problem, it was "Joomla Coment"!
Last edited by sberreteaga on Sun Dec 30, 2007 6:32 pm, edited 1 time in total.

xpolhecx
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Nov 28, 2007 10:21 pm

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

Post by xpolhecx » Mon Dec 31, 2007 3:36 pm

Hi!

At first i would like to thanks for this great bridge between Joomla and phpbb2 forum. Few days ago, i successfuly installed bridge on Win XP (WAMP server). Everything was perfect.

But yesterday, i got new server on Linux and now, bridge dont work anymore. I installed fresh copy of Joomla 1.0.13 on Linux server. Than i create new database, called forum and installed phpbb2 forum.

I also import table "joomphpbb.sql" and than create URL link in main menu to my forum (just like on Win XP). Than i replaced 26 php files and modyfied joomphpbb_conf.php --> $joomUrl="http://my_domain/1/forum";

I use default template (SubSilver) with no modifications. When i tryed to access forum, i got the following error message:

Notice: Constant JOOM_PHPBB already defined in /home/luka/http/1/forum/index.php on line 2
Missing inc_ file


index.php contains:



I will be greatfull if someone can tell me where i made a mistake

Thanks, Nace

JoelMachado
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Oct 16, 2007 3:34 am

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

Post by JoelMachado » Mon Dec 31, 2007 7:38 pm

Hello folks, i tried this mod, follow installation, but no luck, i keep getting

(white page) Missing inc_ file

how can i fix this?  ???

my two installations are clean ,, phpbb2 no mods no users other than admin

i'm using Joomla! 1.0.12  and phpbb2 2.0.22
Last edited by JoelMachado on Mon Dec 31, 2007 7:41 pm, edited 1 time in total.

xpolhecx
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Nov 28, 2007 10:21 pm

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

Post by xpolhecx » Tue Jan 01, 2008 5:48 pm

I just dont understand.

It works on Win XP. On Linux i always get Missing inc_ file error Please help me and JoelMachado  :)

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 Jan 02, 2008 5:55 am

@xpolhecx,
On Linux i always get Missing inc_ file
well give your relative path $joomRel .... or even the full config file.
Maybe you written something that only work with XP  :-\
Any anti-slash used ?

@JoelMachado
your problem look similar to xpolhecx... did you tried on a local install too ?
Have you copied all files, , including inc_ ones, in the root of the forum ?
Show me your config file too.

xpolhecx
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Nov 28, 2007 10:21 pm

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

Post by xpolhecx » Wed Jan 02, 2008 1:31 pm

I have copied all 26 .php files to forum root. I wrote relative path $joomRel and dont work

My joomphpbb_conf.php:

Code: Select all

<?php
$joomUrl="http://my_domain/test"; //no trailing slash at the end 
$joomRel= "/home/luka/http/test/"; // 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";
?>
Last edited by xpolhecx on Wed Jan 02, 2008 2:08 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 Jan 02, 2008 1:52 pm

hi xpolhecx,
sorry if I was unclear, but I was only asking for the config file of the bridge (you can remove other things, in previous post).
Fortunately you've hidden your password  :P

the relative path  $joomRel you use is wrong, i.e it's not a relative path.
$joomUrl must be url to joomla ... (not forum).
I don't url of your joomla install or phpbb,
but typically when the forum is in a subfolder of joomla,
the relative path is: ../

xpolhecx
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Nov 28, 2007 10:21 pm

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

Post by xpolhecx » Wed Jan 02, 2008 2:08 pm

$joomRel= "/home/luka/http/test/"; // this is path to Joomla and not to forum. I thing its ok, because inside test folder i have folder forum

$joomRel= "../"; // dont work
Last edited by xpolhecx on Wed Jan 02, 2008 2:14 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 Jan 02, 2008 2:13 pm

hi
as I said, your $joomRel setting is not a relative path, but an absolute one.
Ok let's put an end, give your url to joomla , and the url to phpbb.

xpolhecx
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Nov 28, 2007 10:21 pm

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

Post by xpolhecx » Wed Jan 02, 2008 2:15 pm


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 Jan 02, 2008 2:35 pm

then your settings are:
$joomUrl="http://164.8.222.153:2002/test";
$joomRel="../";
if you are experimenting problems, try to use non "ip like" urls.
describe errors encountered, if any.

xpolhecx
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Nov 28, 2007 10:21 pm

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

Post by xpolhecx » Wed Jan 02, 2008 2:38 pm

I tried this and got the same error:

Notice: Constant JOOM_PHPBB already defined in /home/luka/http/test/forum/index.php on line 2
Missing inc_ file
  :'( :'(


I dont understand. I did the same on Win XP. Im certain problem is somewhere in paths  :(
Last edited by xpolhecx on Wed Jan 02, 2008 2:53 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 Jan 02, 2008 2:54 pm

hi xpolhecx,
please try with a more "regular" dns, "no ip" like, and more particularly, that doesn't use a "port" inside it.
I don't know why, but the joomphpbb_engine.php file is called twice (which isn't normal).
Did you hacked the component ?
The  component must almost do nothing, just display a tag.

xpolhecx
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Nov 28, 2007 10:21 pm

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

Post by xpolhecx » Wed Jan 02, 2008 3:02 pm

i leave the component untouched. I have IP on joomRel on Win XP and theres no problem. I tried insert my domain

$joomUrl="http://www.prvaliga.net:2002/test"; and dont work  :)

I'll try set default port 80 in Linux later and try without :2002 addon  :)
Last edited by xpolhecx on Wed Jan 02, 2008 3:07 pm, edited 1 time in total.

JoelMachado
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Oct 16, 2007 3:34 am

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

Post by JoelMachado » Wed Jan 02, 2008 3:19 pm

hi all, i triple check my installation, re upload all 26 files but i still get the same problem, the only think i noticed is that my admin panel still work, but not the forum it self, i have linux for my server, my host is powweb.com , how ever my installation of joomla and phpbb or done by me, allso, i tried putting back all the original files and when i do so, the forum seems to work! here is my bridge config file!


I still get the same error

(white page) Missing inc_ file

Code: Select all

<?php
$joomUrl="http://www.gravitazion.com"; //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";
?>


Locked

Return to “phpbb - Joomla! Integration”