Print Page | Close Window

Removing parts of "Profile Information"

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17281
Printed Date: 15 April 2026 at 3:17pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Removing parts of "Profile Information"
Posted By: ahastie
Subject: Removing parts of "Profile Information"
Date 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



Replies:
Posted By: Ali Bilgrami
Date 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.


Posted By: ahastie
Date 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.


Posted By: Ali Bilgrami
Date Posted: 20 November 2005 at 5:08am
What error did u get? and from a fresh register.asp which line numbers u deleted?


Posted By: ahastie
Date 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


Posted By: dj air
Date 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


Posted By: ahastie
Date 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


Posted By: Ali Bilgrami
Date 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.
 


Posted By: ahastie
Date Posted: 24 November 2005 at 4:34am
I commented out right from the start of Profile Information (not required) right up to avatar module (left the avatar module active) and receive the HTTP 500 Internal server error.
 
I did not remove any of the fields within the tblAuthor table database.


Posted By: dj air
Date Posted: 24 November 2005 at 5:53am
you need to turn off http friendly error messages ,

this will reveal the real issue, and would think its still the same.




Posted By: ahastie
Date Posted: 06 December 2005 at 8:43am
Sorted most of what I asked for but every single date is stuck at "30 December 1899 at 12:00am" including all posts etc.
 
can anyone help please.


Posted By: Ali Bilgrami
Date Posted: 06 December 2005 at 1:19pm
doesnt go fwd? at all?


Posted By: ahastie
Date Posted: 07 December 2005 at 9:11am
I have totally removed all parts of "Profile Information" within the register area. 
 
Firstly, as dj air mentions above, you need to turn off http friendly error messages so can be directed to each error lines within the ASP files. 
 
These are the files I deleted appropriate lines:
 
language_file_inc.asp
common.asp
forum_posts.asp
members.asp
pop_up_profile.asp
register.asp
Admin>>database>>wwForum>>tblAuthor (delete appropriate fields but be careful)
 
I started with the Language_file_inc.asp file 1st taking out certain lines and saving the file then refreashing the forum within the browser.
 
Keep going until there are no errors and test all the way through your forum.
 
cheers Ali.


Posted By: Ali Bilgrami
Date Posted: 08 December 2005 at 11:13pm
Cool.Clap


Posted By: ahastie
Date Posted: 09 December 2005 at 8:10am
Cheers Ali,
 
do you think this will help other users?  Glad to be of assistance especially when you guys gave me a starter point Wink
 getting the hang of ASP now. 
 
good luck, Ali.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net