vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   forumdisplay columns question (https://vborg.vbsupport.ru/showthread.php?t=86822)

thuffner 04-25-2003 01:56 PM

forumdisplay columns question
 
1 Attachment(s)
I was wondering what the code was (and where to put the code) to get the resulting percentages as shown in the vBT forumdisplay.

Here's what I have, and the next post is what I want...

Thanks.

thuffner 04-25-2003 01:58 PM

1 Attachment(s)
What I want...

FFArmageddon 04-25-2003 03:53 PM

Can you elaborate on your issue more?

I don;t really understand what you need

thuffner 04-25-2003 05:05 PM

Sorry. I want to reduce the width of the "Thread Starter" column. Mine's too big. Check out this page:
http://www.bondmovies.com/board/foru....php?forumid=6

Any ideas?

FFArmageddon 04-25-2003 08:14 PM

easy:

In the forumdisplay_threadslist template, find:
----------------------------------------------------------------------
<td bgcolor="{tableheadbgcolor}" align="center" nowrap colspan="3"><smallfont>
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="forumid" value="$forumid">
<input type="hidden" name="pagenumber" value="$pagenumber">
<a href="$sorturl&sortorder=asc&sortfield=title"><fon t color="{tableheadtextcolor}"><b>Thread</b></font></a> $sortarrow[title]</smallfont></td>
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont><a href="$sorturl&sortorder=asc&sortfield=postusernam e"><font color="{tableheadtextcolor}"><b>Thread Starter</b></font></a> $sortarrow[postusername]</smallfont></td>
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont><a href="$sorturl&sortorder=desc&sortfield=replycount "><font color="{tableheadtextcolor}"><b>Replies</b></font></a> $sortarrow[replycount]</smallfont></td>
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont><a href="$sorturl&sortorder=desc&sortfield=views"><fo nt color="{tableheadtextcolor}"><b>Views</b></font></a> $sortarrow[views]</smallfont></td>
$threadrating
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont><a href="$sorturl&sortorder=desc&sortfield=lastpost"> <font color="{tableheadtextcolor}"><b>Last Post</b></font></a> $sortarrow[lastpost]</smallfont></td>
----------------------------------------------------------------------

And replace it with:
----------------------------------------------------------------------
<td bgcolor="{tableheadbgcolor}" align="center" nowrap colspan="3" width="45%"><smallfont>
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="forumid" value="$forumid">
<input type="hidden" name="pagenumber" value="$pagenumber">
<a href="$sorturl&sortorder=asc&sortfield=title"><fon t color="{tableheadtextcolor}"><b>Thread</b></font></a> $sortarrow[title]</smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="15%" nowrap><smallfont><a href="$sorturl&sortorder=asc&sortfield=postusernam e"><font color="{tableheadtextcolor}"><b>Thread Starter</b></font></a> $sortarrow[postusername]</smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="5%" nowrap><smallfont><a href="$sorturl&sortorder=desc&sortfield=replycount "><font color="{tableheadtextcolor}"><b>Replies</b></font></a> $sortarrow[replycount]</smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="5%" nowrap><smallfont><a href="$sorturl&sortorder=desc&sortfield=views"><fo nt color="{tableheadtextcolor}"><b>Views</b></font></a> $sortarrow[views]</smallfont></td>
$threadrating
<td bgcolor="{tableheadbgcolor}" width="25%" nowrap><smallfont><a href="$sorturl&sortorder=desc&sortfield=lastpost"> <font color="{tableheadtextcolor}"><b>Last Post</b></font></a> $sortarrow[lastpost]</smallfont></td>
----------------------------------------------------------------------

If you need different widths, just change the ones I put in

thuffner 04-26-2003 07:15 AM

Would you happen to know what the values are for the vBT forumdisplay_threadlist? That'sactly how I want mine to be...

Brad 04-26-2003 08:35 AM

Quote:

Originally Posted by thuffner
Would you happen to know what the values are for the vBT forumdisplay_threadlist? That'sactly how I want mine to be...

When in doupt, view source.

CapitanoN6 08-07-2008 01:21 PM

for 3.7?


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