Wiki source for UserRegistration


Show raw source

=====UserRegistration=====

<<==SVN==
{{svn}}''2006-06-18''
This patch has been committed to the SVN repository and will be included in ##1.1.7##:
~-[[Ticket:236 | Ticket]]
~-[[http://wush.net/trac/wikka/changeset/130 | Changelog for r130]] and [[http://wush.net/trac/wikka/changeset/138 | r138]]
Patched files:
~-##[[http://wush.net/trac/wikka/browser/trunk/actions/usersettings.php?rev=130&format=raw | actions/usersettings.php]] followed by [[http://wush.net/trac/wikka/browser/trunk/actions/usersettings.php?rev=138&format=raw | r138]]##
~-##[[http://wush.net/trac/wikka/browser/trunk/setup/install.php?rev=130&format=raw | setup/install.php]] followed by [[http://wush.net/trac/wikka/browser/trunk/setup/install.php?rev=138&format=raw | r138]]##
~-##[[http://wush.net/trac/wikka/browser/trunk/wikka.php?rev=130&format=raw | trunk/wikka.php]] followed by [[http://wush.net/trac/wikka/browser/trunk/wikka.php?rev=138&format=raw | r138]]##
<<

>> **See also:**
~-UserAccountModules
~-RegisterAction
>>::c::

Is there an easy way to not allow registration? I would like to have it so that I can control the registration process, not let just anyone sign-up.
--BooYa

A nice contribution Nils. If you want to go further with fiddling with the code for registration, I've thought it would be useful if there was a feature that required a password from an administrator to be able to register so that if you were going to register you put in your user info (as now) and a password you've obtained from the admin that allows you to register....for instance, in this way a teacher could set up a wikki with registration "on" and send a note to all of the parents with the registration password so that they could register....outsiders couldn't register, only those with the registration key. Possibly a quite useful feature to many potential user groups. -- GmBowen

{{lastedit}}

====Additions to the config====
additions to ##wikkaconfig.php##

%%(php)
'allow_user_registration' => '2',
'invitation_code' => 'helloWorld',
%%

allow_registration sets the mode:
0 - no registration possible
1 - registration "without limits"
2 - password required (''deprecated as of 1.1.6.4, see note below'')

invitation_code takes the password

~&In 1.1.6.4, the invitation code setting (2) was replaced by a [[Docs:UserRegistrationValidationFramework | user registration module]]. This has been ported to 1.1.7.

''Note that the code you can find in the history of this page is out of date and won't be updated since it will be in 1.1.7''

----
CategoryDevelopmentActions CategoryDevelopmentUserAccount
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki