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 Bug Reports (Closed)
 v33(.03)BUG+FIX: Subscription_list.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nathan
Help Moderator

USA
7664 Posts

Posted - 04 January 2002 :  23:04:59  Show Profile  Visit Nathan's Homepage
Line 80 is
HeadBg = "bgcolor=" & strHeadCellColor

It needs to be
HeadBg = "bgcolor=""" & strHeadCellColor & ""


 Nathan Bales - Romans 15:13
---------------------------------

Snitz Exchange | Mod Resource


Edited by - Nathan on 04 January 2002 23:07:29

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 05 January 2002 :  03:58:13  Show Profile  Visit HuwR's Homepage
Actually, that wouldn't work very well, if you substitute your sting result into this
<td " & HeadBg & " colspan=""2"">" you get

"<td bgColor="COLOR colspan=""2"">"

You do not have enough " either at the beginning or end.

you would be better using

HeadBg = "bgcolor='" & strHeadCellColor & "'"

which would give you
"<td bgcolor='COLOR' colspan=""2"">"

Tis also needs doing to CellBg and ForumBg




Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 05 January 2002 :  04:10:25  Show Profile  Visit Nathan's Homepage
To use ' instead of " here would make this single occurance of strHeadCellColor the only one in the forum with single quotes.

It might be better to do away with the HeadBg and other re-defined variables.

Only one of three of my forums does this. . . but this is the result of the missing quotes.



 Nathan Bales - Romans 15:13
---------------------------------

Snitz Exchange | Mod Resource
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 05 January 2002 :  04:12:28  Show Profile  Visit Nathan's Homepage
Would HeadBg = "bgcolor=""" & strHeadCellColor & """" result in the the string bgcolor="color" ??

<eitd> it works with four quotes at the end

 Nathan Bales - Romans 15:13
---------------------------------

Snitz Exchange | Mod Resource


Edited by - Nathan on 05 January 2002 04:17:06
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 06 January 2002 :  11:39:08  Show Profile
Yes

HeadBg = "bgcolor=""" & strHeadCellColor & """"

>>>> bgcolor="color"




www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 06 January 2002 :  12:50:18  Show Profile
fixed in v3.4

changed:

HeadBg = "bgcolor=" & strHeadCellColor


to:

HeadBg 		= "bgcolor=""" & strHeadCellColor & """"



changed:

ForumBg		= "bgcolor=" & strCategoryCellColor


to:

ForumBg		= "bgcolor=""" & strCategoryCellColor & """"



changed:

CellBg		= "bgcolor=" & strForumCellColor


to:

CellBg		= "bgcolor=""" & strForumCellColor & """"
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07