UBB.Dev
Posted By: DrChaos question about spacing - 07/06/2005 1:46 AM
I know Ive asked this before but i cant find my post reguarding it. I did a search for it but came up with a ton of posts, none had the info.

Im tring to find out how to get a space between each catagory. I atttached an image of it. I have it now but I dont remember where to place the code...

I remember the code being

<tbclose>
<br />
<tbopen>

Attached picture 128616-show.JPG
Posted By: AllenAyres Re: question about spacing - 07/08/2005 11:11 PM
I have the code at home, I'll post it this weekend
Posted By: AllenAyres Re: question about spacing - 07/09/2005 12:53 AM
find:

Code
<br />echo <<<UBBTPRINT<br />$only_favs<br />$tbopen<br />UBBTPRINT;<br /><br />for($c=0;$c<$catsize;$c++) { //UBBTREMARK<br />echo <<<UBBTPRINT<br /><!-- CATEGORY LOOP START --><br /><tr><br />


replace with:

Code
<br />echo <<<UBBTPRINT<br /><br />$only_favs<br /><br />UBBTPRINT;<br /><br />for($c=0;$c<$catsize;$c++) { //UBBTREMARK<br />echo <<<UBBTPRINT<br /><!-- CATEGORY LOOP START --><br />$tbopen<br /><tr><br />


find:

Code
<br />UBBTPRINT;<br />} //UBBTREMARK<br />} //UBBTREMARK<br />echo <<<UBBTPRINT<br /><!-- END CATEGORY LOOP --><br /><!-- END OF FORUM LOOP --><br />$tbclose<br /><br /><br /><br />$tbopen<br />


replace with:

Code
<br />UBBTPRINT;<br />} //UBBTREMARK<br />echo <<<UBBTPRINT<br /><!-- END OF FORUM LOOP --><br />$tbclose<br /><br /><br />UBBTPRINT;<br />} //UBBTREMARK<br />echo <<<UBBTPRINT<br /><!-- END CATEGORY LOOP --><br /><br />$tbopen<br />


that should work
Posted By: DrChaos Re: question about spacing - 07/11/2005 5:35 PM
ok, in ubbthreads.tmpl I only had to find the first instance of this,


<!-- <? //UBBTREMARK -->
// File Version 6.5

<!-- echo <<<UBBTPRINT -->
$only_favs
$tbopen
<!-- UBBTPRINT; -->

<!-- for($c=0;$c<$catsize;$c++) { //UBBTREMARK -->
<!-- echo <<<UBBTPRINT -->
<!-- CATEGORY LOOP START -->
<tr>
$tbopen


And change to this,

<!-- <? //UBBTREMARK -->
// File Version 6.5

<!-- echo <<<UBBTPRINT -->
$only_favs
$tbopen
<!-- UBBTPRINT; -->

<!-- for($c=0;$c<$catsize;$c++) { //UBBTREMARK -->
<!-- echo <<<UBBTPRINT -->
<!-- CATEGORY LOOP START -->
<tr>
<!-- Add spacing between main forums -->
$tbclose
<br />
$tbopen
<!-- End spaceing code in forums -->

works for me
© UBB.Developers