Zuluru / Zuluru

Open source web-based sports league management application. NOTE: Obsoleted by Zuluru3
https://github.com/Zuluru/Zuluru3
Other
40 stars 24 forks source link

change sport #3

Closed tim-nexthop closed 10 years ago

tim-nexthop commented 11 years ago

what is required to change the sport to baseball? what do I need to put in the options_custom.php file? Thanks

Zuluru commented 11 years ago

This should do it:

$config['options']['sport'] = make_human_options(array(
        'baseball',
));

Be aware, however, that baseball support hasn't been thoroughly tested yet, stats tracking in particular. If you have any issues with it, let me know; they will likely be quite simple for me to fix once I know they're there.

tim-nexthop commented 11 years ago

thanks I've added the option. I'm going to start testing for baseball I'll let you know of my progress

tim-nexthop commented 10 years ago

Hello I'm trying Zuluru this year for our baseball league. I setup a league and division and I can't figure out why the league status = closed?

Zuluru commented 10 years ago

Very sorry, I never got a notification about this message! :-(

Leagues and divisions are automatically opened and closed by the cron task described in the readme; this setup step seems to often get missed. More recent changes to the code have also improved this so that the open/closed status of leagues is set correctly when they are created, though you will still want the cron task so that they get closed when they are done.