close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

User Admin Pages - Need to Add a Button

Thread began 3/22/2013 10:43 am by greg401801 | Last modified 3/26/2013 11:49 am by greg401801 | 1966 views | 6 replies

greg401801

User Admin Pages - Need to Add a Button

I used SecurityAssist to create a double opt-in registration system. In my testing, all works as expected. I haven't gone live yet, but I expect it to work.

Then I used DataAssist to create my User Admin pages. They seem to work just fine too. So far so good. I have added a UserLevel field to my db. I want to create a page that my employees who have basic admin level access can use to update a registered users UserLevel.

For example, when registering the user is automatically assigned a UserLevel of 0. After we review his credentials we want to go to the Admin section of our site, use the Search page to find this particular user, make a determination that they are eligible to be upgraded to another UserLevel - say Level 1 - and then initiate a routine that will set their UserLevel to 1 and automatically send them an email notifying them that they can now access protected content.

In the Double Opt-in tutorial there are directions for accomplishing the email task described. It also describes how to change the UserLevel in the same process. What I need are directions to add a button to the users_results.php page that was created by DataAssist to initiate this process. There are currently three buttons on this page:

One takes you to the user_results.php page
One take you to the users-details.php page
One deletes the record

I want to add a fourth button that will take me or my people to a new page that I will create called users_upgrade_userlevel.php. On this page I will simply change a users level from 0 to 1, or 1 to 2, etc. and click Submit. After clicking the UserLevel will be updated, the email will be sent, and the Admin person will be returned to the users_results.php page.

So, to summarize:

If I follow the steps in Double Opt-in tutorial, will I be able to accomplish the task of updating the UserLevel and sending the email?

What steps do I take to add a button to take me to the Update UserLevel page?

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...