2020-12-30, 08:58 PM
MyBBAuth is an extension for recent versions of MediaWiki (>= 1.27.0; latest version tested: 1.35.1) which allows members of a MyBB forum to log in to MediaWiki with their MyBB credentials, and which blocks direct MediaWiki logins and account registrations.
The MyBB forum must be hosted on the same server as the MediaWiki instance, or at least its filesystem and database server must be directly accessible to/by MyBBAuth.
For now, only MyBB forums running on MySQL/MariaDB databases are supported.
Installation and configuration
Upload the root directory of this plugin as the MyBBAuth directory in your MediaWiki's extensions directory. Then, in your MediaWiki's LocalSettings.php file, add these two lines:
where you should customise the value of $wgMyBBAuthForumPath to the fully qualified path to your MyBB forum's root directory on the shared filesystem. This allows the plugin to access your MyBB configuration file, and thereby connect to its database.
Credits
MyBBAuth draws major inspiration from, and in a sense is an update for newer versions of MediaWiki to, MyBB-Mediawiki-Bridge.
The MyBB forum must be hosted on the same server as the MediaWiki instance, or at least its filesystem and database server must be directly accessible to/by MyBBAuth.
For now, only MyBB forums running on MySQL/MariaDB databases are supported.
Installation and configuration
Upload the root directory of this plugin as the MyBBAuth directory in your MediaWiki's extensions directory. Then, in your MediaWiki's LocalSettings.php file, add these two lines:
wfLoadExtension('MyBBAuth');
$wgMyBBAuthForumPath = '/home/yourusername/public_html/mybb/';
where you should customise the value of $wgMyBBAuthForumPath to the fully qualified path to your MyBB forum's root directory on the shared filesystem. This allows the plugin to access your MyBB configuration file, and thereby connect to its database.
Credits
MyBBAuth draws major inspiration from, and in a sense is an update for newer versions of MediaWiki to, MyBB-Mediawiki-Bridge.