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)
 Add space between the forums
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Cliff
Average Member

United States
501 Posts

Posted - 09 January 2003 :  00:00:21  Show Profile  Visit Cliff's Homepage
Would it be possible to add space between the forums on the default page? I have a space gif I could use, I just don't know where to place it. If you have suggestions, please indicate what the code is, not just the line because it is a very modded forum.


Thanks.

https://squarewheelscycling.com/

https://www.pathlabtalk.com/

Edited by - ruirib on 10 January 2003 14:52:45

Cliff
Average Member

United States
501 Posts

Posted - 09 January 2003 :  14:37:55  Show Profile  Visit Cliff's Homepage
^ bump ^

Edited: Moved to top of list for one more try. Thanks.

https://squarewheelscycling.com/

https://www.pathlabtalk.com/

Edited by - Cliff on 10 January 2003 14:48:08
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 10 January 2003 :  14:56:05  Show Profile  Send ruirib a Yahoo! Message
This marks the start of the code to display info related to each forum:


	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 & _

That <tr> there will be the start of a row to a new forum. I'd say it's around here you need to do it. Be sure not to leave the space if iForumCheck is 0.
I won't able to help further. I'm about to leave and will be away for the next couple days...


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

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 January 2003 :  14:57:21  Show Profile
It's not possible in the base code. All categories and forums are in one table.
If you want a space between each category, or each forum, you'd have to change the code so each is put in its own table.
Or you could add a blank row with the correct colspan, but then you'd have to deal with the table containing the table (which is used to give the table its 1 pixel border), which would give a border on the left and right of the "empty space" if you used a spacer image that has the page's background color. So that wouldn't really be a space like what the first solution would do.
Go to Top of Page

Cliff
Average Member

United States
501 Posts

Posted - 10 January 2003 :  15:08:52  Show Profile  Visit Cliff's Homepage
Thanks to both.
I guess I'll leave it alone then, I don't have the experiance to make that kind of change. I tried using DreamWeaver UltraDev but it only displays the code view, it won't display the layout view.

I saw this look in another forum and like the style, it had a nice clean professional feeling. I just can't stop tweaking my site.

Thanks again.

https://squarewheelscycling.com/

https://www.pathlabtalk.com/
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 10 January 2003 :  15:15:02  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Actually, it's pretty easy. Find the following:
					else
						blnHiddenForums = true
					end if ' ChkDisplayForum() 
				end if
			next '## Next Forum
		end if
	next '## Next Category
end if

Make it look like this and play with colspan,bgcolor et al to your liking and replace the word space with whatever suits your fancy.
					else
						blnHiddenForums = true
					end if ' ChkDisplayForum() 
				end if
				Response.Write "<tr><td bgcolor=""white"" colspan=""8"">space</td></tr>"
			next '## Next Forum
		end if
	next '## Next Category
end if


@tomic

SportsBettingAcumen.com
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 10 January 2003 :  15:20:02  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
One other thing, that method leaves the table intact and the borders which is part inconvenient and partly a good thing but it just depends on what you want to do. It would not take much more tinkering to create a complete space with no borders. The key is to know the right spot in the loop.

@tomic

SportsBettingAcumen.com
Go to Top of Page

Cliff
Average Member

United States
501 Posts

Posted - 10 January 2003 :  21:15:33  Show Profile  Visit Cliff's Homepage
@tomic,

Here is what I used, I needed to add your addition down to the next line otherwise it was putting a lot of spaces between each category.

	blnHiddenForums = true
					end if ' ChkDisplayForum() 
				end if    
			next '## Next Forum
		end if      
		Response.Write "<tr><td bgcolor=""" & strPageBGColor & """ colspan=""8"">non breaking space added here</td></tr>"
	next '## Next Category
end if


It works great!!!

It does give the border on the left and right, I think this is what FrutZle said would happen. It would be great to get rid of those. Any thoughts? Thanks for the help, I would never have found that!!

https://squarewheelscycling.com/

https://www.pathlabtalk.com/
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07