Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
Need help with a table border Details »»
Need help with a table border
Version: , by Big Kahuna Big Kahuna is offline
Developer Last Online: Sep 2020 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-18-2002 Last Update: Never Installs: 0
 
No support by the author.

<a href="http://www.moparstyle.net/forums/" target="_blank">http://www.moparstyle.net/forums/</a>

I am trying very hard to learn as I go -- but this is one I can't figure out.

An administer from another board using the same server company as I, gave me a hack called g_statistics, which is the table in the above listed forum called Statistics. Promblem is that the table border is not like my other table's boders -- in each of my styles. I can't figure out how to make it the same border as the other tables. This admin and his board are gone so I can't ask him. Any suggestions?

Here is the code used in g_statistics:

<table width="100%" cellpadding="4" cellspacing="{tableinnerborderwidth}">
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="3" onMouseOver="this.style.cursor='hand';" onclick="window.location.href='vbstats.php?s=$sess ion[sessionhash]'"><a href="vbstats.php?s=$session[sessionhash]">
<b><normalfont color={categoryfontcolor}>Statistics</normalfont></b></a></td>
</tr>
<td bgcolor={secondaltcolor} width="20%">
<smallfont><b>Top 10 Posters:</b></smallfont>
</td>
<td bgcolor={firstaltcolor} width="20%">
<smallfont><b>Top 10 This Week:</b></smallfont>
</td>
<td bgcolor={secondaltcolor} width="60%">
<smallfont><b>10 Most Recent Replies To Threads:</b></smallfont>
</td>
</tr>
<tr>
<td bgcolor={secondaltcolor} width="20%">
<table width="100%">
<tr>
<td width=100%><smallfont>User Names:</smallfont></td><td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$posts5name</b></smallfont></td>
<td align="right"><smallfont><b>$posts5post</b></smallfont></td>
</tr>
</table>
</td>
<td bgcolor={firstaltcolor} width="20%">
<table width="100%">
<tr>
<td width=100%><smallfont>User Names:</smallfont></td><td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$week5name</b></smallfont></td>
<td align="right"><smallfont><b>$week5posts</b></smallfont></td>
</tr>
</table>
</td>
<td bgcolor={secondaltcolor} width="60%">
<table width="100%">

<td width=80%><smallfont>Thread Names:</smallfont></td>
<td width=20%><smallfont>Last Posters:</smallfont></td>
<td align="right"><smallfont>Views:</smallfont></td>
</tr>
<tr>
<td width=80%><smallfont><b>$popthread</b></smallfont></td>
<td width=20%><smallfont color="#ff0000"><b>$poplastposter</b></smallfont></td>
<td align="right"><smallfont><b>$popviews</b></smallfont></td>
</tr>
</table>
<tr>
<td bgcolor="{categorybackcolor}" colspan="3" align="left" valign="center" cellpadding="4" cellspacing="{tableinnerborderwidth}">
</td>
</tr>
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="3" align="center" valign="center" cellpadding="4" cellspacing="{tableinnerborderwidth}">
<smallfont color={tableheadtextcolor}>Registered Members: <b>$numbermembers</b> | Total Threads: <b>$totalthreads</b> | Total Thread Views: <b>$totalviews</b> | Total Posts: <b>$totalposts</b> | Posts Today: <b>$poststoday</b></smallfont>
</td>
</tr>
</td>
</tr>
</table>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-18-2002, 04:16 PM
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
Location: @ MyPC
Posts: 824
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change this
<table width="100%" cellpadding="4" cellspacing="1">

to this
<table width="100%" cellpadding="0" cellspacing="0" border="0">

maybe?..
Reply With Quote
  #3  
Old 04-18-2002, 09:59 PM
Big Kahuna's Avatar
Big Kahuna Big Kahuna is offline
 
Join Date: Feb 2002
Location: SE Texas
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't work

The border is there -- but it is white when the other tables is black. When I cahnge the borger to 1 I get a 3d border with shadow and highlight.
Reply With Quote
Reply

Thread Tools

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 06:07 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.11178 seconds
  • Memory Usage 2,207KB
  • Queries Executed 18 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete