Follow SMF on Twitter.
Started by Jochus, November 12, 2005, 10:59:29 AM
Quote from: dtm.exe on January 28, 2006, 11:44:19 AMI don't think it would be very hard. Just have it share smf_members and the SMF cookie, no?
Quote from: TarantinoArchives on January 28, 2006, 11:23:19 AMmaybe someone can copy the principle to make an auth_smf.php extension for mediawiki?
Quote from: TarantinoArchives on January 28, 2006, 05:25:03 PMwow man, that's great work! thank you.but i am a bit scared to try it out. so it doesn't touch the SMF database, since it's basically just copying it into the MW db, right? and once there, it doesn't reflect any changes afterwards (like password changes)?and what about users that already exist in MW?
Quote from: TarantinoArchives on January 28, 2006, 05:35:19 PMas long it's not locking out the sysop (i.e.... ME !) then it won't be much of a problem....but really all i could screw up would be the MW, not the SMF db?
QuoteHello TLM.I read your post on the SMF website.There are a few things about how MediaWiki uses the external user database that I can help clear up for you. This is based on how I use the MW framework for my plugin.With the plugin installed. When a user logs into MW the first thing is does is check if the user is found in the MW user database. If the user is found it then checks the external database to see if the user is found there. Once the username is found in both places it then asks the external database for the users password and checks if it is the same as the one submited from the login form. It never checks the password stored in its own user database. So when a user changes their PHPBB password, the new password will be required to login into the wiki.I do not allow users to change the PHPBB password from with in MW.When a new user logs into MW and the username is not found in the MW database. MW checks if it is a valid user in the PHPBB user database. If it is then MW auto adds the user to the MW database and the default password is some made up garbage that is never checked in the future.When a user logs into MW and the username is found in the MW database but the user is not found in the PHPBB database. The user fails login.Settings up the sysops account:Install MW. Make a new username that matches the Admin username on the forums. Make it the sysops. Install the plugin. After the plugin working adding new sysops is done the normal way.As far as making a SMF version of the plugin. Just leave a reference to myself as the original author, a reference to http://uber.leetphp.com and follow the GPL rules and I'm ok with it.
Quote from: sirwoogie on March 04, 2006, 11:24:24 AMNo issues thus far. Been running for a few weeks with SMF 1.1RC2 and Mediawiki 1.5
Quote from: TLM on January 29, 2006, 11:28:30 PMQuoteWhen a user logs into MW and the username is found in the MW database but the user is not found in the PHPBB database. The user fails login.
QuoteWhen a user logs into MW and the username is found in the MW database but the user is not found in the PHPBB database. The user fails login.
Notice: Undefined index: wgSMF_MySQL_Host in /var/www/web2/html/wiki/extensions/Auth_smf.php on line 179Notice: Undefined index: wgSMF_MySQL_Username in /var/www/web2/html/wiki/extensions/Auth_smf.php on line 180Notice: Undefined index: wgSMF_MySQL_Password in /var/www/web2/html/wiki/extensions/Auth_smf.php on line 181Notice: Undefined index: wgSMF_MySQL_Database in /var/www/web2/html/wiki/extensions/Auth_smf.php on line 185Notice: Undefined index: wgSMF_MySQL_Database in /var/www/web2/html/wiki/extensions/Auth_smf.php on line 187Unable to open external database () No database selected
Error in numRows(): Table 'usr_web2_1.qtw_watchlist' doesn't existBacktrace: * GlobalFunctions.php line 450 calls wfbacktrace() * Database.php line 543 calls wfdebugdiebacktrace() * User.php line 763 calls databasemysql::numrows() * User.php line 797 calls user::getnewtalk() * SkinTemplate.php line 268 calls user::getnewmessagelinks() * OutputPage.php line 467 calls skinmonobook::outputpage() * OutputPage.php line 680 calls outputpage::output() * Database.php line 400 calls outputpage::databaseerror() * Database.php line 347 calls databasemysql::reportqueryerror() * Database.php line 723 calls databasemysql::query() * Database.php line 645 calls databasemysql::select() * LinkCache.php line 162 calls databasemysql::selectfield() * Title.php line 1150 calls linkcache::addlinkobj() * Skin.php line 1289 calls title::getarticleid() * SkinTemplate.php line 182 calls skinmonobook::makeurldetails() * OutputPage.php line 467 calls skinmonobook::outputpage() * index.php line 270 calls outputpage::output()