Author |
Topic |
|
LordZuave
Starting Member
25 Posts |
Posted - 26 May 2001 : 14:42:04
|
When i create a category with no forum on it. it display "No forums found".
anyone knows how can i get rid of this and if there a way i can center a category??
TIA,
Nelson R.
|
|
Ribkick
Junior Member
USA
296 Posts |
Posted - 26 May 2001 : 15:58:56
|
Simply click the pink folder on your new catagory line and create a forum. If you're asking if you can have a catagory without a forum, no you can't.
As far as centering the catagory name, if you turn on html in your admin options, feature config you can yse simple html formatting commands.
|
|
|
Deleted
deleted
4116 Posts |
Posted - 26 May 2001 : 16:21:11
|
quote:
...if there a way i can center a category??
I think what you want to do is to center the phrase in the dark area... For this you have to edit the forum's .asp files directly. If this is what you need I can help you to find these places.
Be sure what you're doing if you plan to turn on HTML in admin mode.
Bulent Ozden |
|
|
LordZuave
Starting Member
25 Posts |
Posted - 26 May 2001 : 16:23:50
|
I can definitely have a category without forum. that's not a problem, what happen is that when u create the category and no forum it says "no forums found". i want to get rid of that "no forums found"
|
|
|
LordZuave
Starting Member
25 Posts |
Posted - 26 May 2001 : 16:29:56
|
this is my site
www.wzpr.tv/forum/default.asp
the first entry says "GOBIERNO" and right underneath says "no forum found" how do i get rid of tht no forum found.
thanks.
bozden, where can center the category on the forum.asp
thanks,
Nelson R.
|
|
|
Deleted
deleted
4116 Posts |
Posted - 26 May 2001 : 16:49:09
|
What I understand is you try to use it (a category without forums) like as a seperator line, another higher level grouping (at least visually).
To get rid of the "no forums found" message in default asp, find these lines and change the coding according to you needs. You can delete those bold lines to get rid of the whole line. These are around line 230.
if rsForum.eof or rsForum.bof then %>
<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> <% end if %> </tr> <% Response.Write " <tr>" & vbCrLf & _ " <td bgcolor=""" & strForumCellColor & """ colspan=""" if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then Response.Write "6" else Response.Write "5" end if Response.Write """><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """><b>No Forums Found</b></font></td>" & vbCrLf if (mlev = 4 or mlev = 3) then Response.Write " <td bgcolor=""" & strForumCellColor & """><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strDefaultFontSize & """> </font></td>" & vbCrLf end if Response.Write " </tr>" & vbCrLf
Bulent Ozden |
|
|
Deleted
deleted
4116 Posts |
Posted - 26 May 2001 : 17:09:59
|
quote:
bozden, where can center the category on the forum.asp
Nelson, I'm very sorry. I couldn't understand what you want here... There is no CATEGORY name displayed in forum.asp. Do you want to display the category name?
If you want to do it in default.asp, it is here around line 217 (these are v3.2 alpha 6)
<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>
You can use <center> tags around chkstring function.
<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><center><% =ChkString(rs("CAT_NAME"),"display") %><center></b></font></td>
Bulent Ozden |
|
|
LordZuave
Starting Member
25 Posts |
Posted - 26 May 2001 : 17:35:46
|
bozden, thank you very much, that's exactly what i needed.
a million thanks to you.
THANKS MAN,
THAT DID IT
|
|
|
Deleted
deleted
4116 Posts |
Posted - 26 May 2001 : 17:52:09
|
You're very welcome
Bulent Ozden |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 26 May 2001 : 18:57:48
|
Nice work bozden.
These users asked the same question in another post and you're here helping them in another. Felt like I was going around in a circle. lol
Keep up the good work.
|
|
|
gor
Retired Admin
Netherlands
5511 Posts |
Posted - 26 May 2001 : 19:10:55
|
quote:
Nice work bozden.
These users asked the same question in another post and you're here helping them in another. Felt like I was going around in a circle. lol
Keep up the good work.
1:20 AM overhere and I accidently deleted the other topics instead of locking it. I'm glad that the info was posted here and not in the other topic (sorry).
Pierre Join the Snitz WebRing |
|
|
Deleted
deleted
4116 Posts |
Posted - 26 May 2001 : 19:28:49
|
Yep |
|
|
|
Topic |
|