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
  #342  
Old 09-22-2008, 08:29 PM
gamerscms gamerscms is offline
 
Join Date: Aug 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djlotus View Post
Not sure how difficult it would be, but giving the team creator, the ability to invite users based on either user ID or user name, would be great.
I second that would be great to control and organise your team invites.
Reply With Quote
  #343  
Old 09-22-2008, 08:32 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
remove this line from product file
Code:
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup ADD tournamentpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
OK removed the other line, now I get this,

Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE tmnt_tmnts ADD threadid INT(10) UNSIGNED DEFAULT '0' NOT NULL ;;

MySQL Error : Duplicate column name 'threadid'
Error Number : 1060
Date : Monday, September 22nd 2008 @ 04:31:44 PM
Script : http://warriornation.net/Forum/admin...=productimport
Referrer : http://warriornation.net/Forum/admin...?do=productadd
IP Address : xxx
Username : WNxWakko
Classname : vB_Database
Reply With Quote
  #344  
Old 09-22-2008, 08:38 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I think I got the hang of this. It was one after another after another removing them until it finally installed.

Ok sweet. Fetch ID works. I can join tournaments, I can add members. I can create teams.

1. How do you delete teams?
2. One bug in teams, when you edit a team that has the ' in the name, it auto adds a / before it in the text box. It will keep adding more // and /// everytime you edit.
3. All my past tourny stats still show in hall of fame even though I uninstalled the mod. Now that is back, there is lingering data. Anyway to delete or clear any of that?
Reply With Quote
  #345  
Old 09-22-2008, 09:28 PM
KHALIK KHALIK is offline
 
Join Date: May 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you delete teams? as someone has created a inappropriate team name.

Can you restrict it to 1 create a team per userid only, rather than having multiple teams created by 1 member/userid.

The most important are these 2 things, especially able to delete teams.

p.s. Disabled create function until, moderators/admins/leaders can able to delete teams.
Reply With Quote
  #346  
Old 09-22-2008, 10:25 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think we should have the option to restrict to 1 team. In my case, it would be realistic to have someone running multiple teams.

I found another issue. When I click on the Join Team link of someone elses team, the page refreshes, the join link disappears and it doesnt join me to that team.
Reply With Quote
  #347  
Old 09-23-2008, 06:45 AM
valendono valendono is offline
 
Join Date: Feb 2008
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Any other usergroups you belong to

try adding spaces so $days = cal_days_in_month(CAL_GREGORIAN, $month, $year);

I'll be adding option to 'switch' players in next version

I will make that default in next version
I try it. I see on 2.3.7 already space on it. And I upgrade it. still got error messages invalid date.

What I do next is I put print out ..
Code:
	echo $day;
	echo '<br />';
	echo $month;
	echo '<br />';
	echo $year;
	$hour = $vbulletin->input->clean_gpc('p', 'time', TYPE_INT);
	$days = cal_days_in_month(CAL_GREGORIAN, $month, $year);

And I got 0 result..

Quote:
0
0
0

Warning: cal_days_in_month() [function.cal-days-in-month]: invalid date. in [path]/tournament.php on line 546
and if I remove this
Code:
	if ($day > $days OR $day == 0) {
		$errormessage = "Error: Invalid Date";
        eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
	}
I can create tournament but the date come to 30-11-99 (default ?)

Last I can make tournament normally is 13-09-08. I dont know which version it is.

Any chance to fix it ?
Reply With Quote
  #348  
Old 09-23-2008, 07:30 AM
Antek's Avatar
Antek Antek is offline
 
Join Date: May 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Next ideas:
- integration with vBExperience (medals in postbit)
- switch off/on details in postbit
Reply With Quote
  #349  
Old 09-23-2008, 09:35 AM
OcR Envy's Avatar
OcR Envy OcR Envy is offline
 
Join Date: May 2008
Location: Boston
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Teams?! Yay! Clicks install!

Some Bugs:

Quote:
Could not find phrase ''.
Missing phrase is displayed on all redirect messages?

No way remove the thread option from the details display?

images/buttons/report.gif is not a default image location on a 3.7 install

When selecting "Team" from the options it still only gives 1v1 and LMS as the types. Obviously this options are not correct for team play.

Also my styling is way off when adding/editing a tournament. This could possibly be my custom skin but I'm not sure. All I got for now guess I still need to wait for a few more updates to go live
Reply With Quote
  #350  
Old 09-23-2008, 11:17 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KHALIK View Post
How do you delete teams? as someone has created a inappropriate team name.
Can you restrict it to 1 create a team per userid only, rather than having multiple teams created by 1 member/userid.
The most important are these 2 things, especially able to delete teams.
p.s. Disabled create function until, moderators/admins/leaders can able to delete teams.
I'm going to be adding more permissions for editing/ deleting teams. Including team limit per usergroup.
Quote:
Originally Posted by WNxWakko View Post
I found another issue. When I click on the Join Team link of someone elses team, the page refreshes, the join link disappears and it doesnt join me to that team.
You will not display on that the team list until you have been accepted by leader of the team.
Quote:
Originally Posted by valendono View Post
I try it. I see on 2.3.7 already space on it. And I upgrade it. still got error messages invalid date.

What I do next is I put print out ..
Code:
    echo $day;
    echo '<br />';
    echo $month;
    echo '<br />';
    echo $year;
    $hour = $vbulletin->input->clean_gpc('p', 'time', TYPE_INT);
    $days = cal_days_in_month(CAL_GREGORIAN, $month, $year);
And I got 0 result..

and if I remove this
Code:
    if ($day > $days OR $day == 0) {
        $errormessage = "Error: Invalid Date";
        eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
    }
I can create tournament but the date come to 30-11-99 (default ?)

Last I can make tournament normally is 13-09-08. I dont know which version it is.

Any chance to fix it ?
Your create new tournament form is not 'posting' the data properly, hence the variables are just 0. Have you reverted the template tmnt_new?
Quote:
Originally Posted by OcR Envy View Post
Missing phrase is displayed on all redirect messages?
I havent added any redirect messages so it should just redirect without delay.
Quote:
No way remove the thread option from the details display?
I'll look into removing it as option in admincp.
Quote:
images/buttons/report.gif is not a default image location on a 3.7 install
I think it is, it is used for reporting posts. (I have not added any custom images to my board)
Quote:
When selecting "Team" from the options it still only gives 1v1 and LMS as the types. Obviously this options are not correct for team play.
For team 1v1 you will need to selected type: '1v1' and 'teams', etc.

Quote:
Also my styling is way off when adding/editing a tournament. This could possibly be my custom skin but I'm not sure. All I got for now guess I still need to wait for a few more updates to go live
I believe I might have used <th> tags accidentally. I'll fix it in next version.
Reply With Quote
  #351  
Old 09-23-2008, 11:30 AM
OcR Envy's Avatar
OcR Envy OcR Envy is offline
 
Join Date: May 2008
Location: Boston
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I havent added any redirect messages so it should just redirect without delay.
I have redirect messages turned on in vbulletin options, I think this may be causing it.

I stand corrected on the report icon, somehow it's missing from mine.
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 02:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15495 seconds
  • Memory Usage 2,385KB
  • 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
  • (5)bbcode_code
  • (15)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
  • (4)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