Rainouts: 402-697-7756


Home » Changelog

This is a dated log of changes made to the Nebraska Senior Softball (NSS) website.  The latest changes are at the top.


2018-04-23


Fixed bug in [nextgametable]

  • before: was calling get_scores_entry with and empty $team value. This was converted to an “L” prefix on the score, no matter who won. It was confusing.
  • after: set the default value of $team to 'all'. This suppresses the prefix in [nextgametable]; but still allows the prefix when you are looking at a specific team on the “games” page.

2018-04-10


Updated

  • switched some games on 4/23/19 schedule per George
  • main page sidebar
    • changed the order of the widgets.
    • converted weather from link to widget.

2018-04-09


Added

  • “nextgametable” to the home page sidebar.

Updated

  • the “printable roster” column headers to “Age”, “Home”, “Mobile” .

2018-04-07


Closed

  • the 2018S registration by removing the register-now button from the main page and making the on-line registration page private.

Updated

  • all returning players to the 2018S version of their team.
  • the missing-pics script to have a team filter.
  • the registration-report to get team options functions from db-functions.
  • the registration-form to have a smaller Suffix field.
  • the registration-form to display better errors when not invoked by the proper WordPress page.

2018-04-05


Updated

  • the assign players script to include a link to the players card (which has a photo).

2018-04-04


Added

  • a new script to determine what player pictures are missing.

2018-03-18


Updated

  • the nicknameMatches function to includes several more names.

2018-03-17


Added

  • payment method to the registration scoreboard.

2018-03-12


Created

  • the 2018 Summer game schedule.

Changed

  • the games page to use the 2018 Summer schedule.

2018-03-11


Added

  • a beta version of a page which assigns players from draft status to a specified team.

2018-03-10


Created

  • an “assignment” folder which will contain software the lead up to and execute the draft. For example: creating new teams and assigning players to those teams.
  • “2018S” versions of all 15 teams as a precursor to test:
    1. new schedule creation
    2. returning player assignment
    3. draft player assignment

2018-02-28


Changed

  • the 2018 “Planning/Summary Calendar” to include links for each date to the corresponding date in the “Detailed Calendar” table.

2018-02-26


Added

  • a “payment-complete” page and configured the NSS PayPal account to redirect to this page when a payment is complete.
  • a “Planning Calendar” menu option.

Changed

  • the 2018 “Planning Calendar” to include fall events.
  • “Games” menu to “Games Calendar” to contrast with “Planning Calendar”.

2018-02-25


Fixed

  • a bug in the registration-form where the number of games was showing 2 different values.

Changed

  • the “positions” hint in the registration-form.

2018-02-24


Added

  • a timestamp to the registration notification. There is sometimes an email delay, so the timestamp makes it easier to line things up.
  • another entry to the “Nicknames” array.

Changed

  • the registration form to include better hints for “game commitment”, “jersey number” and “playing positions”.

2018-02-20


Changed

  • the registration report so that when a different season is selected, the team option is reset to “All”; because, team ids change (even for the same team) every season.

2018-02-19


Changed

  • the registration report to account for teams operating under multiple team_ids.

2018-02-18


Added

  • a registration report which shows the alignment of registrations and IPN messages.

2018-02-16


Changed

  • the IPN handler to show SUCCESS/ERROR at the top of the email body instead of the bottom.

2018-02-15


Changed

  • the directions on the player-identity-handler to be more specific.
  • the return address for emails within PHP code from a personal address to a no-reply address

2018-02-14


Changed

  • registration fees per NSS board instructions.
  • the paper registration form to a newer version.
  • the player-identity-handler to make the need to click a little more clear.
  • got rid of all the fake registrations created during testing.

2018-02-07


Changed

  • the paper registration link to a new PDF on the “Register Now” page
  • the way a newly assigned player-id is retrieved in the registration handler.

2018-02-06


Added

  • WordPress post to put registration begin date on the calendar.

Changed

  • home page main image and feature headings.

2018-02-03


Overview

  • started moving obsolete files from /ness/wp-content/themes/ness to /ness/wp-content/themes/ness/attic.

2018-01-28


Changed

  • the “Register Now” page to reflect the latest 2018 information.
  • the registration handler to point back to the payment section of the “Register Now” page.

2018-01-26


Added

  • logic to fail hard if the hidden ‘season’ field isn’t provided to the registration handler.

Changed

  • the game commitment options to be automatically generated depending on the season (of the year) suffix.

2018-01-24


Changed

  • the registration form labels for the privacy fields to be more instructive.
  • the way player-id presence is detected.(bug fix)
  • the logic to report “returning player, but missing player-id” more clearly

2018-01-23


Added

Registration form validation:

  • mandatory fields supplied.
  • at least one phone number supplied.
  • liability release accepted.
  • form was signed.

Changed

  • the registration handler to detect and report missing hidden field.

2018-01-22


Overview

Cleaned up the registration notification process and started sending it to a few board members for review.

Added

  • number preference field to registration form and handler.
  • two more email notification addresses.

Changed

  • a generic function to be able to get rid values a player doesn’t want – like address 2 or an obsolete land-line number.
  • the email output to reflect more and clearer information.

2018-01-21


Summary

Modified code to email registration notifications. For now, I’m only sending them to a test mailbox.


2018-01-19


Summary

  • Added a common header and footer to most of the registration pages. (Still need to do that for the registration handler page.)
  • Added style elements to make the registration pages look more like the theme the rest of the site uses like buttons and margins.

2018-01-18


Changed

  • style.css to use the browser’s default behavior for links.
  • player-identity-form to have clearer instructions.
  • player-identity-handler to use default font.

 2018-01-17


Overview

Reworked the code to allow the current “Register Now” page in WordPress to front the entire registration process.  “Register Now” will be (rightly) modified every season to reflect the latest registration information.  The rest of the process is coded generically for any season.

Changed

  • Modified the “Register Now” page in WordPress to point to the new player-identity-form.php file.

Revision 376

  • First iteration of making player-identity-form a PHP file to be called from WP “Register Now” page.
  • Factored out a function I’ll need elsewhere.

Revision 374

  • Created function to specify the log file name.
  • Moved key registration function from db-functions to registration-handler.
  • Renamed regLog to logFile to be more consistent.

2018-01-16


 Added

  • this changelog page

Changed

  • the name of the “begin registration” page and shortlink to something more generic – “online registration” that doesn’t need to be changed every season.
  • the online registration page to “public” (so I could link to it from within WordPress)
  • the “Online Registration” link of the Register Now page to point to the new online registration process.
  • several menus around to group like things

 2018-01-15


SVN revision 367

Changed paths:
M /NSS-experiments/registration/registration-form.php

Reworked the legend groups.
Changed the order of the fields.
Limited “state” input to 2 columns.
Made some of the labels more user friendly.


2018-01-12


Database Cleanup

To prevent confusion during the new registration process, removed all the duplicate entries in the ness_players table. (See the SQL scripts in NSS-experiments/database/cleanup-duplicates.)

Before removing the duplicate, associated entries in the ness_registration table were modified from the duplicate player_id to the original player_id. This assured that all registrations for a player stayed in tact.

There were:

  • 17 duplicates entries where a person’s last name and birth date matched
  • 2 duplicates entries where the person matched, but one of the rows had a null birth date

This cleanup left alone the 45 or so people that legitimately share the same last name.


 2018-01-11


Added

  • the new registration process which consisted of all new files separated away from the rest of the code in new folders under /ness/wp-content/themes/ness:
    • registration
    • common
  • a new online registration page in WordPress to kick off the new registration process.  (This supersedes the HTML page (ness/wp-content/themes/ness/registration/player-identity-form.html) developed to model what the WordPress page needed to do.