vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Forum Tournaments & Ladders (https://vborg.vbsupport.ru/showthread.php?t=189375)

WNxWakko 11-08-2008 03:02 AM

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


butler312 11-08-2008 03:18 AM

Quote:

Originally Posted by Queball_Beast (Post 1660850)
I am thinking about running an event using the tournament system but it looks like I cant use the script to do the event.

P=Player
G= Group
Let say we get 16 players to sign up, we can divide the 16 players into 4 groups, each group battle among themselves.

[G1 ]P1-P2-P3-P4 [ Best out of 3 match duels moves on. P1 vs P2 and P3 vs P4 ] the 2

winners in this groups will face off in a Match duel and winner will face the winners of

the other groups.] IE. if P1 wins from G1, and P5 wins from G2, and P9 wins from G3

and finally P13 wins from G4. then we have P1 vs P5 [ Best out of 3 Matches ] then P9

vs P13 again best of 3 matches] now in the finals its P9 vs P1 for the championship


[G2 ]P5-P6-P7-P8

[G3 ]P9-P10-P11-P12

[G4 ]P13-P14-P15-P16

Is it possible to have something like this added to the tournament script, something like a group battles.

Thanks

This would be pretty sweet, although I don't think it would apply to a lot of people. I personally would love it :D

bananalive 11-08-2008 04:51 PM

Quote:

Originally Posted by Strafe (Post 1660547)
Hey banana, could you do us a huge favorite?

Could you keep a 'stable' release version posted? That way you can do all the experimental ones while still providing a stable version for everyone to use in the meantime.

Thanks a bunch.

v2.6.5 is a stable version with following minor fixes from v2.6.4
- Removed image widths for edit buttons (so they display correctly for custom buttons)
- Added spacing in ladder template after Ranking, Recent matches, Upcoming Matches
- Fixed Join Ladder link displaying on Recent Matches & Upcoming Matches pages for ladder competitors

Gleedo 11-08-2008 05:19 PM

Quote:

Originally Posted by bananalive (Post 1661893)
v2.6.5 is a stable version with following minor fixes from v2.6.4
- Removed image widths for edit buttons (so they display correctly for custom buttons)
- Added spacing in ladder template after Ranking, Recent matches, Upcoming Matches
- Fixed Join Ladder link displaying on Recent Matches & Upcoming Matches pages for ladder competitors

FYI - You forgot to increment your version number in product-tournament2008.xml ;)

WNxWakko 11-08-2008 07:44 PM

The ranking, recent matches, upcoming matches are still skewed.

See screenshot.
http://warriornation.net/temp/shot.gif

vigliarolo12 11-09-2008 04:31 AM

what exactly does LMS do and is there any way you can make double elim soon

gamerscms 11-09-2008 02:38 PM

Quote:

Originally Posted by vigliarolo12 (Post 1662166)
what exactly does LMS do and is there any way you can make double elim soon

LMS is a basic knockout tournament of players or teams, go though the tournament and the winners progress to the end.

More tournament types are coming soon.

vigliarolo12 11-09-2008 06:34 PM

Ok thanks Double Elimination would be an awesome type :D

Stifmeister2 11-09-2008 08:33 PM

Babanalive, do you think I can upgrade from a very old version 2.2.1 to this new 2.6.5 without problems?

zapiy 11-09-2008 09:46 PM

how do i delete a ladder?


All times are GMT. The time now is 04:50 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.03060 seconds
  • Memory Usage 1,769KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete