Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 04-25-2003, 01:56 PM
thuffner's Avatar
thuffner thuffner is offline
 
Join Date: Mar 2003
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default forumdisplay columns question

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.
Attached Images
File Type: jpg 1.JPG (40.4 KB, 0 views)
Reply With Quote
  #2  
Old 04-25-2003, 01:58 PM
thuffner's Avatar
thuffner thuffner is offline
 
Join Date: Mar 2003
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I want...
Attached Images
File Type: jpg 2.JPG (42.6 KB, 0 views)
Reply With Quote
  #3  
Old 04-25-2003, 03:53 PM
FFArmageddon FFArmageddon is offline
 
Join Date: Aug 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you elaborate on your issue more?

I don;t really understand what you need
Reply With Quote
  #4  
Old 04-25-2003, 05:05 PM
thuffner's Avatar
thuffner thuffner is offline
 
Join Date: Mar 2003
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 04-25-2003, 08:14 PM
FFArmageddon FFArmageddon is offline
 
Join Date: Aug 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 04-26-2003, 07:15 AM
thuffner's Avatar
thuffner thuffner is offline
 
Join Date: Mar 2003
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would you happen to know what the values are for the vBT forumdisplay_threadlist? That'sactly how I want mine to be...
Reply With Quote
  #7  
Old 04-26-2003, 08:35 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 08-07-2008, 01:21 PM
CapitanoN6 CapitanoN6 is offline
 
Join Date: Nov 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for 3.7?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07236 seconds
  • Memory Usage 2,246KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete