[Volleyball] Hack custom ranking

you will find here.
Steve
.
Posts: 121
Joined: Mon Mar 19, 2007 11:55 am
Joomleague version: 0.93x
Location: Italy
Contact:

[Volleyball] Hack custom ranking

Postby Steve » Fri Nov 09, 2007 10:05 pm

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 “-â€Â
You do not have the required permissions to view the files attached to this post.
Last edited by Steve on Tue Oct 20, 2009 3:10 pm, edited 1 time in total.
http://www.pesarosport.com
Joomla! 1.5.21
Joomleague 0.93b
----------------------------
[b]Testing for Volleyball:[/b]
JoomLeague - v1.5.1.daniela
Joomla! 1.5.22

krekc
Newbie
Posts: 3
Joined: Sun Feb 17, 2008 2:50 am

Re: [Volleyball] Hack custom ranking

Postby krekc » Fri Mar 07, 2008 10:10 pm

Will this work for .92 version?

User avatar
ilias
.
Posts: 21
Joined: Fri Sep 19, 2008 1:41 pm
Location: Athens,Greece
Contact:

Re: [Volleyball] Hack custom ranking

Postby ilias » Fri Sep 19, 2008 1:54 pm

[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 “-â€Â

ferra1980
.
Posts: 23
Joined: Sun Jan 27, 2008 2:00 pm

Re: [Volleyball] Hack custom ranking

Postby ferra1980 » Sat May 02, 2009 12:47 pm

There's a way to apply this mod to 0.93b version?
Version of joomleague 0.93 / joomla 1.5.10

Steve
.
Posts: 121
Joined: Mon Mar 19, 2007 11:55 am
Joomleague version: 0.93x
Location: Italy
Contact:

Re:[Volleyball] Hack custom ranking

Postby Steve » Sat Aug 29, 2009 9:52 pm

[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 “-â€Â
You do not have the required permissions to view the files attached to this post.
http://www.pesarosport.com
Joomla! 1.5.21
Joomleague 0.93b
----------------------------
[b]Testing for Volleyball:[/b]
JoomLeague - v1.5.1.daniela
Joomla! 1.5.22

ziko
Newbie
Posts: 2
Joined: Sun Sep 27, 2009 7:59 pm

Re:[Volleyball] Hack custom ranking

Postby ziko » Sun Oct 18, 2009 1:19 am

this does not work under joomleague 0.93
is there any update for this new version of joomleague,please help

Steve
.
Posts: 121
Joined: Mon Mar 19, 2007 11:55 am
Joomleague version: 0.93x
Location: Italy
Contact:

Re:[Volleyball] Hack custom ranking

Postby Steve » Mon Oct 19, 2009 9:50 pm

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 “-â€Â
http://www.pesarosport.com
Joomla! 1.5.21
Joomleague 0.93b
----------------------------
[b]Testing for Volleyball:[/b]
JoomLeague - v1.5.1.daniela
Joomla! 1.5.22

markocrni
Newbie
Posts: 2
Joined: Wed Aug 12, 2009 1:57 pm

Re:[Volleyball] Hack custom ranking

Postby markocrni » Sun Oct 25, 2009 9:24 pm

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
You do not have the required permissions to view the files attached to this post.
Last edited by markocrni on Sun Oct 25, 2009 9:37 pm, edited 1 time in total.

konig.andy
Newbie
Posts: 2
Joined: Fri Oct 23, 2009 5:13 pm

Re:[Volleyball] Hack custom ranking

Postby konig.andy » Mon Oct 26, 2009 9:30 pm

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?????

Steve
.
Posts: 121
Joined: Mon Mar 19, 2007 11:55 am
Joomleague version: 0.93x
Location: Italy
Contact:

Re:[Volleyball] Hack custom ranking

Postby Steve » Tue Oct 27, 2009 9:14 am

if you put some links where i can see the problem maybe is possible some helps...
http://www.pesarosport.com
Joomla! 1.5.21
Joomleague 0.93b
----------------------------
[b]Testing for Volleyball:[/b]
JoomLeague - v1.5.1.daniela
Joomla! 1.5.22

konig.andy
Newbie
Posts: 2
Joined: Fri Oct 23, 2009 5:13 pm

Re:[Volleyball] Hack custom ranking

Postby konig.andy » Tue Oct 27, 2009 9:17 am


Steve
.
Posts: 121
Joined: Mon Mar 19, 2007 11:55 am
Joomleague version: 0.93x
Location: Italy
Contact:

Re:[Volleyball] Hack custom ranking

Postby Steve » Tue Oct 27, 2009 9:31 am

i think some setting are wrong in your project.
http://www.pesarosport.com
Joomla! 1.5.21
Joomleague 0.93b
----------------------------
[b]Testing for Volleyball:[/b]
JoomLeague - v1.5.1.daniela
Joomla! 1.5.22

Steve
.
Posts: 121
Joined: Mon Mar 19, 2007 11:55 am
Joomleague version: 0.93x
Location: Italy
Contact:

Re:[Volleyball] Hack custom ranking

Postby Steve » Tue Oct 27, 2009 9:41 am

check the screenshot to see how i set the match results
You do not have the required permissions to view the files attached to this post.
http://www.pesarosport.com
Joomla! 1.5.21
Joomleague 0.93b
----------------------------
[b]Testing for Volleyball:[/b]
JoomLeague - v1.5.1.daniela
Joomla! 1.5.22

Steve
.
Posts: 121
Joined: Mon Mar 19, 2007 11:55 am
Joomleague version: 0.93x
Location: Italy
Contact:

Re:[Volleyball] Hack custom ranking

Postby Steve » Tue Oct 27, 2009 9:51 am

and thi is the table setting in table template
You do not have the required permissions to view the files attached to this post.
http://www.pesarosport.com
Joomla! 1.5.21
Joomleague 0.93b
----------------------------
[b]Testing for Volleyball:[/b]
JoomLeague - v1.5.1.daniela
Joomla! 1.5.22

ziko
Newbie
Posts: 2
Joined: Sun Sep 27, 2009 7:59 pm

Re:[Volleyball] Hack custom ranking

Postby ziko » Sun Nov 22, 2009 7:48 pm

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.

supermike
Newbie
Posts: 5
Joined: Sat Feb 28, 2009 1:06 pm
Location: Koksijde

Re:[Volleyball] Hack custom ranking

Postby supermike » Wed Dec 30, 2009 6:47 pm

When I tried to instal the file:

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

Any Ideas?
Joomla: 1.5.15
Joomleague: 1.5

ferra1980
.
Posts: 23
Joined: Sun Jan 27, 2008 2:00 pm

Re:[Volleyball] Hack custom ranking

Postby ferra1980 » Sun Jan 17, 2010 11:00 am

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
Version of joomleague 0.93 / joomla 1.5.10

bertvdb
Newbie
Posts: 5
Joined: Tue May 25, 2010 6:57 pm

Re: [Volleyball] Hack custom ranking

Postby bertvdb » Wed May 26, 2010 10:34 am

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

marco_ve
.
Posts: 69
Joined: Sun Nov 07, 2010 10:05 am

Re: [Volleyball] Hack custom ranking

Postby marco_ve » Fri Nov 12, 2010 3:49 pm

Could be possible to add the same modifications to version 1.5 ?

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: [Volleyball] Hack custom ranking

Postby timoline » Fri Nov 12, 2010 4:12 pm

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:

Steve
.
Posts: 121
Joined: Mon Mar 19, 2007 11:55 am
Joomleague version: 0.93x
Location: Italy
Contact:

Re: [Volleyball] Hack custom ranking

Postby Steve » Wed Nov 17, 2010 10:01 am

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
You do not have the required permissions to view the files attached to this post.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: [Volleyball] Hack custom ranking

Postby timoline » Thu Feb 23, 2012 7:43 pm

afaik, this is now implemented in JL1.5.4
Joomla 1.5.x
Joomleague 1.5.....latest git version


Return to “Tips, Tricks, SourceCodeChanges”

Who is online

Users browsing this forum: No registered users and 2 guests

cron