Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - register.asp remove, pass, email, realname
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

register.asp remove, pass, email, realname

 Post Reply Post Reply
Author
BrownGhost View Drop Down
Groupie
Groupie


Joined: 26 November 2002
Status: Offline
Points: 193
Post Options Post Options   Thanks (0) Thanks(0)   Quote BrownGhost Quote  Post ReplyReply Direct Link To This Post Topic: register.asp remove, pass, email, realname
    Posted: 20 June 2006 at 7:04pm
i need to remove the tinggs from the register file.

Password old and new.
Email
and Real name.

as those information are only edibel from user settings on my excisting website, if a user edit his name or username or mail asdress, or password, my excisting page will update both my user tabel + forum user tabel Author.

so the user must no be abel to change this information from the forum.
i just cant get it to wortk, if i remove the code, it gives errors when user try to save forum profile. or it put no data in to the user, pass, mail, and real name in forum tabel.

where in thet film register.asp must i change or remove code to disabel forum from updating. PASS old and new, RealName, Email.

All other things thy must be abel to edit in forum.

thanks
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: 21 June 2006 at 10:22am
In version 8.03 in the file register,asp from line 852 to 955 you will find lines like:-

 .Fields("Author_email") = strEmail

Remove the ones that are no-longer used so that the these database fields are not updated.

You may also need to remove some of the javascript checking at lines 1306 to 1426 so you don't get javascript errors.

Then in the HTML form itself remove the lines that are no-longer required.
Back to Top
BrownGhost View Drop Down
Groupie
Groupie


Joined: 26 November 2002
Status: Offline
Points: 193
Post Options Post Options   Thanks (0) Thanks(0)   Quote BrownGhost Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2006 at 5:49pm
thanks that gave me an idear. i just changes input type to hidden. then it runs just like it should :) thanks..
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.