Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

updating an account information help !!!!!

Posted 07 Mar 2002 20:48:22
1
has voted
07 Mar 2002 20:48:22 Serge Chabert posted:
Hello,

Is there a tutorial explaining how to create a page that enable a user to modify the information concerning his account like the page that is on this site (the edit profile page).

I would like the user who have an account on my website to be able to update their profile.

I need help !!!!!

Replies

Replied 07 Mar 2002 23:29:04
07 Mar 2002 23:29:04 scre wdanger replied:
Pretty simple bra,
First you should have a search and result page, which should identify the record to be updated. then a detailed page/ update page.
You can use the server behaviour insert live elements then update page in the register "Insert" in ultra dev. I can't explain you the whole procedure but there are several tutorials available. In the search field just write edit page or update page. You will definitely find atleast onr tutorial. One i can recommend is on the other site. Here is the URL:
www.udnewbie.com/BeginnerTutorials/editmyAccount/index.cfm

There are also several other good tutorials available over there.
good luck

Replied 07 Mar 2002 23:52:00
07 Mar 2002 23:52:00 Dennis van Galen replied:
if i'm not mistaken, a similar tutorial was supplied with UDev full version, but if you missed it here's a decent one:
www.udnewbie.com/BeginnerTutorials/editmyAccount/index.cfm

For a quick and dirty way do this:
create new page, save it with a decent name and create your recordset with memberinfo, set it to filter on Session variable and your uniqueID, so that user can only alter his/her info. Then insert a live object > record update form.
Set the connection to your user dbase and the table to your user info table, pretty straightforward.
Tell it the unique key field to use...and set the page to jump to after update is done.

Next remove any fields you do NOT want the user to change, like usernames, authorisation levels or whatever you don't want user to mess with. Be aware that if a user can set authorisation level to more permissions that it is possible links to administration menu's could popup, provided you built them in there with something like Conditional region dbase -> script, and he can mess up your site, we do not want that.
When you're happy with the form items it will create and all settings then press OK.
Voila, one edit my info page... Alter it to fit your site's design and save and test it out.

That's the fastest way to create a update page, i rarely use live objects myself though.

Happy developing.

With kind regards,

Dennis van Galen
Webmaster KPN Services
Financial and Information Services
Replied 08 Mar 2002 00:01:16
08 Mar 2002 00:01:16 Serge Chabert replied:
Thanks guys, i have done it and it works.
<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>

Reply to this topic