Second try....
I "require"(ed) config.inc.php in both newuser.php and adduser.php since both extra2 and extra3 variables are "$config"'ed there, and did the following:
I commented out this code in "newuser.php"...
<br />// Setup the extra profile fields to be completed at signup <br /> if ($config['extra2']) <br /> { <br /> $extra2 = "{$config['extra2']}<br /><input type=\"text\" name=\"Extra2\" value=\"$Extra2\" class=\"formboxes\" />"; <br /> } <br /> else <br /> { <br /> $extra2 = " "; <br /> } <br /> if ($config['extra3']) <br /> { <br /> $extra3 = "{$config['extra3']}<br /><input type=\"text\" name=\"Extra3\" value=\"$Extra3\" class=\"formboxes\" />"; <br /> } <br /> else <br /> { <br /> $extra3 = " "; <br /> } <br />
...and tried to add it directly to the template as such...
<br /><tr> <br /><td> <br />{$config['extra2']}<br /><input type="text" name="Extra2" value="$Extra2" class="formboxes" /> <br /></td> <br /></tr> <br /><tr> <br /><td> <br />{$config['extra3']}<br /><input type="text" name="Extra3" value="$Extra3" class="formboxes" /> <br /></td> <br /></tr> <br />
It displays fine but I still get the "Login Name/Password not found. " error and obviously the user is not registered???
I don't know what I'm doing wrong ~ all I'm trying to do is pull the variable from the form to the script????