phpbb3 und Mediawiki

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
Valentino46
Mitglied
Beiträge: 106
Registriert: 02.03.2010 15:04
Kontaktdaten:

phpbb3 und Mediawiki

Beitrag von Valentino46 »

Hallo,
ich habe versucht mediawiki und phpbb3 zu verbinden (siehe hier) allerdings hat das nicht geklappt habe folgenden code verwendet :

Code: Alles auswählen

// 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)
                                                // This can also be set to an array 
                                                // of group names to use more then 
                                                // one. (ie. 
                                                // $wgAuth_Config['WikiGroupName'][] = 'Wiki';
                                                // $wgAuth_Config['WikiGroupName'][] = 'Wiki2';
                                                // or
                                                // $wgAuth_Config['WikiGroupName'] = array('Wiki', 'Wiki2');
                                                // )
 
$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']        = 'mysql.lima-city.de';      // 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']    = 'http://www.vsites.tk/';         // Path from this file to your phpBB install. Must end with '/'.
 
// 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.
Ich bekomme aber immer wieder eine weiße Seite wenn ich den Code rausnehem geht alles wieder.
Ich hoffe jemand kann mir sagen was in dem Code falsch ist
Dort wo ich die Mysql Daten eintragen muss steht was drinne nur ich habs eben jetzt rausgenommen
MfG
Antworten

Zurück zu „[3.0.x] Mod Support“