PhpBB Integration Module

Register an Account
Closed Thread
 
Thread Tools
PhpBB Integration Module
Developed by Yankidank Yankidank is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page
Designed for: Pligg 1.0.1
License: Creative Commons Attribution-Noncommercial-Share
Released: 12-15-2008
Last Update: 01-22-2009
Installs: 38
Makes Database Changes
Template Edits Not Required
Can Reuse Source Code
Includes Files to Upload
In Beta Stage
Not Supported by Author
This module creates users in PhpBB automatically when they register, synchronizes info when it is changed from the Pligg admin or from the Pligg user's profile and allows user to login automatically to PhpBB when they log in to Pligg. The admin "convert all" feature allows admins to add all Pligg users to PhpBB at once.

There is only one problem for integrating existing PhpBB users:
As soon as passwords are encrypted in Pligg , this feature can't make their PhpBB password same as in Pligg. They can't login to PhpBB with same login/password manually, they can login there from Pligg only, until they go to profile and update their passwords. So you should try to force a password update from Pligg or force them to log in to Pligg every time.

Installation:
  1. Upload the phpbb folder (zip attached to this thread) to your /modules folder.
  2. Navigate to Admin > Modules and activate the phpbb module.
  3. Navigate to the phpbb module settings page (a link is placed on the admin homepage)
  4. Enter the database information for phpbb. In the attached image example the database name is pligg_pligg and the prefix used by phpbb is phpbb_
  5. Set the cookie name (probably phpbb3_sv889)
  6. Hit submit to save your settings. Now when you create a user in Pligg it should become a phpbb user in your forums.



-----------------------
Everyone should thank forum users lpapworth for covering the majority of the ChipIn fund (started on another thread). His financial contribution is what allowed us to develop this module.

Download Now

File Type: zip phpbb_module.zip (11.9 KB, 841 views)

Screenshots

File Type: png phpbb.png (19.7 KB, 1236 views)

License Agreement

Creative Commons Attribution-Noncommercial-Share Alike License
You are free to Share and Remix this work under the following conditions: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
You may not use this work for commercial purposes.
If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Supporters / CoAuthors

Show Your Support

  • If you like this download support the author by donating.
  • This download may not be copied, reproduced or published elsewhere without author's permission.

Similar Downloads
Download Developer Category Replies Last Post

Comments
  #52 (permalink)  
Old 10-06-2009, 01:04 AM
New Pligger
 
Join Date: Feb 2007
Posts: 18
ok, so i've noticed that if i go to my profile in pligg, click modify, then save whatever changes i've made (if any), i get the following warning:


Warning: Unknown column 'user_phpbb' in 'field list' in /home/content/e/w/a/ewallach/html/libs/db.php on line 242

Warning: Unknown column 'user_phpbb' in 'field list' in /home/content/e/w/a/ewallach/html/libs/db.php on line 242

yankidank, any suggestions?
  #53 (permalink)  
Old 10-08-2009, 08:25 AM
New Pligger
 
Join Date: Oct 2009
Posts: 19
I get the same error... even though the module works great, I don't think it would be wise to take it live on my web site just yet - the error will have a bad reflection of the site.

Hopefully there is a quick fix for this? Thank you for your work!

Last edited by kryandro; 10-08-2009 at 08:30 AM.
  #54 (permalink)  
Old 10-24-2009, 12:57 AM
New Pligger
 
Join Date: Feb 2007
Posts: 18
any help? anyone?
  #55 (permalink)  
Old 11-04-2009, 03:24 AM
New Pligger
 
Join Date: Sep 2009
Posts: 29
Quote:
Originally Posted by crog View Post
This module work perfect.

One question... I'm login to pligg system first, and go to my forums i surprise is not login automatically of my forums.

Two logins required !!!

Helpme please for 1 login run.
I had the same issue, but have fixed it myself.

that means the cookie setting is not working. to resolve the problem, make sure you did 2 things:
1), the setting of cookie, is the same as the setting of cookies on your phpBB.
2), make sure the 3 functions below are not commented out on phpbb_main.php(they are commented out by default):
function phpbb_get_userid($username,$password)
function phpbb_hash_crypt($password, $setting)
function phpbb_hash_encode64($input, $count, &$itoa64)
  #56 (permalink)  
Old 11-04-2009, 03:26 AM
New Pligger
 
Join Date: Sep 2009
Posts: 29
Quote:
Originally Posted by neo_orange View Post
This mod works if a user signs up at the pligg page first then tries to log into phpbb, but what about the other way around, does it work that way too? phpbb then trying to log in at pligg app?
it doesn't work on the other way.
so I think need to redirect the login/logout/register on phpBB to the ones on pligg.
  #57 (permalink)  
Old 11-10-2009, 08:43 PM
New Pligger
 
Join Date: Feb 2007
Posts: 18
"the setting of cookie, is the same as the setting of cookies on your phpBB."

my setup is root/pligg/phpbb

so when it says "Cookie Path:" in the module, what should i do?

the default is "/" and i know "../" isn't the answer because that will likely lock me out... should i put the whole URL or will that accomplish the same lockout as "../" would?
  #58 (permalink)  
Old 11-11-2009, 07:22 PM
New Pligger
 
Join Date: Jun 2008
Posts: 1
Hello
Is it possible to synchronize members old Forums To pligg
  #59 (permalink)  
Old 11-12-2009, 09:31 PM
New Pligger
 
Join Date: Nov 2009
Posts: 4
Will this module work if Pligg and PphBB are installed in separate databases where PhpBB tables have no prefix?
  #60 (permalink)  
Old 11-12-2009, 10:38 PM
New Pligger
 
Join Date: Nov 2009
Posts: 4
Got it working without a prefix, I needed to user "database." as the database name (note the period at the end)

I still am having problems with the login cookies if anyone can help me. I have the cookie settings in my Pligg and PhpBB installation exactly the same and I uncommented the 3 functions in phpbb_main.php that Fatfish recommended. However when I log into Pligg it still makes no cookie settings.

Any suggestions?
  #61 (permalink)  
Old 12-02-2009, 08:02 PM
Pligg Donor
Pligg Version: 1.1.1
Pligg Template: arthemia
 
Join Date: Nov 2009
Posts: 15
Quote:
I think it requires that both phpbb and pligg are installed on the same database
Hi Yankidank,

Has anyone confirmed if they must use the same database? If that's the case, it makes me wonder why the database name must be specified in the module. I've got this module installed and I too have the problem where it doesn't create phpbb users when a new pligg user registers.

Many thanks.
Closed Thread

Tags
bulletin board, forum, integration, phpbb, user

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Module (File and Image Attachment) Yankidank Free Modules 268 02-03-2012 12:19 PM
Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 redwine Questions and Comments 11 12-20-2010 04:18 PM
PHPBB integration help sbanerjee Questions and Comments 0 07-23-2008 05:39 AM
PHPBB Integration with Pligg Yankidank Questions and Comments 64 06-07-2008 07:54 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development