Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum Tournaments & Ladders Details »»
Forum Tournaments & Ladders
Version: 2.8.4, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 08-27-2008 Last Update: 06-05-2011 Installs: 683
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

[Script Demo] [Version History]
Compatible with 3.6.x, 3.7.x, 3.8.x

Tournament Description:
Users or teams can join tournaments. Once full the tournament starts. In single elimination tournaments competitors progress through rounds of tournament with the number of rounds depending on the number of players in tournament which is set on tournament creation. Last Man Standing Tournaments also supported.
[Screenshot of Single Elimination Tournament (Slightly outdated)]

Ladder Description:
Users or teams can also join ladders and challenge other players or teams in the ladder. Elo rating system is used which calculates the difficultly of a match according to the players' ranks and this is taken into account when the ranks are updated after the match is finished.

Feature List:
  • Tournament Features
    • Hall of Fame (Top 10 Tournament Players)
    • Permissions can be set per usergroup
      (AdminCP -> Usergroups -> Usergroup Manager -> {Select Usergroup} -> Tournament Permissions)
    • Tournaments start automatically when no slots are left
    • Tournaments have proper Date/ Time converted to users timezone and DST
    • 2 Tournament Modes: Last Man Standing and Single Elimination
    • Filter Tournaments Displayed according to Tournament Status
    • Tournament User Stats Page
    • 'Start Tournament' for Single Elimination adds bye players and creates brackets
  • Tournament options
    • Turn on/off tournament
    • Create Thread on Tournament Creation
    • Tournament Stats in Member Profile
    • Tournament Stats in Postbit (Can be turned on/off in Tournament Options)
    • Comments per page
    • Tournament description length shown in tournament List
  • Tournament Display
    • LMS realtime ranking shows if players are equal positions
    • Tournament View Counter
    • Tournament creator and last edited by notes at bottom of tournament
  • Tournament Moderators can...
    • Add/edit tournament (description uses vBulletin Editor)
    • Edit tournament type if not started yet
    • Add Score type (points, wins, kills, deaths, etc.) for LMS tournaments
    • Tournament mods can remove players if tournament hasn't started
    • Increase/ Decrease Tournament Slots
    • Pm all competitors with custom message and title (permissions set to bypass max pm recipients restrictions)
    • Add players (Ajax/Javascript userid fetch)
    • Swap players in LMS mode
    • Create/ edit/ delete announcements
  • Competitors can...
    • Players can remove themselves if tournament hasn't started
    • Users can PM themselves the details of the tournament
    • Sign up to tournament only once
  • Tournament Comments
    • Uses vBulletin Editor
    • Comment Display with user avatars and last edited by note
    • User able to edit/delete their own comment (subject to permissions)
    • Tournament moderators can edit all comments
    • If applicable under username on comments Tournament Creator, Tournament Competitor or Tournament Winner
    • Comment paging
  • Teams
    • Users can apply to teams
    • Leader can accept/ decline users
    • Team profile shows team stats
    • Team list
    • Can limit teams created by user (in usergroup options)
    • Fields: team website, gamertag, logo, description, slog, tags
  • Team leader can...
    • delete players from his/her team
    • Promote players in his/her team to Leader or Co-Leader
    • Join tournaments
  • Ladder Features
    • Elo rating system (Javascript Elo calculator @ ladders.php?do=elorating)
    • Players last activity (date)
    • Winning/ Losing Streak
    • Longest Winning Streak
    • Admin can submit scores/ add challenges
    • Report/ dispute challenges
  • Ladder Display
    • leader-board for each ladder
    • last 10 upcoming/ past matches per ladder
    • separate page for accepting/rejecting challenges and submitting score (have to be accepted by other user)
  • Tournament Announcements
    • Tournament Moderators can create/edit announcements
    • Uses forum last visit for announcement read marking
    • Shows last user to edit announcement
  • Categories
    • Share categories for tournaments/ ladders
    • Category displays in navbar when viewing ladder/ tournament
Installation:
  1. Follow instructions included in .zip
  2. If you are using v3.6.x you will need to download this product file and import it
    (It contains memberinfo css which is used in profile comments in v3.7.x and is in used in Tournaments Comments and Team Profiles)
  3. Click Install
Future Features:
  • Add more Different Tournament Types (Double Elimination and Round Robin)
  • Allowing a player to only join one team per ladder
  • Use 3.7/3.8 notification system
  • My Teams page
  • Easy way to Re-arrange users in tournament
  • Limit number of challenges per week/day
  • Ladder match finder
  • Custom message included in challenge pm sent to user
Donations:
  • If you want to donate please click 'Support Developer'
Translations:

Download Now

File Type: zip vB_Tournaments+Ladders v2.8.4.zip (71.8 KB, 2059 views)
File Type: zip Security_Patch_for_vB_Tournaments_and_Ladders_v2.8.4.zip (9.5 KB, 254 views)

Screenshots

File Type: jpg createtournament.jpg (78.0 KB, 0 views)
File Type: jpg jointournament.jpg (89.2 KB, 0 views)
File Type: jpg tournamentpermissions.jpg (123.5 KB, 0 views)
File Type: jpg exampletournament.jpg (68.0 KB, 0 views)
File Type: jpg tmnt_comments.jpg (107.0 KB, 0 views)
File Type: jpg reprogressplayer.jpg (67.4 KB, 0 views)
File Type: jpg teamviewleader.jpg (76.8 KB, 0 views)
File Type: jpg teamlist.jpg (43.1 KB, 0 views)

Show Your Support

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

Comments
  #1332  
Old 02-07-2009, 09:39 PM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #1333  
Old 02-08-2009, 12:26 AM
LieuR LieuR is offline
 
Join Date: Feb 2009
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you use 2.7.4 can you set Type 1on1 ? Or is that on the Beta ? Thanks greate mod really needed it
Reply With Quote
  #1334  
Old 02-08-2009, 04:14 AM
xuanhuy238 xuanhuy238 is offline
 
Join Date: Apr 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #1335  
Old 02-08-2009, 02:22 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LieuR View Post
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 View Post
This is an error on my site when I try do regress a team.
Fixed in beta 3

Quote:
Originally Posted by Jaxel View Post
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
Reply With Quote
  #1336  
Old 02-08-2009, 09:12 PM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #1337  
Old 02-08-2009, 10:28 PM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #1338  
Old 02-08-2009, 11:08 PM
haggles haggles is offline
 
Join Date: Oct 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Reply With Quote
  #1339  
Old 02-09-2009, 01:38 AM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #1340  
Old 02-09-2009, 03:07 AM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #1341  
Old 02-09-2009, 03:08 AM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
Reply


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 10:02 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.06638 seconds
  • Memory Usage 2,471KB
  • Queries Executed 26 (?)
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
  • (11)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete