Both sides previous revisionPrevious revisionNext revision | Previous revision |
module:newuser [2019/04/28 16:14] – [Newuser] Oops. Not a login module. digital man | module:newuser [2020/09/16 13:32] (current) – Document new "survey" modopts.ini property digital man |
---|
====== Newuser ====== | ====== New User ====== |
| |
The configured //New User// Module is executed during [[server:Terminal]] Server new user registrations. | The configured //New User// module is executed during [[server:Terminal]] Server new user registrations. |
| |
The name of the new user module (by default, ''newuser'') is configured in [[util:SCFG]]->System->Loadable Modules->New User. | The name of the New User module (by default, ''newuser'') is configured in [[util:SCFG]]->System->Loadable Modules->New User. |
| |
The [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/newuser.js|default new user module]] is ''[[dir:exec]]/newuser.js'' and supports the following configuration options in the ''[newuser]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: | The [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/newuser.js|default new user module]] is ''[[dir:exec]]/newuser.js'' and supports the following configuration options in the ''[newuser]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: |
| avatar_offset | 0 | Avatar index to use from avatar_file | | | avatar_offset | 0 | Avatar index to use from avatar_file | |
| send_welcome | false | Send a welcome email (''[[dir:text]]/welcome.msg'') to the new user | | | send_welcome | false | Send a welcome email (''[[dir:text]]/welcome.msg'') to the new user | |
| | survey | true | Ask new user "Where did you hear about this BBS?" | |
| |
| ===== Customize ===== |
| |
| If you choose to use a customized or entirely different new user module, it is recommended that you use a different module name (not "newuser") and/or copy the stock new user module to your ''[[dir:mods]]'' directory before modifying. |
| |
| |
===== See Also ===== | ===== See Also ===== |