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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Please Help...Creating Category with no forum
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

LordZuave
Starting Member

25 Posts

Posted - 26 May 2001 :  14:42:04  Show Profile
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  Show Profile
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.

Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 May 2001 :  16:21:11  Show Profile
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
Go to Top of Page

LordZuave
Starting Member

25 Posts

Posted - 26 May 2001 :  16:23:50  Show Profile

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"

Go to Top of Page

LordZuave
Starting Member

25 Posts

Posted - 26 May 2001 :  16:29:56  Show Profile

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.

Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 May 2001 :  16:49:09  Show Profile
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
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 May 2001 :  17:09:59  Show Profile
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
Go to Top of Page

LordZuave
Starting Member

25 Posts

Posted - 26 May 2001 :  17:35:46  Show Profile
bozden, thank you very much, that's exactly what i needed.

a million thanks to you.

THANKS MAN,

THAT DID IT

Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 May 2001 :  17:52:09  Show Profile
You're very welcome

Bulent Ozden
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 May 2001 :  18:57:48  Show Profile
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.

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 26 May 2001 :  19:10:55  Show Profile  Visit gor's Homepage
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
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 May 2001 :  19:28:49  Show Profile
Yep
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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07