Thanks Jason! That worked fine! So simple I feel stupid! ;=) Im all new to this so its great to be able to get some pro help through this wonderful forum! Your products are great and I will soon update to the Super suite package.
I have since yesterday changed my mind about the register/login functionality and changed everything so the user will have email as username instead. I have succeeded so far to make the registration work. The user entered data in registration is inserted in database and I have also got all the login functionality working with limited login attempts and password recovery where user can update his password. Emails sent back and fort works fine so now I only have one problem that I cant get right!
I have created a column in my user database named UserLevel and set that field to tinyINT, lenght 1 and as entered 1. I would like to have 3 user levels, 1= guest, 2= registered user and 3= admin. For all guests applying for account through reg. form a value of 1 is inserted in that database field initially. Then I want to be able to restrict login so that a user who applied wont be able to log in until I change that value to 2 in the database. That is assigning the user a registered status. That I would like to do from the update user form in admin created by DataAssist wizard.
- How do I restrict user access on login allowing only users for whom I changed the value in the UserLevel column to Registered user (value 2 in database column) status?
I understand that I have to set up access groups somehow but I havent been able to do that successfully.