vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=161)
-   -   Black and Gold 3.5 (https://vborg.vbsupport.ru/showthread.php?t=97160)

Andrew 11-04-2005 12:00 PM

Quote:

Originally Posted by biagrin
hey great skin - ive been using this one for about 8 months (since 3.0.7). i have a problem now though - how do i align the posts and threads columns on forumhome

In the "forumhome_fourmbit_level1_nopost" template you need to set a width="XX%" value for all of the table cells. If you don't understand what that is let me know and I will post a replacement template for you - I had someone else request how to do that as well.

biagrin 11-04-2005 12:12 PM

thanks andrew - i appreciate the quick response :)

MarkyLeonard 11-04-2005 07:33 PM

Excellent work!!!

teamgofast 11-11-2005 01:01 AM

installed!!!!

Lecter 11-12-2005 07:31 PM

I decided that I prefered text buttons instead of the send to friend and printer icons, so I created them.

I'm attaching them on the chance anyone else would like them.

Enjoy!

Lecter

optrex 11-15-2005 04:05 PM

I've noticed the "last post" area's are all different widths.

Can you tell me how to make them all the same so that they fit the widest title?

Andrew 11-15-2005 07:09 PM

In the "forumhome_forumbit_level1_nopost" template you need to set a fixed width for the last post column. I don't have the style installed on my new developement forums at the moment or I would give you a more detailed explanation. Let me know if that doesn't make sense and I'll try and post a new template entirely that you can just copy and paste.

Lecter 11-15-2005 10:07 PM

Since I am interested in this as well, I looked at "forumhome_forumbit_level1_nopost" and the only line I could find with last post in it was:

Code:

<td class="thead" width="175">$vbphrase[last_post]</td>
If I change width="175" to width="500" there is no change. If change it to width="50%" all but the first forum are affected.

Is there another line that should have a fixed width applied to?

Lecter

Andrew 11-15-2005 10:53 PM

In forumhome_forumbit_level1_nopost find:
HTML 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>

And replace it with:
HTML Code:

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

You might need to alter the individual widths to suit your forum, but for the most part this should fix the spacing problem. Please keep in mind though that if you have a thread title that is really long (Like a URL) it will still throw the alignment out of wack and that is unavoidable.

optrex 11-16-2005 09:52 AM

Thanks Andrew,

You gave me the clue I needed. I copied the whole of the forumhome_forumbit_level1_nopost file from my default style to your style and it sorted it ;)


All times are GMT. The time now is 12:51 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.01296 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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