[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

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

[jl1.5] explenation Statistics

Postby paulson_101 » Wed Dec 30, 2009 3:48 am

I am not sure if I should be using events and statistics, or just statistics. I am using this plugin for a hockey site, I would like ALL of my player stats to be a table on one page. here is an example of what I have right now.

http://xzoneweb.com/kbha/index.php?r=ma ... ats_player

So if there is a way to make this happen that would be great. It is the last piece of the puzzle that I need to make this program work for me.

One more question. when the svn has a new release, how do I update without losing my info?

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

[jl1.5] explenation Statistics

Postby paulson_101 » Wed Dec 30, 2009 4:26 am

Would like to point out somthing here on the statistics. I have a "percentage" set for my Goals Against Average obviously its goals against over Games Played.
It seems to work fine, the only problem being there is no decimal point. So it should be 3.5 and it shows as 350.. anyway to get the decimal to show? example..

http://xzoneweb.com/ballhockey/index.php/standard-curve/player/1/10/2

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

[jl1.5] explenation Statistics

Postby julienV » Wed Dec 30, 2009 3:37 pm

are you using 'pergame' type stat ?
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

[jl1.5] explenation Statistics

Postby paulson_101 » Thu Dec 31, 2009 6:09 am

I was using the "basic" stats of GP and GA and then using a "percentage" stat for the percentage.

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

[jl1.5] explenation Statistics

Postby julienV » Thu Dec 31, 2009 9:01 am

it's better to use pergame for 'per game' stats... for one, it will prevent the state to display in games report (because it doesn't make sense there;))
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

[jl1.5] explenation Statistics

Postby paulson_101 » Thu Dec 31, 2009 9:09 am

Well I've made new statistics and added them to the positions, but now they don't show up under statistics in the Matches?

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

[jl1.5] explenation Statistics

Postby julienV » Thu Dec 31, 2009 9:14 am

I think currently ony the pergame and win pergame stats are not displayed in match report. maybe some misconfiguration...
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

[jl1.5] explenation Statistics

Postby paulson_101 » Thu Dec 31, 2009 9:38 am

I am confused then.. so game played should be a pergame stat and goals against should be  regular stat?

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

[jl1.5] explenation Statistics

Postby julienV » Thu Dec 31, 2009 10:07 am

You don't have to do anything special for games played, it's automatically available as long as you entre each game starting lineups and substitutions.
goals and goals against should be regular stats, but 'goals per game' and GAA should be pergame stats based respectively on goals and ga stats (enter the proper ids in the pergame stats parameters)
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

[jl1.5] explenation Statistics

Postby paulson_101 » Thu Dec 31, 2009 11:35 am

Hm well I am still where I started. Basically what I would like to do is have all my players for my entire league be listed according to there points for the season. G+A=P I have already done these calculations using 2 simple stats and 1 sum stat. I enter G and A for each player after each game. The Goalies I would like listed seperately and they have different stats then my Forwards and Defencemen. You said there is no need to use the GP as a stat cause its calculated on the bases of being added to the starting lineup, but how do I use this in the calculation for GAA then? cause you have to have GA/GP=GAA.

I am sure that this will be a module made in the near future but it would a nice basic addition to have a page that will let you list all "statistics" by a certian position or multiple positions, then also be able to have a choice in the sorting order, for example in my case I would like to sort by Points for the players and GAA for the goalies.

I really think this program is the best I have found on the net, but the ability to have player stats is the most important part of almost any sporting website, ( at least where I am from) haha. Thank you for your time, and I am sure this information will be useful to others also!

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

[jl1.5] explenation Statistics

Postby julienV » Thu Dec 31, 2009 11:41 am

for GAA, you create a 'pergame' stats, and in it's parameter 'Numerator stats ids', you put the id of the GA stat
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 » Thu Dec 31, 2009 9:25 pm

Ok thank you I did this and it seems to work. I think the problem is there is no clear description for each of that stat options as to what each does, and what they are commonly used for or examples. perhaps a little more documentation on that would help?

I am still not clear on what the pergame and winpergame stats are used for?

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

Re:[jl1.5] explenation Statistics

Postby paulson_101 » Sun Jan 03, 2010 7:23 am

So just out of curiosity is there an easy way to make a "Players Statistics" page that list all stats for all players for a season sorted by points?

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 » Sun Jan 03, 2010 9:03 am

You can use Stats ranking for that
Joomla 1.5.x
Joomleague 1.5.....latest git version

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

Re:[jl1.5] explenation Statistics

Postby paulson_101 » Mon Jan 04, 2010 1:19 am

is that a module? Sorry if my questions are newb just don't know the plugin very well yet.

User avatar
teddy
.
Posts: 304
Joined: Wed Feb 28, 2007 12:01 pm

Re:[jl1.5] explenation Statistics

Postby teddy » Mon Jan 04, 2010 10:33 am

paulson, it's a module and a menu item if you need it
wht don't you try to write the beginning of a doc for the stats since you're practicing with it? it would be very useful for us stats newbies...please...
Joomla 1.5.22
Joomleague 1.5.1

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 Jan 04, 2010 11:04 am

That would be very usefull...

There are many...many changes and new features in JL.15
Maybe Xblues can setup a new WIKI for jl1.5, so we can work together on it.
Joomla 1.5.x
Joomleague 1.5.....latest git version

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

Re:[jl1.5] explenation Statistics

Postby paulson_101 » Tue Jan 05, 2010 6:05 am

Ok so I see the "stats ranking page" and it works fine.. The problem is if you look at any sports website in the world, they are all in one "Table". Is there anyway of having this possible? Cause I need all of the stats in a single table, not each one in a seperate page.

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

Re:[jl1.5] explenation Statistics

Postby comraden » Tue Jan 05, 2010 9:14 am

like this:
http://llk.pl/index.php?option=com_cont ... &Itemid=90
or this:
http://llk.pl/index.php?option=com_cont ... Itemid=116
It's possible in 0.91, so will be possible in 1.5, but I'm a little out of time...
But I'll try  >:D
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

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

Re:[jl1.5] explenation Statistics

Postby paulson_101 » Tue Jan 05, 2010 7:26 pm

ya the second way listed is perfect, any idea how i would do this?

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

Re:[jl1.5] explenation Statistics

Postby comraden » Tue Jan 05, 2010 7:44 pm

paulson_101 wrote:ya the second way listed is perfect, any idea how i would do this?

Yeah, wait until I'll do this in version jl1.5, hehe ....
Fist way listed is a beta version, in 1.5 I'll use jQuery too.
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

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

Re:[jl1.5] explenation Statistics

Postby paulson_101 » Tue Jan 05, 2010 8:44 pm

ok that sounds great, i have a league that needs to be running live by March do you think there is a good chance of having this done by then? this is probably the most important aspect of my site.

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

Re:[jl1.5] explenation Statistics

Postby comraden » Tue Jan 05, 2010 9:08 pm

paulson_101 wrote:i have a league that needs to be running live by March do you think there is a good chance of having this done by then?

What could I say? Maybe, but no guarantee... >:D
I'm participate in 6 months (full time) project.
By the way, what kind of sport U manage?

edit:
Ok, I see, hockey...
Last edited by comraden on Tue Jan 05, 2010 9:22 pm, edited 1 time in total.
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

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

Re:[jl1.5] explenation Statistics

Postby paulson_101 » Wed Jan 06, 2010 3:29 am

ok thanks very much, let me know of any updates on it please, as I would be willing to test it and stuff for you :)

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

Re:[jl1.5] explenation Statistics

Postby paulson_101 » Wed Jan 06, 2010 5:57 am

I noticed an interesting error with the stats on the Roster Page.. if you look here. http://xzoneweb.com/ballhockey/index.php/roster-layout you will notice all the stats are moved over one. so as you can see in the "P" (point) category it is missing its info, ebcause it has all moved itself over too the POG category.. help?

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 » Wed Jan 06, 2010 8:09 am

paulson_101 wrote:I noticed an interesting error with the stats on the Roster Page.. if you look here. http://xzoneweb.com/ballhockey/index.php/roster-layout you will notice all the stats are moved over one. so as you can see in the "P" (point) category it is missing its info, ebcause it has all moved itself over too the POG category.. help?


Hi Paulson,
all bugs you can see here

http://joomlacode.org/gf/project/joomleague/tracker/

If you find new bugs........ please add them to the tracker
:thx:
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re:[jl1.5] explenation Statistics

Postby Jippe » Thu Jan 07, 2010 11:07 am

Just a small question/addition to the statistics implementation.

At the moment we have events and statistics and when I played around with it, I noticed that there is not/or I could not find it to get statistics from an event.
What I mean is that I have the event Goal, nicely filled out. Next I want a statistic avarage goals per match. I would like this statistic derived from the event goal instead of having to make a new statistic goal which I also have to fill out. (sorry I am lazy, I know it.. :-) )

Is this already there somehow/are there plans to have this implemented/is it difficult to implement this

thanks

User avatar
teddy
.
Posts: 304
Joined: Wed Feb 28, 2007 12:01 pm

Re:[jl1.5] explenation Statistics

Postby teddy » Thu Jan 07, 2010 11:20 am

Hi jippe, I've been asking the same question
http://www.joomleague.de/forum/index.ph ... l#msg46138
this was Julien's answer:
well, it's possible to use events instead of basic stats, it's just a matter of coding new types (e.g.: eventpergame, eventsum, ...). Fell free to dig in the code, all the calculations are done in the respective files in admin.../statistics/

I'm not able to dig into code, but if you are...
Joomla 1.5.22
Joomleague 1.5.1

User avatar
Jippe
.
Posts: 42
Joined: Thu Sep 04, 2008 10:54 am

Re:[jl1.5] explenation Statistics

Postby Jippe » Thu Jan 07, 2010 11:27 am

Thanks Teddy,

Will see what I can do...

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 » Fri Jan 29, 2010 7:02 pm

Hi Guys,

I changed the statistic object to work with events in match report (there was a previous post were i explained why i wouldn't work straight away).

I implemented stat 'sumevent' as an exemple of statistics calculation based on events. Please try it out, and let me know if it works (it does the sum of one or more events)
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !


Return to “1.5.0-a (Alpha)”

Who is online

Users browsing this forum: No registered users and 1 guest

cron