Customizing SMF > Portals, Bridges, and Integrations

MediaWiki integration...and nothing obviously...

<< < (3/3)

Andre N:
I played with MediaWiki 1.18.1 and SMF 2.02 today and made the following observations which might help you (both)

1. The Auth_SMF.php file goes in the /wiki/extensions/ folder

2. In LocalSettings.php you need to manually add the following line and configure it

--- Code: ---$wgCookieDomain = '.yourdomain.com';
--- End code ---

3. I installed SMF 2.02 and MediaWiki 1.18.1 fresh using Installtron today. I uploaded the Auth_SMF.php file and modified LocalSettings.php according to the instructions. The login from SMF did not log me into MediaWiki.

4. In order for the login/logout to work I had to modify the Auth_SMF.php file a little bit. What worked for me is attached. I did not test registration, or account edit or anything else.

5. I noticed that when I log out from SMF, the MediaWiki user is not automatically logged out though so that still needs work. If I can find where it's SUPPOSED to be doing it I can fix it...

Navigation

[0] Message Index

[*] Previous page

Go to full version