nicholasmr / obblm

Automatically exported from code.google.com/p/obblm
26 stars 54 forks source link

Setting for showing extended stats #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Enhancement.

Suggested additional settings to make the "ES" fields on the team, player
and coach pages easy to turn off / on.

Add to settings.php:

$settings['show_extended_stats'] = 0; //Show Extended stats in Team and
Coach view

Add a simple wrapper to class_team_htmlout.php, class_coach_htmlout.php and
class_player_htmlout:

if ($settings['show_extended_stats']) {
 (.. code generating the ES table)
}

Original issue reported on code.google.com by setomi...@gmail.com on 21 Dec 2009 at 12:41

GoogleCodeExporter commented 9 years ago
Agreed.  My thought is a lot of table top leagues just would not be able to 
keep up
with putting in extra stats, so why show them?

Original comment by funnyfin...@hotmail.com on 21 Dec 2009 at 3:07

GoogleCodeExporter commented 9 years ago
Well, not that I'm against it, but when I think about it the only places that 
are
affected by this are
- on the match report page where a link exists to the ES submit page.
- on all standings tables where we now have the new stats group selector (which
defaults to general stats!).
- on CC and team pages where the large ES box is printed.

I hardly see the inconvenience that the first two pose, and the last one (the 
ES box)
is placed at the bottom of the CC and team pages, so it's not like they are in 
the
way of something, really?  

Original comment by Nimda...@gmail.com on 21 Dec 2009 at 4:12

GoogleCodeExporter commented 9 years ago
True.  I personally wouldn't mind them showing even if I didn't use them.  I'd 
get
over it easily enough:)

Original comment by funnyfin...@hotmail.com on 21 Dec 2009 at 5:42

GoogleCodeExporter commented 9 years ago
I will implement this setting for our upcoming league simply because I don't 
want to 
confuse people who have never used OBBLM before. :) We don't want to end up 
with 
some people going the extra mile and registering the extra stats, while some 
don't. 
(To be honest, I think forcing players to keep track of exactly what generated 
SPPs 
and which kind of injuries each player caused is hard enough.)

Original comment by setomi...@gmail.com on 22 Dec 2009 at 7:32

GoogleCodeExporter commented 9 years ago
This will not be optional.

People who, for whatever reason, do not wish the extra stats to appear can 
remove the
link to the extra stats match report page to avoid confusion. Similarly the ES 
boxes
on the coach and team pages can be out-commented easily (they are generated by 
a 1
line function call).

Original comment by Nimda...@gmail.com on 23 Dec 2009 at 6:45