[jl1.5] explenation Statistics

Status: finished.
Here you can find pre-releases of JoomLeague, Errors and problems with these versions should only be discussed in this board.
NOTICE: BETA and RC versions should not be used on a live site! No support on upgrading to the final version!

Moderator: And_One

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

Re:[jl1.5] explenation Statistics

Postby timoline » Sat Jan 30, 2010 12:28 pm

can you give me/us an example of  the complexsum.stat?

-statid
-factor
-precision

:thx:
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re:[jl1.5] explenation Statistics

Postby julienV » Mon Feb 01, 2010 6:01 pm

well, as written in the tip...
statid: enter (basic) statistics ids to be sumed, separater by comma => e.g. : 2, 4, 5
factors: enter the multiplication factor (signed float) for each statistic from 'statids' => e.g: 1, -0.1, 4
precision: number of decimals after decimal point (applies if you have not integer factors, like 0.0001) => e.g: 2

the result will be: 'value of stat 2' * 1 + 'value of stat 4' * (-0.1) + 'value of stat 5' * (4)
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

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

Re:[jl1.5] explenation Statistics

Postby timoline » Mon Feb 01, 2010 6:46 pm

thx,
its working now:)

I tried it with sumevents, but thats not working :whistling:
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
benio07
.
Posts: 457
Joined: Fri Feb 08, 2008 9:24 am
Contact:

Re:[jl1.5] explenation Statistics

Postby benio07 » Tue Feb 02, 2010 12:42 pm

Event and sumevents on page roster look like screenshot first column this is event latest sumevent
Rows Total event  totalize all positions sumevents  totalize  position goallkiper , defender midfielder and forward separately
You do not have the required permissions to view the files attached to this post.
Joomla 1.5.14 joomleague 1.505a

User avatar
benio07
.
Posts: 457
Joined: Fri Feb 08, 2008 9:24 am
Contact:

Re:[jl1.5] explenation Statistics

Postby benio07 » Tue Feb 02, 2010 1:06 pm

Sumevents on the page Matchreport Player Łukasz Kalityński first in position defender away team  have 3 goals in  Match statistics  display only 1 look screenshot sumevent2.png
You do not have the required permissions to view the files attached to this post.
Joomla 1.5.14 joomleague 1.505a

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re:[jl1.5] explenation Statistics

Postby julienV » Tue Feb 02, 2010 3:56 pm

benio07 wrote:Sumevents on the page Matchreport Player Łukasz Kalityński first in position defender away team  have 3 goals in  Match statistics  display only 1 look screenshot sumevent2.png


this one should be fixed
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

User avatar
benio07
.
Posts: 457
Joined: Fri Feb 08, 2008 9:24 am
Contact:

Re:[jl1.5] explenation Statistics

Postby benio07 » Tue Feb 02, 2010 7:05 pm

Next problem with sumevents on the page About a Player  Rows Totals of Career as a Player event was sum up correct sumevents with bugs screenshot sumevent3.png
You do not have the required permissions to view the files attached to this post.
Joomla 1.5.14 joomleague 1.505a

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

Re:[jl1.5] explenation Statistics

Postby timoline » Tue Feb 09, 2010 8:24 pm

benio07 wrote:Next problem with sumevents on the page About a Player  Rows Totals of Career as a Player event was sum up correct sumevents with bugs screenshot sumevent3.png


Like always.....please add your bugs to the joomlacode tracker....
:thx:
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re:[jl1.5] explenation Statistics

Postby julienV » Tue Feb 09, 2010 8:29 pm

on another hand, maybe we could now just remove all the original 'events' stats columns in roster and player pages, as we can use the 'eventsum' stat instead, which provide more flexibility..
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

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

Re:[jl1.5] explenation Statistics

Postby timoline » Tue Feb 09, 2010 9:28 pm

julienV wrote:on another hand, maybe we could now just remove all the original 'events' stats columns in roster and player pages, as we can use the 'eventsum' stat instead, which provide more flexibility..


You mean we have to get rid off the event system?

We need a very good update script then, which will convert all old events into stats
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re:[jl1.5] explenation Statistics

Postby julienV » Tue Feb 09, 2010 9:32 pm

no, of course we keep the events, but they are only displayed in match reports (as... events !). I was speaking about the 'legacy' events stats, which could be removed (in roster view, player view, etc...) as we can now generate events stats from 'sumevent' stat object... are you following me ?
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

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

Re:[jl1.5] explenation Statistics

Postby comraden » Tue Feb 09, 2010 9:45 pm

I think I go further....
Why they are displayed in match reports? Depend on sport type user could decide about this....(eg. basketball)
What U think?
http://llk.pl::jl_2.x | jl_3.x testing/production enviroment
samiec alfa koncernu 'Cham_Burak_Prostak' || proved: the most annoying person on the forum

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

Re:[jl1.5] explenation Statistics

Postby timoline » Tue Feb 09, 2010 9:51 pm

yes i understand now, but why keep the event system then?
We could use stats instead
Joomla 1.5.x
Joomleague 1.5.....latest git version

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

Re:[jl1.5] explenation Statistics

Postby comraden » Tue Feb 09, 2010 9:56 pm

event system is "the base" for stats and user need event in match report.
Some don't even need stats at all, but some need stats in match reports too.
http://llk.pl::jl_2.x | jl_3.x testing/production enviroment
samiec alfa koncernu 'Cham_Burak_Prostak' || proved: the most annoying person on the forum

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re:[jl1.5] explenation Statistics

Postby julienV » Wed Feb 10, 2010 9:32 am

timoline wrote:yes i understand now, but why keep the event system then?
We could use stats instead


because they are 2 different things...
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

paulson_101
.
Posts: 21
Joined: Tue Dec 22, 2009 10:29 am

Re:[jl1.5] explenation Statistics

Postby paulson_101 » Fri Mar 26, 2010 4:19 am

Ok so my site is comming along nicely.. bbuuutt for some reason the Goals Against Average is acting all weird. I have it set to "pergame" and I have the numerator as GA id. so I am doing it right, look here to see what I mean..

http://xzoneweb.com/kbha2010/index.php/stats/goalie-leaders

one player is listed like a million times..

User avatar
trfc
Donator
Donator
Posts: 267
Joined: Sun Jan 03, 2010 12:58 pm
Location: Taunton, UK
Contact:

Re:[jl1.5] explenation Statistics

Postby trfc » Fri Apr 02, 2010 12:41 pm

Can I ask why the Stats (the basic ones at least) are forced to always be applied to positions? Why are there no stats possible for a team as a whole?

For example, If I want to say "The soccer team won x corners per game" I can't unless I attribute every occurance of the event to a position. Likewise, if I wanted to count the number of scrums in a rugby game I can't do this for an event which does not apply to one person or position.
Joomla Version 2.5.4
Testing JL 2.0

http://twitter.com/tauntonrfc
http://facebook.com/tauntonrfc

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

Re:[jl1.5] explenation Statistics

Postby timoline » Fri Apr 02, 2010 12:56 pm

Well I think thats by design...think about it the other way around.(contrary?)

If it was implemented "as a whole"....it should not be possible to have stats for different positions
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
trfc
Donator
Donator
Posts: 267
Joined: Sun Jan 03, 2010 12:58 pm
Location: Taunton, UK
Contact:

Re:[jl1.5] explenation Statistics

Postby trfc » Fri Apr 02, 2010 1:14 pm

Why not accommodate both then? It's arguable that both are as a relvent as each other is it not?
Joomla Version 2.5.4
Testing JL 2.0

http://twitter.com/tauntonrfc
http://facebook.com/tauntonrfc

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

Re:[jl1.5] explenation Statistics

Postby timoline » Fri Apr 02, 2010 1:21 pm

I think Julien can answer your Question much better ;)
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
trfc
Donator
Donator
Posts: 267
Joined: Sun Jan 03, 2010 12:58 pm
Location: Taunton, UK
Contact:

Re:[jl1.5] explenation Statistics

Postby trfc » Mon Apr 05, 2010 10:25 pm

timoline wrote:I think Julien can answer your Question much better ;)


Ok, Julien any ideas??
Joomla Version 2.5.4
Testing JL 2.0

http://twitter.com/tauntonrfc
http://facebook.com/tauntonrfc

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re:[jl1.5] explenation Statistics

Postby julienV » Tue Apr 13, 2010 2:06 pm

it's because it was thought as an expansion of the previous event => stats system, so stats have to be associated to players.
I could think of something to make it work for team, maybe... later
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

User avatar
trfc
Donator
Donator
Posts: 267
Joined: Sun Jan 03, 2010 12:58 pm
Location: Taunton, UK
Contact:

Re:[jl1.5] explenation Statistics

Postby trfc » Tue Apr 13, 2010 2:12 pm

julienV wrote:it's because it was thought as an expansion of the previous event => stats system, so stats have to be associated to players.
I could think of something to make it work for team, maybe... later


What would it cost to have it done please? I have a client who will need this in a website scheduled for deployment in late July 2010.
Joomla Version 2.5.4
Testing JL 2.0

http://twitter.com/tauntonrfc
http://facebook.com/tauntonrfc

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re:[jl1.5] explenation Statistics

Postby julienV » Tue Apr 13, 2010 2:13 pm

well, i have to look at it to answer that... please mail me at jlv@jlv-solutions.com
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

User avatar
trfc
Donator
Donator
Posts: 267
Joined: Sun Jan 03, 2010 12:58 pm
Location: Taunton, UK
Contact:

Re:[jl1.5] explenation Statistics

Postby trfc » Sun Apr 18, 2010 10:28 am

julienV wrote:well, i have to look at it to answer that... please mail me at jlv@jlv-solutions.com


Ok, have done so :)
Joomla Version 2.5.4
Testing JL 2.0

http://twitter.com/tauntonrfc
http://facebook.com/tauntonrfc

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

Re: Re:[jl1.5] explenation Statistics

Postby timoline » Thu Jul 15, 2010 9:36 pm

trfc wrote:
julienV wrote:it's because it was thought as an expansion of the previous event => stats system, so stats have to be associated to players.
I could think of something to make it work for team, maybe... later


What would it cost to have it done please? I have a client who will need this in a website scheduled for deployment in late July 2010.


Is this done?
What about implementing it into joomleague?

User avatar
trfc
Donator
Donator
Posts: 267
Joined: Sun Jan 03, 2010 12:58 pm
Location: Taunton, UK
Contact:

Re: [jl1.5] explenation Statistics

Postby trfc » Thu Jul 15, 2010 10:36 pm

No. I emailed Julien some months ago without reply :(

I'd have no problem with any commercial dev work also being included in Joomleague for everyone to use...

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

Re: [jl1.5] explenation Statistics

Postby comraden » Fri Jul 16, 2010 12:08 am

Damn, I thought that julien made it...

I made some team stats and opponents team stats for basketball, but for 0.91 version (site http://www.llk.pl is out now). The sql queries needs small upgrade to jl_1.5 and to statistics system.
But...
my work schedule are:
1.tree bracket in league_with_division
2.vacation :whistling:
3.update llk.pl till October (here I will work on team stats...) :bash:


Return to “1.5.0-a (Alpha)”

Who is online

Users browsing this forum: No registered users and 2 guests

cron