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
  #882  
Old 04-28-2011, 06:37 PM
Daisuke Niwa Daisuke Niwa is offline
 
Join Date: May 2007
Location: Massachusetts
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey! Heads up, I think I found a potential exploit that would allow for SQL Injection with the username. We encountered this error with a member who likes to use apostrophe's in their username:

Quote:
Invalid SQL:
SELECT COUNT(*) AS countrows FROM tmnt_ladder_players WHERE lid='1' AND (userid='4043' OR username='.:'Xari') AND active=1;

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 'Xari') AND active=1' at line 1

Luckily the user's name wasn't " justanothermember'; DROP TABLE users; -- " or similar.


Is there any way to sanitize the username input without breaking the entire mod?
Reply With Quote
  #883  
Old 04-28-2011, 07:36 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daisuke Niwa View Post
Hey! Heads up, I think I found a potential exploit that would allow for SQL Injection with the username. We encountered this error with a member who likes to use apostrophe's in their username:




Luckily the user's name wasn't " justanothermember'; DROP TABLE users; -- " or similar.


Is there any way to sanitize the username input without breaking the entire mod?
Fixed in v4.4.0 (attached in first post).

If you still encounter this mysql error, can you pm/email me the page which is causing it, thanks.
Reply With Quote
  #884  
Old 04-28-2011, 07:37 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rammieone View Post
I have just noticed that some match reports comments dont appear to show up after making them on ladder matches any ideas???

It just says No comments yet...
There was a limit on the comment query by mistake, fixed in v4.4.0
Reply With Quote
  #885  
Old 04-28-2011, 07:41 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank again Banana
Reply With Quote
  #886  
Old 04-28-2011, 07:51 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated and thats fixed my issues thank you!!!
Reply With Quote
  #887  
Old 04-29-2011, 10:05 AM
Killerhands Killerhands is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I'm currently using this mod on vb 4.1.3 and am trying to get the custom profile field on the bracket to work.

I changed the setting in the vB Options section to allow custom profile fields in tournament brackets. I then input "{vb:raw userinfo.field5}" into the tmnt_bracket template but it doesn't show up on new tournaments or previous tournaments.

Am I doing something wrong or is there a bug I'm not aware of?
Reply With Quote
  #888  
Old 04-29-2011, 04:12 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HighJinx View Post
I'm shockingly bad at coding, using firebug to implement images underneath the rounds, this is a request to have an option to insert different maps/images at different rounds when creating tournaments.

Is this possible?

Keep up the good work
v4.4.1+ (to be released...)

Create vBulletin Hook in AdminCP with hook location tll_tmnt_view_post_query and the following php code
PHP Code:
if ($tid==45)
{
$template_hook['round1'] .= "<br />Map 1";
$template_hook['round2'] .= "<br />Map 2";
$template_hook['round3'] .= "<br />Map 3";
$template_hook['round4'] .= "<br />Map 4";
$template_hook['round5'] .= "<br />Cup";

45 is the tournament id
Reply With Quote
  #889  
Old 04-29-2011, 04:23 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Killerhands View Post
Hi, I'm currently using this mod on vb 4.1.3 and am trying to get the custom profile field on the bracket to work.

I changed the setting in the vB Options section to allow custom profile fields in tournament brackets. I then input "{vb:raw userinfo.field5}" into the tmnt_bracket template but it doesn't show up on new tournaments or previous tournaments.

Am I doing something wrong or is there a bug I'm not aware of?
It will only affect Single Elimination tournaments and 4 player/team double elimination tournaments.

I've tested it and it works for me...

Whereabouts are you putting it in tmnt_bracket? - I would suggest around the line:
HTML Code:
<a href="<vb:if condition="$team">competitions.php?do=viewteam&amp;id={vb:raw userinfo.userid}<vb:else />{vb:link member, {vb:raw userinfo}}</vb:if>">{vb:raw userinfo.username}</a>
Reply With Quote
  #890  
Old 04-30-2011, 09:13 AM
Zaelock Zaelock is offline
 
Join Date: Sep 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to remove Uncategorised Ladders, Uncategorised Leagues and Uncategorised Tournaments
Reply With Quote
  #891  
Old 04-30-2011, 03:58 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zaelock View Post
Is there a way to remove Uncategorised Ladders, Uncategorised Leagues and Uncategorised Tournaments
Yes, in v4.4.1+

Create vBulletin plugin with hook location tll_prepare_index and php code
PHP Code:
if (!$c)
{
$show['no_uncat'] = true;

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 09:36 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.05511 seconds
  • Memory Usage 2,380KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_php
  • (6)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
  • (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