CHANGE LOG (full version). ============================================= = [5.1.1] 27March2024 = * Incremental updates made to version 5.1.0 running on PHP 8.0 & 8.2. * * /admin/admin.php - 5.1.1 removes admin tabbed browsing from mobile displays as it takes too much real estate, adds check box to select inverse of group selection, 5.1.2 fixes cat & tag dropdowns not saving state after page refresh when importing events, cleans up screen refresh when importing, 5.1.3 fixes error log for import events with no title or no end defined * /admin/init_actions.php - 5.1.1 changed to copy Links page from master site * /cron/get-eventcrew-crontask.php - 5.1.1 adds blue button as direct link to execute script after confirmation dialog with display on and email off, brute force method to establish the domain for multisite so error log isn't generated * /cron/remind-payment-due-crontask.php - 5.1.1 fixes PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in remind-payment-due-crontask.php on line 212, 5.1.2 adds blue button as direct link to execute script after confirmation dialog with display on and email off, brute force method to establish the domain for multisite so error log isn't generated, 5.1.3 replaces cURL with wp_post_remote, 5.1.4 adds cm_store_jibesetnet_results($debug) to retreive jibeset.net results, 5.1.5 uses consolidated jibeset.net cURL routines with common function, 5.1.6 adds daily update for jibeset results with call to cm_save_jibesetnet_results($postid) * /css/crew-mgr-style.css - 5.1.1 modifies label_green, label_yellow, label_blue, label_red and label_orange to add border, 5.1.2 adds pos_list (same as main_list) for position dropdowns, 5.1.3 adds .w_48pct, .w_49pct and .padleft14px, changes all .tr_rowcrew_ top border from dotted black to solid gray * /includes/annual-calendar-shortcode.php - 5.1.1 adds venue dropdown to skipper view so that event locations may be changed, 5.1.2 fixes & in availability change message title from FRB site, incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages, 5.1.3 moves js to seperate file, forces cats & tags in address bar, 5.1.4 fixed linked event change counter to display only when links are actually deleted or changed, 5.1.5 removed data entry disabled for expired sites banner since it is now generated in functions.php, 5.1.6 speeds up default query if no cat or tag selected, forced description box to default background color so only date badge gets salmon, 5.1.7 fixes canx and send email buttons not showing when 5.1.6 was done * /includes/assignments-shortcode.php - 5.1.1 fixes & in availability change message title from FRB site, incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages, 5.1.2 moves js to seperate file, forces cats & tags in address bar, 5.1.3 Surpress display of users assigned position without availability, 5.1.4 removed data entry disabled for expired sites banner since it is now generated in functions.php, 5.1.5 consolidates availability and uses js to hide other crew, uses js to show/hide canceled events * /includes/availability-shortcode.php - 5.1.1 fixes & in availability change message title from FRB site, incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages, 5.1.2 moves js to seperate file, forces cats & tags in address bar, 5.1.3 removed data entry disabled for expired sites banner since it is now generated in functions.php, 5.1.4 uses js to hide other crew, uses js to show/hide canceled events * /includes/cm-config.php - 5.1.1 initial baseline defines all crew manager unique constants including REGATTA_MANAGERS constant for regatta management domains and provides single place to modify for installations on any domain, 5.1.2 adds jibeset.net login parameters as constants * /includes/crew-shortcode.php - 5.1.1 Surpress display of users assigned position without availability, 5.1.2 shows crew list first and last names to Super Admin * /includes/csv_export.php - 5.1.1 stops error log if crewmgr_temp_tbl does not exist and provides graceful exit screen * /includes/custom-report-shortcode.php - 5.1.1 Surpress display of users assigned position without availability * /includes/functions.php - adds function cm_execute_on_modify_cats_tags($object_id, $tt_id, $taxonomy) that is executed when cats and tags are added or deleted so the associated session variables are cleared, added [post_id] to function ai1ec_address_dropdown($post_id) on name index and stored hidden input with dropdown to easily compare if changes when submitted, modified ai1ec_address_dropdown($post_id) to accomodate use in skipper view on annual calendar page, updated function copy_event_by_post to delete any regatta management links in contact_url & ticket_url using array constant REGATTA_MANAGERS defined in cm-config.php, modifies function load_crew_check_boxes_admin($crew_group) to display the inverse of the group selected when check box is checked, 1/10/2024 5.1.2 adds session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] to pass categories & tags between pages, updates cat and tag processing to return empty array rather than false, 5.1.3 consolidates and enques js files in cm-front-scripts.js, cm-front-admin.js and cm-admin.js, 5.1.3a looks back 120 days for jibeset results (was 30), adds CM Master Multisite toolbar at top of admin bar, check the status of stored fields when regatta management updates are check to only update if changes, fixed linked event changes not updating for superadmin, updates superadmin check using WordPress function, surpress display of users assigned position without availability, adds shorcode [prurl] to get protocol relative url without https://, adds function isaf_check($isaf_number) taken from weight-shortcode.php, adds function cm_boatinfo_admin_widget() to provide boat input for reace results search, function get_meta_values( $meta_key, $post_type ) to get all posts with a designated meta key, function cm_get_jibesetnet_results($postid, $regatta, $race), 5.1.4 consolidate jibeset.net cURL routines with common function using passed parameters, adds function cm_save_jibesetnet_results($postid) to save jibeset race finish positions in ai1ec post ustom fields, updates subscription expired banner with data entry and super admin notations, 5.1.5 removes session variable added to function get_email_for_post in Dec 2023 that broke stay ashore filter when sending email, graceful exit from sending results if none found to prevent triggering spam, provides status of boat lookup info saved or not in Regatta Registration info widget, updates cm_test_shortcode output to handle arrays and scalar values, adds 'show' to cm_parseURL(), fixes get_next_event_id() that was never working right - added $expand parameter that is backward compatible in $filter field so rolled up and expanded next event may be calculated, fixed 'toss_out' not added properly on cats and tags dropdown, adds Spectrum Mobile as carrier, adds race tracking link to Yachtscoring, 5.1.6 adds auto assign crew to user profile for skipper & admin, forced description box to white so only date badge gets salmon, includes test code for security policy headers that is commented out until debugged for production, 5.1.7 adds blue canx message to top of emails on canceled events, 5.1.8 makes clone to draft exlude transfer_custom_fields when copied, added webp as image type to fix error caused by get_thumbnail_remote * /includes/notify-maybe-shortcode.php - 5.1.1 incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages * /includes/participant-shortcode.php - 5.1.1 incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages * /includes/regatta-registration-shortcode.php - 5.1.1 incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages, 5.1.2 updated to use jquery to show / hide data entry area to reduce screen refresh and eliminate a seperate query, 5.1.3 forced description box to default background color so only date badge gets salmon * /includes/results-shortcode.php - 5.1.1 fixes error log undefined array key, 5.1.2 incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages, 5.1.3 moves js to seperate file, forces cats & tags in address bar, 5.1.4 updated to use jquery to show / hide data entry area to reduce screen refresh and eliminate a seperate query, hides future results if filter is on, 5.1.5 restores displaying results for expanded items but hides entry for just original event, stripped slashes breaking comparison when submitting with no changes, 5.1.6 removes send results dropdown for future events and has graceful exit from sending with status message if no results found but email results was clicked, 5.1.7 forced description box to default background color so only date badge gets salmon * /includes/roster-shortcode.php - 5.1.1 updated to use jquery to show / hide text message options which reduces number of queries required, 5.1.2 adds set default crew position dropdowns for Skipper & Admins * /includes/skipperassignments-shortcode.php - 5.1.1 incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages, 5.1.2 removed data entry disabled for expired sites banner since it is now generated in functions.php, 5.1.3 forced description box to default background color so only date badge gets salmon * /includes/skippercrewadmin-shortcode.php - 5.1.1 incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages, 5.1.2 removed data entry disabled for expired sites banner since it is now generated in functions.php * /includes/weight-shortcode.php - 5.1.1 incorporates session variables $_SESSION['passed_cats'] and $_SESSION['passed_tags'] for receiving passed categories & tags between pages, 5.1.2 moves ISAf check to functions * /js/clock.js - 5.1.1 file removed and contents merged in cm-front-scripts.js * /js/cm-admin-scripts.js - 5.1.1 baseline consolidating admin scripts used in WP Admin * /js/cm-front-admin-scripts.js - 5.1.1 baseline consolidating admin scripts used on the front, 5.1.2 adds scripts from results and roster * /js/cm-front-scripts.js - 5.1.1 baseline consolidating seperate scripts used in the front for all users, 5.1.2 adds scripts from results and roster, 5.1.3 adds scripts for new availability (assignments), 5.1.4 modifies scripts for new availability (assignments) * /js/cm-mce-button.js - 5.1.1 moved spy_logo.png to images directory * /js/get-from-dropdown.js - 5.1.1 file removed and contents merged in cm-front-admin-scripts.js, adds cm admin signature for stand alone sites when admin@crew-mgr.com is the from email address ============================================= = [5.1.0] 31December2023 = * New Baseline running on PHP8 with W3 Total Cache for Multisite and WP Fastest Cache for Standalone and unique Crew Manager definitions file cm-config.php. Consolidates all 5.0.1 updates. * * crew-manager.php - 5.1.0 New Baseline running on PHP8 with W3 Total Cache for Multisite and WP Fastest Cache for Standalone and unique Crew Manager definitions file cm-config.php, Consolidates all 5.0.1 updates, makes stylesheet loading relative to reduce errors * /admin/admin.php - 5.1.0 new baseline replaces crew-mgr.com with contstants defined in cm-config.php, adds tabs for all admin pages, smart copy fixes events previously copied from copying again if resubmitted when the copied indicator is displayed, updates cron display on Crew Manager Admin Setup page, creates admin tab and moves items to this to declutter other tabs, adds buttons on admin tabs to open cron tasks get-eventcrew-crontask.php and remind-payment-due-crontask.php, updates user meta when a group name is renamed or deleted, adds shortcode [extract] on Admin Setup tab to get WordPress options array by option_value, clears $_SESSION['get_email_for_group'] and $_SESSION['get_email_for_post'] when updating group assignments, adds debug tools at bottom of admin tab, adds shortcode [delete_logs] on admin tab to view and delete files (error logs) * /admin/init_actions.php - 5.1.0 new baseline replaces crew-mgr.com with contstants defined in cm-config.php, changes format to include posts on homepage for mobile displays, updated arrays for graphene_settings, sets up graphene_after_slider for mobile, replaces page content with [crewpage] and [skipperpage] shortcodes to generate top level pages, updated all links to https * /cron/get-eventcrew-crontask.php - 5.1.0 new baseline removes the path.php file requirement but requires domain be passed in cron command line * /cron/remind-payment-due-crontask.php - 5.1.0 new baseline removes the path.php file requirement but requires domain be passed in cron command line, adds function cm_store_jibesetnet_json($debug) to get the jibset.net website regatta information and store to wp_options for stand alone sites and master site on multisites * /includes/annual-calendar-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay, clears cache when results saved, fixes date transfer from other pages and pasting URL, Skipper view adds check box to hide crew and dropdown to disable entry for each event with associated processing when submitted, incorporates function cm_restrict_entry_check() to allow/restrict crew entry for groups selected by skipper * /includes/assignments-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay, clears cache when results saved, incorporates individual email notification optout for skippers and admins in user profile, incorporates function cm_restrict_entry_check() to allow/restrict crew entry for groups selected by skipper * /includes/availability-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay, clears cache when results saved, incorporates individual email notification optout for skippers and admins in user profile, incorporates function cm_restrict_entry_check() to allow/restrict crew entry for groups selected by skipper * /includes/crew-shortcode.php - 5.1.0 new baseline, clears cache when results saved, fixes hide crew for calsync, incorporates individual email notification optout for skippers and admins in user profile, incorporates function cm_restrict_entry_check() to allow/restrict crew entry for groups selected by skipper, adds jibeset.net automatic links, changed label Event Website: to Club Website: to deconflict with Jibeset.net * /includes/cm-config.php - 5.1.0 initial baseline defines all crew manager unique constants and provides single place to modify for installations on any domain (file is unique for each domain) * /includes/csv_export.php - 5.1.0 new baseline * /includes/custom-report-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay * /includes/functions.php - 5.1.0 new baseline moves all constant definitions to cm-config.php, makes skipper view calendar payment link as orange label for superadmin if no payment link defined to flag that update is needed on master event, checks for cached ai1ec css file and creates it if missing, enques clock js, adds cm_flush_plugin_cache() to support clearing cache on different cache plugins, updates links for admin cm tool bar with tabs, remove the admin footer "Thank you for creating with WordPress.", updates uncancel_ai1ec_post_($post_id) stripped text, adds count_group_name_used($group_name) to determine the number of times a group name is used, updates user meta when a group name is renamed or deleted, flushes object cache when comment posted, deletes post meta _disable_crew_entry and _hide_crew_list if not checked when editing event, made canceled events sync when exporting calendar, adds cm_generate_doc_fields ($post_id), get_yachtscoring_link_between($string, $start, $end), get_regattanetwork_link_between($string, $needle, $start, $end) and get_nextsailor_link_between($string, $needle, $start, $end) to get NOR and SI links automatically from regatta management sites and write them in event custom fields, adds crew manager email opt out for shop orders, skippers and admins with optout check in user profile also checked with shop order emails, adds cm_profile_upload_js() and user profile field signature_image to store a signature logo for Skipper Send Email, adds individual email notification optout for skippers and admins in user profile, modifies copy_event_by_post() to handles cloned events with new functions crewmgr_duplicate_event_as_draft() and crewmgr_duplicate_event_link( $actions, $post ) resulting in replacement of the built in ai1ec clone to draft which is removed by css, adds function extract_shortcode with shortcode [extract] used on Admin Setup tab to get WordPress options array by option_value, adds function cm_add_blog_id_to_admin_bar ($wp_toolbar), adds shortcode [sailflow] and [tidegraph} to replicate the sidebar widgets in graphene_after_slider without entering data again, adds alt tags to icon menu images to improve SEO, adds function restrict_crew_group_dropdown($group, $js, $ai1ec_post_id), adds cm_restrict_entry_check($ai1ec_post_id) to check the group allowed to set availability for Availability, Assignments, Crew and Annual Calendar to provide dropdown used to restrict crew entry for events, adds $_SESSION['get_email_for_group'] to speed up various routines calling function get_email_for_group, adds $_SESSION['get_email_for_post'] to speed up various routines calling function get_email_for_post, clears home page cache on successful login, adds function search_files_shortcode to help debug using shortcode [search_files], adds function delete_logs_shortcode with function formatSizeUnits($bytes) and cm_delete_file($index) for superadmin to list and delete files such as error_log, fixes error log on cm_determine_instance_prefetch() and cm_calselector_js(), resloves url for protected content to event when not logged in, clears cache on log in / out transition, removes id on edit-assignments-by-event for load_available_dropdown and load_position_dropdown, added shortcodes [crewpage] and [skipperpage] to generate these top two pages from the menu, adds function cm_test_shortcode to help debug functions, adds function jibesetnet_event_save($postid) to save jibeset event data to event custom fields (called on ai1ec event save or update and hourly via get_event_crew_crontask) and display_jibesetnet_json_data($post_id) to format the links for display, updates get_from_dropdown($from) used on Skipper Send Email to use js so page refresh not needed when selecting different person sending the email, changed label Event Website: to Club Website: to deconflict with Jibeset.net * /includes/loader.php - 5.1.0 new baseline adds cm-config.php to define all required constants and domain unique settings * /includes/notify-maybe-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay * /includes/participant-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay * /includes/regatta-registration-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay, clears cache when results saved * /includes/results-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay, clears cache when results saved * /includes/roster-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay * /includes/shirts-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay * /includes/skipperassignments-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay, clears cache when results saved * /includes/skippercrewadmin-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay, clears cache when results saved * /includes/skippersendemail-shortcode.php - 5.1.0 new baseline replaces crew-mgr.com with contstants defined in cm-config.php, gets signature logo from user profile and scales to max width 130px, adds alert box to confirm email sent status, updates from dropdown to use js for setting signature and sender without refreshing screen * /includes/vcard_export.php - 5.1.0 new baseline * /includes/weight-shortcode.php - 5.1.0 new baseline improves initial load to reduce delay * /js/clock.js - 5.1.0 updated baseline using wp_add_inline_script to pass timezone and offset * /js/cm-mce-button.js - 5.1.0 new baseline * /js/get-from-dropdown.js - 5.1.0 baseline new file originated * /css/crew-mgr-admin-style.css - 5.1.0 new baseline hides ai1ec clone and clone to draft, adds .label_orange, .label_blue and label_yellow for event edit screen, adds #button-red, #button-green, #button-orange * /css/crew-mgr-style.css - 5.1.0 new baseline adds #button-orange, adds [id^="tidegraph-widget"] to center tidegraph in widget, adds .label_red, .label_green, .label_orange, .label_blue and label_yellow * /css/graphene-mod-style.css - 5.1.0 new baseline restores homepage posts on mobile (previously hidden) =========================== = [5.0.1] 9Sep2023 = * Incremental updates made to version 5.0.0 running on PHP 8.0. * /admin/admin.php - 5.0.1 adds crew_manager_options['hide_site'] switch to hide all site schedule and crew information, 5.0.2 adds tab with Auto Assign Crew settings. Saves data in user meta for each crew member and provides option setting 'crew_manager_auto_assign', 5.0.3 adds group filter to Manage Email Lists & Other Groups, 5.0.4 fixes main site settings getting overridden by subsite saving options (search for possible fix implemented below for multisite), 5.0.5 fixed get_page_by_title deprecated error, 5.0.6 displays media categories created in status section and annotates tables created with red font if not found * /admin/init_actions.php - 5.0.1 updates ai1ec settings to hide subscribe to calendar button, fixes error log generation, 5.0.2 fixed get_page_by_title deprecated error, 5.0.3 incorporates MLA Multisite functions to copy the settings MLAMultisiteExtensions::mme_copy_settings_action AND terms MLAMultisiteExtensions::mme_copy_terms_action, 5.0.4 fixes new site page generation, displays media categories created in status section, 5.0.5 adds routine to copy media categories for initial images transfered * /cron/get-eventcrew-crontask.php - 5.0.1 closes up extra space between links after the post content on event reminders, 5.0.2 fixes domain for cmtest amd main site that prevented cron jobs from being sent, 5.0.3 adds expiration to status display in debug mode with function cm_display_site_status() in this file * /cron/remind-payment-due-crontask.php - 5.0.1 fixes domain for cmtest amd main site that prevented cron jobs from being sent * /css/crew-mgr-admin-style.css - 5.0.1 fixes tag & cat multiselect dropdown top offset and remote frame image for bullets, 5.0.2 adds styles for tabs in admin screen including adminfloatingbox , #button-blue, divleft, divcenter and spinner, 5.0.3 fixes #parent so it does not break MLA plugin list, 5.0.4 adds .label_red and label_green for event edit screen, 5.0.5 adds bg_blue, bg_slateblue, bg_lightgreyddbox_li_no_input, ddbox_li_input, ddbox_li_selected and ddbox_li_not_selected * /css/crew-mgr-style.css - 5.0.1 adds w_59pct, w_21pct, adds #checkbox_div and directions_col to show / hide directions on skipper send email, surrounds clock with border and cleans up lines, cleans up css format warnings, nudges bullets right on ai1ec events, adjusts cat & tag multiselect dropdown top offset, 5.0.2 adds legacy_add_to_calendar, add_event_to_calendar for subscribe to calendar dropdown position, 5.0.3 adds style #comment_popup for recent comments widget, 5.0.4 adds style .comment_image to scale images in comment popup, 5.0.5 adds bg_blue, bg_slateblue, bg_lightgreyddbox_li_no_input, ddbox_li_input, ddbox_li_selected and ddbox_li_not_selected * /includes/annual-calendar-shortcode.php - 5.0.1 updates timezone correction to use ai1ec event timezone, 5.0.2 adds auto assign crew to position if feature is enabled, fixes availability comparison, 5.0.3 adds timezone display and uses get_event_time_for_list($post_id, $start) used to display formatted event time with time zones, 5.0.4 adds help popup for Summary, Skipper and Crew View, 5.0.5 provides logic for skipper and admins to override globalhide * /includes/assignments-shortcode.php - 5.0.1 updates timezone correction to use ai1ec event timezone, 5.0.2 adds auto assign crew to position if feature is enabled, fixes availability comparison, 5.0.3 adds timezone display and uses get_event_time_for_list($post_id, $start) used to display formatted event time with time zones, 5.0.4 fixes error log generation, 5.0.5 fixes error log generation, provides logic for skipper and admins to override globalhide, 5.0.6 incorporates event crew disable entry with hidden crew list * /includes/availability-shortcode.php - 5.0.1 updates timezone correction to use ai1ec event timezone, 5.0.2 adds auto assign crew to position if feature is enabled, fixes availability comparison, 5.0.3 adds timezone display and uses get_event_time_for_list($post_id, $start) used to display formatted event time with time zones, 5.0.4 fixes error log, provides logic for skipper and admins to override globalhide, 5.0.5 incorporates event crew disable entry * /includes/crew-shortcode.php - 5.0.1 adds auto assign crew to position if feature is enabled, 5.0.2 adds local timezone display when event is scheduled in another time zone, displays (All Day) for all day events, 5.0.3 restores multiple event submission simultaneously for users, Skipper updates and overrides only for single event, 5.0.4 fixes crew list not being sent in reminders for hidden sites, allows super admins to see hidden site crew lists, updates format for calendar sync, 5.0.5 fixes error log on cancel, 5.0.6 sorts custom fields alphabetically for display, 5.0.7 incorporates event crew disable entry and hidden crew list * /includes/custom-report-shortcode.php - 5.0.1 fixes error log generation, 5.0.2 adds display name, adds edit profile links to display, first & last names, updates group query to fix allposts and corecrew having 'x' as meta being the same as 'yes' (it shouldn't) * /includes/functions.php - 5.0.1 updates timezone correction to use ai1ec event timezone, 5.0.2 removes ai1ec admin submenu items not used, fixes the ai1ec admin date list filter and reformats columns, adds thumbnail scaled image sizes add_image_size("admin-list-thumb", 60, 60, false), ("popup-thumb", 100, 100, false), ("agenda-size-thumb", 166, 166, false), ("post-size-thumb", 200, 200, false), fixes image scaling on get_thumbnail_remote to maintain original l/w ratio, adjusts cat & tag multiselect dropdown top offset, fixes delete shortcode test display on popup, updates error log display for renamed tab host-system-logs, updates admin menu items removed,generates updated admin event list to fix ai1ec plugin default display, adds shortcode [tomorrow_message] in prep for moving hard coded messages to email template, 5.0.3 fixes embedded image scaling in popups to stay within popup frame and also applies to send_formatted_email so reminder images are scaled, fixes corecrew to save update_user_option as local (false) rather than global, 5.0.4 adds capability to auto assign crew with function auto_assign_position_dropdown($user_ID, $position) and cm_set_default_position($user_id, $position_id), removed cacheed query from get_available_value($user_ID, $ai1ec_post_id) due to issues with assignments, 5.0.5 adds local timezone display when event is scheduled in another time zone for emails, popups and upcoming events, displays (All Day) for all day events, fixes 0 height image causing divide by zero on image scale, reformats event reminders to put event date, place & crew table above post content, adds get_event_time_for_list($post_id, $start) used to display formatted event time with time zones on various pages, 5.0.6 adds categories and tags to manage images for list view. Use plugin Media Library Assistant for grid view, removes Roles assignment in profiles for all but administrator (not Crew Administrators), 5.0.7 adds group filter for Manage Email Lists & Other Groups by adding $crew_group to function load_crew_check_boxes_admin($crew_group), modifies function load_crew_group_dropdown() so it does not show events in admin area, 5.0.8 incorporates fix so a deleted user on site being removed is removed from various admnistrator roles on that site, 5.0.9 adds womans extra small to shirt size, 5.0.10 removes URE role selectors from all but admin on user list header and footer, 5.0.11 fixes Crew Manager main site admin getting replace by subsites saving settings in function crew_manager_register_settings() and function cm_clear_user_cache(), adds function cm_get_page_by_title( string $page_title, string $output = OBJECT, string $post_type = 'page' ) to replace deprecated WordPress function get_page_by_title, 5.0.12 fixes calsync broken since 5.0.2 function cm_title_prefix_filter() was modified in early March 2023, 5.0.13 provides context sensitive add to calendar dropdown for annual calendar, calendar and events with updates to cm_parse_ai1ec_url(), cal_selector(), upcoming event shortcode and adds function cm_title_update($title), 5.0.14 adds Cingular Wireless, 5.0.15 on import events makes dropdown able to select next year, fixes order lookup get_shop_site_orders($subd), fixes error log, 5.0.16 cuts in Media Library Assistant and modifies admin menus for limited functionality by Crew Administrators. Requires that manage_categories role be enabled for Crew Administrators in URE., 5.0.17 adds Iridium Sat Phone to mobile carriers, sorts event custom fields alphabetically for all displays, removes 'Race Tracker via Iridium Go' from custom field transfer, 5.0.18 adds edit_link as field for custom reports, fixes allposts and corecrew queries in multiple places, fixes edit master and edit links for split events, forces renew subscription banner to annual renewal, 5.0.19 reformats recent comments widget to provide comment popup on mouseover, 5.0.20 scales recent comment images to fit in popup, 5.0.21 adds 2 check boxes for individual event hide crew list & enable crew entry, updates popup with admin detection and crew list display, fixes cat & tag dropdown gap when single item selected, 5.0.22 moves styles from cat & tag dropdowns to css file, incorporate tooltip trigger with descriptions for cat & tag dropdowns, 5.0.23 adds copy of media categories with added functions cm_get_terms_remote, cm_get_all_terms($taxonomy), cm_set_or_update_media_categories($image_id (int), $site (string), $remote_db (obj), $inserted_image (int)), hasAllElems(array $arr1, array $arr2) * /includes/regatta-registration-shortcode.php - 5.0.1 updates timezone correction to use ai1ec event timezone, 5.0.2 adds timezone display and uses get_event_time_for_list($post_id, $start) used to display formatted event time with time zones * /includes/results-shortcode.php - 5.0.1 updates timezone correction to use ai1ec event timezone, adjusts widgit date column width, 5.0.2 adds timezone display and uses get_event_time_for_list($post_id, $start) used to display formatted event time with time zones, 5.0.3 fixes results widget so it does not show "Results" if event has not occured, 5.0.4 fixes results widget so it does not fill error log if no results, 5.0.5 suppresses displaying results in future except when data entry enabled, 5.0.6 makes data entry default for skippers * /includes/roster-shortcode.php - 5.0.1 updates group query to fix allposts and corecrew having 'x' as meta being the same as 'yes' (it shouldn't) * /includes/shirts-shortcode.php - 5.0.1 updates group query to fix allposts and corecrew having 'x' as meta being the same as 'yes' (it shouldn't) * /includes/skipperassignments-shortcode.php - 5.0.1 updates timezone correction to use ai1ec event timezone, 5.0.2 adds timezone display and uses get_event_time_for_list($post_id, $start) used to display formatted event time with time zones, 5.0.3 incorporates event crew disable and hidden crew list indicators * /includes/skippercrewadmin-shortcode.php - 5.0.1 updates timezone correction to use ai1ec event timezone, 5.0.2 adds timezone display and uses get_event_time_for_list($post_id, $start) used to display formatted event time with time zones, 5.0.3 incorporates event crew disable and hidden crew list indicators * /includes/skippersendemail-shortcode.php - 5.0.1 updates timezone correction to use ai1ec event timezone, cleans up mobile format and adds option to hide on screen directions, 5.0.2 adds function wp_cron_mail to return screen faster after sending emails, moved inline css to styles, 5.0.3 scales images for attached events to fit 733px, 5.0.4 adds event timezone when event is attached, reformats event attachments to put event date, place & crew table above post content, 5.0.5 replaces deprecated WordPress function get_page_by_title with cm_get_page_by_title ============================================= = [5.0.0] 4February2023 = * New Baseline running on PHP8 with W3 Total Cache for Multisite. Versioning Info incorporated to get file information in Admin screen and to force user broswer cache automatic refresh when new versions of files are pushed. Saves timestamps and queries to session variables in various fles to reduce database calls, starts migrating inline css from PHP to css files. * * crew-manager.php - 5.0.0 new baseline, added priority 99 to enque crew-mgr-style.css last * /admin/admin.php - 5.0.0 new baseline * /admin/init_actions.php - 5.0.0 new baseline, repositions clock widget for updated css setting * /cron/get-eventcrew-crontask.php - 5.0.0 new baseline * /cron/remind-payment-due-crontask.php - 5.0.0 new baseline * /includes/annual-calendar-shortcode.php - 5.0.0 new baseline adds versioning info in header comments and fixes address bar year not being honored when pasting url, adds initial page load cookie, moves all styles to crew-mgr-style.css, limits access by hidden site settings * /includes/assignments-shortcode.php - 5.0.0 new baseline adds versioning info in header comments, saves timestamps and queries to session variables, adds initial page load cookie * /includes/availability-shortcode.php - 5.0.0 new baseline, adds initial page load cookie, moves all styles to crew-mgr-style.css * /includes/crew-shortcode.php - 5.0.0 new baseline, hides crew unless logged in when hide site option checked, adds button for shortcut to availability for setting multiple events * /includes/csv_export.php - 5.0.0 new baseline * /includes/custom-report-shortcode.php - 5.0.0 new baseline adds versioning info in header comments and uses badgepopup style. Adds saved report handling to store and retreive report settings and unsticks default fields after load * /includes/functions.php - 5.0.0 new baseline adds versioning info in header comments, made load_year_dropdown_autosubmit($query_yr) have current year + 3 for Import Events, stores repeated queries in session variable to minimize database calls, hooks to unset session variables for event organizing cats & tags when they are updated in admin, updates copied and smart copy post date and modified date shown in admin screen event list to the time event was copied, adds to group of Skipper & Boat Admins in Skiiper Send Email, adds saved reports to get_report_from_dropdown($report) and adds function cm_get_saved_reports() to get the reports stored in postmeta, fixes instance array needing cache update when event is canceled, modifies the various hooks to better detect ai1ec event transitions between publish, draft, trash and delete with new function cm_force_posts_table_timestamp() to update the posts table showing when items are trashed or deleted, adds initial page load cookie, moves inline css to style sheets for upcoming events and any updates needed when roster, results and annual-calendar css moved, moves clock javascript to clock.js, incorporates hide_site to keep schedule and crew hidden unless logged in, consolidates payment link determination for use on multiple pages * /includes/loader.php - 5.0.0 new baseline * /includes/notify-maybe-shortcode.php - 5.0.0 new baseline * /includes/participant-shortcode.php - 5.0.0 new baseline * /includes/regatta-registration-shortcode.php - 5.0.0 new baseline adds versioning info in header comments, saves timestamps and queries to session variables, adds initial page load cookie, fixes expand not sticking on submit, fixes hiding follow on recurring event data and better aligns columns, consolidates in functions payment link determination and formatting for use on multiple pages, moves all styles to crew-mgr-style.css * /includes/results-shortcode.php - 5.0.0 new baseline, moves all styles to crew-mgr-style.css, adds initial page load cookie, fixes expand not sticking on submit, incorporates hide_site to keep schedule and crew hidden unless logged in * /includes/roster-shortcode.php - 5.0.0 new baseline, moves all styles to crew-mgr-style.css * /includes/shirts-shortcode.php - 5.0.0 new baseline * /includes/skipperassignments-shortcode.php - 5.0.0 new baseline, adds initial page load cookie, moves all styles to crew-mgr-style.css, augments payment links * /includes/skippercrewadmin-shortcode.php - 5.0.0 new baseline adds versioning info in header comments, adds initial page load cookie and fixes cached load, moves all styles to crew-mgr-style.css * /includes/skippersendemail-shortcode.php - 5.0.0 new baseline adds versioning info in header comments, adds to group for Skipper and Boat Admins for skipper to use, removes initial page load spinner and increase spinner cookie time as it hangs sometimes * /includes/vcard_export.php - 5.0.0 new baseline * /includes/weight-shortcode.php - 5.0.0 new baseline * /js/clock.js - 5.0.0 new file with baseline code moved from functions.php * /js/cm-mce-button.js - 5.0.0 new baseline adds selecting capability, previously just inserted the pair * /css/crew-mgr-admin-style.css - 5.0.0 new baseline * /css/crew-mgr-style.css - 5.0.0 new baseline adds versioning info in header comments, adds section to override graphene theme style.css, contains inline css moved from results-php, annual-calendar.php and some from functions.php * /css/graphene-mod-style.css - 5.0.0 new baseline =========================== = [4.0.1] 23Dec2022 = * Incremental updates made to version 4.0.0 running on PHP 8.0. * * crew-manager.php - 4.0.1 bumps rev so it shows on plugin summary, 4.0.2 adds versioning in the header and forces version on style sheet * /admin/admin.php - 4.0.1 saves timestamp for position updates, 4.0.2 adds constant STANDALONE defined in functions for site list, 4.0.3 fixes 'timezone_string' not being set the same time Crew Manager and AI1EC settings are updated, updates individual user saved values with new group name if the group name is changed, added invalid charcter warning for group names and changes invalid characters to underscores, 4.0.4 reformats popup on import events to badgepopup and uses remote connection, adds note on smartcopy directions about year dropdown limit to 3 years in future, adds display of no events available to import if the results for selected year and filters have none * /admin/init_actions.php - 4.0.1 changes initial new site setting of AIOWPS plugin starting with V5.0.0 by copying 'aio_wp_security_configs' from main site to new site, then deleting 'aiowps_temp_configs' option from new site, 4.0.2 fixes error log entries creating initial posts * /cron/get-eventcrew-crontask.php - 4.0.1 fixes error log generation if no crew administrators defined, 4.0.2 adds update for custom fields included on imported events that have a formatted link saved in the event post meta 'transfer_custom_fields' have a value formatted site-post-text. The iteration through sites is done in the cron. The cron changes the environment for receiving blog and calls function cm_cron_update_custom_fields(). This gets all the events having linked posts, checks if any updates are needed, and if so, adds to the array $event_meta_changes ($key => $value,) where $key is the local event post_id and $value = 2). This array is passed to function cm_xfer_event_meta ( $event_meta_changes ) to update the event meta and upon completion returns to the cron loop. The post IDs updates are displayed with the debug screen enabled., 4.0.3 For debug mode, displays the status of Assign Reminder if this has been turned off on a website * /includes/annual-calendar-shortcode.php - 4.0.1 adds address bar parameter &exp=Y to be passed so that date range is unlimited to display event in "to" dropdown when passed by button triggered in calendar, 4.0.2 speeds up query using timestamps compared with time that tables were last stored using function cm_get_saved_timestamps(). Queries are stored as session variables and reloaded only when timestamps dictate, 4.0.3 more speed up by reducing number of function calls for look up and using $_SESSION loop counter to stop 2nd time though loop to display, adds start to URL pased to Skipper Send Email so event may be appended, 4.0.4 adds checkbox in Skipper view for superadmin to enable / disable display of custom field updates from other sites, 4.0.5 changes session variable for query year to be consistant across all pages, 4.0.6 repositions check to expand box on mobile for consistancy across pages * /includes/assignments-shortcode.php - 4.0.1 speeds up query using timestamps compared with time that tables were last stored using function, cm_get_saved_timestamps(). Queries are stored as session variables and reloaded only when timestamps dictate, 4.0.2 gets user query from function cm_get_users_cached() and fixes list display broken foring all not available since 4.0.1, 4.0.3 fixes assigned crew not updating on display after being updated in database, 4.0.4 changes session variable for query year to be consistant across all pages * /includes/availability-shortcode.php - 4.0.1 speeds up query using timestamps compared with time that tables were last stored using function cm_get_saved_timestamps(). Queries are stored as session variables and reloaded only when timestamps dictate, 4.0.2 changes session variable for query year to be consistant across all pages, 4.0.3 repositions check to expand box on mobile for consistancy across pages * /includes/crew-shortcode.php - 4.0.1 adds address bar parameter &exp=Y to be passed so that date range is unlimited to display event in "to" dropdown when passed by button triggered in calendar, 4.0.2 adds start to URL pased to Skipper Send Email so event may be appended, fixes superadmin not seeing submit button on sites where superadmin is not added to crew * /includes/csv_export.php - 4.0.1 fixes file name on download is always class-wp-debug-data.php, accomodates an 'id' field in first column but if it exists, strips from download * /includes/custom-report-shortcode.php - 4.0.1 gets user query from function cm_get_users_cached(), 4.0.2 fixes error generated with temp_table check, fixes single quote and embedded double quotes breaking CSV file generation, fixes tags not stripped. * /includes/functions.php - 4.0.1 fixes error log Undefined array key 0 when sending results, 4.0.2 Incorporates hooks previously done with modified WordPress core files: ms-functions.php and user-new.php with modified user-new.php in theme directory, 4.0.3 forces stand alone sites to use the new user welcome message from email template as was done for multisite, updates the admin notification on password reset email to include additional informaion, 4.0.4 adds buttons for site health and debug log display for admin dashboard, 4.0.6 fixes more error log entries, 4.0.7 adds function load_available_addcrew_dropdown($available, $avail_index, $user_ID, $ai1ec_post_id,$id_index) and load_comment_text_box_addcrew($comment_in, $avail_index, $user_ID, $ai1ec_post_id) used in crew shortcode, updates [acui_import] to remove core moficiations needed prior to acui version 1.20.4, 4.0.8 adds $adrs_array['exp'] parameter to be passed in address bar so that date range is not constrained to display event in "to" dropdown when triggered by button in calendar, 4.0.9 fixes error log entries if no skipper defined and attempt to use PHP mailer, adds Canadian Telecoms Telus Mobility, Rogers Wireless, Bell Mobility, Freedom Mobile and Saskatel Mobility in carrier dropdown, moves Time.ly calendar down on subscribe to calendar list, fixed user profile checkboxes not saving when cleared, 4.0.10 saves timestamps in wp_options table when the following tables are updated: wpxx_crewmgr_assigned, wpxx_crewmgr_position. Adds function cm_save_table_timestamp($table_name) and cm_get_saved_timestamps() used to determine if query is needed for custom crew manager tables, events and comments, applied speedup to upcoming events widget, 4.0.11 applies speedup to Crew Manager position & assignment tables using timestamps, sets default to Master Event for Skipper View Update Meta dropdown, 4.0.12 optimizes some functions for speedup, $wpdb->get_results converted to $wpdb->get_row where possible, 4.0.13 adds cm_get_current_blog_id() to get blog id with letters for standalone sites, updates get_thumbnail_remote_url to make sure the correct site is accessed for the url, streamlines query for cm_determine_instance_prefetch(), updates constants for stand alone sites in single location, various functions to streamline and optimize both code and queries. Adds caching scheme to database queries. cm_get_users_cached() caches all user queries, adds Display Name to custom reports, fixes remote thumbnail image extraction, adds address to remote poup, fixes combined cat & tag filter for regatta weight report dropdown, 4.0.14 fixes handling of crew importer saving 'corecrew' and 'allposts' groups as global rather than site specific, strips hidden crew message from emails, fixes standalone connector generating warnings on main site, fixes cm_get_users_cached() that was not passing correct user ID with default sort by display_name, adds WordPress function cache_users in cm_get_users_cached(), fixes errors generated in various functions if Skipper isn't assigned, updates the following functions to use cm_get_instance_table_cached() rather than direct database query: [get_recurring_id($ai1ec_post_id, $start), get_instances_array($ai1ec_post_id), adds ['start'] to cm_parseURL(), modified get_append_event_dropdown($selected_id) to self adjust query for dropdown if passed id starts before the default of 30 days in past, adds STANDALONE and STANDALONE_ARRAY to consolidate all stand alone site information in one place that may be accessed using these constants, adds Blog # to Crew Manager Dashboard visible only to superadmins on multisites, 4.0.15 adds hooks to trigger cm_clear_user_cache($user_id, $result) when existing multisite users are added from another blog, or when new users are added or removed from any site, incorporates cached query in function cm_generate_crew_output which is used extensively and speeds up display updates, 4.0.16 fixes the append date dropdown default selector not working if no date was passed to it (Saga reported this), fixes smartcopy category color transfer with updated get_event_categories($post_id), get_event_categories_remote($post_id, $tags, $site), copy_event_by_post($post_id, $offset, $copied_array) and copy_event_by_post_remote($post_id, $copied_array, $site), 4.0.17 Sets infrastructure for auto update of custom fields transferred from another site (intended for master site as source, but will work with any site used as source). Adds custom field named 'transfer_custom_fields' with value of site-post_id-some text message. Function transfer_ai1ec_meta_self_remote($post_id, $inserted_post_id, $site) updated to force this. Updates cm_get_regatta_master($post_id, $query_yr) to check the calling post 'transfer_custom_fields' to see if a linked post exists and forces the dropdown to that, Updates dropdown to include !!!Break Link to Original Event!!! with processing to remove the link when submitted. cm_cron_update_custom_fields() is called from get-eventcrew-crontask.php and executes all the tasks needed to check and update the custom fields alond with contact and payment links, disable Time.Ly Tickets button (requires updated ai1ec language files), 4.0.18 added priority to remove aiowpsec and w3tc menu items, removed w3tc "Performance" from admin bar for all but superadmin, deleted Time.Ly calendar as option from cal selector dropdown,fixed tag dropdown padding when 1 item, replaced many get_field_from_table_self ( $table_name = 'ai1ec_event_instances'... with cm_get_instance_table_cached(), added function cm_ai1ec_instance_table_search ( $search_field, $search_value, $output_field ) to find instance table values, added more array manipulation, more speedup in function cm_get_cats_tags, adds function cm_get_assigned_table_cached() to load all the crew responses in cache and cm_get_position_table_cached() to load the position table in cache, function cm_filter_table_search( $input_array, $filter_field, $filter_value ) does array searches, PRELIMINARY 5.0.0 New Baseline with extensive changes in queries and caching, moves inline css to crew manager style sheets, adds W3TC fragment cache tags to selected area, setup page fragment caching for menus in W3TC, flush W3 Total Cache when settings are saved or updated, updated site renewal and emails turned off banners with links, updates check_subscription() so it forces standalone sites as valid subscriptions, fixes 'corecrew' and 'allposts' from global to local after user import, adds function cm_auto_create_custom_fields ($post_id) which is hooked on saving an ai1ec event to automatically insert Yachtscoring, Nextsailor or Regatta Network formatted links in the custom fields, using the event ID in the tickets_url or Payment Link field, reformats smartcopy popup to use badgepopup style, changed date dropdown limit from automatic 1 year in future to calculated from events max 3 years in future, extensive work on cm_generate_crew_output_remote and cm_mouseover_popup_remote so it works for smart copy and event import * /includes/regatta-registration-shortcode.php - 4.0.1 speeds up query using timestamps compared with time that tables were last stored using function cm_get_saved_timestamps(). Queries are stored as session variables and reloaded only when timestamps dictate, 4.0.2 changes session variable for query year to be consistant across all pages, 4.0.3 adds call to function cm_auto_create_custom_fields ($post_id) to automatically insert Yachtscoring or Ragatta Network formatted links in the custom fields, using the event ID in the tickets_url or Payment Link field, 4.0.4 repositions check to expand box on mobile for consistancy across pages * /includes/results-shortcode.php - 4.0.1 fixes error log when no year on query, 4.0.2 fixes canx check not saved on submit, 4.0.3 speeds up query using timestamps compared with time that tables were last stored using function cm_get_saved_timestamps(). Queries are stored as session variables and reloaded only when timestamps dictate, 4.0.4 changes session variable for query year to be consistant across all pages, changes widget popup on results to badgepopup for mouseover to center display, surpress 'Race Results' placeholder displaying on recent results, 4.0.5 repositions check to expand box on mobile for consistancy across pages * /includes/roster-shortcode.php - 4.0.1 changes sort using strcasecmp rather than strcmp to integrate lower case, NOT USED BUT AVAILABLE AND COMMENTED OUT is gets user query from function cm_get_users_cached(), 4.0.2 fixes corecrew and allposts not working from importer which saved these as global groups for all sites, restores cached user query, 4.0.3 reformats mobile SMS text check box label, writes local values for the global corecrew and allposts and deletes global * /includes/shirts-shortcode.php - 4.0.1 gets user query from function cm_get_users_cached(), 4.0.2 repositions mobile canceled check box for consistancy across pages * /includes/skipperassignments-shortcode.php - 4.0.1 changes "Click to Add Crew" button from blue to green so it doesn't get confused with blue submit button, 4.0.2 fixes inability to add crew to an event if event has none, updates screen refresh to display # of crew and # of events updated, 4.0.3 puts queries in arrays and session variables to speed up, 4.0.4 fixes update message broken by 4.0.3 using modulo 2 counter, 4.0.5 fixes couldn't delete a comment using blank field, 4.0.6 incorporates event query cached to $_SESSION memory, all post meta retreived as array in single query to reduce database calls and users cached via cm_get_users_cached() for page speedup,4.0.7 repositions mobile check boxes for consistancy across pages * /includes/skippercrewadmin-shortcode.php - 4.0.1 speeds up query using timestamps compared with time that tables were last stored using function cm_get_saved_timestamps(). Queries are stored as session variables and reloaded only when timestamps dictate * /includes/skippersendemail-shortcode.php - 4.0.1 adds $adrs_array['exp'] parameter to be passed in address bar so that date range is unlimited to display event in to dropdown when passed by button triggered in calendar4.0.1 adds $adrs_array['exp'] parameter to be passed in address bar so that date range is unlimited to display event in to dropdown when passed by button triggered in calendar, 4.0.2 strips hidden crew message from attached events and appends event passed in url from Annual Calendar send email button * /includes/vcard_export.php - 4.0.1 fixes file name on download is always class-wp-debug-data.php * /includes/weight-shortcode.php - 4.0.1 adds filter display of cats & tags and adds category & tag display to title for selected event, 4.0.2 repositions check boxes on mobile for consistancy across pages * /css/crew-mgr-admin-style.css - 4.0.1 moves css from functions.php, 4.0.2 adds badgepopup same as site front * /css/crew-mgr-style.css - 4.0.1 reformats badgepopup to fade out and moves css from functions.php, formats links for site renewal and email turned off * ============================================= = [4.0.0] 26August2022 = * New Baseline updated for PHP8 consolidates version 3.0.1 updates * * crew-manager.php - 4.0.0 new baseline * /admin/admin.php - 4.0.0 new baseline * /admin/init_actions.php - 4.0.0 new baseline * /cron/get-eventcrew-crontask.php - 4.0.0 new baseline * /cron/remind-payment-due-crontask.php - 4.0.0 new baseline * /includes/annual-calendar-shortcode.php - 4.0.0 new baseline * /includes/assignments-shortcode.php - 4.0.0 new baseline * /includes/availability-shortcode.php - 4.0.0 new baseline * /includes/crew-shortcode.php - 4.0.0 new baseline * /includes/csv_export.php - 4.0.0 new baseline * /includes/custom-report-shortcode.php - 4.0.0 new baseline * /includes/functions.php - 4.0.0 new baseline * /includes/loader.php - 4.0.0 new baseline * /includes/notify-maybe-shortcode.php - 4.0.0 new baseline * /includes/participant-shortcode.php - 4.0.0 new baseline * /includes/regatta-registration-shortcode.php - 4.0.0 new baseline * /includes/results-shortcode.php - 4.0.0 new baseline * /includes/roster-shortcode.php - 4.0.0 new baseline * /includes/shirts-shortcode.php - 4.0.0 new baseline * /includes/skipperassignments-shortcode.php - 4.0.0 new baseline * /includes/skippercrewadmin-shortcode.php - 4.0.0 new baseline * /includes/skippersendemail-shortcode.php - 4.0.0 new baseline * /includes/vcard_export.php - 4.0.0 new baseline * /includes/weight-shortcode.php - 4.0.0 new baseline * /js/cm-mce-button.js - 4.0.0 new baseline * /css/crew-mgr-admin-style.css - 4.0.0 new baseline * /css/crew-mgr-style.css - 4.0.0 new baseline * /css/graphene-mod-style.css - 4.0.0 new baseline =========================== = [3.0.1] 24Aug2022 = * Incremental updates made to version 3.0.0 running on PHP 7.4 & 8.0. * * admin.php - 3.0.1 adds category & tag dropdowns and sets conditions to filter when importing events from other sites, fixes error log with site_id, 3.0.2 adds cats and tags to import event display in function crew_manager_import_event_page(), 3.0.3 updates formatting for manage email lists with zebra stripes to improve view on phones, 3.0.4 various query & display updates to prevent sql injection * annual-calendar-shortcode.php - 3.0.1 new file originated from regatta-registration-shortcode.php with annual calendar having views for not logged in, crew logged in (availability type display), and skipper logged in (calendar maintenance display). This requires edited calendar page with link to new page 'Annual Calendar', new loader.php and functions.php, disables submit buttons without subscription, adds SMS Text Crew on phones for Skipper & Crew View, provides consitant mobile formatting position & column width between views, reformats recurring event message and displays fields as text without input ability for recurring events, modified popup used on badges only (no more on event titles), 3.0.2 fixes skipper admin notification emails not sent with skipper and fixes address bar not saving cats & tags when crew submits updates, 3.0.3 adds summary view similar to not logged in with SMS text buttons for those logged in and adds cancel buttons for Skipper, 3.0.4 fixed PHP 8.1 error log warnings, 3.0.4 fixed PHP 8.1 error log warnings and optimized some code to improve speed, updates comment comparison and adds status display on number of records updated on submit, 3.0.5 adds help tip for skipper and pulsing text for crew availability radio button so it is more obvious for crew to set availability, added class for crewview, 3.0.6 adds regatta registration & fees paid status on skipper view, 3.0.7 adds Email (skipper only) and SMS buttons to summary view, 3.0.8 closes up blank row on default crew view if not logged in, surpresses comm buttons if no crew on list, 3.0.9 checks if there is an end time and displays it and if event spans midnight also displays the date, 3.0.10 adds buttons in Skipper View to copy custom fields from main site events, 3.0.11 adds shortcode for blog name when "You are logged in but not a member of" message is displayed * assignments-shortcode.php - 3.0.1 major update with display formatting using date badge by reusing annual-calendar.php code and making format consistant with availability-shortcode.php, 3.0.2 updates comment comparison and adds status display on number of records updated on submit, 3.0.3 checks if there is an end time and displays it and if event spans midnight also displays the date, 3.0.4 adds shortcode for blog name when "You are logged in but not a member of" message is displayed * availability-shortcode.php - 3.0.1 update adds 'expand' to cm_parseURL() so expand or roll-up can be passed in address bar, adds function select_calendar_dropdown($first), function cm_redirect_calendar($cal_view) and [annualcalendar] shortcode to provide link to annual calendar page with parameters passed between pages via the address bar, 3.0.2 fixes address bar not saving cats & tags when crew submits updates, 3.0.3 makes mobile format consistant with assignments, 3.0.4 updates comment comparison and adds status display on number of records updated on submit, 3.0.5 adds number crew to SMS text button, 3.0.6 checks if there is an end time and displays it and if event spans midnight also displays the date, 3.0.7 adds shortcode for blog name when "You are logged in but not a member of" message is displayed * crew-manager.php - 3.0.1 updates rev to show 3.0.1 on screen * crew-mgr-admin-style.css - 3.0.1 adds styles to support tag and cat dropdowns similar to the front side of WordPress * crew-mgr-style.css - 3.0.1 adds style main_list for cats & tags dropdown used on annual calendar page, adds #button-green, adds cleardot, adjusts jump anchors, 3.0.2 adjusts jump anchors, adds class blinking (calendar availability) and class button (add to calendar), 3.0.3 adjusts jump anchors for mobile on Skipper Edits Assignment by Crew and Skipper Edit Assignment by Event * crew-shortcode.php - 3.0.1 update uses css to add Event to Add to Calendar for single events, fixes post id at end of event and split & edit recurrence id, fixes crew list query when crew sets availability but assignment not made, 3.0.2 fixes cancel event messages not reflecting single events & PHP 8.1 error log generation, 3.0.3 optimizes code to speed up execution, has temporary limit to single post update until resolution for multiple posts submission can be worked, redirects to canceled event when a single event in a series is canceled, fixes "&" breaking crew comment compare on submit, 3.0.4 fixes SMS text button not being displayed, adds number of crew to SMS text button, 3.0.5 adds email button to each event * custom-report-shortcode.php - 3.0.1 adds white background to table so text is visible when fields extend past center column, 3.0.2 fixes PHP 8.1 error log warnings, 3.0.3 fixes sql escaped text to properly display without slashes, 3.0.4 fixes event crew list with sort to be the same as popup and fixes names with single quote causing error log problem, 3.0.5 adds passport date issued, 3.0.6 adds DOB, 3.0.7 adds day of week to start and end * csv_export.php - 3.0.1 fixes single quote and html entities * functions.php - 3.0.1 update adds 'annual-calendar' to page array in function get_multiple_event_tag_dropdown so that No Tags Assigned is available on the dropdown, updates Scotland ISO to GB-SCT so it doesdn't conflict with GB, add 'expand' to cm_parseURL() so expand or roll-up can be passed in address bar, adds function select_calendar_dropdown($first), function cm_redirect_calendar($cal_view) and [annualcalendar] shortcode to provide link to annual calendar page with parameters passed between pages via the address bar, adds functions set_multiple_event_tag_dropdown($input_array) and set_multiple_event_cat_dropdown($input_array) used on skipper view annual calendar, adds function cm_compare_arrays(array $a, array $b), changes the split all button to green badge, fixes crew list query when crew sets availability but assignment not made, updates fix when ai1ec plugin becomes inactivated, adds padding to split all green button using inline css, 3.0.2 modifies order for mouseover popup to put crew list near top. Adds function cm_post_number($post_id, $recurr_id, $text_or_link), fixes instance_id on single 'event' pages, 3.0.3 adds functions get_multiple_event_tag_dropdown_remote(array $tag, string $remote_prefix, object $remotedb), get_multiple_event_cat_dropdown_remote(array $category, string $remote_prefix, object $remotedb) used to filter for importing events, cm_display_filtered_cats_remote(array $input_array, string $remote_prefix, object $remotedb) and cm_display_filtered_tags_remote(array $input_array, string $remote_prefix, object $remotedb) to display cats & tags from remote database, adds function cm_enqueue_ai1ec_admin_style($hook_suffix) to add cat and tag formatting in admin, cm_parseURL() fixed so no cats or tags in address bar if array is empty, fixes calendar subscribe url (was get_bloginfo('wpurl'), now uses get_bloginfo('url')), 3.0.4 creates colordot without opacity for displaying $cats_tags['cats_formatted'], changes link in tags to annual calendar instead of ai1ec calendar, adds titles as descriptions for mouseover for selected cats & tags, updated copy_event_by_post_remote and get_event_categories_remote to transfer the tag & category descriptions & catagory color when importing from remote site, adds cats and tags to smartcopy event display in function load_event_check_boxes_admin, 3.0.5 adds default calendar view radio button on users profile so the automatically generated menu and associated links may be adjusted. Adds function cm_user_default_cal_view() that returns 'annual-calendar' for Annual view (default) or 'calendar' for Agenda view, updates get_event_tags($post_id) and get_event_categories($post_id) to include decsription and term_id in the returned array, updated copy_event_by_post to provide same capabilities as copy_event_by_post_remote, 3.0.6 fixes PHP 8.1 error log notice generation, 3.0.7 sanitizes text fields for availability updates using wpdb update, used clean_comment_to_display on cm_generate_crew_output to fix popup assigned & comments backslashes showing, adds callback function cm_cleancomment($a) used on array_map to strip htmlentities and slashes, 3.0.8 fixes cm_filtered_cats_tags_query so blank query doesn't create error warning, 3.0.9 fixes 0 length strings in post meta displaying in popups, more error log fixes, fixes site list on stand alone sites, 3.0.9 fixes 0 length strings in post meta displaying in popups, more error log fixes, fixes site list on stand alone sites, saves canceled post id as a session variable to display a single event in a series that is canceled, 3.0.10 updates formatting on load_group_text_boxes_admin() for manage email lists with zebra stripes to improve view on phones, 3.0.11 fixes split all not working due to $categories_array not having ['name'] suffix when used in wp_set_object_terms, 3.0.12 sanitizes text fields for position updates to prevent sql injection, 3.0.13 updates to dropdown in Skipper Send Email so Yes not assigned a position are included as Maybe, 3.0.14 checks if there is an end time and displays it on popups and if event spans midnight also displays the date, adds function cm_get_end_time_text($post_id, $recurr_id) that does the same for other shortcodes, 3.0.15 updates function get_email_for_post($post_id, $exclude) with $exclude = 5 used on custom report crew list, 3.0.16 updates function cal_selector() to accomodate category and tag filters for subscribed calendar, hides page edit from left admin menu for all but admins, 3.0.17 adds "In xxx days " prefix for cm_mouseover_popup, 3.0.18 fixes not all site fields passed on initial site setup, 3.0.19 adds functions cm_get_regatta_master($post_id, $query_yr) and cm_xfer_event_meta($event_meta_changes) used on annual calendar skipper view to transfer custom fields from main site for selected events, updates World Sailing user profile lookup url, 3.0.20 adds boat location address to popup displays and email reminders, 3.0.21 adds passport date issued in profile, 3.0.22 adds DOB in passport profile, 3.0.23 adds custom field import annotation from just astericks to include orange background, blue if title not matched, 3.0.24 cleans up error log generation * get-eventcrew-crontask.php - 3.0.1 fixes emails not sent due to not passing instance_id to get_event_start_location_sms(), 3.0.2 fixes error log reporting on PHP 8.1 and adds help for command line switches, 3.0.3 fixes more error log generation * init_actions.php - 3.0.1 adds annual-calendar page for new site setup, 3.0.2 adds Zoom Meeting Link for Test Event transfer * loader.php - 3.0.1 adds annual-calendar-shortcode.php * regatta-registration-shortcode.php - 3.0.1 update adds 'expand' to cm_formURL so expand or roll-up can be passed in address bar on annual calendar, 3.0.1 major update with display formatting using date badge by reusing annual-calendar.php code, includes screen status updates on submit, 3.0.2 checks if there is an end time and displays it and if event spans midnight also displays the date, 3.0.3 stops no fees paid or registered input submitted that create and save "" entries, 3.0.4 adds shortcode for blog name when "You are logged in but not a member of" message is displayed * remind-payment-due-crontask.php - 3.0.1 fixes PHP 8.1 error log warnings and adds help for command line switches, 3.0.2 fixes payment link not showing in email * results-shortcode.php - 3.0.1 update adds 'expand' to cm_formURL so expand or roll-up can be passed in address bar on annual calendar, fixes PHP 8.1 error log warnings, 3.0.2 major update with display formatting using date badge by reusing annual-calendar.php code, includes screen statyus updates on submit, 3.0.3 checks if there is an end time and displays it and if event spans midnight also displays the date, 3.0.4 stops no registration input submitted creating and saving "" entries, 3.0.5 fixes error log generation with undefined array key and undefined variable * roster-shortcode.php - formatting update and fixes PHP 8.1 error log warnings * shirts-shortcode.php - 3.0.1 fixes PHP 8.1 error log warnings * skipperassignments-shortcode.php - 3.0.1 major update with display formatting using date badge by reusing annual-calendar.php code, 3.0.2 fixes the not assigned value detected as 0 or stored value causing an update on submit when it is not needed, adds calback function cm_cleancomment on array_map to strip htmlentities and slashes, 3.0.3 fixes Brynjo's problem on Saga that stored wrong position if 0 was in the position value, added command line switches for debug, 3.0.4 fixes small font size for text in calendar badge displayed after the first event in the list, 3.0.5 checks if there is an end time and displays it and if event spans midnight also displays the date, 3.0.6 adds filter to edit only Not Assigned crew * skippercrewadmin-shortcode.php - 3.0.1 major update with display formatting using date badge by reusing annual-calendar.php code, 3.0.2 fixes htmlentities and slashes on submit for crew comment and assignment, 3.0.3 fixes undefined array key error log & display updates to prevent sql injection, 3.0.4 checks if there is an end time and displays it and if event spans midnight also displays the date, 3.0.5 adds filter to edit only Not Assigned crew, 3.0.6 fixes error log warning filter not assigned * skippersendemail-shortcode.php - 3.0.1 update adds to and from in address bar so other routines may send direct link and select from ID and Event ID for sending to crew * vcard_export.php - 3.0.1 fixes error log generation if graphene_author_hide_email is not set * weight-shortcode.php - 3.0.1 updates new link to World Sailing profile due to World Sailing website changes ============================================= = [3.0.0] 8January2022 = * New Baseline updated for PHP8 for speed and security enhancements. Many updates needed in admin.php and functions.php * * admin.php - 3.0.0 new baseline with div wraps added on all pages to be consistent with WP admin formatting and adds formatting classes to tables, changed capability needed to display Crew Manager admin pages to 'edit_pages', fixed
tag before signature for line spacing * vcard_export.php - 2.7.0 new file added to export vcards from roster, 2.7.1 changed what is passed in URL from vcard, to just the group number because the maximum url length was exceeded * weight-shortcode.php - 2.7.1 added popup on mouseover events =========================== = [2.7.0] 8October2019 = * New Baseline reflects documentation updates to version 2.7 =========================== = [2.6.1] 8October2019 = * Incremental updates made to version 2.6 (lots of clean up done here!) * admin.php - 2.6.1 added to smartcopy screen display that smartcopy removes "Canceled: " from copied event title & event descriptions, 2.6.2 added event import as seperate tab to allow user to import csv formatted file with events, 2.6.4 code cleanup so csv import doesn't store blank lines, 2.6.5 more code cleanup, category & tag import added, 2.6.6 event import displayed csv file sample header with mouse over descriptions, 2.6.7 forced smartcopy to display the copied event in the table after copy so link may be clicked to edit new event, 2.6.8 removed check boxes for show_crew if hide_crew is not selected and tailored the message displayed based on the option selected, 2.6.9 adds user definable groups for email lists, forces email reminder lead time and weight to be integers * assignments-shortcode.php - 2.6.1 inhibit availability updates if event canceled, 2.6.2 highlight "Canceled:" in title for post link on display list, 2.6.3 added tag select dropdown * availability-shortcode.php - 2.6.1 inhibit availability updates if event canceled, 2.6.2 highlight "Canceled:" in title for post link on display list, 2.6.3 added tag select dropdown, display skipper or admin detected * crew-shortcode.php - 2.6.1 Completely rebuilt after 2.60 rollout. Made logged in user own availability visible in hidden mode, display full names on crew list if logged in. Modified so CRON send displays full crew list and full name to override global hide using post_id flag set by cron session variable, stripped buttons and certain rows when sending CRON, 2.6.2 fixed refresh display message showing multiple times, 2.6.3 restored Login to Update Availability button missed on 2.6.0 rebuild, 2.6.4 fixed a user not already on the crew can't set availability by changing $showsubmit to boolean variable, stripped hidden message from cron send, 2.6.5 fixed inability to add crew when none added already, 2.6.6 added confirmation dialog for Cancel Event Immediately, 2.6.7 updated logic for various states to show buttons and rows, 2.6.8 fixed hidden crew showing on calendar, 2.6.9 fixed availability row showing when not logged in * functions.php - 2.6.1 added ###EVENTLINKS### for replacement of event and registration URL in reminder emails, 2.6.1 fixed error message Call to undefined function switch_to_blog(), 2.6.2 fixed path to WPAdmin on automenu for stand alone and main sites, 2.6.3 changed post title on smart copy canceled events to remove "Canceled: " from title and "this event is canceled from content", added function highlight_canceled_post_title($post_id) to display title as link with canceled in highlighted in red, 2.6.4 added dropdown to filter for tags, updated menu for payment and results entry when skipper or admin logged in, 2.6.5 updated wording for crew on All Posts check box, 2.6.6 updates get_to_group_dropdown() with skipper and admin from shop (only displayed on master site for email sending), 2.6.7 revised check of raw email for duplicates since some used different name but same email, 9/24/2019 2.6.8 added event imported functions & updated smart copy to incude venue on the list, 2.6.9 moved some event import functions from admin.php, comments on importer for future upgrades for tags and category insertion when not found, 2.6.10 fixed warning error message on 1st run transfer page, 2.6.11 changed smartcopy to display copied event in table after the copy is done, 2.6.12 hide the show_crew boxes in manage email lists if option is not selected, 2.6.13 adds user definable groups for email lists in skipper send email * get-eventcrew-crontask.php - 2.6.1 added ###EVENTLINKS### to be replaced by url for event webpage & registration url, 2.6.2 added URL links for debug, added all_mail_off for debug * init_actions.php - 2.6.1 formatted Results page as single column, 2.6.2 added lifesling video to links page and provided ability to transfer updated pages by deleting old page before transfer if it already existed, 2.6.3 updated broken links on link page * notify-maybe-shortcode.php - 2.6.1 added tag select dropdown * participant-shortcode.php - 2.6.1 added tag and category select dropdown * regatta-registration-shortcode.php - 2.6.1 highlight "Canceled:" in title for post link on display list, 2.6.2 added tag select dropdown, moved results entry to results page and replaced with registration & payment entry, 2.6.3 increased length from 160 to 256 for registration URL input, 2.6.4 Added location to regatta display * remind-payment-due-crontask.php - 2.6.1 preclude sending reminders for canceled events * results-shortcode.php - 2.6.1 highlight "Canceled:" in title for post link on display list, enabled skipper & admin entry of results, 2.6.2 enabled skipper & admin entry of registration & payment staus with links, 2.6.3 fixed results not updating due to query_yr not saved, 2.6.3 increased length from 160 to 256 for reesults URL input, 2.10.4 adds filter to exclude canceled events and make check boxes auto submit, centered data in columns on desktop display * roster-shortcode.php - 2.6.1 formatted cell phone numbers as clickable link using tel: in URL * skipperassignments-shortcode.php - 2.6.1 highlight "Canceled:" in title for post link on display list, 2.6.2 added tag select dropdown and annotated next event $Jump_URL * skippercrewadmin-shortcode.php - 2.6.1 highlight "Canceled:" in title for post link on display list, 2.6.2 added tag select dropdown and annotated next event $Jump_URL * skippersendemail-shortcode.php - 2.6.1 added skipper defined email groups for sending =========================== = [2.6.0] 3September2019 = * New Baseline reflects documentation updates to version 2.6 with global Crew Hide "closed visibility" mode =========================== = [2.5.1] 3September2019 = * Incremental updates made to version 2.5 * admin.php - updated Modify Setting to include options for global crew hiding and limiting updates per J/109 Leading Edge model * assignments-shortcode.php - added links for registration and payment, added global hide_crew to allow hiding crew from display and limiting online availability update per J/109 Leading Edge model to limit crew visibility to others * availability-shortcode.php - added global hide_crew to allow hiding crew from display and limiting online availability update per J/109 Leading Edge model to limit crew visibility to others * crew-shortcode.php - added global hide_crew to allow hiding crew from display and limiting online availability update per J/109 Leading Edge model to limit crew visibility to others * functions.php - renamed function last_logged_in to last_login to stop error message, fixed & in subject of results email & added Regatta Registration Status & Results Entry for Skipper display on crew menu, added Show Crew checkbox to manage groups for global hide_crew that allows hiding crew from display and limiting online availability update per J/109 Leading Edge model to limit crew visibility to others * init_actions.php - added 'Regatta Registration Status' to one column template, added Payment Link as meta field for events * regatta-registration-shortcode.php - added jump to next scheduled event button, Added race result entry with results send option for Skipper if logged in * remind-payment-due-crontask.php - added Payment Link meta as primary, with Tickets link as secondary for payment * skipperassignments-shortcode.php - added links for registration and payment =========================== = [2.5.0] 26August2019 = * New Baseline reflects documentation updates to version 2.5 =========================== = [2.4.1] 26August2019 = * Incremental updates to version 2.4 * crew-shortcode.php - cleaned up results display to hide fields with blank data, added row for skipper & admin to add / update a crew member, fixed error log messages when adding single crew, stopped sending skipper notification if user = 0 * functions.php - added placeholder text for assignments text box, added function get_registered_users_for_post_dropdown to use with adding a crew member on skipper edit by event, strips [checksubdomain] from emailed posts, added first and last name that was missing when adding a new user for multisite installations (core code also modified wp-includes/user-new.php & wp-admin/ms_functions.php), strips add a crew dropdown from reminder emails, adds html & images to comments posted and admin notifications, force display name publicly to Nick Name for multisite or first name, first letter of last name on stand alone sites, added columns for ID and Display Name in WP Admin Users table and made custom columns sortable * init_actions.php - added custom field names for 'Notice of Race', 'Sailing Instructions', 'Scratch Sheet', 'Race Tracker', 'Safety Check List', 'Waiver Form', 'Waiver Status', fixed detection of dates parsed in fees_paid field * regatta-registration-shortcode.php - added filter to display only events markes as registered or fees paid, added summary for yes, maybe, no crew responses * remind-payment-due-crontask.php - added YES & PAID as key words to detect when fee payment made and fixed detection of these ketwords * results-shortcode.php - cleaned up results display to hide events with blank data in results * skipperassignments-shortcode.php - added row for skipper & admin to add / update a crew member * skippersendemail-shortcode - forced default send to individual on master site, otherwise to group *** core code modified wp-includes/user-new.php & wp-admin/ms_functions.php - added first and last name that was missing when adding a new user for multisite installations =========================== = [2.4.0] 30June2019 = major release that consolidates all incremental updates. Added [notify-maybe] shortcode and updated documentation to Version 2.4. Added new file remind-payment-due-crontask.php to automatically notify skippers when regatta registration payments are due. =========================== = [2.3.1] 29June2019 = * Incremental updates to version 2.3 * admin.php - added call to extract_options($option_name) to get widget data for debug * assignments-shortcode.php - updated load_available_dropdown & load_position_dropdown to add index on id for javascript * availability-shortcode.php - updated load_available_dropdown to add index on id for javascript * crew-manager.php - bumped revision and added [results-summary] to description * crew-mgr-style.css - nudged floating submit button left so it doesn't intersect availability field in Crew Availability * crew-shortcode.php - updated load_available_dropdown to add index on id for javascript, added display of user defined fields for events * functions.php - updated add_action('save_post' to add_action('save_post_ai1ec_event' to minimize triggers on all posts types, updated load_available_dropdown and load_position_dropdown to add index on id for javascript, change from email name & address to Skipper for password reset & main site forced to admin@crew-mgr.com, added TinyMCE editor for comments field, added short sizes to profile and lookup for report, added capture date / time a user logs in and displays in user table * init_actions.php - add setup for Recent Comments widget, updated transfer of images for event thumbnails to support png, jpeg or gif, updated top level page menu list items, fixed insertion of ai1ec event instances, added ability to create pages without posts, fixed inserting duplicate images on posts if posts are regenerated, added tidegraph widget with default to Newport RI, added recent results text widget, added ORC to event categories * notify-maybe-shortcode.php - added [notify-maybe] shortcode for skipper to remind those with maybe in a date range to update availability * results-shortcode.php - added [results-summary] shortcode to use in widget, allowed pre-entry of results and series link so it won't display until results or series is entered * roster-shortcode.php - added left padding to table, display edit profile message if no name saved * shirts-shortcode.php - added short sizes to report, added left padding to table, display edit profile message if no name saved * skipperassignments-shortcode.php - updated load_available_dropdown & load_position_dropdown to add index on id for javascript * skippercrewadmin-shortcode.php - updated load_available_dropdown to add index on id for javascript * skipper-send-email.php - added from email address display =========================== = [2.3.0] 6May2019 = * New Baseline reflects documentation updates to version 2.3 =========================== = [2.2.1] 6May2019 = * admin.php - added event smart copy page * assignments-shortcode.php - supress display of adding logged in user when subscription expired, display pop up tags for links * availability-shortcode.php - display pop up tags for links * functions.php - fixed "&" showing as ascii code on event comment, appended comments to posts & events sent, fixed wp-admin access from skipper menu, added query year & category for regatta selection on crew weight report, added event smart copy functions , updated to optionally exclude 'Stay Ashore' from Skipper emails, formatted red font for text on canceled event, added function to format mobile phone for display and store as 10 digits, fixed header already sent error with cron event reminder * get-eventcrew-crontask.php - appended comments to events sent * regatta-registration-shortcode.php - display pop up tags for links * results-shortcode.php - display pop up tags for links * roster-shortcode.php - display pop up tags for links, format mobile phone for consistant display using function * shirts-shortcode.php - disabled editing when subscription expired, display pop up tags for links * skipper-assignments-shortcode.php - Fixed orange banner on Subscription Expired - Data Entry Disabled, display pop up tags for links * skippercrewadmin-shortcode.php - Fixed orange banner on Subscription Expired - Data Entry Disabled, display pop up tags for links * skipper-send-email.php - updated to optionally exclude 'Stay Ashore' from Skipper emails * weight-shortcode.php - added year and category dropdowns to filter regatta chooser, disabled editing when subscription expired, display pop up tags for links =========================== = [2.2.0] 9April2019 = * Updated for compatibility with PHP 7 * assignments-shortcode.php - Updated for PHP 7 * crew-mgr-style.css - Updated for PHP 7 * functions.php - Updated for PHP 7 * skipper-assignments-shortcode.php - Updated for PHP 7 * skipper-send-email.php - Updated for PHP 7 * weight-shortcode.php - Updated for PHP 7 =========================== = [2.1.1] 6April2019 = * Incremental update adds new report on regatta registration status, added category filter for all lists, added email group for subscribed skippers on main site with crew manager logo signature, added floating emailed disabled banner for skipper, fixed bug on 1st run setup that required it be executed twice * admin.php - only show automenu option to user who can create pages & cron settings to admins on single site & main site * assignments-shortcode.php - added category selection dropdown to filter query * crew-mgr-style.css - added style floating emailed disabled banner for skipper * functions.php - updated menu structure for Regatta Regsitration Status on Crew Menu, moved get_domain from crew manager master, added event category dropdown for filtering, updated crew group dropdown for skippers on main site, added Crew Manager logo for login screen, added floating emailed disabled banner for skipper, added [skipperemail] shortcode, added WP Menu Bar for admins and Skipper, added email list popup for to group on Skipper Send Email * get-eventcrew-crontask.php - fixed so it works on cmtest, multisite and single sites * init_actions.php - added Regatta Regsitration Status page creation, fixed so 1st run setup only required to execute once, added ORR-EZ, IRC and Pursuit to event category setup * loader.php - added regatta-registration-shortcode.php for loading * regatta-registration-shortcode.php - new file provides a report to run showing status of registration and payments for regattas * roster-shortcode.php - disabled admin editing profiles if subscription is expired * results-shortcode.php - added category selection dropdown to filter query * skipper-assignments-shortcode.php - added category selection dropdown to filter query * skipper-send-email.php - disabled sending emails if subscription is expired, added email group for subscribed skippers on main site with crew manager logo signature, added screen message if sending is disabled, used shortcodes [skippersendemail] & [boaturl] =========================== = [2.1.0] 23February2019 = * Updates after initial Multisite release to clean up some display formats, added event transfer capability in 1st run setup, added participant-shortcode.php * admin.php - updated to turn off email notifications during setup * functions.php - updated menu structure for Participant Report on Skipper Menu, fixed warning message on sending posts, added functions for event transfer, added SMS Text Messaging * get-eventcrew-crontask.php - added sms text notification for event reminders * init_actions.php - updated to fix ai1ec settings and fix the sample ai1ec event - no need to manualy publish * loader.php - added participant-shortcode.php for loading * participant-shortcode.php - new file provides a report skipper can run to display a matrix with people x position showing the numebr of times in a selected year that person sereved in the position * skipperassignments-shortcode.php - ordered crew by assignment color same as crew assignment list * weight-shortcode.php - fixed so summary is displayed even if no extra crew and put ISAF link for standby crew =========================== = [2.0.0] 10January2019 = * Major update to make compatible with Wordpress Multisite / Network Installations * All executable files advanced to revision 2.0.0 and updated for multisite. New files include: * graphene_mod_style.css - contains the css that is entered in the advanced section of Graphene child theme * init_actions.php - new file that includes scripts to automatically setup Crew Manager subdomain site from Main site. This does about 90% of what is needed. Still need to do ai1ec settings and fix the sample ai1ec event so it does not need to be manualy published * skippersendemail-shortcode.php - new file created to move skipper email capability from admin panel to front end =========================== = [1.2.2 Beta] 26November2018 = * Incremental update with fix to profile update * assignments-shortcode.php - added end date for events with recurring dates, fixed black space around table * availability-shortcode.php - added end date for events with recurring dates, fixed black space around table * crew-shortcode.php - fixed display of green check as red on mobile devices * functions.php - fixed problem where users were unable to save profile field updates, added extraction of recurring date function, removed click here to update button from emails * results-shortcode.php - added end date for events with recurring dates * skipperassignments-shortcode.php - added year selection dropdown, fixed black space around table * skippercrewadmin-shortcode.php - added year selection dropdown, fixed black space around table * To-Do: Install Script. =========================================== = [1.2.1 Beta] 26August2018 = * Incremental update with updated group list, skipper email capability, useability enhancements and bug fixes. The following files were updated: * admin.php - fixed display of visual editor on start of of Skipper Email screen, added retired group email capability, added skipper signature and post link to manually sent emails, fixed slashes in Skipper emails, added Active group for Skipper emails * assignments-shortcode.php - fixed warning message on array sort, added year selection dropdown, added event link in notification email when member changes availability, changed checkmark from graphics to text, surpressed spurios availability updates when selecting year * availability-shortcode.php - added year selection dropdown, added event link in notification email when member changes availability * crew-manager.php - renamed style.css to crew-mgr-style.css to prevent conflicts with WP styles * crew-shortcode.php - changed checkmark from graphics to text * functions.php - added retired group to skipper email dropdown, stripped extra html content from notification and canceled emails, fixed emailing comments so line breaks included, updates year selection for crew and skipper routines to select on availability and assignments (was previously used just for results), fixed display of special characters in assignment text box, added jacket size to user extra fields in profile, added Active group for Skipper emails, added mobile carrier selection in user profile * get-eventcrew-crontask.php - fixed turing on/off emails and notices from admin panel * results-shortcode.php - fixed message when no results detected * roster-shortcode.php - fixed retired crew query * shirts-shortcode.php - added jacket size in report, fixed retired crew query * skipperassignments-shortcode.php - added year selection dropdown * skippercrewadmin-shortcode.php - added year selection dropdown * weight-shortcode.php - added link to individuals US Sailing and World Sailing Profiles * To-Do: Install Script. * To-Do: add recurring event dates/times. =========================================== = [1.2.0 Beta] 25June2018 = * Incremental update with new shirt size report capability, useability enhancements and bug fixes. The following files were updated: * admin.php - excluded Helm position for editing since it may be excluded from OD weight calculation * assignments-shortcode.php - added jump to next scheduled event button * crew-shortcode.php - inhibits editing of status when event canceled * functions.php - excluded Helm position for editing since it may be used for OD weight calculation, added shirts lookup * loader.php - added shirts-shortcode.php * roster-shortcode.php - added dropdown to select active and inactive crew, added links to edit user profiles * shirts-shortcode.php - new file with [shirts] shortcode * To-Do: Install Script. * To-Do: add recurring event dates/times. =========================================== = [1.1.0 Beta] 20June2018 = * Incremental update with new weight report capability, skipper email capability, useability enhancements and bug fixes. The following files were updated: * admin.php - added settings for crew weight reports, added skipper email capability, added Retired group and revised instructions, added setting to allow Crew to set Email Optout * assignments-shortcode.php - added jump to next scheduled event button * availability-shortcode.php - added jump to next scheduled event button * crew-manager.php - updated comments for weight shortcode * crew-shortcode.php - fixed wrong post crew shortcode parsed on cancel event when multiple events displayed., added "Cancel Event Immediately" button * functions.php - added regatta dropdown for crew weight report, added skipper email capability, added Retired group for email lists & crew dropdown, removed wp_admin_hide since the Retired group handles this, added extra user profile fields, fixed spurious emails on non post updates (e.g. Graphene settings), added "Cancel Event Immediately" button processing for [crew] , added Crew Email Optout visible to crew in profile if allowed in admin panel * loader.php - added weight-shortcode.php * roster-shortcode.php - added link to edit logged in user profile, added supression of Retired group set in admin panel * skipperassignments-shortcode.php - added jump to next scheduled event button * skippercrewadmin-shortcode.php - added jump to next scheduled event button * style.css - fixed login button font color using !important to prioritize over ai1ec css * weight-shortcode.php - new file generates weight and sailor classification report * To-Do: Install Script. * To-Do: add recurring event dates/times. =========================================== = [1.0.0 Beta] 21May2018 = * Major update with new capability and rewrite of email handling. The following files were updated: * admin.php - updated to remove ELP plugin, revised email list management * assignments-shortcode.php - fixed characters that showed ascii string, updated email sending to remove ELP, crew list sorted on color codes * availability-shortcode.php - fixed characters that showed ascii string, updated email sending to remove ELP * crew-manager.php - updated comments only * functions.php - Updated all mail functions to remove ELP plugin * get-eventcrew-crontask.php - removed need for ELP plugin, fixed "headers already sent" warning message * skipperassignments-shortcode.php - added ability for crew to set availability anywhere when logged in, added floating submit button so it easier to navigate, login links redirect back to page after login * skippercrewadmin-shortcode.php - added ability for crew to set availability anywhere when logged in, added floating submit button so it easier to navigate, login links redirect back to page after login * style.css - added Cancel Event button format and Submit Changes button as a link * To-Do: Install Script. * To-Do: add recurring event dates/times. * To-Do: format a "Cancelled" display for events =========================================== = [0.3 Beta] 25Apr2018 = * Updates to files with changes as listed. * assignments-shortcode.php, availability-shortcode.php, skippercrewadmin-shortcode.php, skipperassignments-shortcode.php - added ability for crew to set availability anywhere when logged in, added floating submit button so it easier to navigate, login links redirect back to page after login * To-Do: Install Script. * To-Do: add recurring event dates/times. * To-Do: put event date in subject of email reminders. * To-Do: generate email when comments posted. * To-Do: generate email when results posted. * To-Do: format a "Cancelled" display for events =========================================== [0.2 Beta] 22Apr2018 = * Updates to files with changes as listed. * functions.php position dropdown now hides Admin (selectable) and Graphene Hide Email if checked * assignments-shortcode.php, availability-shortcode.php, skippercrewadmin-shortcode.php, skipperassignments-shortcode.php - changed timezone correction using 'America/New_York' format * get-eventcrew-crontask.php updated so "Stay Ashore" crew will get event emails * To-Do: Install Script. * To-Do: add recurring event dates/times. * To-Do: put event date in subject of email reminders. * To-Do: generate email when comments posted. * To-Do: generate email when results posted. * To-Do: format a "Cancelled" display for events =========================================== [0.1 Beta] 11Apr2018 = * Initial Release for Beta Test Requires manual creation of tables and loading of data until install script developed. * To-Do: Install Script. * To-Do: add recurring event dates/times. * To-Do: put event date in subject of email reminders. * To-Do: generate email when comments posted. * To-Do: generate email when results posted. * To-Do: format a "Cancelled" display for events * To-Do: Write Webmaster directions * To-Do: Write Skipper Admin directions