Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Bug in update profile when using Member API
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in update profile when using Member API

 Post Reply Post Reply
Author
GottaLoveIT View Drop Down
Newbie
Newbie


Joined: 21 February 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote GottaLoveIT Quote  Post ReplyReply Direct Link To This Post Topic: Bug in update profile when using Member API
    Posted: 21 February 2008 at 10:44pm

I think this is a bug that should be fixed.  i am using V 9.08

Issue: When using Member API and disabling account control, updating profile removes email address from member account.

In the file functions/functions_member_API.asp I have the following set:

Const blnMemberAPI = True
Const blnMemberAPIDisableAccountControl = True
Login, Logout, Register links are set to pages outside forums

I have looked in the code in /register.asp and found that on line 1632 this form tag is the problem, by using the DISABLED form tag.

<input type="text" name="email" id="email" size="30" maxlength="60" value="<% = strEmail %>" tabindex="5" <% If blnMemberAPI AND blnMemberAPIDisableAccountControl Then Response.Write(" disabled=""disabled""") %> />

Changing to using READONLY form tag like this fixes the problem:

<input type="text" name="email" id="email" size="30" maxlength="60" value="<% = strEmail %>" tabindex="5" <% If blnMemberAPI AND blnMemberAPIDisableAccountControl Then Response.Write(" readonly=""readonly""") %> />

 

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: 22 February 2008 at 8:38am
Thank-you for reporting this it will be looked into.
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.