Difference between revisions of "ConfirmAccount configuration"

From Klaus' wiki
Jump to: navigation, search
(Created page with 'The ConfirmAccount is a plug-in for MediaWikis forcing a potential user to fill in a form and the content will be sent to the administrator. <source lang="bash"> cd <wiki-direct…')
(No difference)

Revision as of 09:46, 21 February 2011

The ConfirmAccount is a plug-in for MediaWikis forcing a potential user to fill in a form and the content will be sent to the administrator.

cd <wiki-directory>/extensions/
tar zxvf ../../ConfirmAccount-MW1.16-r62787.tar.gz 
cd ConfirmAccount/
vi ConfirmAccount.sql 
# Change the database in question using
# '':1,$s/\/\*\$wgDBprefix\*\//<database in question>_/g''
mysql -h localhost -u root -p <database in question> <ConfirmAccount.sql
cd ../..
vi LocalSettings.php

In the LocalSettings.php insert these lines:

# Force a proper creation of user accounts - by KK 2011 02 21
require_once("$IP/extensions/ConfirmAccount/SpecialConfirmAccount.php");

Test, test and test.