Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - add email auto using member API
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

add email auto using member API

 Post Reply Post Reply
Author
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Topic: add email auto using member API
    Posted: 11 July 2006 at 11:24am

Hi, I'm using the Existing Member API to pass my logged in users userid and password across to the forum to log in.

What I would like, is when a new forum user enters, the script auto creates a new user account in the forum db.. but it only passes the username and password across.. is there any way to add the email address also.. (it's just so that they don't have to enter it again in their settings to subscribe to threads etc...

 

 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 11 July 2006 at 11:50am
You could create a new session variable called Session("EMAIL") then in the file functions/functions_member_API.asp when a new users details is saved to the database also include the email address.
Back to Top
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Posted: 11 July 2006 at 1:48pm
excellent - worked a treat....
Back to Top
donzi View Drop Down
Newbie
Newbie


Joined: 22 April 2006
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote donzi Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2006 at 12:47am
boRg,
 
I have the member API working but now want to add or update additional fields. I've attached the code below for the function_member_api.asp
I would like to add email address, name, and phone number from my database to this database when new users and changes are made to my database.

I think I'm missing something. I'm setting the email address to a session var in my login form but with the changes I made the email address is
not making it into the WWF forum database.

Can you help me out?
Thanks
Don


from my
 
 
 Code removed by admin as I already know what the orginal code for the page looks like


Edited by -boRg- - 03 August 2006 at 11:25am
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2006 at 11:25am
If you do a search this was covered within the last few weeks.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.