vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Set width for thead ( Forum, Last Post, Threads etc ) (https://vborg.vbsupport.ru/showthread.php?t=153067)

Arkidas 07-22-2007 07:26 PM

Set width for thead ( Forum, Last Post, Threads etc )
 
Can I set this to a fixed width? Every one of them?

Dismounted 07-23-2007 06:31 AM

Are you using separated categories?

Arkidas 07-23-2007 12:43 PM

Yes I am. Would you like me to post any of my templates here, to make sure it's done according to that?

Dismounted 07-24-2007 10:25 AM

You should edit the 'forumhome_level1_nopost' template. I could help you through that if you posted it up.

Arkidas 07-24-2007 01:05 PM

Here :) I need to be able to set each one of them to a fixed width that is the very same pixels on every monitor because I need to put a background in each of the boxes.

HTML Code:

<table width="100%" border="0" cellpadding="0" cellspacing="0"  class="tcat">
  <tr>
    <td width="100%" align="left" valign="middle" class="tcat">
       
                       
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><div style="margin-bottom:0x; padding-left:7px">$forum[title]</div></a>
                       
                        <if condition="$show['forumdescription']"><span class="smallfont">&nbsp; $forum[description]</span></if>
                        <if condition="$show['subforums']"><span class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</span></if>
               
       
        </td>
    <td width="19" height="19" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="19" height="19" alt=" " border="0" /></td>
  </tr>
</table>

       
       
       

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]"><img src="$stylevar[imgdir_misc]/forum.gif" alt="Forum"></td>
          <td class="thead" width="200"><img src="$stylevar[imgdir_misc]/last.gif" alt="Last Post"></td>
          <td class="thead"><img src="$stylevar[imgdir_misc]/threads.gif" alt="Threads"></td>
          <td class="thead"><img src="$stylevar[imgdir_misc]/posts.gif" alt="Posts"></td>
          <if condition="$vboptions[showmoderatorcolumn]">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>
$childforumbits
</tbody>
</if>
</table>
        <div class="spacer"></div>


Arkidas 07-25-2007 05:34 PM

Bump.

Dismounted 07-28-2007 05:58 AM

Hmmm, did you manually apply the separated categories? Or did you use the hack?

Arkidas 07-28-2007 11:08 PM

The hack was used but I've done many edits. It'd be funny just to know how to apply it using the default hack version of this template. It's just that the values don't seem to really set the tables to a certain width, they always seem to go over the width when I measure a screenshot of my board. E.g. if I set the "last post" table to 175, it is in fact 195 pixels.

Arkidas 07-31-2007 03:15 PM

Still need help :) bump.

Dismounted 08-01-2007 06:02 AM

Doing it the manual way would allow you easier control and it's possibly faster than using plugins.

http://www.vbulletin.com/forum/showthread.php?t=156783


All times are GMT. The time now is 03:00 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.01046 seconds
  • Memory Usage 1,739KB
  • 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_html_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