When I first tried to create a tournament with TurnierAdmin, all was looking nice, but...
When going to the page to details about the tournament I just created (CS CPL-Double elimination), I could see the textarea (Turnierprize), then a header "WWCL" and... end of page. Not even some submit button.
I haven't filled anything about WWCL in intranet options. Since I don't want to use it, I didn't even found a way to deactivate it.
By the way, I didn't want THAT tournament to be wwcl. I looked in the code and found these lines (around L 450) :
if ($in_max_teams < 4)
$in_typ = "single";
if ($in_typ == ('single' || 'double_wwcl'))
$in_wwcl = 1;
Since I selected CPL-Double elimination, the $in_wwcl should NOT be set at 1 (it was, I checked in phpMyAdmin, table t_settings, and I could deactivate WWCL for that tournament there).
$in_typ == ('single' || 'double_wwcl')
I don't know that syntax for tests, but I tried with
$in_typ == 'single' || $in_typ =='double_wwcl'
and it seems to work better (WWCL is not activated on non-WWCL game types).
But how did it come that tournament manager got stuck on that "wwcl" part of the form on tournament details ? another bug or have I forgotten something ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I first tried to create a tournament with TurnierAdmin, all was looking nice, but...
When going to the page to details about the tournament I just created (CS CPL-Double elimination), I could see the textarea (Turnierprize), then a header "WWCL" and... end of page. Not even some submit button.
I haven't filled anything about WWCL in intranet options. Since I don't want to use it, I didn't even found a way to deactivate it.
By the way, I didn't want THAT tournament to be wwcl. I looked in the code and found these lines (around L 450) :
if ($in_max_teams < 4)
$in_typ = "single";
if ($in_typ == ('single' || 'double_wwcl'))
$in_wwcl = 1;
Since I selected CPL-Double elimination, the $in_wwcl should NOT be set at 1 (it was, I checked in phpMyAdmin, table t_settings, and I could deactivate WWCL for that tournament there).
$in_typ == ('single' || 'double_wwcl')
I don't know that syntax for tests, but I tried with
$in_typ == 'single' || $in_typ =='double_wwcl'
and it seems to work better (WWCL is not activated on non-WWCL game types).
But how did it come that tournament manager got stuck on that "wwcl" part of the form on tournament details ? another bug or have I forgotten something ?
Please try instead of CPL- WWCL-DE, 'cause the tournament-system is the same. CPL will be removed when I be more or less home again.
I tried with wwcl-de and it works well.