vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Forum Tournaments & Ladders (https://vborg.vbsupport.ru/showthread.php?t=189375)

bananalive 08-27-2008 10:00 PM

Forum Tournaments & Ladders
 
1 Attachment(s)
[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:

bananalive 08-28-2008 02:32 PM

Version History

v2.8.4: 18 May 2009
- fixed edit comment link
- security fix


v2.8.3: 5 May 2009
- fixed elo rating bug
- fixed edit player


v2.8.2: 2 May 2009
- deleting categories
- improved elo rating system
- other minor fixes


v2.8.1: 11 April 2009
- When no categories, ladders displays instead of uncategories ladders (same for tournaments)
- cannot view categories not assigned to ladders/ tournaments
- fix link to ladder challenges in ladder tools
- delete categories
- delete ladder link fixed


v2.8.0: 8 April 2009
- Added website, gamertag fields for teams
- Improved layout for Ladder Challenges (team section)
- Pop-up with tournaments joined/ won
- Reduced queries on Tournament Display by 1 (or 2 if there are no comments)
- No of comments in Tournament Details
- Team members can 'Leave Team'
- Tournament/ Ladder Categories


v2.7.8: 24 March 2009
- Improved layout for Ladder Challenges (player section)
- Bug fixes for 64 player Single Elimination tournaments


v2.7.7: 11 March 2009
- fixed bug with single elimination 2 people tournament
- fixed bug with pm'ing self tournament details


v2.7.6: 19 February 2009
- Start Tournament (in Tournament Tools)
- Bye Players (automatically added for single elimination tournaments when 'Start tournament' is clicked; they cannot be moved to next round; uses $vbphrase[tmnt_bye_player] - can be blank)


v2.7.5: 4 February 2009
- Additional avatar resizing in ladder and tournament comments
- Date of tournament changed to default 2009
- Profile stats only on showthread & showpost
- Fixed few uncached templates
- Admins (usergroupid: 6) can view mod when it is set as inactive in vboptions
- Latest announcements scrolling at top of mod
- Reduced product file by 35%
- Fixed ladder bug where last activity of new players is wrong apart from on the first page
- Error messages moved to phrases for easier translation
- Easier processing of 'Admin Add Player' - userid field hidden, requires exact member's name, redirects to add another player


v2.7.4: 27 December 2008
- Fixed joining tournament error

v2.7.3: 23 December 2008
- Admin can add ladder matches
- Admin can submit score for ladder match
- JavaScript Elo Rating Calculator at comeptitions.php?do=elorating


v2.7.2: 17 December 2008
- Fixes from pre-release
- Script optimisation
- Special thanks to IR15H for validating HTML


v2.7.1: 10 December 2008
- More ladder statistics

v2.7.0: 9 December 2008
- Script optimisation

v2.6.9: 8 December 2008
- Fixed security flaw

v2.6.8: 16 November 2008
- Fixed reported bugs

v2.6.7: 15 November 2008
- Paging for ladder competitors definable in vB Options
- Improved ladder template
- reduction/ optimisation in queries per page
- missing templates added to template cache


v2.6.6: 10 November 2008
- Ladder competitors can leave ladders (and rejoin at later date with score intact - stops cheating)
- Those that can edit ladders can make ladder competitors leave ladder (the competitor can rejoin at later date with score intact)
- Your Challenges displayed for single ladders


v2.6.5: 8 November 2008
- Removed image widths for edit buttons (so they display correctly for custom buttons)
- Added spacing in ladder template after Ranking, Recent matches, Upcoming Matches
- Fixed Join Ladder link displaying on Recent Matches & Upcoming Matches pages for ladder competitors


v2.6.4: 6 November 2008
- Viewing team page auto-checks and corrects Team's Member Count
- Recent Matches added to Ladders
- Upcoming matches added to Ladders


v2.6.3: 4 November 2008
- Fixed admin add player not updating team noplayers bug
- fixed array error on team profiles


v2.6.2: 3 November 2008
- Fixed LMS tournament minor bug
- Added ajax edit score for LMS tournament (double click on score to edit it and click away to save it)
- Special Usergroups can add Forum Members to Any Team without confirmation from team leader or the forum member


v2.6.1: 1 November 2008
- Team Ladders
- Fixed tournament stats in profile
- Close ladder - no new challenges/ joins
- Sticky Ladders - appear at top of ladder list
- Global name for modification (set in Tournament Options)
- Updated design of few templates


v2.5.9: 22 October 2008
- Improved team list
- + Search by first letter
- + Paging


v2.5.8: 20 October 2008
- New Tournament Options
- + set bracket color
- + set number of tournaments/ ladders/ announcements to display on front page
- Fixed error with delete team member
- Team Leaders can promote team members to Leader or Co-Leader
- Tournament stats in postbit can be turned on/off in Tournament Options


v2.5.7: 16 October 2008
- if player lost the last game to have a down arrow, if player won the last match have a up arrow
- added more space in brackets for rounds not yet started
- fixed space in top navigation
- drop down menu on ladder click competitors username


v2.5.5: 15 October 2008
- Swap/ replace players for Single Elimination Tournaments
- newly designed tournament display template


v2.5.4: 13 October 2008
- Added sticky & close tournament options
- Bug Fixes
- Added maximum/ minimum members in team for teams joining tournament
- K-Value (used for ladder elo rating system) settable in Tournament Settings


v2.5.3: 12 October 2008
- Ban userids
- Added redirect messages to all redirects


v2.5.2: 11 October 2008
- Elo rating system for ladders
- Ladders winning/ losing streak & last ladder activity (date)
- Uses images of style instead of default style


v2.4.9: 6 October 2008
- Bug/ error fixes

v2.4.8: 5 October 2008
- Small fix for 32 player Single Elimination Tournament
- Fix for index
- Rules editable by moderators
- Added bbcode: [newbox=$1]$2[/newbox] Example


v2.4.7: 4 October 2008
- Option to delete announcements
- Fixed multiple team name issue
- New Top Navigation Menu
- Changed Side Navigation
- Added index page
- Navbar link auto-insert uses hooks
- vBoptions navbar name change
- added tournament rules (edit template tmnt_rules - for each style - will be changed in next version :D)


v2.4.6: 2 October 2008
- Bug Fixes
- installation/uninstallation compatibility for those who have lost some tables or columns in their database
- Tournament Announcements



v2.4.4: 30 September 2008
- Combined with Ladder Modification


v2.4.2: 28 September 2008
- Bug Fixes


v2.4.1: 27 September 2008
- Added more team logos options
- Fixed some flaws
- Changed 1v1 phrase to Single Elimination


v2.4: 25 September 2008
- Added team logos
- Changed template for new team and edit team
- Added Delete player from team
- Left Tournament Navigation can be turned off in tournament options
- Fixed possible permissions flaw


v2.3.9: 24 September 2008
- Fixed bug for full inbox
- Fixed several errors
- Allowed bbcode for Team Tags
- Added swap player for LMS
- Added sidebar navigation


v2.3.8: 23 September 2008
- Leader can delete tournaments
- Added usergroup permission to edit/delete all teams


v2.3.7: 22 September 2008
- Fixed WOL Error

v2.3.6: 22 September 2008
- Several bug fixes
- Added teams


v2.2.1: 13 September 2008
- Regress Player (if tournament hasnt finished)
- Improved tournaments results and progression for Single Elimination


v2.2: 13 September 2008
- Ajax/Javascript userid fetch for add player
- Removed permissions for guests to PM details to self
- Tournament Description added to Tournament List
- Tournament Description length in Tournament Settings


v2.1: 12 September 2008
- Custom phrases fixes

v2.0.x: 9 September 2008
- Improved Timestamps
- Tournaments have proper Date/ Time
- Changed database table to allow translations
- Tournament Moderators pm all competitors with custom message and title (permissions set to bypass max pm recipients restrictions)


v1.9: 4 September 2008
- Shows user and time of last edit of comments

v1.8.1: 3 September 2008
- Fixed comments

v1.8: 2 September 2008
- Increase/ Decrease Tournament Slots
- Fixed possible security problem
- Users can PM themselves the details of the tournament
- Added Icons to Tournament Information (All icons included in default vBulletin Style - No Extras Image Upload Necessary)


v1.7: 2 September 2008
- Template Caching Fix
- Comment paging (set in vbulletin options)
- Delete/ Remove player if tournament hasn't started (players can remove themselves and tournament mods can remove all players)
- Avatars stay in correct dimensions for comments
- Added Who's Online Plugins (made by glorify)


v1.6: 1 September 2008
- Javascript LMS fix
- Edit tournament type if not started yet
- Add Score type (points, wins, kills, deaths, etc.) for LMS tournaments
- Edit Comments


v1.5: 1 September 2008
- Fixed Single Elimination Template Error
- Added Avatars to Tournament Comments
- Hall of Fame (Top 10 Tournament Players)


v1.4b: 31 August 2008
- Fixed Missing Template

v1.4a: 31 August 2008
- Fixed MYSQL Error

v1.4: 31 August 2008
- Fixed Permissions
- Tournament Stats in Member Profile
- Tournament Stats in Postbit
- Add Players
- LMS Ranking Improved (Shows if players are equal positions)
- Tournament View Counter
- Latest Comment at Bottom


v1.3a: 30 August 2008
- Fixed Create Thread glitch

v1.3: 30 August 2008
- Improved Single Elimination Results Layout
- Custom Score Type enabled for LMS Tournaments


v1.2: 30 August 2008
- Added create thread on Tournament Creation
- Enabled Filtering of Tournaments By Status


v1.1: 29 August 2008
- Fixed $vbphrases bug
- Added Tournament Player Stats


v1.0: 28 August 2008
- Initial Release

RvG2 08-28-2008 02:40 PM

cool idea... :D

thanks for creating this kind of mod

LCN2007 08-28-2008 02:42 PM

Interesting no actual games right?

This is just a may to make rosters correct?

bananalive 08-28-2008 02:43 PM

Quote:

Originally Posted by LCN2007 (Post 1609091)
Interesting no actual games right?

This is just a may to make rosters correct?

correct

PGAmerica 08-28-2008 02:50 PM

So, this does not create the tournament game, just the tournament listing? does it match up players to compete with each other?

Antek 08-28-2008 02:52 PM

Nice mod, but... how can I join to tournament??

features 4 next version:
- turn off/on script in admin cp,
- ban user ID option,
- calendar script in Create Tournament page - not a date field like now.

Anyway good job bananalive

bananalive 08-28-2008 02:57 PM

Quote:

Originally Posted by Antek (Post 1609101)
Nice mod, but... how can I join to tournament??

features 4 next version:
- turn off/on script in admin cp,
- ban user ID option,
- calendar script in Create Tournament page - not a date field like now.

Anyway good job bananalive

Thanks for ideas.

Edit Permissions in Tournament so that your usergroup can 'Join Tournaments' and then click on tournament you want to join, and under tournament details there is link to 'Join Tournament'.

schlottkej 08-28-2008 03:11 PM

allow for individual scoring (admin can add type of score and points)
stats management (save users stats)

VERY awesome start :)

RK1gaming 08-28-2008 03:16 PM

I like this add-in ... just have to think where it would fit - what we have been looking for is something that would do gaming nights with certain games .. and people would sign up to play them.

The tie into the calender would be sweet

AzzidReign 08-28-2008 03:34 PM

What does LMS mean?

Could we get an option for teams? And if that is selected, slots open up to add players names so you know the roster per team? That would be SO awesome :)

Great start! I'll definitely be using this even if this doesn't add anything for teams.

- Call of Duty 5 World at War Glitches

christicehurst 08-28-2008 03:50 PM

LMS means Last Man Standing

Antek 08-28-2008 04:22 PM

Quote:

Originally Posted by bananalive (Post 1609105)
Edit Permissions in Tournament so that your usergroup can 'Join Tournaments' and then click on tournament you want to join, and under tournament details there is link to 'Join Tournament'.

I can't see this link on my board :( Any idea? Permissions are OK.

Jezlad 08-28-2008 04:51 PM

Woah, this looks awesome.

I'll consider adding this bad boy once i've chatted with my team. Good job by the look of it.

stickskills 08-28-2008 05:41 PM

I'm loving the idea, but I'll install once the next version comes out :). A few things to think about:

- Adding teams or players, depending on tournament.
- Add game brackets in (Call of Duty 4 tourny category, Halo 3 tourny category, etc.)
- Have it tie in where users can view how many tournaments a user has been in, career wins/losses/etc.

Great mod though!

Antek 08-28-2008 06:26 PM

Next good ideas, btw CoD4 rox! :D
Maybe this features:
- auto create thread or announcement with details about tournament,
- send PM to users with info about competition ;)

Hornstar 08-28-2008 07:33 PM

How do people progress through the tournaments? who decides on the winner in each round?

What are some examples of tournaments you could have?

hjogi 08-28-2008 07:45 PM

very interesting, my compliments!

but i'm waiting next realease.

schlottkej 08-28-2008 08:26 PM

- The ability to add additional forum types
- data output


Check out www.trackwrestling.com for other ways to display the tournaments :)

EWGF 08-28-2008 09:36 PM

Fi-na-lly someone has made this for vB!

I need this very much, will check it immediately.



Edit: I can't join any tournaments, even with the permissions set correct :confused:

Also you have a doctype several times in the body:
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

cmmguy 08-29-2008 04:55 AM

I can see this used for Softball or baseball tournaments(you would be amazed at how many of these go on each weekend!)

Need Bye bracket.
Need double elimination.
Need multiple sub-tournaments that lead to a main tournament.
Need multiple fields to describe the contestant. (maybe use profile fields?)

Nice job!

OcR Envy 08-29-2008 09:58 AM

Quote:

Edit: I can't join any tournaments, even with the permissions set correct :confused:



Yea I'm not seeing the join option as well.

Nominated and Installed, I've been waiting a long time for a new tournament addon. Please please please keep developing this.

Additional Requests:

Ladder Display as Tournament Progresses
Team Tournament Option
Double Elimination Option
Keep users tournament record for display on profile page etc..

valendono 08-29-2008 11:16 AM

the pharse gone. how to join the tournament. 3.7.3 tested and buggy.

OcR Envy 08-29-2008 12:14 PM

Thank you for the update banana, join tournament is now working.

However player stats(tournament.php?do=playerstats&id=) is returning a blank white page.

bananalive 08-29-2008 12:16 PM

Quote:

Originally Posted by OcR Envy (Post 1609834)
Thank you for the update banana, join tournament is now working.

However player stats(tournament.php?do=playerstats&id=) is returning a blank white page.

have you re-uploaded tournament.php allowing overwrite

OcR Envy 08-29-2008 01:11 PM

Guess not working now, ty.

EWGF 08-29-2008 01:54 PM

Nice, working now. Nominated.

I'd like to see an option to edit the participants list. I've experienced there are always a couple of people who don't show up or retrait on the last moment. Also when editing a tournament, options like LMS can't be changed. Would be handy, if you accidently click the wrong option.

Hmm, furthermore brackets would be a sweet addition. Also the players stats are great, I hope it can be displayed in the profiles in the future :)

PGAmerica 08-29-2008 06:10 PM

Does anybody actually have this working now? I would love to see this in action before I install it.

AzzidReign 08-29-2008 06:20 PM

Here's a few more suggestions:
- Create Game Category (so we can add our own games to it)
- Keep a history of each game to show who took 1st, 2nd, and 3rd.

bananalive 08-29-2008 06:35 PM

Quote:

Originally Posted by PGAmerica (Post 1610059)
Does anybody actually have this working now? I would love to see this in action before I install it.

It is fully working.

siveriano 08-29-2008 09:13 PM

is not working for me i can create tournaments but my users even me cant join it, how can i fix this please.

ptt: great mod.

Antek 08-29-2008 10:01 PM

bananalive, next ideas (again! :D )
- cup/medal visible in postbit winner's
- hall of fame

Antek

siveriano 08-29-2008 11:49 PM

*bump*
Can some one tell me how to join the teams we dont see the join this tournament botton under the tournament info.

PGAmerica 08-30-2008 02:37 AM

Quote:

Originally Posted by bananalive (Post 1610073)
It is fully working.

I am looking for a live demo. There is not one in the primary post.

Antek 08-30-2008 08:01 AM

Quote:

Originally Posted by siveriano (Post 1610253)
*bump*
Can some one tell me how to join the teams we dont see the join this tournament botton under the tournament info.

Did you tray install 1.1 version? I have got same problem with first 1.0 version, but 1.1 works perfect.

Antek

siveriano 08-30-2008 11:47 AM

ya i just update to 1.2 and its working fine thank you.

Antek 08-30-2008 03:14 PM

I've problem with v1.2 and v1.3:
if I try add tournament with "Create Thread on Tournament Creation" I can't do it and I see error:
Code:

Parse error: syntax error, unexpected '/', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /my_patch/tournament.php(297) : eval()'d code on line 1
Somebody can help me?

Reinhart 08-30-2008 03:54 PM

Works on 3.6.9 as far as I can tell thus far.

Cant seem to get "Results" to show though.
Is there a hook I should change?

elpirao 08-30-2008 04:01 PM

Quote:

Originally Posted by Antek (Post 1610632)
I've problem with v1.2 and v1.3:
if I try add tournament with "Create Thread on Tournament Creation" I can't do it and I see error:
Code:

Parse error: syntax error, unexpected '/', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /my_patch/tournament.php(297) : eval()'d code on line 1
Somebody can help me?

Same Error.

Thx

bananalive 08-30-2008 04:34 PM

Quote:

Originally Posted by Antek (Post 1610632)
I've problem with v1.2 and v1.3:
if I try add tournament with "Create Thread on Tournament Creation" I can't do it and I see error:
Code:

Parse error: syntax error, unexpected '/', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /my_patch/tournament.php(297) : eval()'d code on line 1

Sorry, there was an error in the template which was used to create the thread. I've uploaded the updated version now (v1.3a)

https://vborg.vbsupport.ru/attachmen...7&d=1220117532


All times are GMT. The time now is 04:17 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.02635 seconds
  • Memory Usage 1,890KB
  • 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
  • (4)bbcode_code_printable
  • (10)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