Thread: Major Additions - Forum Tournaments & Ladders
View Single Post
  #1012  
Old 11-08-2008, 03:02 AM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is my suggestion to fix the problem with the Ranking, Recent matches, Upcoming Matches that is causing the page to skew off the right.

tmnt_ladder_display

Code:
<div class="vbmenu_popup" id="laddertools_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr><td class="thead">$vbphrase[ladder_tools]</td></tr>
		<if condition="$canjoinladder AND !$comper">
		<tr><td class="vbmenu_option"><a href="competitions.php?do=ladderjoin&id=$lid">$vbphrase[ladder_join]</a></td></tr>
		</if>
		<if condition="$show['member']">
		<tr><td class="vbmenu_option"><a href="competitions.php?do=ladder<if condition="$ladder[pot] == 1">team</if>challenges">$vbphrase[ladder] <if condition="$ladder[pot] == 1">$vbphrase[ladder_teamchlls]<else />$vbphrase[ladder_chlls]</if></a></td></tr>
		</if>
		<if condition="$caneditladder">
		<tr><td class="thead">$vbphrase[ladder_admin_tools]</td></tr>
		<tr><td class="vbmenu_option"><a href="competitions.php?do=ladderedit&id=$lid">$vbphrase[ladder_edit]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="competitions.php?do=ladderdelete&id=$lid">$vbphrase[ladder_delete]</a></td></tr>
		</if>
		</table>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td valign="top">
<table class="tborder" style="border-bottom-width: 0px;" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td class="tcat" width="100%">
$title
</td>
<td style="cursor: pointer;" class="vbmenu_control" id="laddertools" nowrap="nowrap">
		<a href="#laddertools">$vbphrase[ladder_nav]</a><script type="text/javascript">vbmenu_register("laddertools");</script>	
	</td>
</tr>
</table>
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
  <td class="thead normal">$ladder[cr_time]</td>
</tr>
<tr valign="top">
	<td class="alt2">
						<a class="bigusername" href="member.php?u=$ladder[cr_userid]">$ladder[cr_username]</a>
	</td>
</tr>
<tr>
	<td class="alt1">$ladder[description]
  				<div class="smallfont" style="margin-top: 12px;" align="right">
			<if condition="$ladder[ed_username] != ''">
			<div style="float: left;" align="left">
					<div class="shade">$vbphrase[tmnt_lastedit] <a class="shade" href="member.php?u=$ladder[ed_userid]">$ladder[ed_username]</a> at $ladder[ed_time]</div>
			</div>
			</if>
				<if condition="$canedittmnt"><a href="competitions.php?do=ladderedit&id=$id"><img title="$vbphrase[edit]" src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit]" border="0"></a></if>
		</div>
	</td>
</tr>
  	<if condition="!$comper AND $canjoinladder">
<tr>
	<td class="alt2" align="center">
		<a href="?do=viewladder&id=$id">$vbphrase[ladder_rankings]</a> | <a href="?do=viewladder&id=$id&sh=1">$vbphrase[ladder_recent_games]</a> | <a href="?do=viewladder&id=$id&sh=2">$vbphrase[ladder_upcoming_games]</a> | <a href="competitions.php?do=ladderjoin&id=$lid">$vbphrase[ladder_join]</a>
  </td>
</tr>
	</if>
</table></div></td>
<td style="padding-left: 6px;" valign="top" width="210">
<div style="padding: 0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" width="100%" border="0" cellpadding="6" cellspacing="1">
<tbody><tr align="left">
	<td class="thead" colspan="3">
		$vbphrase[ladder_details]
	</td>
</tr>
<tr>
	<td class="alt1 smallfont">
			<div><span class="shade">$vbphrase[ladder_type]</span>
			<if condition="$ladder[pot] == 1">$vbphrase[ladder_teams]<else />$vbphrase[ladder_singles]</if></div>
			<div><span class="shade"><if condition="$ladder[pot] == 1">$vbphrase[ladder_noteams]<else />$vbphrase[ladder_noplayers]</if></span>
			$ladder[noplayers]</div>
			<if condition="$team">
			<div><span class="shade">$vbphrase[ladder_tmin]</span>
			$ladder[tmin]</div>
			<div><span class="shade">$vbphrase[ladder_tmax]</span>
			$ladder[tmax]</div>
			</if>
			<div><span class="shade">$vbphrase[ladder_views]</span>
			$ladder[views]</div>
	</td>
</tr>
</tbody></table>
</div>
</td>
</tr></table>
$competitorddms
$competitors
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01223 seconds
  • Memory Usage 1,799KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete