close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Userupdate email verification

Thread began 1/25/2012 3:16 am by steelace396915 | Last modified 1/30/2012 5:00 pm by steelace396915 | 539 views | 2 replies |

steelace396915

Userupdate email verification

On my userupdate page its possible for registered users to update all their registered information as well as their registered email address. If someone update their email through the userupdate page I would like them to verify that new email address, in an email messege they recieve, before they will be able to login to the site again. How do I accomplish this?

Thanks in advance!

/Martin J.

Sign in to reply to this post

Ian S

You users table will need a verified field that is set to either 0 or 1.

On update you will need to store the old email address (possibly in session variable or hidden field).

When the user changes their email address you will need to create an email (possibly using UE) and Update behaviour to update and then custom code the trigger to make it compare the old email address to the new. The email would contain a link to a page that lookups the email address and then sets the verified field to 1.

Also, add a second update behaviour which sets the verified field to 0, again custom code the trigger to make it compare the old email address to the new.

You will probably also need to change your login script to make sure that the value of the verified field is equal to 1.

Hope this helps.

Cheers
Ian

Sign in to reply to this post

steelace396915

Thanks Ian, I did not notice your reply until now. I will try doing something like that and I'll holler again if I hit the wall! ;=)

Cheers,
Martin J.

Sign in to reply to this post

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