vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Tournaments, Ladders & Leagues Manager v4.x (https://vborg.vbsupport.ru/showthread.php?t=238945)

bananalive 03-22-2010 10:00 PM

Tournaments, Ladders & Leagues Manager v4.x
 
1 Attachment(s)
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 **

bananalive 03-23-2010 08:31 PM

Version History

v4.0.0: 23 March 2010
- First Beta Release

v4.0.6: 29 March 2010
- added avatars to team members
- fixed username popup suggestion boxes
- fixed order on tournament
- fixed left sidebar show/hide tournament types
- fixed tournament stats for profile/postbit
- fixed rules page excess code and made it full width
- added back link for error messages of no title and no description
- 'Edited by' on rules/ announcements now follow Usergroup Permissions -> General Permissions -> Show Edited by note
- other minor glitches and styling issues


v4.0.8: 23 April 2010
- Double Elimination Tournaments (4 or 8 players)
- Fixed pagination for ladder competitors
- Fixed error preventing LMS tournaments being Finished


v4.1.0: 03 May 2010
- Fixed error on editing tournaments when in progress/finished of 'No type'
- Fixed commenting on tournaments


v4.1.4: 14 June 2010
- Images for tournaments and ladders
- Altered layouts for tournaments and ladders
- 2 Category Levels


v4.1.7: 4 August 2010
- Moved some more text into phrases
- Added compatibility for those without the php function 'cal_days_in_month'
- Other minor fixes


v4.1.8: 11 August 2010
- Fixed avatar issue with single elimination tournaments
- Added notification for team creator when his/her team is challenge
- Other minor fixes


v4.1.9: 16 August 2010
- New layout combining ladders & tournaments within categories
- New layout for scrolling announcements at top of page
- Added option to link tournament to ladder and winner gets X points to their elo rating
- Added pm on team ladder challenge
- Added extra tab for ladders, showing which tournaments it is linked to
- New link/page showing 'All Challenges'


v4.2.0: 18 August 2010
- Fixed navbar/re-direct when 'Admin Submitting Score' via Upcoming Matches
- Ajax show more recent matches & upcoming matches
- Improved help, adding some videos where helpful
- Fixed ladder adding player error messages and allowed adding of players who had previously left the ladder


v4.2.1: 29 August 2010
- Added start/end date for ladders
- Added seasons for ladders
- Other minor changes


v4.2.2: 30 August 2010
- Round names at top of each round/column
- Admin can now add multiple players to tournaments (seperate each username by a semi colon ';'))
- Additional fields for Ladder challenges, definable by each ladder


v4.2.4: 8 October 2010
- New challenges will have date/time field, which links into timezones
- Team profile pages will have a new tab for upcoming challenges.
- A new limit on challenging same player in same ladder is being introduced. Setting controlled in admincp options.
- You can also change how ladders are ranked in admincp options.
- For tournaments losing player can now report their lose, progressing their opponent to next round. (Single elimination tournaments only)
- Other minor changes/fixes.


v4.2.7: 31 January 2011
- New top navigation
- New global match finder (look for a match across multiple ladders on one page)
- Option for rules to be displayed under new tab for both tournaments and ladders
- Match comments for Ladder Challenges, All Challenges, Reported Matches, Recent Matches, Your Challenges and Upcoming Matches


v4.2.8: 5 February 2011
- New elo rating calculation
- Fixed show more matches and more matches showing comments
- Added tournaments+ladders joined to team profile
- Added link to hide unranked players


v4.3.0: 17 February 2011
- Teams Match Finder
- Round Robin Tournament Type added - max 14 players/teams
- Other minor edits and fixes


v4.3.1: 2 March 2011
- New Front Page with 'modules'
- New Ladders List view
- Player images (a dynamic image creator - to create an image with ladder information on it (rank & xp). For example for users to put in their signature.)
- Categories counts include sub-cats
- Other minor changes


v4.3.4: 3 April 2011
- League beta

v4.3.5: 5 April 2011
- League
- Double Round Robin
- Added vBulletin Options
- New League is separate page from New Ladder
- Easier new season creation
- New vBulletin Options
- Category banners (supports bb code not html)
- My teams page
- and other minor fixes, additions


v4.3.6: 5 April 2011
- Bug fix

v4.3.7: 10 April 2011
- Improved performance of several pages
- Tournament swap slots
- Ladder Admin Delete Match
- Tournament fixed non-regulation sized single elimination and double elimination tournaments
- New 'Categories' page layout
- other minor fixes


v4.3.9: 25 April 2011
- Ladders and Leagues separated
- Swap Player(s) & Reorganise Brackets improved
- Tournaments/ Ladders button redone - prevents overlap, etc.
- Tournament Restart (allows you to add/remove players/teams, etc.)
- Page optimisation - reduces server usage


v4.4.0: 28 April 2011
- Security release
- Fixes match comment limit bug


v4.4.1: 7 May 2011
- Hooks
- Teams can leave/rejoin ladders
- Can suggest/re-arrange match date


v4.4.2: 9 May 2011
- Bug fix for category counters

v4.4.3: 16 May 2011
- Added user html option for tournaments

v4.5.0: 4 October 2011
- Bug fixes
- League & round robin to 18 players/teams
- Front Page Carousel (Rotating Banners)
- Other minor changes


v4.5.1
- Bug fixes
- Phrasing

bananalive 03-23-2010 08:31 PM

1 Attachment(s)
Screenshots

bananalive 03-23-2010 08:32 PM

1 Attachment(s)
Reserved post for additional screenshots or attachments

ProFifaLeagues 03-23-2010 08:39 PM

Looks great we used this on 3.8 and i will test this tonight too,keep up the good work thanks

balkanboy 03-23-2010 08:43 PM

waiting for demo + screenshots :)

AzzidReign 03-23-2010 10:00 PM

Glad you brought this to 4.0!

smartkidbk5 03-23-2010 11:46 PM

Thank you so much for bringing this to vB4.

Free for all would be a great addon for another tournament type. Also Double elimination would be great! :)

Bouncer222 03-24-2010 01:36 AM

demo link at least please?

Bouncer222 03-24-2010 01:48 AM

looks ok so far
http://www.brotherhoodofgamers.com/competitions.php

KHALIK 03-24-2010 02:25 AM

Bug found.

Ladder Tools link is not working;

URL ................/ladders.php?do=view&id=3#laddertools
When I click on the link, nothing happens.

https://vborg.vbsupport.ru/external/2010/03/17.png


plus unable to "delete" ladders created.

ErickLGonzalez 03-24-2010 04:18 AM

I ended up customizing this ladder script at http://armoredcoreonline.com and did some awesome stuff with it.

Rahstyles 03-24-2010 04:47 AM

Add at Rate player option

Shadawg 03-24-2010 11:53 AM

Glad you are bring this to vb4 :D

bananalive 03-24-2010 03:16 PM

Quote:

Originally Posted by ErickLGonzalez (Post 2009166)
Is there supposed to be a menu for this plugin in the AdminCP? I found the group settings and the Tournament and ladder options under the main setting options, but that's it. Also I confirm the bug, the link is not properly parsed.

How do I add tournaments or announcements?

Click Competitions in the navbar then click new and under the dropdown menu you can create new tournaments, ladders, announcements, etc.

bananalive 03-24-2010 03:17 PM

Quote:

Originally Posted by KHALIK (Post 2009134)
Bug found.

Ladder Tools link is not working;

URL ................/ladders.php?do=view&id=3#laddertools
When I click on the link, nothing happens.

https://vborg.vbsupport.ru/external/2010/03/17.png


plus unable to "delete" ladders created.

Fixed in v4.0.2 beta as part of the Ladder redesign

bananalive 03-24-2010 03:17 PM

Quote:

Originally Posted by smartkidbk5 (Post 2009078)
Thank you so much for bringing this to vB4.

Free for all would be a great addon for another tournament type. Also Double elimination would be great! :)

Before I add new features I'm going to redo the styling and fix any bugs.

KHALIK 03-24-2010 03:56 PM

Another bug found.

https://vborg.vbsupport.ru/external/2010/03/14.jpg

Unable to delete (nothing happens when clicked on)

When clicked on it but nothing happens. I have administrator access with all settings enabled under tournament permission group just for the record. p.s. Thank you for version 4.02 release.

bananalive 03-24-2010 04:32 PM

Quote:

Originally Posted by KHALIK (Post 2009469)
Another bug found.

https://vborg.vbsupport.ru/external/2010/03/14.jpg

Unable to delete (nothing happens when clicked on)

When clicked on it but nothing happens. I have administrator access with all settings enabled under tournament permission group just for the record. p.s. Thank you for version 4.02 release.

Have you re-uploaded clientscript/javascript_competitions.js for latest version?

Also you may need to clear your browser cache as it may be caching the javascript and so not loading the new one

KHALIK 03-24-2010 04:47 PM

It worked.

I logged onto another PC and it worked, therefore it must have been the browser cache.

Thank you.

ErickLGonzalez 03-24-2010 09:24 PM

Another bug:

When you create a ladder and then click on a username and then click on "Challenge Player" link ladders.php?do=insertchal&lid=&u2= you get the following error message: Error. Invalid ladder

betts02 03-24-2010 09:53 PM

Is this the same as the v3.8 od but just coded to work with v4.0 ?

Or is there any changes, additions, etc as i have this on v4.0 already

KHALIK 03-25-2010 02:10 AM

Bugs found.

When users are clicking on;

1) "Join Tournament" nothing happens, even after they have cleared up/removed temp files and browser cache.
-- Possible cache issue? or something.

2) LADDER: When a user insert ladder challenge, he gets a error message something like invalid ladder.

3) TOURNAMENT: The swap player function is not working.

4) TOURNAMENT: As administrator, unable to delete players (no msn typish icon beside player name)

The user groups settings are fine.

bananalive 03-25-2010 03:15 PM

Quote:

Originally Posted by ErickLGonzalez (Post 2009650)
Another bug:

When you create a ladder and then click on a username and then click on "Challenge Player" link ladders.php?do=insertchal&lid=&u2= you get the following error message: Error. Invalid ladder

Fixed in latest version

bananalive 03-25-2010 03:16 PM

Quote:

Originally Posted by betts02 (Post 2009671)
Is this the same as the v3.8 od but just coded to work with v4.0 ?

Or is there any changes, additions, etc as i have this on v4.0 already

Yep this is just the port of it

bananalive 03-25-2010 03:17 PM

Quote:

Originally Posted by KHALIK (Post 2009777)
Bugs found.

When users are clicking on;

1) "Join Tournament" nothing happens, even after they have cleared up/removed temp files and browser cache.
-- Possible cache issue? or something.

2) LADDER: When a user insert ladder challenge, he gets a error message something like invalid ladder.

3) TOURNAMENT: The swap player function is not working.

4) TOURNAMENT: As administrator, unable to delete players (no msn typish icon beside player name)

The user groups settings are fine.

All fixed in latest version (v4.0.3)

SGT.Viper 03-25-2010 03:22 PM

can we get some images?

bananalive 03-25-2010 03:40 PM

Quote:

Originally Posted by SGT.Viper (Post 2010098)
can we get some images?

I've added some here:
https://vborg.vbsupport.ru/showpost....77&postcount=3

Trek 03-25-2010 04:11 PM

Thanks for porting this to vB4! Installing now!

Trek 03-25-2010 04:33 PM

Found one small bug.

The auto insert into quicklinks doesn't appear to work. Nice work as always though, thanks!

Trek 03-25-2010 04:52 PM

A few more things. These might be part of the styling issues you mentioned, but the "Display Order" and "Controls" columns when viewing categories appear to be swapped with each other.

Also, you can change the display order on that screen, but there's no way to save the new order. (editing the categories works fine though, so not too big a deal).

When creating a new tournament, it says the time should be entered in GMT+0. Any way you can make that so it defaults to the member creating it's timezone? Basically GMT+0 it in the background? Less confusion that way.

Another bug:

When editing the rules, you can't save them. You only have an "Edit" and "Cancel" button when editing the rules. Clicking "Edit" returns you to the main competitions page without saving.

KHALIK 03-25-2010 05:30 PM

Quote:

Originally Posted by bananalive (Post 2010096)
All fixed in latest version (v4.0.3)

Thank you, I will keep you updated.

PjDaBadMan 03-25-2010 07:03 PM

cant wait for this to leave the BETA stage... will surely download and install ;D

Revvin 03-25-2010 07:10 PM

Great work! thanks for your continued work on this mod

bananalive 03-25-2010 07:21 PM

Quote:

Originally Posted by Trek (Post 2010145)
Found one small bug.

The auto insert into quicklinks doesn't appear to work. Nice work as always though, thanks!

Thanks, added in next version

bananalive 03-25-2010 07:32 PM

Quote:

Originally Posted by Trek (Post 2010158)
A few more things. These might be part of the styling issues you mentioned, but the "Display Order" and "Controls" columns when viewing categories appear to be swapped with each other.

Also, you can change the display order on that screen, but there's no way to save the new order. (editing the categories works fine though, so not too big a deal).

When creating a new tournament, it says the time should be entered in GMT+0. Any way you can make that so it defaults to the member creating it's timezone? Basically GMT+0 it in the background? Less confusion that way.

Another bug:

When editing the rules, you can't save them. You only have an "Edit" and "Cancel" button when editing the rules. Clicking "Edit" returns you to the main competitions page without saving.

Thanks, fixed category column and editing rules in next version

I will look into re-doing the tournament date+time after all the bugs and styling has been done.

Sayid 03-25-2010 10:09 PM

Many thanks for bringing this to vB4
Can we upgrade from 38 version of this mod without losing any data or everything will gone?

bananalive 03-26-2010 10:37 AM

Quote:

Originally Posted by Sayid (Post 2010287)
Many thanks for bringing this to vB4
Can we upgrade from 38 version of this mod without losing any data or everything will gone?

Yes, if you run an upgrade then no data will be lost.

PjDaBadMan 03-26-2010 08:44 PM

Do you have an estimate on when this will be out of the BETA version? Just dont want to install when there are bugs.

bananalive 03-27-2010 08:49 PM

Quote:

Originally Posted by PjDaBadMan (Post 2010774)
Do you have an estimate on when this will be out of the BETA version? Just dont want to install when there are bugs.

v4.0.5 will be last beta version. Non-beta will be available for download on Monday or Tuesday


All times are GMT. The time now is 11:22 PM.

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.02969 seconds
  • Memory Usage 1,876KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete