Extension talk:SMF Auth Integration

Is there a plan to update for 1.13? Or does anyone have solution for the error:

Notice: Undefined variable: result in ...wiki/includes/Title.php on line 1158

which occurs 5 times in a row when SMF_Auth is enabled?

Are you planning to update this for 1.12? Currently logging in and out doesnt function when $wgSMFLogin is enabled.

The download link is broken.

Same Problem
get an Parse error: syntax error, unexpected '=' in /../../LocalSettings.php on line 153 where wgSMFLogin = true; is located

Problem still exist with version 1.13

Another bug
seems not work, it should be

like in Ver 1.12

Version 1.13.0 Hiccups
I was having some problems with the 1.13.0 beta in regards to this extension. I found out that the AutoAuthenticate hook doesn't exist anymore in 1.13+ and the suggestion is to use the UserLoadFromSession hook instead. I found that I was having login issues which may, or may not have been related. Now I'm not a serious coder but I did some tweaking of the Auth_SMF.php which are documented below and the issue seems to have been fixed though I am sure its couldn't have been as simple as that to fix.

Line 138: function AutoAuthenticateSMF(&$user) { Was changed into: function AutoAuthenticateSMF(&$user, &$result) {

Line 468: $wgHooks['AutoAuthenticate'][] = 'AutoAuthenticateSMF'; Was changed into: $wgHooks['UserLoadFromSession'][] = 'AutoAuthenticateSMF';

I would appreciate it if someone more knowledgeable would look the issue over and hopefully update the code. Cheers for the extension!

Works in 1.12
I just installed this extension to MediaWiki v1.12 and it is working great. Though I had a problem with logout. If I used the automatic wiki login/logout ($wgSMFLogin = true;), every browser just hanged when clicking the logout link (they kept requesting the same blank page over and over again). The problem was solved by modifying the Auth_SMF.php: Line 469: $wgHooks['UserLogout'][] = 'UserLogoutSMF'; Was changed into: $wgHooks['UserLogoutComplete'][] = 'UserLogoutSMF';