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?