Project type

Status: Finished
Branch: https://gitlab.com/joomleague/joomleague/tree/master

Moderator: And_One

MiChO
.
Posts: 23
Joined: Thu Mar 05, 2009 4:53 pm

Project type

Postby MiChO » Mon Dec 18, 2017 1:34 pm

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.

User avatar
comraden
Joomleague Core Developer
Joomleague Core Developer
Posts: 1288
Joined: Thu Aug 16, 2007 2:27 pm
Location: Poland, Lublin
Contact:

Re: Project type

Postby comraden » Mon Dec 18, 2017 7:59 pm

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
http://llk.pl::jl_1.6 | jl_2.x | jl_3.x testing/production enviroment
samiec alfa koncernu 'Cham_Burak_Prostak' || proved: the most annoying person on the forum

MiChO
.
Posts: 23
Joined: Thu Mar 05, 2009 4:53 pm

Re: Project type

Postby MiChO » Wed Dec 20, 2017 3:08 pm

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?

MiChO
.
Posts: 23
Joined: Thu Mar 05, 2009 4:53 pm

Re: Project type

Postby MiChO » Wed Jan 03, 2018 3:51 pm

Anyone? Please?

User avatar
comraden
Joomleague Core Developer
Joomleague Core Developer
Posts: 1288
Joined: Thu Aug 16, 2007 2:27 pm
Location: Poland, Lublin
Contact:

Re: Project type

Postby comraden » Wed Jan 03, 2018 5:00 pm

Only me could help U... joomleague version?
http://llk.pl::jl_1.6 | jl_2.x | jl_3.x testing/production enviroment
samiec alfa koncernu 'Cham_Burak_Prostak' || proved: the most annoying person on the forum

MiChO
.
Posts: 23
Joined: Thu Mar 05, 2009 4:53 pm

Re: Project type

Postby MiChO » Thu Jan 04, 2018 9:44 am

v2.0.92.e014123

MiChO
.
Posts: 23
Joined: Thu Mar 05, 2009 4:53 pm

Re: Project type

Postby MiChO » Tue Jan 16, 2018 1:22 pm

comraden, still there? :)

User avatar
comraden
Joomleague Core Developer
Joomleague Core Developer
Posts: 1288
Joined: Thu Aug 16, 2007 2:27 pm
Location: Poland, Lublin
Contact:

Re: Project type

Postby comraden » Thu Jan 18, 2018 7:50 am

bad news, my extension works only for jl1.5
http://llk.pl::jl_1.6 | jl_2.x | jl_3.x testing/production enviroment
samiec alfa koncernu 'Cham_Burak_Prostak' || proved: the most annoying person on the forum

MiChO
.
Posts: 23
Joined: Thu Mar 05, 2009 4:53 pm

Re: Project type

Postby MiChO » Thu Jan 18, 2018 7:58 am

Ok, but what about answer to my question? Is it even possible to integrate our system in original Joomleague 2.0 component?

User avatar
comraden
Joomleague Core Developer
Joomleague Core Developer
Posts: 1288
Joined: Thu Aug 16, 2007 2:27 pm
Location: Poland, Lublin
Contact:

Re: Project type

Postby comraden » Thu Jan 18, 2018 8:18 am

not as a ONE project, so:
NOT events calculation
NO ranking for whole tournament
http://llk.pl::jl_1.6 | jl_2.x | jl_3.x testing/production enviroment
samiec alfa koncernu 'Cham_Burak_Prostak' || proved: the most annoying person on the forum

MiChO
.
Posts: 23
Joined: Thu Mar 05, 2009 4:53 pm

Re: Project type

Postby MiChO » Thu Jan 18, 2018 9:48 am

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


Return to “2.93.239.9df0b25-Katrin”

Who is online

Users browsing this forum: No registered users and 1 guest

cron