Extension talk:PunBB Authentication/Archive 1

This extension does what it says on the tin.. If you log into your forum you're logged into MediaWiki. However there are problems with it: Noopectro 11:11, 19 March 2007 (UTC)
 * The code, as is, doesn't let you log out of Mediawiki unless you use the logout link on the forums.
 * If you change your preferences, you wont be able to log out of media wiki, no matter what you do short of cleaning your cookies.

Some fixes
In order to get your plugin working on my installation of MediaWiki (v. 1.9.1), I had to add  right after. I know that this is probably not best practice, but somehow MediaWiki called the hook more than once and did not cache that the user was added in the first run, thus getID returning 0 again and the name being reset to NULL which resulted in MediaWiki trying to add the user with the NULL-username more than once.

I also changed the extension to use the canonicalName-function of the User-class, which can also check if the username is creatable etc.. :)

--89.245.117.127 10:59, 6 December 2007 (UTC)

mediawiki 1.12 / fluxbb 1.2.20
Just in case someone whith the same config as I have tries this extension, he'll probably want to try | this code from eliot (works fine for me) (make sure you don't let any [space] caracter before "<?php").

This one implements it with the gestion of latin caracters in logins : many thanks to Krimpet who corrected this issue.

I suggest it could replace the actual main plugin page (I don't have the rights to do so).--NewMorning 10:29, 7 August 2008 (UTC)

case of upper cases
I still have a small trouble with the code up there : mediawiki only uses the first capital letters, not very convenient for loggins that are made with capital letters, especially with such as "Firstname FAMILYNAME" (strange login, though, but imposed...) that become "Firstname familyname" all small cases after the first letter. How could this be improved ?--NewMorning 14:10, 18 August 2008 (UTC)