Extension:SMF Authentication

Version Infomation

 * Extension: SMF Authentication
 * Forum: SMF (http://www.simplemachines.org/)
 * Version: 1.2
 * Released: 18.09.2007
 * Last updated: 11.01.2008
 * SMF Version: <1.1.6
 * MW Version: 1.11.0

What can this extension do?
This extension is a connection between SMF (Simple Machines Forum) and MediaWiki. This causes users who are logged in to SMF to be (created if necessary and) logged in to the wiki. When the session expires or they logout via SMF, they will no longer be logged in to the wiki.

This is ideal for my situation since I desire tight user integration between SMF and MediaWiki, and I require users to be logged in to edit pages. My set of wiki users will be an exact subset of my SMF users, and the admin username is the same.

Installation instructions
1. Download SMF_Authentication.zip.

2. Add wiki/extensions/Auth_SMF to your extension folder (can be found in the zip file)

3. Upload the other files from the zip

---> ./wiki/includes/templates/Userlogin.php (Changes the Userlogin :)) This is a part of the code inside Userlogin.php to show the message where users need to login.

---> ./wiki/includes/GlobalFunctions.php (Fixed some little bugs)

---> ./wiki/includes/User.php (Fixed some little bugs)

---> ./smf_api.php (API of SMF (the newest one is 1.1.4, it's included in the zip file))

---> ./Sources/LogInOut.php (Fixes the logout function of mediawiki in combination with SMF)

4. Open LocalSettings.php and add the following changes to the bottom of the file(before the ?>).

5. Try ;-)

Read the readme file in the package and the installation will work without any problem.
 * TIP:

Author contact
You can contact me at snakehit at gmail.com.