integration not working

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General
View previous topic :: View next topic  
Author Message
hylsan



Joined: 15 Feb 2008
Posts: 2

PostPosted: Fri Feb 15, 2008 3:23 am    Post subject: integration not working Reply with quote
Hi!
Running php5, mysql5, phpBB3 and wiki 1.11.
Installed the three scripts into extensions, and edited LocalSettings.php, and created a group called "wiki".

forum loc.: \root\phpBB3
wiki loc: \root\wiki

But when entering the wiki from the board, Im not logged in. Doesnt matter if Im logged in or not in the forum, its the same.

Code:

// PHPBB User Database Plugin. (Requires MySQL Database)
require_once './extensions/Auth_phpBB.php';
 
$wgAuth_Config = array(); // Clean.
 
$wgAuth_Config['WikiGroupName'] = 'Wiki';       // Name of your PHPBB group
                                                // users need to be a member
                                                // of to use the wiki. (i.e. wiki)
 
$wgAuth_Config['UseWikiGroup'] = true;          // This tells the Plugin to require
                                                // a user to be a member of the above
                                                // phpBB group. (ie. wiki) Setting
                                                // this to false will let any phpBB
                                                // user edit the wiki.
 
$wgAuth_Config['UseExtDatabase'] = false;       // This tells the plugin that the phpBB tables
                                                // are in a different database then the wiki.
                                                // The default settings is false.
 
$wgAuth_Config['MySQL_Host']        = 'localhost';      // phpBB MySQL Host Name.
$wgAuth_Config['MySQL_Username']    = '****';       // phpBB MySQL Username.
$wgAuth_Config['MySQL_Password']    = '*********';       // phpBB MySQL Password.
$wgAuth_Config['MySQL_Database']    = '****';       // phpBB MySQL Database Name.
 
$wgAuth_Config['UserTB']         = 'phpbb3_users';       // Name of your PHPBB user table. (i.e. phpbb_users)
$wgAuth_Config['GroupsTB']       = 'phpbb3_groups';      // Name of your PHPBB groups table. (i.e. phpbb_groups)
$wgAuth_Config['User_GroupTB']   = 'phpbb3_user_group';  // Name of your PHPBB user_group table. (i.e. phpbb_user_group)
$wgAuth_Config['PathToPHPBB']    = '../phpbb3/';         // Path from this file to your phpBB install.
 
// Local
$wgAuth_Config['LoginMessage']   = '<b>You need a phpBB account to login.</b><br /><a href="' . $wgAuth_Config['PathToPHPBB'] .
                                   'ucp.php?mode=register">Click here to create an account.</a>'; // Localize this message.
$wgAuth_Config['NoWikiError']    = 'You are not a member of the required phpBB group.'; // Localize this message.
 
$wgAuth = new Auth_phpBB($wgAuth_Config);     // Auth_phpBB Plugin.   



Thanks in advance!
/Hylsan
Back to top
View user's profile Send private message
root
Site Admin


Joined: 24 Jun 2005
Posts: 471

PostPosted: Fri Feb 15, 2008 12:46 pm    Post subject: Reply with quote
The plug-in does not support single session sign-on. Use the username/password from phpBB to login to the wiki.
Back to top
View user's profile Send private message
hylsan



Joined: 15 Feb 2008
Posts: 2

PostPosted: Sat Feb 16, 2008 1:00 am    Post subject: Reply with quote
ah...ok...to bad, that would be a good integration.

ahwell, thanks anyway.
/Hylsan
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

alexisBlue v1.2 // Theme Created By: Andrew Charron and Web Hosting Bluebook
Powered by phpBB © 2001, 2002 phpBB Group