Page 1 of 1

[Volleyball] Hack custom ranking

Posted: Fri Nov 09, 2007 10:05 pm
by Steve
for Joomleague version 0.91

Hack made:
1. Legs (points for volleyball) moved after Set (goal).
2. Add set ratio (Set Won Divided by Set Lost).
3. Add point ratio (Points Won Divided by Points Lost).
4. It's possible to show ranking Points in the first column instead of the last one.
5. Ranking sorting criterion by:
- Points
- Sets Ratio
- Poits Ratio
6. When the results are show, sets are separated by a space instead of a dash “-â€Â

Re: [Volleyball] Hack custom ranking

Posted: Fri Mar 07, 2008 10:10 pm
by krekc
Will this work for .92 version?

Re: [Volleyball] Hack custom ranking

Posted: Fri Sep 19, 2008 1:54 pm
by ilias
[quote="Steve"]
This post replace the one i made before:
http://www.joomleague.de/forum/source_c ... 257.0.html

for Joomleague version 0.91

In the attached .zip file you will find tutorial and the new files.
please read the instruction in the pdf file.

Hack made:

1. Legs (points for volleyball) moved after Set (goal).

2. Add set ratio (Set Won Divided by Set Lost).

3. Add point ratio (Points Won Divided by Points Lost).

4. It's possible to show ranking Points in the first column instead of the last one.

5. Ranking sorting criterion by:
- Points
- Sets Ratio
- Poits Ratio

6. When the results are show, sets are separated by a space instead of a dash “-â€Â

Re: [Volleyball] Hack custom ranking

Posted: Sat May 02, 2009 12:47 pm
by ferra1980
There's a way to apply this mod to 0.93b version?

Re:[Volleyball] Hack custom ranking

Posted: Sat Aug 29, 2009 9:52 pm
by Steve
[quote="Steve"]
This post replace the one i made before:
http://www.joomleague.de/forum/source_c ... 257.0.html

for Joomleague version 0.91

In the attached .zip file you will find tutorial and the new files.
please read the instruction in the pdf file.

Hack made:

1. Legs (points for volleyball) moved after Set (goal).

2. Add set ratio (Set Won Divided by Set Lost).

3. Add point ratio (Points Won Divided by Points Lost).

4. It's possible to show ranking Points in the first column instead of the last one.

5. Ranking sorting criterion by:
- Points
- Sets Ratio
- Poits Ratio

6. When the results are show, sets are separated by a space instead of a dash “-â€Â

Re:[Volleyball] Hack custom ranking

Posted: Sun Oct 18, 2009 1:19 am
by ziko
this does not work under joomleague 0.93
is there any update for this new version of joomleague,please help

Re:[Volleyball] Hack custom ranking

Posted: Mon Oct 19, 2009 9:50 pm
by Steve
see file attached in first post of this thread

for Joomleague version 0.93b

for Ranking table:
1. Added set ratio (Set Won Divided by Set Lost).
2. Added point ratio (Points Won Divided by Points Lost).
3. Ranking sorting criterion by:
- Sets Ratio
- Poits Ratio
4. When the results are show, sets are separated by a space instead of a dash “-â€Â

Re:[Volleyball] Hack custom ranking

Posted: Sun Oct 25, 2009 9:24 pm
by markocrni
Hi Steve,
I also try this hack but it wont work.
Instead of results and ranking table, after overwrite with hack files, I can only see name of the league and legs dropdown menu. Not even my joomla template stuff.

I use J1.5.14 and JL093b.

Any clue?

THX,
Marko

Re:[Volleyball] Hack custom ranking

Posted: Mon Oct 26, 2009 9:30 pm
by konig.andy
I just have the problem that he isnt counting the points what can i do there in the table he ist just showing the sets but not points?????

Re:[Volleyball] Hack custom ranking

Posted: Tue Oct 27, 2009 9:14 am
by Steve
if you put some links where i can see the problem maybe is possible some helps...

Re:[Volleyball] Hack custom ranking

Posted: Tue Oct 27, 2009 9:17 am
by konig.andy

Re:[Volleyball] Hack custom ranking

Posted: Tue Oct 27, 2009 9:31 am
by Steve
i think some setting are wrong in your project.

Re:[Volleyball] Hack custom ranking

Posted: Tue Oct 27, 2009 9:41 am
by Steve
check the screenshot to see how i set the match results

Re:[Volleyball] Hack custom ranking

Posted: Tue Oct 27, 2009 9:51 am
by Steve
and thi is the table setting in table template

Re:[Volleyball] Hack custom ranking

Posted: Sun Nov 22, 2009 7:48 pm
by ziko
thx for all, I have applied your patch but it seems i have some problems. In the Ranking fields i have many problems. First i can't see the fields how many games wins are with 3/0 or 3/1 or 3/2. How can i set this.
The second issue is that my rank criteria does not work. Thirst how can i set to deal with match like 3/2 (so the losser have one point). For me it is took like in footbal, how can i change it. Then if there is equality in point, yhow can i set the criteria to be the most winner set, as it is done in football.
thank you very much for your help. It is a great  component.

Re:[Volleyball] Hack custom ranking

Posted: Wed Dec 30, 2009 6:47 pm
by supermike
When I tried to instal the file:

ERROR! Could not find an XML setup file in the package.

Any Ideas?

Re:[Volleyball] Hack custom ranking

Posted: Sun Jan 17, 2010 11:00 am
by ferra1980
Oh yes, please follow the instruction in readme.txt file. You can find it in jl093b_volleyball.zip. You have to install yourself overwriting some files and add 2 line of code in your language file.

Here the install istruction of readme.txt:

Code: Select all

Hack for Joomleague version 0.93b

MAKE BACK UP OF YOUR ORGINAL FILES FIRST!

You must overwrite the following fileS:

administrator/components/com_joomleague/classes/RankingObject.class.php
components/com_joomleague/joomleague.html.php
components/com_joomleague/frontend_config/english/show_table.tpl.jml

Add in your language file the following lines:

DEFINE('_JL_TABLE_SETS_RATIO', 'Sets Ratio');
DEFINE('_JL_TABLE_POINTS_RATIO', 'Points Ratio');

(ex. component/com_joomleague/language/english.php)

Now you can sort ranking using Sets and Points Ratio.
To show Sets Ratio and Points Ratio in your ranking go
in the backend and choose "Templates" in your project menu.

From Templates choose "show_table.tpl" (to set up the Ranking Table).

You will find "Volleyball Option"
where you can set the name for "Sets Ratio" and "Points Ratio"

In the "sorting criterion" you will find:
Volleyball - Sets Ratio
and
Volleyball - Points Ratio

In "Columns to display" you can now use:
SETS_RATIO, POINTS_RATIO

Bye
Steve

Re: [Volleyball] Hack custom ranking

Posted: Wed May 26, 2010 10:34 am
by bertvdb
When I try to download jl093b_volleyball.zip it gives the following error.
Archive is damaged.
Can someone send me the zip file through pm or post it here in the forum?

Thanks

Re: [Volleyball] Hack custom ranking

Posted: Fri Nov 12, 2010 3:49 pm
by marco_ve
Could be possible to add the same modifications to version 1.5 ?

Re: [Volleyball] Hack custom ranking

Posted: Fri Nov 12, 2010 4:12 pm
by timoline
Sure, but it have to be rewritten for jl1.5

in Jl1.5 you can create extensions, which can do the job.
please use this thread
viewtopic.php?f=13&t=12096#p56619

Please stop posting in other threads, it does not help :confused:

Re: [Volleyball] Hack custom ranking

Posted: Wed Nov 17, 2010 10:01 am
by Steve
Steve wrote:for Joomleague version 0.91

Hack made:
1. Legs (points for volleyball) moved after Set (goal).
2. Add set ratio (Set Won Divided by Set Lost).
3. Add point ratio (Points Won Divided by Points Lost).
4. It's possible to show ranking Points in the first column instead of the last one.
5. Ranking sorting criterion by:
- Points
- Sets Ratio
- Poits Ratio
6. When the results are show, sets are separated by a space instead of a dash “-â€Â


I post again the file for Volleyball
Joomleague 0.93b

Re: [Volleyball] Hack custom ranking

Posted: Thu Feb 23, 2012 7:43 pm
by timoline
afaik, this is now implemented in JL1.5.4