vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Another Simple Question I'm Sure (https://vborg.vbsupport.ru/showthread.php?t=50600)

TVboardsXcom 03-21-2003 10:02 PM

Another Simple Question I'm Sure
 
This is going to seem really stupid, but...

How on my vBulletin do I make the category names centered?

Thanks! :laugh:

TVboardsXcom 03-21-2003 10:19 PM

Ok.. I found out how to do it... but... when I did it, the little bar it was on got more thick, like it was longer. Can anyone tell me why?

Chris Gwynne 03-21-2003 10:38 PM

Nope, I can't :p

Did you center them properly??


Replace all of forumhome_forumbit_level1_nopost to this

Quote:

<tr id="cat">
<td bgcolor="{ categorybackcolor}" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{ categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{ categoryfontcolor}">$forum[description]</smallfont></td>
</tr>
Replace all of forumhome_forumbit_level2_nopost to this

Quote:

<tr id="cat">
<td bgcolor="{ categorybackcolor}"><smallfont>&nbsp;</smallfont></td>
<td bgcolor="{ categorybackcolor}" colspan="5">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{ categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{ categoryfontcolor}">$forum[description]</smallfont></td>
</tr>

TVboardsXcom 03-21-2003 11:04 PM

OK.. that worked, but now the backgrounds are different then what they originally were.

TVboardsXcom 03-21-2003 11:05 PM

And I am talking about just the strips that each category is on top of. those BG's.

Chris Gwynne 03-21-2003 11:08 PM

Yeah, VB.org has parsed the color variables used in the templates. Give me five and I'll fix my above post. :)

Chris Gwynne 03-21-2003 11:13 PM

Ok they're changed now. Re-copy and paste the code into the mentioned templates. :)

Remember to remove the extra space in the variables { tablebordercolor}

TVboardsXcom 03-21-2003 11:14 PM

Thank you. It's all fixed now! :)

Chris Gwynne 03-21-2003 11:22 PM

You're welcome. ;)

Dean C 03-22-2003 10:06 AM

The best way to do is is to change the <tr id="cat"> to <tr id="cat" align="center" :)

- miSt


All times are GMT. The time now is 09:20 PM.

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.01052 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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