Difference between revisions of "NATS4 Username Recommendations"
From TMM Wiki
Jump to navigationJump to searchm |
(No difference)
|
Revision as of 17:09, 21 November 2008
Applies to NATS v3.1.23 or greater
NATS can recommend new usernames to surfers if the name they select is already in use. Display these recommendations by adding the following code to your join template.
{if $vars.recommended} The username you entered was taken, please try one of these.<br /> {foreach from=$vars.recommended item="usernameR"} {$usernameR} {/foreach} {/if}
By default NATS generates four usernames. To disable these recommendations, set the MEMBER_GET_NEW_USERNAME configuration variable to 0 in your NATS configuration file, nats/config.php. If you change MEMBER_GET_NEW_USERNAME to any other number between one and 25, NATS generates that number of username recommendations.