close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Administration pages! Need help!

Thread began 12/13/2011 1:43 am by steelace396915 | Last modified 12/17/2011 3:09 am by steelace396915 | 2517 views | 7 replies

steelace396915

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.

/Martin J.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...