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 MOD-Group
 MOD Add-On Forum (W/O Code)
 Request: Split the categories?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mirage
Junior Member

239 Posts

Posted - 11 October 2002 :  11:57:16  Show Profile
i was just wondering if it possible to separate my categorys up so i can see my background between them?

http://www.carpbaitcity.com Cheap Bait :)

Allways In Pursuit
Trakker All The Way
MirAge


Edited by - ruirib on 11 October 2002 14:55:23

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 October 2002 :  12:20:24  Show Profile  Send ruirib a Yahoo! Message
If you changed the code I guess it would be possible.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

mirage
Junior Member

239 Posts

Posted - 11 October 2002 :  12:57:22  Show Profile
do you know how?

http://www.carpbaitcity.com Cheap Bait :)

Allways In Pursuit
Trakker All The Way
MirAge

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 October 2002 :  14:54:50  Show Profile  Send ruirib a Yahoo! Message
I'll move this to the MOD W/O code forum, maybe someone else can help you.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 11 October 2002 :  17:21:53  Show Profile  Send e3stone an AOL message
If you have a background image, it might be a little tricky. With just a background color, it's fairly easy.

With a background color use this code:

around line 573 on default.asp look for the following code:

					end if ' ChkDisplayForum() 
				end if
			next '## Next Forum
		end if
	next '## Next Category
end if
	
if strShowStatistics = "1" then
	WriteStatistics
end if 
Response.Write	"            </table>" & vbNewline & _


and change it to this:

					end if ' ChkDisplayForum() 
				end if
			next '## Next Forum
		end if
	next '## Next Category
end if
	if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
		response.write "<tr><td colspan=""7"" """ & strTmpPageBGImageURL & """> </td></tr>"
	else
		response.write "<tr><td colspan=""6"" """ & strTmpPageBGImageURL & """> </td></tr>"
	end if
if strShowStatistics = "1" then
	WriteStatistics
end if 
Response.Write	"            </table>" & vbNewline & _


That will add a space between your categories and the statistics

Now, to add the space between each category:
Look around line #396 for this code:

bContainsForum = False
		if recForumCount <> "" then
			for iForumCheck = 0 to recForumCount
				if CatID = allForumData(fCAT_ID, iForumCheck) then bContainsForum = True
			next
		end if
			if (recForumCount = "" or not bContainsForum) and (mLev = 4) then
			Response.Write	"              <tr>" & vbNewline & _
					"                <td bgcolor=""" & strCategoryCellColor & """ colspan=""" & sGetColspan(6,5) & """>"
			if Cat_ID = "" then


and replace it with this:

bContainsForum = False
		if recForumCount <> "" then
			for iForumCheck = 0 to recForumCount
				if CatID = allForumData(fCAT_ID, iForumCheck) then bContainsForum = True
			next
		end if
' add space between categorys
	if iCategory <> 0 then
		if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
			response.write "<tr><td colspan=""7"" bgColor=""" & strPageBGColor & """> </td></tr>"
		else
			response.write "<tr><td colspan=""6"" bgColor=""" & strPageBGColor & """> </td></tr>"
		end if
	end if
		if (recForumCount = "" or not bContainsForum) and (mLev = 4) then
			Response.Write	"              <tr>" & vbNewline & _
					"                <td bgcolor=""" & strCategoryCellColor & """ colspan=""" & sGetColspan(6,5) & """>"
			if Cat_ID = "" then


the
if iCategory <> 0 then

just makes it where there is no space between the column titles and the first category.

you could make the space seperate tables, which would make the individual categories seperate tables, but then you lose all your spaces for each table and it look all out of wack.

Hope this helps

<-- Eric -->
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07