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
  #2242  
Old 03-29-2015, 02:31 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fields View Post
Unfortunately, this option is already set to Yes
Apologises, I misread your message. If you reject a challenge, then your opponent won't receive a PM.
Reply With Quote
  #2243  
Old 03-30-2015, 01:41 PM
Fields Fields is offline
 
Join Date: Jun 2014
Location: Germany
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Apologises, I misread your message. If you reject a challenge, then your opponent won't receive a PM.
Too bad, is it possible to set it up?
Reply With Quote
  #2244  
Old 04-16-2015, 07:31 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A bug in your code that prevents access to the member profile pages.

In the file includes/functions_tal.php you have the following code:
Code:
if (!in_array(THIS_SCRIPT, array('ladders', 'competitors', 'tournaments', 'teams')) && !$vbulletin)
{
	global $vbulletin;
	print_r("<!-- Non-standard page, trying global vbulletin variable -->\r\n");
}
if (!$vbulletin->options['tmnt_active'] && $vbulletin->userinfo['usergroupid'] != 6)
{
	print_r("<!-- vBulletin Tournaments &amp; Ladders disabled in AdminCP -->\r\n");
	print_no_permission();
}
If the tournament mod isn't active then memberinfo.php is not accessible to non-admins. The code should be changed by having the second if statement nested inside the first, so the tournament mod active check only executes on tournament mod specific pages.

Code:
global $vbulletin; //just globalize no need to test if it exists you don't gain anything
if (in_array(THIS_SCRIPT, array('ladders', 'competitors', 'tournaments', 'teams')))
{
	print_r("<!-- Non-standard page, trying global vbulletin variable -->\r\n");
	if (!$vbulletin->options['tmnt_active'] && $vbulletin->userinfo['usergroupid'] != 6)
	{
		print_r("<!-- vBulletin Tournaments &amp; Ladders disabled in AdminCP -->\r\n");
		print_no_permission();
	}
}
This way if you are on a tournament specific page and the tournament mod is disabled you won't be able to access it unless you are an admin. This also makes sure that the member profile page (since includes/functions_tal.php is included in the User Profile Tab (member_complete hook) plugin is accessible even if the tournament mod is inactive.
Reply With Quote
  #2245  
Old 04-19-2015, 04:02 PM
killerford's Avatar
killerford killerford is offline
 
Join Date: Jan 2012
Location: United Kingdom
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not letting me add the files onto our server, any reason why?
Reply With Quote
  #2246  
Old 05-03-2015, 10:40 PM
Colossal31 Colossal31 is offline
 
Join Date: Mar 2015
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I got these messages:

Strict Standards: Only variables should be assigned by reference in /public_html/forums/teams.php on line 88
Strict Standards: Only variables should be assigned by reference in /public_html/forums/tournaments.php on line 112

I am aware of the php 5.4/5.5 changes and already have these hidden with the aforementioned hiding code in the inlcude/config.php file. However these errors are still showing any help will be appreciated
Reply With Quote
  #2247  
Old 05-04-2015, 06:36 AM
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Colossal31 View Post
Ok I got these messages:

Strict Standards: Only variables should be assigned by reference in /public_html/forums/teams.php on line 88
Strict Standards: Only variables should be assigned by reference in /public_html/forums/tournaments.php on line 112

I am aware of the php 5.4/5.5 changes and already have these hidden with the aforementioned hiding code in the inlcude/config.php file. However these errors are still showing any help will be appreciated
Not sure on the second error but the first one is fixed by this:

Try changing line 88 in /teams.php

$actiontemplates['none'] =& array_merge($actiontemplates['teams'], $actiontemplates['viewteam']);

To

$actiontemplates['none'] = array_merge($actiontemplates['teams'], $actiontemplates['viewteam']);
Reply With Quote
  #2248  
Old 05-04-2015, 07:44 PM
iraqiboy90 iraqiboy90 is offline
 
Join Date: Sep 2012
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Can view Tournaments" option on the usergroup, if set to "No" will lock the usergroup out from accessing any member.php (member profile) page including theirs.

Plugin disabled until this is fixed....
Reply With Quote
  #2249  
Old 05-06-2015, 07:08 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iraqiboy90 View Post
"Can view Tournaments" option on the usergroup, if set to "No" will lock the usergroup out from accessing any member.php (member profile) page including theirs.

Plugin disabled until this is fixed....
You can try the fix I posted a few posts above yours (https://vborg.vbsupport.ru/showpost....postcount=2243) and see if that solves your problem for you.
Reply With Quote
  #2250  
Old 06-11-2015, 05:59 AM
iJosh iJosh is offline
 
Join Date: May 2013
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Can anyone help me?

When ever I view a tournament I get the following error:

Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/functions_tal.php on line 1168

php ver: 5.59

any help?
Reply With Quote
  #2251  
Old 06-15-2015, 02:04 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iJosh View Post
Hello,

Can anyone help me?

When ever I view a tournament I get the following error:

Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/functions_tal.php on line 1168

php ver: 5.59

any help?
Change line 1168 as follows:

Original:
Code:
$userhtml = preg_replace('|\{([a-zA-Z0-9_-]*)\}|e', ' $userinfo["$1"] ', $vbulletin->options['tmnt_userhtml']);
New Version:
Code:
$userhtml = preg_replace_callback('|\{([a-zA-Z0-9_-]*)\}', function($m){return $userinfo[$m[1]];}, $vbulletin->options['tmnt_userhtml']);
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 01:03 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.08640 seconds
  • Memory Usage 2,368KB
  • 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
  • (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
  • (3)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