vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Center Category Names and Descriptions. (https://vborg.vbsupport.ru/showthread.php?t=101513)

Xplorer4x4 11-24-2005 10:00 PM

Center Category Names and Descriptions.
 
The title basicly explains it all. This will simply center the categorey name and description. Simple yet effective.

In forumhome_forumbit_level1_nopost find the following:
PHP Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
        <if 
condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> 

And add <div align="center"> before it.
Now add </div> directley after it.
Now your done.

This WILL NOT center forum names. If you are interested in centering forum names and descriptions, add the </div> right before the
Code:

<!-- what's going on box -->
tag.


Please click https://vborg.vbsupport.ru/ if you use this. :)

Snake 11-25-2005 11:48 AM

Nice one. :)

[high]* Snake installs[/high]

SHANE-D-PAIN 11-25-2005 12:09 PM

Pretty simple, infact its not something I would have ever bothered to post but oh well.

Suppose its useful for those still using the default vBulletin template who dont have a clue what HTML is! :P

tnguy3n 11-25-2005 12:24 PM

it'd be better to use <div align="center"></div>.

Boofo 11-25-2005 12:33 PM

And you need to post a text file with the instructions also. ;)

Flow Fusion 11-25-2005 01:03 PM

Centered it all for me. Thanks.

Rhoads 11-25-2005 03:01 PM

Thnx, installed :)

euan doc 11-25-2005 04:08 PM

Clicks installed

Im new to all this. How would I be able to centre forum names and post names ?

Gizmo5h1t3 11-25-2005 04:39 PM

as a n00b meself, id like to know how to continue this by centering the who`s online as well.....

and also as mentioned, centering the members names in the who`s online boxes....

Sooner95 11-25-2005 05:37 PM

yea, saw this in one of the xmas styles.. actually looks nice. Thx


All times are GMT. The time now is 11:37 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.01091 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete