vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Getting a space between each catagory on the front page? (https://vborg.vbsupport.ru/showthread.php?t=34570)

Gutspiller 01-28-2002 06:23 PM

I would like a space seperating each catagory on the front page. Can somebody give me the info I need to do this?

Any help will be greatly appreciated.

Thanks.

Scrub 01-30-2002 06:22 AM

This what ya looking for? It was in another thread. :p. Do not know who posted it. :D.

In order to split the categories from eachother:

Forum Home Page Templates
>> forumhome_forumbit_level1_nopost
at the top

Code:

</table>
</td></tr></table><br>
<table cellpadding="{ tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{ tablebordercolor}" { tableouterextra} width="{ contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{ tableinnerborderwidth}" border="0" { tableinnerextra} width="100%">

(please note that in the above code there is a space between { and XXX} this is done because otherwise the vBB will parse it.)


And this one is a fix, so the 'currently active users' aren't sticky to the last categorie:

Forum Home Page Templates
>> forumhome
Just after $forumbits add:

Code:

</table>
</td></tr></table><br>
<table cellpadding="{ tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{ tablebordercolor}" { tableouterextra} width="{ contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{ tableinnerborderwidth}" border="0" { tableinnerextra} width="100%">

(please note that in the above code there is a space between { and XXX} this is done because otherwise the vBB will parse it.)

M.Smith 02-12-2002 02:53 PM

how do you get the Forum, Posts, Threads, Last Post, Moderatorthing under the category like on this forum? :?:

M.Smith 02-12-2002 06:29 PM

BUMP! goes the thread!

Scrub 02-18-2002 06:24 AM

Open your forumhome template.
Look for:


Code:

<tr align="center">
  <td bgcolor="{ tableheadbgcolor}"><smallfont> </smallfont></td>
  <td bgcolor="{ tableheadbgcolor}" width="80%" align="left"><smallfont color="{ tableheadtextcolor}"><b>Forum</b></smallfont></td>
  <td bgcolor="{ tableheadbgcolor}"><smallfont color="{ tableheadtextcolor}"><b>Posts</b></smallfont></td>
  <td bgcolor="{ tableheadbgcolor}"><smallfont color="{ tableheadtextcolor}"><b>Threads</b></smallfont></td>
  <td bgcolor="{ tableheadbgcolor}" nowrap><smallfont color="{ tableheadtextcolor}"><b>Last Post</b></smallfont></td>
  <td bgcolor="{ tableheadbgcolor}" width="20%"><smallfont color="{ tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>


Note that there is a space between { and tableheadbgcolor}, but otherwise it will be parsed..


Cut that code and 'save' the template.

Now open the forumhome_forumbit_level1_nopost template.
Paste the code you cut from the other template below the last line of what
is currently there.
Save it
Now do the same for the forumhome_forumbit_level2_nopost template.
Save it.
And thats it. All done


This was from the same person, but I do not know his name. :p


All times are GMT. The time now is 12:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00988 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete