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

Reply
 
Thread Tools
Tournaments, Ladders & Leagues Manager v4.x Details »»
Tournaments, Ladders & Leagues Manager v4.x
Version: 7.1.0, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 4.x.x Rating:
Released: 03-22-2010 Last Update: 10-17-2015 Installs: 687
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

Code:
**** Copyright by bananalive.org **** Email: admin [at] bananalive.org


Modification Description
This modification allows you to manage tournaments and ladders on your forum. It provides interactibility both for forum members and forum admin.
Tournament Types:Ladder Description:
Users or teams can 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:
  • General Features
    • All pages are XHTML valid
  • 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
    • 3 Tournament Modes: Last Man Standing, Single Elimination, Double Elimination and Round Robin
    • 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
    • Require check-in before tournaments
    • 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
    • Search Free Agents for new team members
  • 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
    • Match Finder
  • 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/ leagues
    • Category displays in navbar when viewing ladder/ tournament/ league
Installation:
  1. Follow instructions included in .zip
  2. Click Install
Premium Features:
  • Pay to play/ credits system
    • Opportunity to earn money for your forum
    • Uses PayPal for payments
  • Support Tickets
  • Leagues into Knockout Stage
  • Live Match Finder
Suggestions:
  1. Please post any suggestions/ comments about this modification and I will try and implement them

** Don't forgot to click Mark as Installed **

Download Now

File Type: zip vB_Tournaments+Ladders_v6.5.9_LITE.zip (456.5 KB, 435 views)
File Type: zip vB_Tournaments+Ladders_v7.1.0_Lite.zip (462.4 KB, 221 views)

Show Your Support

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

Comments
  #472  
Old 10-10-2010, 02:10 AM
ThatEbayGuy ThatEbayGuy is offline
 
Join Date: Apr 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way you could help me tweak the Elo rating? I have a guy who is 4-1 on the bottom of the ladder and that makes no sense to me.
Reply With Quote
  #473  
Old 10-10-2010, 01:01 PM
The_Rascal The_Rascal is offline
 
Join Date: Aug 2008
Location: UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when clicking on the competitions navbar button
Quote:
Internal Server Error

Mismatch between target GID (100) and GID (527) of file "/***/*****/***********/public_html/forums/competitions.php"
Is this something to do with my host?

We are running 4.07
Reply With Quote
  #474  
Old 10-10-2010, 01:20 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by owning_y0u View Post
getting a DB error

Code:
atabase error in vBulletin 4.0.7:

Invalid SQL:

			SELECT *
			FROM NCe_tmnt_teams
			WHERE teamid IN ();

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
Error Number  : 1064
Request Date  : Friday, October 8th 2010 @ 11:54:50 PM
Error Date    : Friday, October 8th 2010 @ 11:54:50 PM
Script        : http://next-century.eu/competitions.php?do=freeagent&id=17
Referrer      : http://next-century.eu/competitions.php?do=freeagents
IP Address    : xx.xx.xx.xx
Username      : Owning
Classname     : vB_Database
MySQL Version : 5.0.90
Have you uploaded the latest competitions.php allowing over-write?
Reply With Quote
  #475  
Old 10-10-2010, 01:24 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThatEbayGuy View Post
Is there any way you could help me tweak the Elo rating? I have a guy who is 4-1 on the bottom of the ladder and that makes no sense to me.
You would need to change one of these equations in ladders.php...
PHP Code:
$p_f 1/(10^($dr*sqrt($k)/2000)+1); 
PHP Code:
$newrank_u $rank_u 4*sqrt($k)*(1-$p_f
If you've got any improvements i'll happily add them.
Reply With Quote
  #476  
Old 10-10-2010, 01:25 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those who have edited tmnt_bracket template to include extra user details in tournament brackets (and are finding bracket lines to be incomplete) this is now fixed for next version.
Reply With Quote
  #477  
Old 10-11-2010, 02:41 PM
SB Staff SB Staff is offline
 
Join Date: Sep 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
You would need to change one of these equations in ladders.php...
PHP Code:
$p_f 1/(10^($dr*sqrt($k)/2000)+1); 
PHP Code:
$newrank_u $rank_u 4*sqrt($k)*(1-$p_f
If you've got any improvements i'll happily add them.
I have seen 2 basic methods for scoring.

1) SIMPLE METHOD - So much for Win and so much for Loss. We use this. 100 XP pts for Win and -33 for Loss. Regardless of team rank it is the same.

2) COMPELX METHOD - where the scoring is effected by rank. A higher rank team losses more XP points to a loss to a lower rank team and a Higher rank team wins fewer points for a win over a lower ranked team. The theory is to keep the higher ranked teams playing more higher ranked teams and not the lower ranked teams just to stay on the top of the ladder. However, the down side is the higher ranked team will not want to play a lower ranked team due to more points lost if they lose. I believe this system or something similiar is used by ladder sites.

In either method developed, would be wonderful if in the admin section each team can choose which system they want to use or can change the point values themselves. We used to set the point values on the table format (method 2) so no matter what method the result was still 100 pts for Win and -33 for loss. Just to keep it simple.

Just in case you are interested - here is some more info. on the #2 complex system:

SUMMARY:

If you play a team that has the same "Level" number as you, the winner increases XP by 100 points and the loser decreases XP by 100 points.

If the level of difference is 1, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 90 and loser loses 90 but if the losers xp points is greater then the winner xp points. The winner gets 120 and the loser losses 110.

If the level of difference is 2, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 80 and loser loses 80 but if the losers xp points is greater then the winner xp points. The winner gets 140 and the loser losses 120.

If the level of difference is 3, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 70 and loser loses 70 but if the losers xp points is greater then the winner xp points. The winner gets 160 and the loser losses 130.

If the level of difference is 4, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 60 and loser loses 60 but if the losers xp points is greater then the winner xp points. The winner gets 175 and the loser losses 140.

If the level of difference is 5, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 50 and loser loses 50 but if the losers xp points is greater then the winner xp points. The winner gets 190 and the loser losses 150.

If the level of difference is 6, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 40 and loser loses 40 but if the losers xp points is greater then the winner xp points. The winner gets 205 and the loser losses 160.

If the level of difference is 7, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 30 and loser loses 30 but if the losers xp points is greater then the winner xp points. The winner gets 215 and the loser losses 170.

If the level of difference is 8, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 20 and loser loses 20 but if the losers xp points is greater then the winner xp points. The winner gets 215 and the loser losses 170.

If the level of difference is 9, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 10 and loser loses 10 but if the losers xp points is greater then the winner xp points. The winner gets 215 and the loser losses 170.

If the level of difference is 10, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 5 and loser loses 5 but if the losers xp points is greater then the winner xp points. The winner gets 215 and the loser losses 170.


Bananalive - I will send you a PM with some more info. that may be useful on system 2 just in case you are interested in it.
Reply With Quote
  #478  
Old 10-11-2010, 09:20 PM
champendk champendk is offline
 
Join Date: Dec 2009
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one SB...
Reply With Quote
  #479  
Old 10-12-2010, 02:58 AM
oooh em geee oooh em geee is offline
 
Join Date: Nov 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't seem to find the dispute button for a challenge, and I get a database error when I create a Ladder for Players.

vBulletin 4.0.6
Tournament Plugin 4.2.4
Reply With Quote
  #480  
Old 10-12-2010, 10:46 AM
InfoAddict InfoAddict is offline
 
Join Date: Mar 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't change a players points back to 0? Any idea why?
Reply With Quote
  #481  
Old 10-13-2010, 03:59 AM
oooh em geee oooh em geee is offline
 
Join Date: Nov 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oooh em geee View Post
I can't seem to find the dispute button for a challenge, and I get a database error when I create a Ladder for Players.

vBulletin 4.0.6
Tournament Plugin 4.2.4
I figured out why I got a database error. It shows the database error after turning the: "Join User Tables to User Profile Tables" on.

- Also I can only dispute matches in a Ladder with players. In the team Ladder there is no dispute option.

- The submit a lose button is also only available in a tournament with players. Its not there in a tournament with teams.

- The screenshot of proof field is only available in player Ladders, and not in team Ladders for some reason.
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:33 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.05405 seconds
  • Memory Usage 2,377KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_php
  • (5)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
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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