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)

Jaxel 02-07-2009 09:39 PM

I just upgraded to Beta2... and I am now getting errors with past tournament results...
http://www.8wayrun.com/competitions.php?do=view&id=13

As well, did you look into my previous comments about stratifying entries?

LieuR 02-08-2009 12:26 AM

If you use 2.7.4 can you set Type 1on1 ? Or is that on the Beta ? Thanks greate mod really needed it

xuanhuy238 02-08-2009 04:14 AM

Quote:

Error: Invalid Round. Click here to go back to the tournament.
This is an error on my site when I try do regress a team.

bananalive 02-08-2009 02:22 PM

Quote:

Originally Posted by LieuR (Post 1737422)
If you use 2.7.4 can you set Type 1on1 ? Or is that on the Beta ? Thanks greate mod really needed it

It's limited to 32 players on 2.7.4

Quote:

Originally Posted by xuanhuy238 (Post 1737529)
This is an error on my site when I try do regress a team.

Fixed in beta 3

Quote:

Originally Posted by Jaxel (Post 1737351)
I just upgraded to Beta2... and I am now getting errors with past tournament results...
http://www.8wayrun.com/competitions.php?do=view&id=13

As well, did you look into my previous comments about stratifying entries?

Error fixed in beta 3

I read every post in all my modifications threads. Unfortunately you idea would require re-writing again the brackets system again. Instead i plan to allow bye players which would just be randomly added. so for 17 player tournament you could add 15 bye players to make it like your above suggestion

Jaxel 02-08-2009 09:12 PM

Well thats what its supposed to do... thats exactly what I was saying...

With 17 players, the system should AUTOMATICALLY add 15 bye players. However, you need to stratify these byes; so that byes don't end up playing against byes.

Also... new bug... http://www.8wayrun.com/competitions.php?do=view&id=14 (comments section)

Its evident that the comment section of TNMT is taking the design of the comments section from the Pictures & Album design. However, the pictures & album section pulls avatars from the /avatars/thumbs/ folder; not the /avatars/ folder. In the /avatars/thumbs/ folder, avatars are automatically restricted to 60 pixels; since you are not drawing from this folder; the avatars are not being restricted in size. So if you look at the comment section, you will see some of the avatars overlapping.

Also... in beta3... create new tournament... 4 is listed twice in number of players.

Jaxel 02-08-2009 10:28 PM

Looking into the thumb problems... before the avatar callups, you have the following code...

Code:

if ($vboptions[simpleversion] >= 370)
{
        $thumb = true;
}
else
{
        $thumb = false;
}

For some reason, this is always false... and because of that, it never calls the thumbnails. I just replaced the entire statement with "$thumb = true;" and now it works fine.

haggles 02-08-2009 11:08 PM

thanks so much for this mod banana! absolutely awesome!

Would it be possible to make it so that for a ladder a player can only have one challenge going at once as opposed to unlimited challenges.

Also, can we put a time limit on challenges, ie one challenge per week.

Thanks again for all your hard work on this.

:)

Jaxel 02-09-2009 01:38 AM

On a further note you dont need that many options for numbers of players... you only really need the following:

2
4
8
16
32
64
128
256

A single/double elim tournament should never be run off of a non-multiple of 2; especially if you aren't stratifying byes.

Also, I know I can create a tournament with 256 players with Beta3, but does it actually work? I noticed that in the database, it only has till ROUND7 on the players table, which would be enough for 64 players. For 256 players, you would need up to ROUND9. So if I made a tournament with 256 players, would it work? Or would it be broken?

Jaxel 02-09-2009 03:07 AM

Why do all your templates have the timecodes set to 1969? I make a lot of changes to the templates because you make some odd choices with the layout. So I have been working to fix these changes. However, since you always set your timecodes to 1969; I never know when YOU make an update to the template, thus prompting me to update my changes. So when you update your templates, I wont ever know, and I'll always be using the old tempaltes. I jsut made a post asking if you were ever going to update the top-nav bar; because it was outdated... turns out, you DID update the top-nav bar, but it was dated 40 years old, so vB never notified me. This is a MAJOR oversight that you should take care of.

I made the following changes to your templates... this fixes some skin design issues...

tnmt_edit:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody><tr>
        <td class="tcat">$vbphrase[tmnt_editing]</td>
</tr>
<tr>
        <td class="thead">$vbphrase[title]: <span style="font-weight: normal;"> $title </span></td>
</tr>

<tr>
        <td class="panelsurround" align="center">
<form action="" method="post" enctype="multipart/form-data" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 4)"</if>>
<input type="hidden" name="do" value="update" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="id" type="hidden" value="$id" />
<input name="status" type="hidden" value="$status" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<input name="noplayers" type="hidden" value="$noplayers" />
<input name="origdate" type="hidden" value="$origdate" />
        <div class="panel">
                <div style="width:$stylevar[formwidth]" align="left">
                <table style="margin-bottom: 3px;" border="0" cellpadding="0" cellspacing="0">
                <tbody><tr>
                        <td class="smallfont" colspan="3">$vbphrase[tmnt_title]</td>
                </tr>
                <tr>
                        <td>
                                <input class="bginput" name="title" type="text" id="title" size="60" maxlength="64" value="$title" />
                        </td>
                </tr>
                </tbody></table>
        <if condition="$status == $vbphrase[tmnt_waiting]">
        <div class="fieldset">
                        $vbphrase[tmnt_type]:<br>
                        <select name="type">
                                <option value="1v1" <if condition="$type == $vbphrase[tmnt_1v1]">selected="selected"</if>>$vbphrase[tmnt_1v1]</option>
                                <option value="LMS" <if condition="$type == $vbphrase[tmnt_lms]">selected="selected"</if>>$vbphrase[tmnt_lms]</option>
                        </select>
                </div>
        <else />
                <input name="type" type="hidden" value="$tmnts[type]" /></if>
        <div class="fieldset">
                        Current Tournament $vbphrase[tmnt_date] in your Timezone:
                        <div class="time" style="font-style: italic;">$properdate</div>
                </div>
                <div class="fieldset">
                        Change tournament time:<br>
                        <input type="radio" name="changedate" value="0" onClick="showhide(this.value,'divtxta')" checked="checked">$vbphrase[no] <input type="radio" name="changedate" value="1" onClick="showhide(this.value,'divtxta')">$vbphrase[yes]
<div id="divtxta" style="display: none;">
<!-- start / end date / time -->
                                        <select name="month" title="month" tabindex="1">
                                                <option value="1" title="Month">January</option>
                                                <option value="2" title="Month">February</option>
                                                <option value="3" title="Month">March</option>
                                                <option value="4" title="Month">April</option>
                                                <option value="5" title="Month">May</option>
                                                <option value="6" title="Month">June</option>
                                                <option value="7" title="Month">July</option>
                                                <option value="8" title="Month">August</option>
                                                <option value="9" title="Month">September</option>
                                                <option value="10" title="Month">October</option>
                                                <option value="11" title="Month">November</option>
                                                <option value="12" title="Month">December</option>
                                        </select>
                                        <input class="bginput" style="font-size: 11px;" name="day" value="$thisday" size="3" maxlength="2" title="day" tabindex="1" type="text" />
                                        <select name="year" title="year" tabindex="1">
                                                <option title="year" value="2008">2008</option>
                                                <option title="year" value="2009">2009</option>
                                                <option title="year" value="2010">2010</option>
                                                <option title="year" value="2011">2011</option>
                                                <option title="year" value="2012">2012</option>
                                        </select>
                                        <select name="time" title="time" tabindex="1">
                                                <option title="time" value="0" class="">Midnight</option>
                                                <option title="time" value="1" class="">01:00 am</option>
                                                <option title="time" value="2" class="">02:00 am</option>
                                                <option title="time" value="3" class="">03:00 am</option>
                                                <option title="time" value="4" class="">04:00 am</option>
                                                <option title="time" value="5" class="">05:00 am</option>
                                                <option title="time" value="6" class="">06:00 am</option>
                                                <option title="time" value="7" class="">07:00 am</option>
                                                <option title="time" value="8" class="">08:00 am</option>
                                                <option title="time" value="9" class="">09:00 am</option>
                                                <option title="time" value="10" class="">10:00 am</option>
                                                <option title="time" value="11" class="">11:00 am</option>
                                                <option title="time" value="12" class="">Midday</option>
                                                <option title="time" value="13" class="">01:00 pm</option>
                                                <option title="time" value="14" class="">02:00 pm</option>
                                                <option title="time" value="15" class="">03:00 pm</option>
                                                <option title="time" value="16" class="">04:00 pm</option>
                                                <option title="time" value="17" class="">05:00 pm</option>
                                                <option title="time" value="18" class="">06:00 pm</option>
                                                <option title="time" value="19" class="">07:00 pm</option>
                                                <option title="time" value="20" class="">08:00 pm</option>
                                                <option title="time" value="21" class="">09:00 pm</option>
                                                <option title="time" value="22" class="">10:00 pm</option>
                                                <option title="time" value="23" class="">11:00 pm</option>
                                        </select>
                                        <div class="smallfont"> $vbphrase[tmnt_gmt] </div>
                <!-- / start / end date / time -->       
</div>
                </div>
        <if condition="$tmnt[type] == $vbphrase[tmnt_lms]">
                <div class="fieldset">
                        $vbphrase[tmnt_scoretype] (Singular Form eg. Point not Points):<br>
                        <input class="bginput" name="scoretype" type="text" id="scoretype" size="40" maxlength="64" value="$scoretype" />
                </div><else />
                <input name="scoretype" type="hidden" value="$scoretype" /></if>
                <if condition="$team">
        <div class="fieldset">
                        Minimum/ Maximum Team Members:<br>
                        <input class="bginput" name="tmin" value="$tmin" size="5" maxlength="3" type="text" />
            <input class="bginput" name="tmax" value="$tmax" size="5" maxlength="3" type="text" />
                </div>
                </if>
        <div class="smallfont">$vbphrase[tmnt_desc]:</div>
                $messagearea <br />
                <fieldset class="fieldset">
                        <legend>$vbphrase[options]</legend>
                        <div style="padding: 3px;">
                                <div><label for="archive"><input name="archive" value="1" id="archive" <if condition="$archive == 1">checked="checked"</if> type="checkbox" />Tournament is closed: Users cannot comment in this tournament</label></div>
                                <div><label for="sticky"><input name="sticky" value="1" id="sticky" <if condition="$sticky == 1">checked="checked"</if> type="checkbox" />Tournament is sticky: Tournament remains at top of tournament listings</label></div>                               
                        </div>
                </fieldset>
                </div>
        </div>
        <div style="margin-top: 6px;">
                <input class="button" name="edit" type="submit" id="edit" value="$vbphrase[tmnt_edit]" />
        <input class="button" value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php&do=view&id=$id'" type="button" />
        </div>
    </form>
        </td>
</tr>
</tbody>
</table>

tnmt_editann:
Code:

$vBeditTemplate[clientscript]
<form action="" name="vbform" method="post" enctype="multipart/form-data" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"><span class="smallfont" style="float:right"><strong>$vbphrase[announcement]</strong>: <a href="competitions.php?do=viewannouncement&amp;id=$id">$title</a></span> $vbphrase[tmnt_editann] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:3px">
            <tr>
              <td class="smallfont">$vbphrase[title]:</td>
            </tr>
            <tr>
              <td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="100" />
              </td>
            </tr>
          </table>
          <div class="smallfont">$vbphrase[announcement]:</div>
          $messagearea
        </div>
      </div>
      </div>
      <div style="margin-top:6px">
<input type="hidden" name="do" value="updateannouncement" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="id" type="hidden" value="$id" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
        <input name="edit" type="submit" id="edit" value="$vbphrase[tmnt_edit]" />
        <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=viewannouncement&amp;id=$id'" type="button" />
      </div></td>
  </tr>
</table>
</form>

tnmt_editrules:
Code:

$vBeditTemplate[clientscript]
<form action="" name="vbform" method="post" enctype="multipart/form-data"
<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>
>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat">$vbphrase[tmnt_editrules] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <div class="smallfont">$vbphrase[tmnt_rules]:</div>
          $messagearea
        </div>
      </div>
      </div>
      <div style="margin-top:6px">
<input type="hidden" name="do" value="updaterules" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
        <input name="edit" type="submit" id="edit" value="$vbphrase[tmnt_edit]" />
        <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=rules'" type="button" />
      </div></td>
  </tr>
</table>
</form>

tmnt_editteam:
Code:

$vBeditTemplate[clientscript]
<form action="" name="vbform" method="post" enctype="multipart/form-data"
<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>
>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"><span class="smallfont" style="float:right"><strong>$vbphrase[tmnt_team]</strong>: <a href="competitions.php?do=viewteam&amp;id=$id">$teamname</a></span> $vbphrase[tmnt_editteam] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:3px">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamname]:</td>
            </tr>
            <tr>
              <td><input name="title" type="text" id="title" size="60" maxlength="100" value="$teamname" />
              </td>
            </tr>
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamslogan]:</td>
            </tr>
            <tr>
              <td><input name="slogan" type="text" id="slogan" size="60" maxlength="100" value="$slogan" />
              </td>
            </tr>
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamtags]:</td>
            </tr>
            <tr>
              <td><input name="tag" type="text" id="tag" size="60" maxlength="80" value="$tag" />
              </td>
            </tr>
          </table>
          <div class="smallfont">$vbphrase[tmnt_shortteamdescription]:</div>
          $messagearea
          <br />
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[tmnt_newteamlogo]</legend>
                                        <table width="100%" border="0" cellpadding="0" cellspacing="3">
                                        <tbody><tr valign="bottom">
                                                <td>
                                                        <span class="smallfont">Upload Image From Your Computer</span>
                                                        <br />
                            <input name="teamlogo" size="30" type="file" id="teamlogo" class="bginput" />
                                                        <br>
                                                        <span class="smallfont">Note: Leave field above blank to keep current team logo</span>
                                                </td>
                                        </tr>
                                        </tbody></table>
                                </fieldset>
        </div>
      </div>
      </div>
      <div style="margin-top:6px">
<input type="hidden" name="do" value="updateteam" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="id" type="hidden" value="$id" />
<input name="oldteamlogo" value="$team[teamlogo]" type="hidden" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
        <input name="edit" type="submit" id="edit" value="$vbphrase[tmnt_edit]" />
        <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=viewteam&amp;id=$id'" type="button" />
      </div></td>
  </tr>
</table>
</form>

tmnt_ladder_edit:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody><tr>
        <td class="tcat">$vbphrase[ladder_editing]</td>
</tr>
<tr>
        <td class="thead">$vbphrase[title]: <span style="font-weight: normal;"> $title </span></td>
</tr>

<tr>
        <td class="panelsurround" align="center">
<form action="" method="post" enctype="multipart/form-data" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 4)"</if>>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="id" type="hidden" value="$id" />
<input name="status" type="hidden" value="$status" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<input name="noplayers" type="hidden" value="$noplayers" />
<input type="hidden" name="do" value="updateladder" />
        <div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
                <table style="margin-bottom: 3px;" border="0" cellpadding="0" cellspacing="0">
                <tbody><tr>
                        <td class="smallfont" colspan="3">$vbphrase[ladder_title]</td>
                </tr>
                <tr>
                        <td>
                                <input class="bginput" name="title" type="text" id="title" size="40" maxlength="64" value="$title" />
                        </td>
                </tr>
                </tbody></table>
                <if condition="$team">
        <div class="fieldset">
                        Minimum/ Maximum Team Members:<br>
                        <input class="bginput" name="tmin" value="$tmin" size="5" maxlength="3" type="text" />
            <input class="bginput" name="tmax" value="$tmax" size="5" maxlength="3" type="text" />
                </div>
                </if>
        <div class="smallfont">$vbphrase[ladder_description]:</div>
                $messagearea <br />
                <fieldset class="fieldset">
                        <legend>$vbphrase[options]</legend>
                        <div style="padding: 3px;">
                                <label for="archive"><input name="archive" value="1" id="archive" <if condition="$archive == 1">checked="checked"</if> type="checkbox" />Ladder is closed: Users cannot join or challenge in this ladder</label>
                                <div><label for="sticky"><input name="sticky" value="1" id="sticky" <if condition="$sticky == 1">checked="checked"</if> type="checkbox" />Ladder is sticky: Ladder remains at top of ladder listings</label></div>                               
                        </div>
                </fieldset>
                </div>
        </div>
        <div style="margin-top: 6px;">
                <input class="button" name="edit" type="submit" id="edit" value="$vbphrase[submit]" />
        <input class="button" value="$vbphrase[cancel]" onclick="window.location.href='competitions.php?do=viewladder&amp;id=$id'" type="button" />
        </div>
    </form>
        </td>
</tr>
</tbody>
</table>

tmnt_ladder_new:
Code:

$vBeditTemplate[clientscript]
<form action="" method="post" enctype="multipart/form-data" name="vbform" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 5)"</if>>
<input type="hidden" name="do" value="insertladder" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"> $vbphrase[tmnt_newladder] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[ladder_title]:</td>
            </tr>
            <tr>
              <td><input name="title" type="text" id="title" class="bginput" size="60" />
              </td>
            </tr>
          </table>
                  <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont" nowrap="nowrap">$vbphrase[tmnt_pot_long]:</td>
            </tr>
                        <tr>
              <td><select name="pot" id="pot"><option value="0" selected="selected" title="pot">$vbphrase[tmnt_players]</option><option value="1">$vbphrase[tmnt_teams_short]</option></select>
              </td>
                        </tr>
                  </table>
          <div class="smallfont">$vbphrase[ladder_desc]:</div>
          $messagearea </div>
      </div>
      <div style="margin-top:6px"><input name="add" type="submit" id="add" value="$vbphrase[submit]" /> <input value="$vbphrase[cancel]" onclick="window.location.href='competitions.php?do=ladders'" type="button" /></div></td>
  </tr>
</table>
</form>


Jaxel 02-09-2009 03:08 AM

tmnt_list_top:
Code:

<div class="vbmenu_popup" id="tmnt_display_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr><td class="thead">Tournament Display Options</td></tr>
                <tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;order=$order&amp;sort=$sort">Show All Tournaments</a></td></tr>
                <tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;order=$order&amp;sort=$sort&amp;filter=1">Show Tournaments Awaiting Players Only</a></td></tr>
                <tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;order=$order&amp;sort=$sort&amp;filter=2">Show Tournaments In Progress Only</a></td></tr>
                <tr><td class="vbmenu_option"><a href="competitions.php?do=tournaments&amp;order=$order&amp;sort=$sort&amp;filter=3">Show Finished Tournaments Only</a></td></tr>
                </table>
</div>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
                <td class="tcat" width="100%" colspan="9"><strong>$vbphrase[tmnts]</strong> <span class="smallfont">($filter)</span></td>
</tr>
<tr align="center">
<td class="thead" align="left" width="100%" nowrap="nowrap">
<span style="float: right;"><a href="competitions.php?do=tournaments&amp;order=DESC">Created</a></span>
<a href="competitions.php?do=tournaments&amp;order=ASC&amp;sort=title">$vbphrase[tmnt_name]</a><if condition="$sort == 'title'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=date">$vbphrase[tmnt_date]</a><if condition="$sort == 'date'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=type">$vbphrase[tmnt_type]</a><if condition="$sort == 'type'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=noplayers">$vbphrase[tmnt_players]</a><if condition="$sort == 'noplayers'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=views">$vbphrase[tmnt_views]</a><if condition="$sort == 'views'"> $reverse</if>
</td>
<td class="thead" nowrap="nowrap">
<a href="competitions.php?do=tournaments&amp;order=DESC&amp;sort=status">$vbphrase[tmnt_status]</a><if condition="$sort == 'status'"> $reverse</if>
</td>
<td class="vbmenu_control" nowrap="nowrap" id="tmnt_display"><a href="#tmnt_display"></a><script type="text/javascript">vbmenu_register("tmnt_display");</script>
</td>
</tr>

tmnt_new:
Code:

$vBeditTemplate[clientscript]
<form action="" method="post" enctype="multipart/form-data" name="vbform" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 5)"</if>>
<input type="hidden" name="do" value="inserttmnt" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"> $vbphrase[tmnt_newtmnt] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_title]:</td>
            </tr>
            <tr>
              <td><input name="title" type="text" id="title" class="bginput" size="60" />
              </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont" nowrap="nowrap">$vbphrase[tmnt_pot_long]:</td>
                          <td class="smallfont" nowrap="nowrap" style="padding-left: 30px;">$vbphrase[tmnt_noplayersteams]:</td>
            </tr>
            <tr>
              <td>                <select name="pot" id="pot">
                                                <option value="0" selected="selected">$vbphrase[tmnt_players]</option>
                                                <option value="1">$vbphrase[tmnt_teams_short]</option>
                                        </select>
              </td>
                          <td style="padding-left: 30px;">
                                        <select name="noplayers" id="noplayers">
                                                <option title="noplayers">2</option>
                                                <option title="noplayers">4</option>
                                                <option title="noplayers">8</option>
                                                <option title="noplayers">16</option>
                                                <option title="noplayers">32</option>
                                                <option title="noplayers">64</option>
                                                <option title="noplayers">128</option>
                                                <option title="noplayers">256</option>
                                        </select>
              </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
                        <tr>
              <td class="smallfont">$vbphrase[tmnt_type]:</td>
            </tr>
            <tr>
              <td>                <select name="type" id="type">
                                                <option value="1v1">$vbphrase[tmnt_1v1]</option>
                                                <option value="LMS">$vbphrase[tmnt_lms]</option>
                                        </select>
              </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td>
              <fieldset class="fieldset">
                                        <legend>$vbphrase[tmnt_date]</legend>
              <!-- start / end date / time -->
                                        <select name="month" title="Month" tabindex="1">
                                                <option value="1" title="Month">January</option>
                                                <option value="2" title="Month">February</option>
                                                <option value="3" title="Month">March</option>
                                                <option value="4" title="Month">April</option>
                                                <option value="5" title="Month">May</option>
                                                <option value="6" title="Month">June</option>
                                                <option value="7" title="Month">July</option>
                                                <option value="8" title="Month">August</option>
                                                <option value="9" title="Month">September</option>
                                                <option value="10" title="Month">October</option>
                                                <option value="11" title="Month">November</option>
                                                <option value="12" title="Month">December</option>
                                        </select>
                                        <input class="bginput" style="font-size: 11px;" name="day" value="$thisday" size="3" maxlength="2" title="Day" tabindex="1" type="text" />
                                        <select name="year" title="year" tabindex="1">
                                                <option title="year" value="2009">2009</option>
                                                <option title="year" value="2010">2010</option>
                                                <option title="year" value="2011">2011</option>
                                                <option title="year" value="2012">2012</option>
                                        </select>
                                        <select name="time" title="time" tabindex="1">
                                                <option title="time" value="0">Midnight</option>
                                                <option title="time" value="1">01:00 am</option>
                                                <option title="time" value="2">02:00 am</option>
                                                <option title="time" value="3">03:00 am</option>
                                                <option title="time" value="4">04:00 am</option>
                                                <option title="time" value="5">05:00 am</option>
                                                <option title="time" value="6">06:00 am</option>
                                                <option title="time" value="7">07:00 am</option>
                                                <option title="time" value="8">08:00 am</option>
                                                <option title="time" value="9">09:00 am</option>
                                                <option title="time" value="10">10:00 am</option>
                                                <option title="time" value="11">11:00 am</option>
                                                <option title="time" value="12">Midday</option>
                                                <option title="time" value="13">01:00 pm</option>
                                                <option title="time" value="14">02:00 pm</option>
                                                <option title="time" value="15">03:00 pm</option>
                                                <option title="time" value="16">04:00 pm</option>
                                                <option title="time" value="17">05:00 pm</option>
                                                <option title="time" value="18">06:00 pm</option>
                                                <option title="time" value="19">07:00 pm</option>
                                                <option title="time" value="20">08:00 pm</option>
                                                <option title="time" value="21">09:00 pm</option>
                                                <option title="time" value="22">10:00 pm</option>
                                                <option title="time" value="23">11:00 pm</option>
                                        </select>
                                        <div class="smallfont"> $vbphrase[tmnt_gmt] </div>
                                <!-- / start / end date / time -->
                </fieldset>
              </td>
            </tr>
          </table>
          <div class="smallfont">$vbphrase[tmnt_desc]:</div>
          $messagearea </div>
      </div>
      <div style="margin-top:6px"><input name="add" type="submit" id="add" value="$vbphrase[tmnt_add]" /> <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=tournaments'" type="button" /></div></td>
  </tr>
</table>
</form>

tmnt_newannouncement:
Code:

$vBeditTemplate[clientscript]
<form action="" method="post" enctype="multipart/form-data" name="vbform" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 4)"</if>>
<input type="hidden" name="do" value="insertannouncement" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"> $vbphrase[tmnt_newannouncement] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[title]:</td>
            </tr>
            <tr>
              <td><input name="title" type="text" id="title" class="bginput" size="60" maxlength="85" />
              </td>

            </tr>
          </table>
          <div class="smallfont">$vbphrase[announcement]:</div>
          $messagearea
      </div>
      <div style="margin-top:6px"><input name="add" type="submit" id="add" value="$vbphrase[tmnt_add]" /> <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=announcements'" type="button" /></div></div></td>
  </tr>
</table>
</form>

tmnt_newteam:
Code:

$vBeditTemplate[clientscript]
<form action="" method="post" enctype="multipart/form-data" name="vbform" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>>
<input type="hidden" name="do" value="insertteam" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input name="userid" type="hidden" value="$bbuserinfo[userid]" />
<input name="username" type="hidden" value="$bbuserinfo[username]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr>
    <td class="tcat"> $vbphrase[tmnt_newteam] </td>
  </tr>
  <tr>
    <td class="panelsurround" align="center"><div class="panel">
        <div style="width:$stylevar[formwidth]" align="left">
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamname]:</td>
            </tr>
            <tr>
              <td><input name="title" type="text" id="title" class="bginput" size="60" maxlength="85" />
              </td>

            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamslogan]:</td>
            </tr>
            <tr>
              <td><input type="text" class="bginput" name="slogan" id="slogan" size="60" />
              </td>
            </tr>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
            <tr>
              <td class="smallfont">$vbphrase[tmnt_teamtags]:</td>
            </tr>
            <tr>
              <td><input type="text" class="bginput" name="tag" id="tag" size="60" />
              </td>
            </tr>
          </table>
          <div class="smallfont">$vbphrase[tmnt_shortteamdescription]:</div>
          <div id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</div> </div>
      </div>
      <div style="margin-top:6px"><input name="add" type="submit" id="add" value="$vbphrase[tmnt_add]" /> <input value="$vbphrase[tmnt_cancel]" onclick="window.location.href='competitions.php?do=teams'" type="button" /></div></td>
  </tr>
</table>
</form>



All times are GMT. The time now is 07:39 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.03045 seconds
  • Memory Usage 1,993KB
  • 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
  • (11)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
  • (5)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