Author |
Topic |
|
Ribkick
Junior Member
USA
296 Posts |
Posted - 13 June 2001 : 13:52:24
|
Hi Richard, I was wondering, how do you get the fancy color seperator bars between the catagories? The ones that look rounded. I have a Photoshop bar ready to go but am not exactly sure where to place it and in which file. I assume it's in default.asp or forum.asp but where and in how many places?
Thanks buddy.
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 13 June 2001 : 14:13:18
|
you just put it in like this: for example: <td background="colorstripe.gif">
You can just a "view source" on the pages where I have that color bar. Then just do a search for "colorstripe.gif" in that source to see how many times it would need to be inserted and where. |
|
|
Ribkick
Junior Member
USA
296 Posts |
Posted - 13 June 2001 : 17:39:05
|
Thanks Richard that worked fine for the top forum band but where is the catagory color band located? I don't see it in default.asp.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 13 June 2001 : 20:28:21
|
just do a search for chkString(rs("CAT_NAME"),"display")
I think it shows up twice. |
|
|
Ribkick
Junior Member
USA
296 Posts |
Posted - 14 June 2001 : 01:53:01
|
Okay, I've tried putting the background="mycolor.gif" in various places but nothing is working. Here is that portion of the code, where and how do I place it and do I only do it in the two locations?
<tr> <td bgcolor="<% =strCategoryCellColor %>" colspan="<% if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then Response.Write("6") else Response.Write("5") end if %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strCategoryFontColor %>" valign="top"><b><% =ChkString(rs("CAT_NAME"),"display") %></b></font></td> <% if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then %> <td bgcolor="<% =strCategoryCellColor %>" align=center valign=top nowrap><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% call CategoryAdminOptions() %></font></b></td> <%
|
|
|
Ribkick
Junior Member
USA
296 Posts |
Posted - 14 June 2001 : 01:53:35
|
[edit] double post
Edited by - ribkick on 14 June 2001 01:54:41 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 14 June 2001 : 02:19:16
|
ok, for the code above, it should look like this:
<tr> <td background="mycolor.gif" bgcolor="<% =strCategoryCellColor %>" colspan="<% if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then Response.Write("6") else Response.Write("5") end if %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strCategoryFontColor %>" valign="top"><b><% =ChkString(rs("CAT_NAME"),"display") %></b></font></td> <% if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then %> <td background="mycolor.gif" bgcolor="<% =strCategoryCellColor %>" align=center valign=top nowrap><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% call CategoryAdminOptions() %></font></b></td> <%
There is also the code where it puts "No Forums Found", you need to add it there to, unless you never plan to have a Category with no forums.
If you want, you can e-mail me your default.asp file and I'll add it for you... |
|
|
Ribkick
Junior Member
USA
296 Posts |
Posted - 14 June 2001 : 11:08:46
|
Did those edits Richard with no change. I dumped my cache and cookies so I wasn't loading a cached page but nothing. I'll be glad to send my default.asp (without my edits, hehe).
I'm trying to change all the catagory bars throughout the forum (the purple ones like on this forum)
|
|
|
|
Topic |
|