registration name character count
tommy
Join date: Aug 25th 2010
Community posts: 38
View Profile
Send Message
+Follow
how do i change the 4 character user name requirement?
Tom, Tim, Ana, Jim, Amy, Mac, Ron, Kim, Bob and Jon would really like to use their proper names ;)

Thanks!
Sep 28th 2010, 9:50 pm
falcone
Join date: Sep 2nd 2010
Community posts: 891
View Profile
Send Message
+Follow
modules/member/member.php

function signup


$_POST['username'] = strtolower($_POST['username']);
if (strlen($_POST['username']) < 4 || strlen($_POST['username']) > 18 || !ereg("^[0-9a-z]+$",$_POST['username'])) {
$errors[] = t('Username').': '.t('from 4 to 18 characters, only 0-9,a-z');
}


you also can show the fullname instead of the username. How to do this is explained elsewhere on this forum
Sep 28th 2010, 10:16 pm
tommy
Join date: Aug 25th 2010
Community posts: 38
View Profile
Send Message
+Follow
Thanks Falcon, that's what I needed.. I'm seeing a lot of other settings in there as well.. time to break my test site.. lol!!
Sep 28th 2010, 10:23 pm