oh thanks. what i'll do is create a javascript function that runs when the signup form is submitted.
it will check whether the fields required are filled in and whether the username field is "admin". if the user field is admin or any of the fields aren't filled in, the form will alert the user about the problem.
quote: Make sure you always have a member called Admin! If not anyone can go to your board & register as admin and have admin privledges!
quote: oh thanks. what i'll do is create a javascript function that runs when the signup form is submitted.
it will check whether the fields required are filled in and whether the username field is "admin". if the user field is admin or any of the fields aren't filled in, the form will alert the user about the problem.
quote: Make sure you always have a member called Admin! If not anyone can go to your board & register as admin and have admin privledges!
Edited by - RDoGG™ on 21 June 2001 15:44:38
or should i find the code in the register file that makes users w/ username of ADMIN administrators?
quote:or should i find the code in the register file that makes users w/ username of ADMIN administrators?
The forum is not going to make anyone admin when they sign up. He just meant not to delete the "Admin" account that is thier by default. So you don't need any javascript function.
quote:or should i find the code in the register file that makes users w/ username of ADMIN administrators?
The forum is not going to make anyone admin when they sign up. He just meant not to delete the "Admin" account that is thier by default. So you don't need any javascript function.
He just meant not to delete the "Admin" account that is thier by default.
No, I didn't say that. I said if you do delete or rename the "Admin" account, (which is not recommended), that if someone registered with the username "Admin", they won't get admin privileges.