Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[PBPG] Tournaments and Ladders Details »»
[PBPG] Tournaments and Ladders
Version: 4.0-0.1 a3, by Carnage Carnage is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.1 Rating:
Released: 01-24-2010 Last Update: 11-04-2010 Installs: 19
Additional Files Is in Beta Stage  
No support by the author.

What does it do?
This is a tournaments and ladders plugin for my Play by post gaming mod. The basic premise is to run tournaments within a forum thread. As of the current version, the only tournament format supported is Single Elimination with no support yet for ladders; however more formats will be included in future releases.

What can I use it for?
This mod is used for running tournaments of any kind. Gaming forums can use this for running tournaments for pretty much any game from snake to TF2. Forums with different themes for example writing or role playing can pitch members against each other in head to head write offs or in character spars.

Live demo
I've now installed this mod on my own forums; a live demo can be seen here:
http://www.giveupalready.com/showthr...ess-Tournament

Features
  • Javascript powered tournaments interface within a forum thread.
  • Members have options to leave and join the tournament
  • Gamesmaster (Person who posts the thread) has options to start the tournament and adjust and options the admin has left open.
  • Once the tournament has started the gamesmaster can post results of games and have tournament standings update in real time.
  • Tournament formats included:
    • Single Elimination
    • Swiss
  • Admin options
    • Set max players
    • Set min players
    • Set/force* players
    • Set/force auto start full tournaments
    • Set/force tournament type
    • Set/force results posting type
    • Options for automatic tournaments (Threads for a plugin eg chess will be auto posted for players; results will be gathered from the plugin)
  • Member options
    • Opponant verified score posting
  • Support for auto posting game threads (for pbpg games)
  • Support for auto harvesting results (for pbpg games)

Planned Features
[s]Struck[/s] out items; are completed and will make the next release.
  • Admin options
    • Option to decide what happens in the event of a draw in an automatic tournament
  • Games master options
    • Kick players
    • Assign other games masters
  • Member options
    • Challenge player (ladders only)
  • Tournament formats
    • Basic ladder
    • Round robin
    • EOL ladder
    • Double elimination
    • Swiss-seed (swiss for x rounds, top n players go into seeded single elimination)
    • 'Football' style ladder
    • 'Prediction' ladder (requested feature)
  • Support for player seeding (by games master, admin or previous performance)
  • Player stats (eg wins/positions/average rank) globally over all tournaments
  • Create tournament from tournament - take the results of a tournament and use them as the basis for another tournament (eg seedings or tournament for top x players only)
  • Admin help
  • player FAQ's
  • Phrasing
  • UI improvements (esp when the number of players is high)

Installation
1. Install Play by post gaming core product
2. Upload contents of upload folder.
3. Import product file.
4. Select the Manage plugin configurations option from the play by post gaming menu
5. Against Tournaments and ladders, select the create new configuration option.
6. Fill out the settings and save.
7. Create or edit an existing forum and assign the configuration you just created to it.
8. Posting threads in that forum will now show a drop-down list to select a confiuration to play; select the configuration you created in 6 and post a thread to start a tournament.

Upgrading
1. Ensure that Play by post gaming core product is upto date. (Beta 3 is latest version as of writing)
2. Upload files overwriting as needed
3. Import product using the allow override option set to yes.
4. Edit any existing configurations and set defaults for the new options.

Uninstallation
1. Edit the forums that have a configuration of this plugin assigned and remove it from the list.
2. Now uninstall the product.
3. Delete the tournaments directory in pbpg_plugins.

Changelog
  • 4.0-0.1 a3
    • Added automatic tournament options
    • Added auto result harvesting from pbpg games
    • Added ability for members to post results for games; verified by the other player
    • Requires beta 4 of core.
  • 4.0-0.1 a2
    • Fixed bug with javascript in IE.
    • Plugin will now not install if you do not have core product installed and upto date.
    • added max/min players admin option
    • added autostart admin/gamemaster option
    • added players admin option
    • added tournement format: swiss.
    • added tournament format setting for admincp
    • added force torunament type for admincp
    • very defensive install/uninstall code
    • minimum core version now 4.0-0.1 b3
  • 4.0-0.1 a1
    • Initial release

Notes
  • You need at LEAST version Beta 4 (4.0-0.1 b4) of pbpg core for this product to work; unfortunatly vb's dependancies system dosn't allow me to enforce this.
  • Set/force means that the admin setting this up can set something as a default, there is also the option to force that default so that it can't be changed by members.
  • In large tournaments (32 players+) the swiss tournament format may in some instances be unable to find suitable pairings in later rounds. If this happens, please report it as a bug so I can fix the issue.

Download Now

File Type: zip [PBPG] Tournaments and Ladders v 4.0-0.1 Alpha 3.zip (17.4 KB, 97 views)

Screenshots

File Type: jpg pbpgtournaments join.jpg (49.4 KB, 0 views)
File Type: jpg pbpgtournaments round2.jpg (57.7 KB, 0 views)
File Type: jpg pbpgtournaments start.jpg (52.2 KB, 0 views)
File Type: jpg pbpgtournaments tournament end.jpg (53.9 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 01-28-2010, 03:02 AM
Covert-OPs_ Covert-OPs_ is offline
 
Join Date: Jul 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I went ahead and put it up on my test site, however when I go to upload the product I receive thie DB error:

Invalid SQL:
SELECT * FROM pbpg_plugin WHERE dir='tournaments';

MySQL Error : Table 'tactical_testforums.pbpg_plugin' doesn't exist
Error Number : 1146
Request Date : Wednesday, January 27th 2010 @ 10:59:39 PM
Error Date : Wednesday, January 27th 2010 @ 10:59:40 PM
Reply With Quote
  #13  
Old 01-28-2010, 08:32 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I went ahead and put it up on my test site, however when I go to upload the product I receive thie DB error:
Did you install this product: https://vborg.vbsupport.ru/showthread.php?t=232900 first? It provides the framework that this mod runs on top of. (including the database tables)

Quote:
1. I think it would be great if there was a way to set a date cut-off for ladders. Once that date is hit then the ladder gives the admin/mod the ability to create a tournament based on the results of the ladder. The top teams would be placed high on the bracket with bye's into the second round/third round depending on the number of participants. It would also matchup teams based on their record from the ladder, so the lowest ranked teams would face the strongest teams(assuming that a bye system is not possible or doesn't make sense). This would create a league/playoff atmosphere around the mod and would be VERY helpful in my opinion.
I've currently only programmed (1) tournament type amongst the planned tournament types is the swiss-seed tournament, which works in a very similar way, however instead of a ladder you get a swiss style tournament. I could probably fairly easilly create a ladder -> single elimination type as well, or i might make this possible in other ways eg a 'create a tournament based off this tournament' button.

Quote:
2. Challenge Details are needed for the ladder. Basically, a place to put in the details of the match in question. A few suggestions would be Map Name, Mode, Number of players needed, Date & Time, Notes.
not something i'd thought of but as i've not written a challenge system yet, this is deffinatly something I can include when I do. I also need to include a method to add a tournament description.

Quote:
The ability to seed players/teams in the tournament bracket.
Already in the planned features
Reply With Quote
  #14  
Old 01-28-2010, 09:34 PM
Covert-OPs_ Covert-OPs_ is offline
 
Join Date: Jul 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright I was able to install it, I did not realize that the other mod was required.

So everything looks ok except for when I go to create a thread using the mod. The "configuration" that I made is there in a drop down but then nothing else works. The "set options", "join" and "start" don't do anything but enter those words in the quick reply box. Also the "configuration" in the admin panel only consists of the event name.
Reply With Quote
  #15  
Old 01-28-2010, 10:56 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
The "set options", "join" and "start" don't do anything but enter those words in the quick reply box.
That is as designed; you can add a comment if desired and then post the reply - the concept behind these mods is 'Play by post' Start won't do anything unless there are two players in the tournament - theres not much point in having a tournament with yourself.

Quote:
Also the "configuration" in the admin panel only consists of the event name.
Reply With Quote
the current version of this mod has no admin configurable options. The next release however will; in order to fix the bug in ie, I needed to update js files in all the pbpg releases and I wanted to add features to both of them before releasing the next update. I plan to get beta 1 of the core product out tomorrow, with releases for this mod and the chess mod following sometime over the weekend, all being well.
Reply With Quote
  #16  
Old 01-29-2010, 12:42 AM
Covert-OPs_ Covert-OPs_ is offline
 
Join Date: Jul 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Carnage- View Post
That is as designed; you can add a comment if desired and then post the reply - the concept behind these mods is 'Play by post' Start won't do anything unless there are two players in the tournament - theres not much point in having a tournament with yourself.



the current version of this mod has no admin configurable options. The next release however will; in order to fix the bug in ie, I needed to update js files in all the pbpg releases and I wanted to add features to both of them before releasing the next update. I plan to get beta 1 of the core product out tomorrow, with releases for this mod and the chess mod following sometime over the weekend, all being well.
Ok but where do you set the type of tournament you want to have?
Reply With Quote
  #17  
Old 01-29-2010, 09:01 AM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Ok but where do you set the type of tournament you want to have?
That will become both a user and admin option once there is more than one type avaliable. (One of the features I want to add to the next release is the swiss tournament type)
Reply With Quote
  #18  
Old 01-31-2010, 04:36 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update version now avaliable. Huge number of changes, see changelog for details.

Make sure you update the pbpg core product before installing/upgrading as this requires the latest version.
Reply With Quote
  #19  
Old 02-05-2010, 12:52 AM
ozpinkpanther ozpinkpanther is offline
 
Join Date: Oct 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working in IE8 !! Firefox seems ok
Reply With Quote
  #20  
Old 02-05-2010, 12:56 AM
PharaohsVizier PharaohsVizier is offline
 
Join Date: Jan 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just wanted to say that this looks like a really cool mod and I'll probably install it soon. Thanks for making it!
Reply With Quote
  #21  
Old 02-05-2010, 01:25 AM
ozpinkpanther ozpinkpanther is offline
 
Join Date: Oct 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed the update and it is working on IE8 now.
As the World Cup is coming soon, it would be nice to have a "Tipping competition" in the forums, participants picking up the winning teams before due date, and the winner gets certain points on a ladder. Is this possible?
Reply With Quote
Reply

Thread Tools

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 11:25 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.04791 seconds
  • Memory Usage 2,345KB
  • 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
  • (8)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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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