Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Removing parts of "Profile Information"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Removing parts of "Profile Information"

 Post Reply Post Reply Page  12>
Author
ahastie View Drop Down
Newbie
Newbie
Avatar

Joined: 17 November 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahastie Quote  Post ReplyReply Direct Link To This Post Topic: Removing parts of "Profile Information"
    Posted: 17 November 2005 at 9:24am
Hi everyone,
 
I am new to this forum and new to ASP programming and Im trying to delete parts of the Profile Information section of registering.  Here are the areas I would like to remove (if possible):
 
Real Name
Location
Homepage
ICQ Number
AIM Address
MSN Messenger
Yahoo Messenger
Occupation
Interests
Date of Birth
 
Can anyone help please.
 
many thanks, Ali Big smile
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2005 at 8:15pm
- Open your register.asp file
- Find the section Personal Information
- Comment or Delete the information you do not wish to show
- Upload the file.
- Delete the corresponding database fields in the tblAuthor table in your database.
- Upload your database if using Access.
 
yer good to go.
 
NOTE:- you should check the dependencies before deleting the asp code.
Back to Top
ahastie View Drop Down
Newbie
Newbie
Avatar

Joined: 17 November 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahastie Quote  Post ReplyReply Direct Link To This Post Posted: 18 November 2005 at 6:34am
Hi Ali
 
thanks for that!  tried to delete parts of the code and fields within the database but keeping getting an error.  remember i am new to asp and also not sure where to check for dependencies.
 
Ali.
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2005 at 5:08am
What error did u get? and from a fresh register.asp which line numbers u deleted?
Back to Top
ahastie View Drop Down
Newbie
Newbie
Avatar

Joined: 17 November 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahastie Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2005 at 4:58am
Hi again, sorry about the delay been off work ill
 
this is the error I receive: 

Microsoft VBScript compilation error '800a0400'

Expected statement

/register.asp, line 1616

End If
^
deleted lines 1535 to 1631
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2005 at 5:06am
you have and extra end if within your code thats not required now.

check where there is an end if but no opener/if x = y
Back to Top
ahastie View Drop Down
Newbie
Newbie
Avatar

Joined: 17 November 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahastie Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2005 at 6:04am

hi

when I delete the whole Profile Information (not required) module I get the page cannot be displayed page
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2005 at 8:49am
yeh i think you deleted an if statement but didnt delete the end if for it there are several if statements in those lines you deleted.
 
Back to Top
 Post Reply Post Reply Page  12>

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.