Plugin/Bridge for phpBB
Posted: 07 June 2004 11:55 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  488
Joined  05-14-2004

I am by no means any kind of PHP programmer.  So I am asking all the gurus that watch this forum if it would be possible to create plugin that pulls information out of PHPBB to display on EE.

I have been unable to get this to work at all, using the phpBB Mod phpBB-Fetch-All.  It seems that there are incompatible instructions and/or the variables across templates limitation of EE is causing me all kinds of issues.  Even the Snippets plugin doesn’t work here.

Anyway, phpBB is a pretty popular forum and a plugin would be welcome by more than just myself I am sure.  At least until the EE Forum Module is released.

It would need to do some simple functions.  Most of which could be garnered from the code for phpbb_fetch_all

1)Display recent forum posts
2) User Avatar, Newest Users, Last Login
3) PM messages waiting count and new Threads since last visit count.  And the ability to create links to those areas.

Thanks for your efforts.

 Signature 

Far From Perfect
Broadcasting live from Iraq via High-speed Bytes/Second Internet!

Profile
 
 
Posted: 12 June 2004 05:01 PM   [ Ignore ]   [ # 1 ]  
Grad Student
Avatar
Rank
Total Posts:  44
Joined  06-03-2004

Can you go straight for the database Doc?

I use phpBB with EZPortal, and just the idea of wading through all that to figure out a bridge is exhausting.

I’m going to be giving it some thought wunna these days anyway though ...

Profile
 
 
Posted: 12 June 2004 08:48 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  517
Joined  04-24-2004

I’m guessing here, but can’t you just use php includes? I pull a ‘last 10 topics’ block from phpBB_fetch_all and stick it in a orginary .php file on my site at work. I assume you could do the same _after_ the page has been compiled in EE (you may need to check the settings here). IIRC I used error supression (very quick & dirty) to hide the ‘headers already sent’ message that appeared with the phpBB block.

 Signature 

lukestevensdesign.com · Design 2.0 · Pro Network member

Profile
 
 
Posted: 13 June 2004 03:23 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  44
Joined  06-03-2004

That sounds good. I haven’t gotten around to the whole matter yet, but, I’ll try something like that when I do. Should work fine, now that you mention it.

Profile
 
 
Posted: 13 June 2004 08:36 AM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  488
Joined  05-14-2004

The problem with using standard includes is that parameters cannot be passed across templates. 

Since I use four templates to create my index, I can include the phpBB stuff fine, but it fails on trying to display them in the other templates.

With a plugin that could look directly into the phpBB database, the problem of multiple templates would be resolved.  For some reason the snippets plugin doesn’t even work for displaying the commands pulled via the includes.  Then there is an issue of neededing to get some stuff on PHP input and some on PHP Output.

I used to pull all sorts of data via phpbb_fetch_all and it worked flawlessly when the pages were rebuilt as static (ie MT), but I have had no luck with anything since I switched to an all dynamic setup.

 Signature 

Far From Perfect
Broadcasting live from Iraq via High-speed Bytes/Second Internet!

Profile
 
 
Posted: 13 June 2004 08:45 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  488
Joined  05-14-2004

Here is an example of one of the errors that is produced when trying to include phpBB stuff into EE:
Fatal error: Cannot redeclare class template in /home/user/public_html/phpBB2/includes/template.php on line 30

 

 Signature 

Far From Perfect
Broadcasting live from Iraq via High-speed Bytes/Second Internet!

Profile
 
 
Posted: 13 June 2004 09:10 AM   [ Ignore ]   [ # 6 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

Both EE and phpBB apparently use a class with the name “template”.  If you try to bring in the phpBB stuff inside EE, then there’s a conflict with the class names, hence the error.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 13 June 2004 10:50 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  488
Joined  05-14-2004

That’s what I figured.  hence the hopes for a plugin to work around that.

 Signature 

Far From Perfect
Broadcasting live from Iraq via High-speed Bytes/Second Internet!

Profile
 
 
Posted: 25 August 2004 11:05 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
RankRank
Total Posts:  118
Joined  09-27-2002

Has anyone created a plugin, or managed to successfully integrate phpBB with ExpressionEngine?

Profile
 
 
Posted: 25 August 2004 02:47 PM   [ Ignore ]   [ # 9 ]  
Lab Assistant
RankRank
Total Posts:  118
Joined  09-27-2002

I’ve found the following articles discussing integrating phpBB with pMachine (from 2002):


http://www.pmachine.com/forum/threads.php?id=16548_0_17_0_C

http://www.pmachine.com/forum/threads.php?id=13530_0_19_0_C

http://www.pmachine.com/forum/threads.php?id=9858_0_16_0_C

http://www.pmachine.com/forum/threads.php?id=9539_0_17_0_C

http://www.pmachine.com/forum/threads.php?id=7911_0_17_0_C

 

Unfortunately I haven’t been able to find anything about integrating phpBB with ExpressionEngine.  Has this been done?  Has anyone managed to integrated phpBB with ExpressionEngine, and if so is there a tutorial available?

Thank-you,

  Mark

Profile
 
 
Posted: 26 August 2004 05:29 PM   [ Ignore ]   [ # 10 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12251
Joined  04-29-2002

No Mark, no one has been able to integrate phpBB, vBulletin, or InvisionBoard with EE.

A potential forum is punBB.org

It uses the same password scheme as EE.

Of all the available forums, that’s the one most likely to work with EE.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64483 Total Logged-in Users: 44
Total Topics: 81021 Total Anonymous Users: 19
Total Replies: 436009 Total Guests: 289
Total Posts: 517030    
Members ( View Memberlist )
Newest Members:  LarryLphmeNick G.Chris WastchakBrentNJgraphicmachineInvestor1BillMacjovddferex