phpBB3 Integration Plug-in v0.12

Release Notes

* Elgg phpBB Integration PlugIn
* @package ElggPhpBB
* @license GNU Public License version 2
* @author Sergio De Falco aka SGr33n <>
* @link


Hi People,

This my new phpBB Forum integration plugin for Elgg 1.2.

It make possible to use a phpBB forum in conjuction with Elgg.

It is at the beginning stage, it doesn't login automatically yet,
anyway if it is possible I'll do.

Read the installation guide and post your feedbacks on the plugin
page on

Feedbacks and ratings are really apreciated, the only thing
I ask in exchange :)


- Requesting password reset doesn't affect phpbb
- Unique login
- Holding the phpbb session active during Elgg navigation
- Holding the phpbb session active during phpBB navigation
- Elgg Topbar on phpBB (to have notifies, check messages etc.)
- Widgets to show last posts and forum statistics on your profile page and your dashboard


- phpBB

Install your phpBB in any directory on any domain (probably
in a future version I'll force to install it on the same directory
of Elgg, in order to deal with cookies).

Go on the phpBB administration panel and:

General > User registration settings > Account activation = Disable
Posting > Private message settings > Private messaging = no (you can
enable it if you want, but there is always the elgg messaging)
System > User Control Panel > Profile > Disable "Edit Profile" and
"Edit account settings"

- Elgg

Copy the phpbb_integration directory in your /mod and activate it.
On the same page, click on "more info" and insert your phpBB's
table prefix (sorry, now works just with phpbb_ prefix)

- Add-On

If you installed phpBB in some directory of your Elgg site, you
can replace your phpbb memberlist.php with the one provided in the
forum directory, in order to link phpBB usernames to their Elgg
profile Page.


If you're upgrading from =< 0.11 lease run this query on your mysql server
selecting the elgg database:

UPDATE phpbb_users SET username_clean = LOWER(username);

Please test the draft of the user synchro tool and make me know if
does it work. It should show all unsynchronized users.

That's all :)


phpBB Integration Plug-in 0.12
- Some fix
- memberlist.php for your phpBB forum
- a "draft" of the user synchro tool

phpBB Integration Plug-in 0.1
- First release

Sergio De Falco aka SGr33n

  • how about this....  is there a way to modify the DB to add those members that registered prior to when the phpbb mod was added????




  • That's was one thought that I had as well. Rather than setting up authentication against LDAP for both elgg and phpBB, why not create a script that automatically places a user from either DB in the other DB. The issue with that is making sure that you know exactly what each column in the appropriate table is used for and the format for them.

    WIth using a common repository, you don't have to have a mapping. You could do a one time transfer of already existing accounts into LDAP and the common repository would be updated WITHOUT mapping being required.

    That said, one of the questions I had last night was whether the ldap_auth plugin for elgg is for authentication ONLY or whether is works for registration as well. Kinda like the OpenID authentication mechanism is only a secondary option for authentication but NOT for registration.

    I'll work more on it tomorrow (would have worked on it yesterday but I was having a problem getting into the site ...

  • I just ran across a co-registration plugin that may be of use for those of you using both elgg and phpBB so that existing users in one can be passed over to the other. The link is;


  • Okay, I think I'm making progress. There are currently 2 CAS Authentication plugins. When I play with both plugins, the most recent (created by Darren 75 days ago) seems to be a bit smoother built. This plugin does not require the seperate ldap_auth plugin to be installed first. The installation process seems to deal with the ldap auth implementation as part of the plugin.

    When I do the install of the CAS Authentication plugin, it asks for the name of the CAS Server. This tells me that I need to install a CAS Server. The upside indicates that the registration can occur in the CAS Server rather than in the Elgg database - in fact, the README details how you can disable the Elgg registration process itself indicating that the registration would occur with the CAS. Worst case, the Registration URL can be pointed to the CAS Server registration page.

    Also, I found a plugin for the phpBB that allows for CAS Authentication so that authentication can be trusted by an external source. The plugin is located at

    So the solution appears to be:

    1) set up an LDAP Server

    2) set up a CAS Server

    3) install the Elgg CAS Authentication Plugin

    4) install the phpBB CAS plugin

    This solution will work with other apps that have a CAS plugin as well so as you want to expand your Social Network capability, you just "CASify" the apps.

    I think tomorrow will be a successful day.

    BTW, playing with the Vanilla plugin, it works fine but the capabilities of the Vanilla forum itself leave alot to be desired (eg. an inability with the base install to have subcategories). 


  • Yea I looked at vanilla as well and with in 24 decided that phpbb is far more to my sites style. I am looking for  a real simple solution though,, I only have 6 members I need to sync up.

  • @Lively
    Does this relate to the request you messaged me ?
    Manually adding users to Elgg and sync'ing phpBB users are 2 different tasks.
    And if you've got only 6 users to "sync"
    just get those users to re-register or something easy like that...

  • yea it is the same issue,, and yea I could ask them to re-reg,,,, I just feel bad asking them to re-do their custom profiles and etc etc... but I have thought that thought.  Thanks for looking into this for me though... take care Guys

  • sorry, but I screwed up my test server in setting up CAS yesterday and had to rebuild it. Not quite sure what I did so this was easiest. Anyway, back to figuring things out ...

  • hello, I have a problem, the plugin doesn't work. All seems correct: plugin actived, forum uses the same database like elgg (phpbb_ prefix), the same domain for both. BUT when a new account the plugin doesn't create a phpbb3 account.

    what could be my errror?

  • has there been any improve ment with the sink tool

  • Hi people :)

    Sorry for my absence, I'm coming back to complete my plugins and updating them to the new 1.6.1.  I'm working to the recover of lost messages now (I got a community with 3 millions of private messages)... you know that when you upgrade from 1.2 to 1.5 you loose every pm, yeah?

    See you soon, stay tuned :)

  • hey I'm Using the latest version of elgg and tis plugins dont seem to work for me at all how do in intergrate phpbb3 forum on my elg web site so my member can post and creeat  new forum topics ? pls

  • abandoned

    Any chance of seeing this plugin updated for 1.6.1 soon?  I'm currently testing the Vanilla forum plugin but frankly, Vanilla is kind of weak. The best integration I've seen is on the site but the way the discussions are posted without structure is very messy.

    I miss phpBB.

  • Any update on this? Would absolutely love this integration to work. Pls pls pls? I don't mind paying a small fee for it too, like US$ 10 donation -- if several of us can get together and pay the developer?

  • Just a few days and I'll back working on :)

  • please, can you integrate phbb3 with elgg 1.61? thanks ...

  • would be great if its compatible with 1.7 :-)


  • I'm working on it. Donations would be helpful :)

  • @SGr33n Please check your donation link. It doesnt work.

    Sorry — your last action could not be completed

    If you were making a purchase or sending money, we recommend that you check both your PayPal account and your email for a transaction confirmation after 30 minutes.

    If you came to this page from another website, please return to that site (don't use your browser's Back button) and restart your activity.

    If you came from PayPal's website, click the PayPal logo in the upper-left corner to return to our home page and restart your activity. You might have to log in again.

    It would be great if you can also embed the PhpBB3 inside elgg. :)

  • Tnx :) It's correct now :)

  • Ok. Btw, any reason why you choose PhpBB3 among other forum scripts ? There are Phorum which is simple in my opinion and powerful.

  • I always used phpBB3, so I had to integrate this.

  • Hi mate,

    I would love to donate to help you develop the plugin. Would you be interested in installing for me also on my site? which i could donate a little extra for you to do so?

  • Sure, send me your email address via PM. I'll update you.

  • I'm just a bit confused, the summary for this plug-in says,

    "phpBB3 integration plugin allow a phpBB3 Forum to work in conjunction with Elgg"

    What exactly does that mean? -Does it provide a Widget showing forum entries?,  Does it put entries into the Activity Stream? - Please, 'exactly' what does it 'integrate' ?


  • Category: Third Party integrations
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 4666
  • Recommendations: 3

Other Projects

View SGr33n's plugins