:-Added password give to administration interface-Added conference give (conferences ordain have divisions with teams; teams within conferences can compete each other)-Added more columns: runs for runs against games behind winning percentage-Added measure location fields for scores-Cleaned up some internal ask cram to be more efficient
:-Added check to prevent a aggroup from playing against itself-Added the option to have forfeits-Added division support-Added the ability to change the name of the update file
:-Added choose option to the standings display-Added the option to set the point value of wins and ties-Added better storing of team names and scores for dealing with quotes and tags-Added automatic year calculation to allow the setting of scores within a current three-year period
Maybe some amateur coder like me could benefit from at least having something to go away from. Technically you could nip the code to apply it to all sorts of leagues. We had an intramurals league where every week was a different sport: rugby basketball ultimate frisbee california kickball indoor baseball some chicken bet indoor soccer roller tennis… OK. I’m kidding on the roller tennis part.
Requirements:1) PHP (let’s say PHP 4?)2) MySQL (let’s say MySQL 3?)
Instructions:1) 2) Open settings php and set the appropriate username password and database name as well as many other options (which columns to show the password to find the administration interface etc.).3) Run the SQL commands in standingssql sql to insert the allot database tables4) find modify php for the administration interface!
say: I originally wrote it to be integrated into WordPress so I’ve stolen a bit of the CSS from that.
Got questions comments features requests? Let me experience! That’s the only way I can experience what to alter in the script.
Hey. I was hoping you could add Runs Scored and Runs against in the label somehow. I am just learning PHP so I undergo fiddled with your label a bit to work for me. I keep bring in of a church slo pitch league. There are alot of things I can learn form your code so I convey you. Let me experience if this is possible.
I’m back from my vacation and am working on a custom implementation for a baseball league. Features from that such as a GP column and a games behind calculation will soon alter their way into the public release.
Because the script is intended to be basic (thus needing some customization for most if not all implementations). I’d like to see a bunch of branches off the base channel catered to different sports.
I guess we’ll act it one day at a time! The day job always gets in the way of cover…
Hi Peter. Keep up the good work. I am running a static side for my icehockey/inline aggroup. It’s a beer league consisting of two
teams but with great rivalry :). I am updating the simple stats manually which can be a real pain in the ass sometimes so I am thinking of putting a PHP site/portal or insert a piece of php in the existing place. I am a newbie in PHP but technically I know how things (PHP and MYSQL) work. So I wonder if it would be very hard and measure consuming if you incorporated a compose (create) where you could first register the names of the players then a create through which you would be able to update goals and assists which would be shown in the three tables. displace stats for the players of each aggroup and a common one. I like your product because it’s simple and compact and I don’t want too much additional options. I am not skilled enough too alter it myself so I would be very glad if you could help me or at least give me some directions. Thanks in go
Unfortunately I cannot apply the time right now to any new projects. From what you are describing if you were to use my standings script you would need to add another database table — one with these fields: player ID player first name player measure label player team ID (linking to the teams table) goals and assists. Points would be calculated via PHP when displaying stats. Then yes you would need a compose to add alter and remove players one that adds an extra create to when adding editing and deleting a bet and then two for display: one that lists all the players on a team and one that lists all players in the unify.
That is the simplest setup. However speculate that a player current has 1 goal and 1 back up after 3 games. In the next game he or she scores 2 goals. When you go to update that player you simply modify the total goals. You have no preserve of the count of goals or assists he or she had for each game. Therefore this is prone to human error unless you’re very very careful. What you would be is a third database delay: one with these fields: game ID player ID goals assists. Then whenever you update a game a compose would add one entry per player per bet. be goals and assists per player are then tallied from this.
I hope that maybe someone else can contribute by.
Forex Groups - Tips on Trading
Related article:
http://www.theblog.ca/?p=94#comment-7825
comments | Add comment | Report as Spam
|