Author |
Topic  |
|
Cliff
Average Member
  
United States
501 Posts |
Posted - 09 January 2003 : 00:00:21
|
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 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 10 January 2003 : 14:56:05
|
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 |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 10 January 2003 : 14:57:21
|
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. |
 |
|
Cliff
Average Member
  
United States
501 Posts |
Posted - 10 January 2003 : 15:08:52
|
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/ |
 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 10 January 2003 : 15:15:02
|
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 |
 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 10 January 2003 : 15:20:02
|
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 |
 |
|
Cliff
Average Member
  
United States
501 Posts |
Posted - 10 January 2003 : 21:15:33
|
@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/ |
 |
|
|
Topic  |
|