Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 inc_profile.asp - Wrong variable used
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 06 June 2004 :  12:28:00  Show Profile
The wrong colour style variable is being used on inc_profile.asp

approx line 60
"          <td bgcolor=""" & strPageBGColor & """ align=""left"" valign=""top"">" & vbNewLine & _

should be
"          <td bgcolor=""" & strTableBorderColor & """ align=""left"" valign=""top"">" & vbNewLine & _

The UK MkIVs Forum

Edited by - Davio on 06 June 2004 19:20:32

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 08 June 2004 :  07:52:50  Show Profile
strPageBGColor is also used in pop_profile.asp instead of strTableBorderColor

around line 270 but I have several mods installed so may not be correct

The UK MkIVs Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 09 June 2004 :  17:12:15  Show Profile
quote:
Originally posted by DavidRhodes

strPageBGColor is also used in pop_profile.asp instead of strTableBorderColor

around line 270 but I have several mods installed so may not be correct



strPageBGColor is actually used several times in pop_profile.asp.

Why does inc_profile.asp and pop_profile.asp not seem to be as coded as well as all the other pages, there's several "non-Snitz-like" code samples that I could point out on these pages?

The UK MkIVs Forum
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 09 June 2004 :  19:20:16  Show Profile
because both of those files have been edited by quite a few people. Everyone's coding style isn't the same. Aren't you getting borders that don't look right by making the changes above?
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 10 June 2004 :  07:29:40  Show Profile
Yes sometimes, but i'm working around them to get the display right.

For instance, the column that shows "membername Member since xxxxx" is in it's own table above the profile table, replacing strTableBorderColor on both of these causes the border to look to thick between the 2 tables. To fix this, I moved the "membername Member since xxxxx" into the profile table and set the appropriate header cell variable thus leaving only 1 table.

The UK MkIVs Forum

Edited by - DavidRhodes on 10 June 2004 07:31:30
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 June 2004 :  07:34:26  Show Profile
how about when you don't have enough information included for it to be 2 columns? Are you checking it that way too?

Originally, it was coded so that if there wasn't too many options included in the profile, that it would be only 1 column, and would be in a popup. Then, if you included more options in the profile, it would be 2 columns and would not be in a popup. I think that is why the coding may be a little hard to understand (and doesn't quite look like the coding in other files).
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07