Page 1 of 1

Project type

Posted: Mon Dec 18, 2017 1:34 pm
by MiChO
Hello!

One question. In which file are project types (Simple League, Divisions League, Tournament Mode, Friendly Matches) programmed? I would need to make a changes to project type.

Thank you.

Re: Project type

Posted: Mon Dec 18, 2017 7:59 pm
by comraden
Hi.
"project_type" are programed in "a few" files.
Generally, all projects type are "simple_league" engine. All others type just add/remove some extra functionallity.
example:
Division_league=Simple_league + leagues + trees
Tournament=Simple_league + trees - ranking
Friendly_matches=Simple_league - ranking

How it works from the programmer look?
For example, ranking calculation depends on project_type in this way:
if (division_league)
{ calculate division ranking}
elseif(tournament)or(friendly matches)
{no calculation}
else
{calculate ranking}

Is it clear enough?
By the way: in my extension for "all possible tournament in ONE project" I just removed project_type: all projects are DIVISION_LEAGUE, but it should be named as "project".
Some question? Ask here.
regards

Re: Project type

Posted: Wed Dec 20, 2017 3:08 pm
by MiChO
Thank you for the answer.

We had classic league system over 9 years (14 teams, 26 rounds).

This year we have a big change. In autumn 14 teams played each to other once (13 rounds). In spring league will divide. "League for champion" - 6 teams and "League for... nothing" - 8 teams.
So in spring in both divided leagues they''ll play each to other 2 times, so in League for champion it's gonna be additional 10 rounds and in league for nothing 14 rounds. League for nothing will end with this, but league for champion will continue. 1st and 2nd will play for champion on 3 victories.
Teams ranked from 3rd - 6th place will also play matches: 6th against 3rd 2 legs and 5th against 4th also 2 legs. And then winners will play 2 legs for 3rd place and losers 2 legs for 5th place.

How can I create a project without programming anything? Is it even possible in Joomleague to manage our league? And what about events (goals, cards...) and ranking display?

Re: Project type

Posted: Wed Jan 03, 2018 3:51 pm
by MiChO
Anyone? Please?

Re: Project type

Posted: Wed Jan 03, 2018 5:00 pm
by comraden
Only me could help U... joomleague version?

Re: Project type

Posted: Thu Jan 04, 2018 9:44 am
by MiChO
v2.0.92.e014123

Re: Project type

Posted: Tue Jan 16, 2018 1:22 pm
by MiChO
comraden, still there? :)

Re: Project type

Posted: Thu Jan 18, 2018 7:50 am
by comraden
bad news, my extension works only for jl1.5

Re: Project type

Posted: Thu Jan 18, 2018 7:58 am
by MiChO
Ok, but what about answer to my question? Is it even possible to integrate our system in original Joomleague 2.0 component?

Re: Project type

Posted: Thu Jan 18, 2018 8:18 am
by comraden
not as a ONE project, so:
NOT events calculation
NO ranking for whole tournament

Re: Project type

Posted: Thu Jan 18, 2018 9:48 am
by MiChO
So we would have to hire a programmer to add possibility to choose our system... thank you for your help.

Beer is yours when you come to Slovenia :P

Re: Project type

Posted: Thu Jan 18, 2018 11:47 am
by comraden
In my opinion there are NO chance to find right person...
When Your tournament started?

Re: Project type

Posted: Thu Jan 18, 2018 2:22 pm
by MiChO
Why do you think so?

It started in august, but continues on march 10th...

Re: Project type

Posted: Fri Jan 19, 2018 2:30 am
by comraden
MiChO wrote:Why do you think so?

first let's take a look to tournament organisation of your league (in pure JL):
1st project ->simple league (14 teams, 13 rounds, easy)
2nd project ->division_league:
2 divisions: Champ + Nothing
ranking after 14 rounds:
Champ
1.aaa
2.bbb
3.ccc
4.ddd
5.eee
6.fff
Nothing
1. ggg
2.hhh
...
8.ppp

next step: create this tree (see atach)
and all matches from this tree shoud be set as "don't include in ranking"
So U've got 2 (TWO) ranking. :'(
But U should got 5 (FIVE) rankings:
1.simple league (done)
2.division_league (done)
3.ranking after 14 rounds (from 1st to 14th)
4.ranking from tree (from 1st to 6th)
5.final (from 1st to 14th)

So, why U will not find right person to do this? Becouse nobody ever created ranking for this kind of tournament, include world major league with huge financial budget...(UEFA, NBA, NFL, and so on)

Re: Project type

Posted: Fri Jan 19, 2018 3:24 pm
by MiChO
Huh... That would be ok, but we would like to sum goals from both projects together... :/ So no go...

Re: Project type

Posted: Sat Jan 20, 2018 2:28 am
by comraden
sum of goals from few projects -> easy script
and always U could create missed rankings "by hand" (simple, cheap and the most annoying solution)