vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   template help (https://vborg.vbsupport.ru/showthread.php?t=51905)

Jakor Sevel 04-21-2003 12:48 AM

template help
 
1 Attachment(s)
can anyone tell me how to fix it so that the top 5 posters section doesn't get messed up? I've attached a screenshot. As you can see members with over 1000 posts make the table change for some odd reason (making the member with 900 posts change as well), can anyone tell me how to fix this? Here is the html of the template as well.


Code:


<!-- key NanoEntity hololith.com -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%" align="center">
    <tr>
        <td>
            <table cellpadding="4" cellspacing="1" border="0" width="100%">
                <tr>
                    <td background="images/darkness/catb.gif" colspan="3">
                        <table cellpadding="1" cellspacing="0" border="0" width="100%">
                            <tr>
                                <td>
                <B><normalfont>Statistics</normalfont></B></td>
                            </tr>
                        </table>
                        </td>
                </tr>
                <tr>
                    <TD bgcolor="#185584" width="25%">
            <smallfont>

<b>Top 5 Posters:</b>
<hr>

<table>
<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>

            </smallfont></td>

                    <TD bgcolor="#185584" width="25%">
            <smallfont>

<b>Top 5 Newest Members:</b>
<hr>

<table>
<tr>
<td width=100%><smallfont>User Names:</smallfont></td>
<td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$username</b></smallfont></td>
<td align="right"><smallfont><b>$userposts</b></smallfont></td>
</tr>
</table>

            </smallfont></td>

                    <TD bgcolor="#185584" width="50%">
            <smallfont>
<b>Top 5 New Thread Replys:</b>
<hr>

<table>
<tr>
<td width=75%><smallfont>Thread Names:</smallfont></td>
<td width=25%><smallfont>Last Posters:</smallfont></td>
<td align="right"><smallfont>Views:</smallfont></td>
</tr>
<tr>
<td width=75%><smallfont><b>$popthread</b></smallfont></td>
<td width=25%><smallfont><b>$poplastposter</b></smallfont></td>
<td align="right"><smallfont><b>$popviews</b></smallfont></td>
</tr>
</table>
            </smallfont></td>
                </tr>
                <tr>
                    <td bgcolor="#11496C" colspan="3">
                        <table cellpadding="1" cellspacing="0" border="0" width="100%">
                            <tr>
                                <td bgcolor="#11496C">
                <smallfont>
                                                                Popular thread is <b>$pop1title</b> | <b>$pop1views</b> views.                                    </smallfont></td>


                                <td bgcolor="#11496C" align="right">
                <smallfont>
                                                                Rated thread is <b>$ratedtitle</b> | <b>$ratedrating</b> votes.
                </smallfont></td>
                            </tr>
                        </table>
                        </td>
                </tr>
            </table>
            </td>
    </tr>
</table>
<!-- / key NanoEntity hololith.com -->


drives fast 04-21-2003 01:08 AM

wouldn't you need to change this:
<table>
<tr>
<td width=100%><smallfont>User Names:</smallfont></td>
<td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$username</b></smallfont></td>
<td align="right"><smallfont><b>$userposts</b></smallfont></td>
</tr>
</table>

to something like this:
<table>
<tr>
<td width=75%><smallfont>User Names:</smallfont></td>
<td align="right" width="25%"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=75%><smallfont><b>$username</b></smallfont></td>
<td align="right" width="25%"><smallfont><b>$userposts</b></smallfont></td>
</tr>
</table>

untested but it looks like the posts td is too narrow for the data

Jakor Sevel 04-21-2003 03:41 AM

thanks, you kinda messed me up cause you put the newest members info there, lmao. But i fixed it and changed the widths to 75% (didn't add those 25%s though) and it worked perfectly. Thanks for ur help.

drives fast 04-21-2003 12:13 PM

oops...sorry about that....glad you figured out what I meant


All times are GMT. The time now is 01:34 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.01026 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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