Thanks to MadMan for giving me the following code to allow people to register with spaces in their names now I have the code that when the activation email is sent, it will not leave out the spaces and make the link broken. So follow these instructions and I promise you, your members/future members will praise you for allowing spaces.
BIG WARNING: Beware some addons/modules/blocks may not be compatible with modified username chars restriction, and assuming they're anonymous.
Open "modules/Your_Account/index.php" and find this line around line 30:
Code:
if ((!$username) || ($username=="") || (ereg("[^a-zA-Z0-9_-]",$username))) $stop = "<center>"._ERRORINVNICK."</center><br>";
Replace with:
Code:
if (!isset($username) || ($username=="") || !preg_match('/^[a-z0-9\s_-]+$/i',$username)) $stop = "<center>"._ERRORINVNICK."</center><br>";
My addittion that I found out how to do with little info from here and there.
Activation Link:
Open "modules/Your_Account/index.php" and find this line around line 134:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum