vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Anyway to set width of 'Forum, Last Post, Threads, Posts' columns? (https://vborg.vbsupport.ru/showthread.php?t=149077)

dpatel304 06-06-2007 08:35 PM

Anyway to set width of 'Forum, Last Post, Threads, Posts' columns?
 
For some reason, those columns are not aligned on my forums. Anyway to make them all a set length?

Thanks.

Dismounted 06-07-2007 07:43 AM

forumhome_nopost_level1 or something along those lines.

dpatel304 06-08-2007 09:31 PM

Thanks for the response, but I am not sure where I would find this. A little help would be appreciated. Thank you.

Dismounted 06-09-2007 04:00 AM

It's a template, and it's a Forum Home template.

markbolyard 06-09-2007 04:30 AM

In your FORUMHOME template, look for the following code:

Code:

        <tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="175">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
          <td class="thead">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>

you can change the existing "width" tags to suit your needs, and / or add additional width tags to $vbphrase[threads] and $vbphrase[posts], right after "thead" like the previous lines.


If you have a custom style, this code might be located in your forumhome_forumbit_level1_nopost template.

dpatel304 06-09-2007 09:20 PM

thanks a bunch.


All times are GMT. The time now is 05:54 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.01034 seconds
  • Memory Usage 1,716KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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