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)

Kaelon 09-11-2008 07:22 PM

This is an awesome modification! I have a very general question about it, though:

What is the difference between an LMS Tournament and a 1v1 Tournament? How do each of them work?

Thank you!

bananalive 09-11-2008 07:39 PM

Quote:

Originally Posted by Kaelon (Post 1620072)
This is an awesome modification! I have a very general question about it, though:

What is the difference between an LMS Tournament and a 1v1 Tournament? How do each of them work?

Thank you!

1v1 tournament is brackets system sometimes called direct elimination, where if a player loses a game, they are out. If they win a game, they are moved into the next round. The winner is last won left.
(example screenshot here)

LMS is where all players are competing together and the winner is the player with highest score

Kaelon 09-11-2008 08:38 PM

Quote:

Originally Posted by bananalive (Post 1620087)
1v1 tournament is brackets system sometimes called direct elimination, where if a player loses a game, they are out. If they win a game, they are moved into the next round. The winner is last won left.
(example screenshot here)

LMS is where all players are competing together and the winner is the player with highest score

Thanks, Bananalive. I have found three critical bugs:

1. Once a tournament is "In Progress", how do you finish it? I clicked on "Finish", but got an error message ("Wrong top score."). Thoughts? I also don't see any way to finish any tournaments or input any scores. Help!

2. If you edit the Tournament after it has received all players, its status will change erroneously from "In Progress" to "Awaiting Players" (even though it is already maxed out on players), preventing you from finishing it. This can be fixed by increasing and then decreasing the number of slots, which then boots the game back to "In Progress". Is this intentional?

3. When I start a Tournament (1v1) between a couple of players, in the Results, I see no names (and have two arrow [>] buttons, but no names telling me who I would be advancing).

Kaelon 09-11-2008 10:11 PM

1 Attachment(s)
So, it looks like this mod isn't even working. Here's what's happening. I go and create my Tournament (a 1v1, which I have renamed the phrase to "Royal"), and when my test user account joins it, they see an empty series of brackets:

https://vborg.vbsupport.ru/attachmen...1&d=1221174625

Then, when I look at the tournament using my Creator/Editor account, I see the following:

https://vborg.vbsupport.ru/attachmen...1&d=1221174625

As you can see, there are no contestant names, and hence, no way to compute results and finish the competition. Did I do something wrong, or is there a fix that I haven't applied? I'm having the same issue with LMS's (which I rephrased to "Competitions"), in that no results pages are being shown at all.

Best of all, when I refresh (navigate away, come back later, etc.), these "empty results" pages totally go away - and nothing shows up. The Tournament is just shown as being "In Progress" without any way to progress/conclude it. (And when I refresh on the end-user account, the empty boxes also disappear.)

Kaelon 09-11-2008 10:20 PM

And I just figured it out: apparently, this has something to do with the Language Phrases. Because I had translated the 1v1 and LMS phrases to English Language versions (just so that users could see them displayed as something else), none of the results would show.

I was able to fix half of it and get LMS events working with translations. The following changes should be made:

Change the template tmnt_new, find:

Code:

            <th width="150">$vbphrase[tmnt_type]</th>
            <td width="80"> <select name="type" id="type"><option>$vbphrase[tmnt_lms]</option><option>$vbphrase[tmnt_1v1]</option></select></td>

replace with:

Code:

            <th width="150">$vbphrase[tmnt_type]</th>
            <td width="80"> <select name="type" id="type"><option value="LMS">$vbphrase[tmnt_lms]</option><option value="1v1">$vbphrase[tmnt_1v1]</option></select></td>

Change the template tmnt_display, find:

Code:

$tmnt[type] $vbphrase[tmnt]: $tmnt[title]
replace with:

Code:

<if condition="$tmnt[type] == 'LMS'">$vbphrase[tmnt_lms]</if>
<if condition="$tmnt[type] == '1v1'">$vbphrase[tmnt_1v1]</if> $vbphrase[tmnt]: $tmnt[title]

and again, same template, find:

Code:

<b>$vbphrase[tmnt_type]:</b></td>
<td class="alt2"><span style="text-align: center;">$tmnt[type] </span></td>

replace with:

Code:

<b>$vbphrase[tmnt_type]:</b></td>
<td class="alt2"><span style="text-align: center;"><if condition="$tmnt[type] == 'LMS'">$vbphrase[tmnt_lms]</if>
<if condition="$tmnt[type] == '1v1'">$vbphrase[tmnt_1v1]</if> </span></td>

This will, at the least, enable the system to record "LMS" and "1v1", even if you're using translated phrases for these two variables. But like I said, I've only gotten this to work with LMS-type Tournaments; my 1v1 Tournaments aren't working yet -- players can join just fine, but afterwards, there is no resultant screen to moderate or show progress. I'm guessing there is another place where the '1v1' value is hard-coded somehow.

Jaxel 09-12-2008 12:39 AM

Just call it Single Elimination, and Double Elimination as it should be.

Kaelon 09-12-2008 03:35 AM

Quote:

Originally Posted by Jaxel (Post 1620248)
Just call it Single Elimination, and Double Elimination as it should be.

Except it's really 1v1 = Single Elimination, and LMS = just a general multi-purpose competition.

bananalive 09-12-2008 03:30 PM

Quote:

1. Once a tournament is "In Progress", how do you finish it? I clicked on "Finish", but got an error message ("Wrong top score."). Thoughts? I also don't see any way to finish any tournaments or input any scores. Help!
It wont let you finish a tournament where you havent put it any results. To input results click Edit in the row corresponding to the players name.
Quote:

2. If you edit the Tournament after it has received all players, its status will change erroneously from "In Progress" to "Awaiting Players" (even though it is already maxed out on players), preventing you from finishing it. This can be fixed by increasing and then decreasing the number of slots, which then boots the game back to "In Progress". Is this intentional?
No, fixed in v2.2 (to be released in few hours)
Quote:

This will, at the least, enable the system to record "LMS" and "1v1", even if you're using translated phrases for these two variables. But like I said, I've only gotten this to work with LMS-type Tournaments; my 1v1 Tournaments aren't working yet -- players can join just fine, but afterwards, there is no resultant screen to moderate or show progress. I'm guessing there is another place where the '1v1' value is hard-coded somehow.
Fixed in v2.2

bananalive 09-12-2008 03:33 PM

To use this mod with v3.6.x you will need to create template memberinfo_css with following css
(This is for the css needed for the comments to be displayed properly)
HTML Code:

<style type="text/css" id="memberinfo_css">
<!--
#content_container {
        width:100%;
        float:$stylevar[left];
        margin-$stylevar[right]:-256px;
}
#content {
        margin-$stylevar[right]:256px;
}
#sidebar_container {
        width:250px;
        float:$stylevar[right];
}

.list_no_decoration {
        list-style-type:none;
        margin:0px;
        padding:0px;
}

div.fixed_width_avatar {
        text-align:center;
        width:60px;
}

/**
* Memberinfo Small
*/
li.memberinfo_small {
        margin-top:6px;
}
li.memberinfo_small div.fixed_width_avatar {
        margin-$stylevar[right]:6px;
}
li.memberinfo_small div.info_bar, #friends li.memberinfo_small div.info_bar {
        border-width:1px 0px 0px 0px;
        margin-bottom:6px;
}
li.memberinfo_small div.info_bar ul {
        padding:6px;
}
li.memberinfo_small ul.friend_im_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}
li.memberinfo_small ul.friend_im_list img {
        vertical-align:middle;
}

/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
        height:105px;
        width:75px;
        overflow:hidden;
        float:$stylevar[left];
        text-align:center;
        margin:1px;
}

/**
* Tabs and Blocks
*/
.content_block {
        margin-bottom:6px;
        padding:$stylevar[cellspacing]px;
}
.content_block .block_row {
        padding:$stylevar[cellpadding]px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}
.content_block .block_title {
        padding:$stylevar[cellpadding]px;
        margin:0px 0px 0px 0px;
}
/*.content_block h4.thead, .content_block .block_title {
        padding:4px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}*/
.content_block .block_footer {
        text-align:$stylevar[right];
        padding:4px;
        margin:$stylevar[cellspacing]px 0px 0px 0px;
}
a.collapse_gadget {
        float:$stylevar[right];
}

/**
* Popup Menus Built With List Markup
*/
ul.vbmenu_popup li {
        padding:4px;
        margin:0px 1px 1px 1px;
        white-space:nowrap;
}
ul.vbmenu_popup li.first {
        margin:1px;
}
ul.vbmenu_popup li.notext {
        font-size:1px;
}

/**
* Override Menu CSS for 'Send Message' Menu
*/
#minicontact_menu li.vbmenu_option, #minicontact_menu li.vbmenu_hilite {
        padding:0px;
        padding-$stylevar[right]:4px;
}
#minicontact_menu li.vbmenu_option img, #minicontact_menu li.vbmenu_hilite img {
        padding:4px;
}

/**
* Profile Field List Title / Value Pairs
*/
dl.profilefield_list dd {
        margin-bottom:3px;
        margin-$stylevar[left]:16px;
}

/**
* Sidebar profile field blocks
*/
#sidebar_container dl.profilefield_list {
        font-size:11px;
}

/**
* Top Panel
*/
#main_userinfo {
        margin-bottom:20px;
}
#main_userinfo #profilepic_cell {
        border-bottom-width:0px;
        padding:4px;
}
#main_userinfo .profilepic_adjacent {
        padding-$stylevar[left]:6px;
}
#main_userinfo h1 {
        font-size:18pt;
        font-weight:normal;
        margin:0px;
}
#main_userinfo h2 {
        font-size:10pt;
        font-weight:normal;
        margin:0px;
}
#reputation_rank {
        float:$stylevar[right];
}
#reputation {
        margin-bottom:6px;
        text-align:$stylevar[right];
}
#rank {
        margin-bottom:6px;
        text-align:$stylevar[right];
}
#send_message_cell {
        padding-bottom:6px;
        text-align:$stylevar[right];
}
#link_bar ul {
        padding:4px;
}
#link_bar li.thead {
        float:$stylevar[left];
        margin-$stylevar[right]:10px;
        white-space:nowrap;
        font-weight:normal;
        background:transparent;
}
#link_bar a {
        text-decoration:none;
}
#link_bar a:hover {
        text-decoration:underline;
}
#activity_info {
        border-top-width:0px;
}
#activity_info div.alt2 {
        padding:4px;
}
#link_bar #usercss_switch_link {
        float:$stylevar[right];
        margin-$stylevar[left]:3px;
        margin-$stylevar[right]:0px;
}

/**
* Visitor Messaging Tab
*/

#qc_error_div {
        text-align:$stylevar[left];
        margin-bottom:6px;
}
#qc_error_header {
        font-weight:bold;
}
#qc_error_okay {
        text-align:$stylevar[right];
}

#message_form {
        display:block;
        margin:0px;
}
#message_form textarea {
        width:98%;
        height:50px;
}
#message_form div.messagetext {
        text-align:$stylevar[left];
}
#message_form div.allowed_bbcode {
        float:$stylevar[left];
}
#message_form div.submit_button {
        text-align:$stylevar[right];
}

#visitor_messaging #inlinemodsel {
        float:$stylevar[right];
}

#visitor_messaging #view_my_conversation_link {
        float:$stylevar[right];
        text-decoration:none;
}

#visitor_message_inlinemod_form {
        margin:0px;
        display:block;
}

#message_list {
        border:none;
}
#message_list li {
        margin-bottom:6px;
}
#message_list div.fixed_width_avatar {
        margin-$stylevar[right]:6px;
        float:$stylevar[left];
}
#message_list div.visitor_message_avatar_margin {
        margin-$stylevar[left]:66px;
}
#message_list div.info_bar {
        border-width:1px 0px 0px 0px;
        margin-bottom:6px;
}
#message_list div.info_bar div.alt2 {
        padding:6px;
}
#message_list div.info_bar a.username {
        /*font-weight:bold;*/
}
#message_list .visitor_message_date {
        float:$stylevar[right];
}
#message_list .group_message_date {
        float:$stylevar[right];
}
#message_list .inlinemod_checkbox {
        float:$stylevar[right];
}
#message_list div.visitor_message_body {
        overflow:auto;
}
#message_list ul.controls {
        margin-top:6px;
        text-align:$stylevar[right];
}
#message_list ul.controls li {
        display:inline;
        margin-$stylevar[left]:6px;
}
#message_list ul.controls a:link, #message_list ul.controls a:visited {
        text-decoration:none;
}
#message_list .deletedmessage{
        float: $stylevar[left]
}

/**
* About Me Tab
*/
#aboutme li.profilefield_category {
        font-weight:bold;
        margin-top:6px;
}
#aboutme dl.profilefield_list {
        font-weight:normal;
        margin:6px 16px 0px 16px;
}
#aboutme dl.profilefield_list dd {
        margin-bottom:6px;
        margin-$stylevar[left]:0px;
}
#aboutme #signature {
        width:100%;
        overflow:auto;
}
#aboutme #simple_aboutme_link {
        text-align: $stylevar[right];
        display: block;
}

/**
* About Me Tab (Alternative)
*/
#aboutme2 dl.profilefield_list dd {
        margin-bottom:6px;
        margin-$stylevar[left]:0px;
}

/**
* Statistics Tab
*/
#stats fieldset.statistics_group {
        margin-top:6px;
}
#stats fieldset.statistics_group ul {
        padding:6px;
}
#stats fieldset.statistics_group ul li {
        margin-bottom:3px;
}

/**
* Statistics Tab (Alternative)
*/
#statistics2 ul.statistics_group li {
        margin-bottom:3px;
}

/**
* Friends Tab
*/
#friends a.edit_friends_link {
        float:$stylevar[right];
}
#friends_mini a.edit_friends_link {
        float:<if condition="$prepared['friendcount']">
$stylevar[left]<else />$stylevar[right]</if>;
        <if condition="$prepared['friendcount']">margin-$stylevar[right]<else />margin-$stylevar[left]</if>:10px;
}

/**
* Infractions Tab
*/
div#infractions.content_block {
        padding:0px;
}

/**
* Contact Info Tab
*/
#contactinfo fieldset {
        margin-bottom:6px;
}
#contactinfo div.fieldset_padding {
        padding:6px;
}
#contactinfo #messaging_list li {
        margin-bottom:3px;
        margin-$stylevar[right]:16px;
        float:$stylevar[left];
        white-space:nowrap;
}
#contactinfo #instant_messaging_list li {
        margin-top:6px;
        margin-$stylevar[right]:6px;
        position:relative;
}
#contactinfo #instant_messaging_list .im_img_link {
        vertical-align: middle;
}
#contactinfo #instant_messaging_list .im_txt_link {
        position:absolute;
        $stylevar[left]:75px;
}
#contactinfo #additional_contact_details dd {
        margin-$stylevar[left]:0px;
        margin-bottom:6px;
}

/**
* Albums Block
*/
#albums_mini_list li {
        text-align:center;
        margin-bottom:6px;
}

/**
* Mini Friends Block
*/

#friends_mini_list a.username {
        display:block;
        margin-top:3px;
}
#friends_mini div.friends_counter {
        padding-bottom:6px;
}

/**
* Groups Block
*/
span.group_count {
        float:$stylevar[right];
}
ul.group_list {
        margin:6px 0px 0px 6px;
}
ul.group_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}
#public_usergroup_list a:link, #public_usergroup_list a:visited {
        text-decoration:none;
}

/**
* Traffic Block
*/
ol.last_visitors_list {
        margin:0px;
        margin-top:6px;
}
ol.last_visitors_list li {
        display:inline;
        margin-$stylevar[right]:3px;
}

$template_hook[memberinfo_css]
-->

</style>


Jaxel 09-12-2008 08:32 PM

Single Elimination
Double Elimination
Last Man Standing
Round Robin

Do you really need anything else?


All times are GMT. The time now is 07:10 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.02702 seconds
  • Memory Usage 1,828KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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