PHP code example of multidimensional / phpbbauth

1. Go to this page and download the library: Download multidimensional/phpbbauth library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

multidimensional / phpbbauth example snippets


wfLoadExtension( 'Auth_remoteuser' );
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['autocreateaccount'] = true;

wfLoadExtension( 'Phpbbauth' );
$wgPhpbbAuthForumDirectory = './../phpBB3/';
$wgPhpbbAuthAbsolutePath = '//www.domain.com/phpBB3/';

$wgPhpbbAuthNameFormat = 'phpbb';
LocalSettings.php
LocalSettings.php
LocalSettings.php