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 padding for cm generated tables in admin * assignments-shortcode.php - 3.0.0 new baseline with updated initial spinner handling, uses new functions cm_formURL($query_yr (yyyy),$tag_array (array) , $cat_array (array), $canceled (boolean)) and cm_parseURL() to set / get address bar parameters on submit and page reload so the query can be replicated using the address bar, adds javascript function CmCopyURL() with button to copy url, incorporates hide crew lists using event meta _hide_crew_list set in event admin, adds crew name to notification subject email * availability-shortcode.php - 3.0.0 new baseline uses new functions cm_formURL($query_yr (yyyy),$tag_array (array), $cat_array (array), $canceled (boolean)) and cm_parseURL() to set / get address bar parameters on submit and page reload so the query can be replicated using the address bar, adds javascript function CmCopyURL() with button to copy url, incorporates hide crew lists using event meta _hide_crew_list set in event admin, adds crew name to notification subject email * cm-mce-button.js - 3.0.0 new baseline * crew-manager.php - 3.0.0 new baseline * crew-mgr-admin-style.css - 3.0.0 new baseline adds floating button for admin pages with tag #adminbutton-blue and class div.floatingbox * crew-mgr-style.css - 3.0.0 new baseline * crew-shortcode.php - 3.0.0 new baseline with updated recurrence determination to fix wrong values when ai1ec agenda and monthly calendar views are used. Requires calling source on function cm_get_instances_array_sourced($source, $postid), adds buttons on recurring events to cancel a single date, or the entire series, updates calendar sync to accomodate recurrence (work around since true recurrence is not resolved on calsync), hides event edit links for subscribers since edit capability is needed to uploade media for event comments, unhides hidden crew for calendar sync and does minor reformatting on calsync using |, using checkbox in ai1ec evnet admin, crew lists and submit buttons are hidden using post meta _hide_crew_list, adds crew name to notification subject email, fixes club & registration link display if only link but no text when single event shown * csv_export.php - 3.0.0 new baseline * custom-report-shortcode.php - 3.0.0 new baseline updated for PHP8 and revised initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(). Adds category and tag display to post titles as links. * functions.php - 3.0.0 new baseline having fixed recurrence processing with function cm_determine_instance_prefetch() & function cm_determine_instance, updated dropdowns get_to_group_dropdown($group_selected) & get_append_event_dropdown($selected_id) and to accept input selected on page refresh, updated copy_recurring_event_by_post to copy crew on split all and update the recurrence rules stored in the ai1ec event. Function cm_hide_ai1ec_edit_links() hides recurring ai1ec edit links for subscribers since edit capability must be enabled to upload media for comments, adds cm_formURL($query_yr (yyyy),$tag_array (array) , $cat_array (array), $canceled (boolean), $data (boolean)) and cm_parseURL() to set / get address bar parameters on submit and page reload so the query can be replicated using the address bar, function cm_getAddress() returns the exact url showing in the address bar, customizes admin dashboard to add Crew Manager navigation buttons in a widget and turns off other widgets using functions cm_add_dashboard_widgets(), cm_dashboard_widget_function() and cm_remove_dashboard_meta(), adds cm_hide_author_email() to prevent displaying email address to those not logged in, turned off edit links in results widgit popups, fixed calendar subscribe links, added function cm_homepage_button_admin()to provide a floating button on all admin pages with link to site homepage, fixes iso lookup default to US when nothing selected, addds checkbox to hide crew lists on events using functions cm_hide_crew_list() and cm_hide_crew_list_action(), updates cm_generate_crew_output to hide crew lists, updates padding on smartcopy table, moves function cm_user_welcome($user_id_new) from modified core user_new.php and changes method to use new user welcome email template rather than hard coded text in the file * get-eventcrew-crontask.php - 3.0.0 new baseline and fixes recipients array not initialized * graphene-mod-style.css - 3.0.0 new baseline * init_actions.php - 3.0.0 new baseline * loader.php - 3.0.0 new baseline * notify-maybe-shortcode.php - 3.0.0 new baseline * participant-shortcode.php - 3.0.0 new baseline * regatta-registration-shortcode.php - 3.0.0 new baseline uses new functions cm_formURL($query_yr (yyyy),$tag_array (array), $cat_array (array), $canceled (boolean), $data (boolean)) and cm_parseURL() to set / get address bar parameters on submit and page reload so the query can be replicated using the address bar, adds javascript function CmCopyURL() with button to copy url * remind-payment-due-crontask.php - 3.0.0 new baseline and fixes undefined array key * results-shortcode.php - 3.0.0 new baseline uses new functions cm_formURL($query_yr (yyyy),$tag_array (array), $cat_array (array), $canceled (boolean), $data (boolean)) and cm_parseURL() to set / get address bar parameters on submit and page reload so the query can be replicated using the address bar, adds javascript function CmCopyURL() with button to copy url, adds $_SESSION['results_widgit_no_links'] as flag to turn off edit links in results widgit * roster-shortcode.php - 3.0.0 new baseline * shirts-shortcode.php - 3.0.0 new baseline * skipperassignments-shortcode.php - 3.0.0 new baseline incorporates hide crew lists message using event meta _hide_crew_list set in event admin, fixes crew list query when crew sets availability but assignment not made * skippercrewadmin-shortcode.php - 3.0.0 new baseline incorporates hide crew lists message using event meta _hide_crew_list set in event admin. * skippersendemail-shortcode.php - 3.0.0 new baseline updated for PHP8 with new initial spinner handling and saving dropdowns & message content between screen refresh * vcard_export.php - 3.0.0 new baseline * weight-shortcode.php - 3.0.0 new baseline =========================== = [2.13.Z] 11December2021 = 2.13.Z has most 3.0.0 updates for PHP8 for speed and security enhancements but excludes the recurring determination fix in crew-shortcode.php with some in new functions located in functions.php * * admin.php - 3.0.0 new baseline * assignments-shortcode.php - 3.0.0 new baseline, new initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(), adds tag display to post titles, allows comments to be deleted by removing text from the box * availability-shortcode.php - 3.0.0 new baseline, new initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(), adds tag display to post titles, allows comments to be deleted by removing text from the box * cm-mce-button.js - 3.0.0 new baseline * crew-manager.php - 3.0.0 new baseline * crew-mgr-admin-style.css - 3.0.0 new baseline * crew-mgr-style.css - 3.0.0 new baseline, adds white border around submit button to make it stand out on dark background colors * crew-shortcode.php - 2.13.7 updated for PHP8 - allows comments to be deleted by removing text from the box, adds comment deletion text in skipper notification email * csv_export.php - 3.0.0 new baseline * custom-report-shortcode.php - 3.0.0 new baseline, new initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(), adds category and tag display to post titles as links, fixes crew list filtered displayed on events, sorts crew for events in same order as crew shortcode * functions.php - 2.13.17 adds many 3.0.0 upgrades without the deterministic recurrence changes. Adds timezone suffix on times (e.g. EST), updates multiselect cat & tag dropdown and fixes clear, adds function function cm_process_cat_dropdown() & function cm_process_tag_dropdown() to get results from updated cat & tag multiselect, and popup reformatting * get-eventcrew-crontask.php - 3.0.0 new baseline * graphene-mod-style.css - 3.0.0 new baseline * init_actions.php - 3.0.0 new baseline, updates ai1ec rev to 3.0.0 in settings array * loader.php - 3.0.0 new baseline * notify-maybe-shortcode.php - 3.0.0 new baseline, new initial spinner handling, fixes formatting, corrects doubles emails sent, can add to address bar ?debug=yes&mail=off for testing * participant-shortcode.php - 3.0.0 new baseline, new initial spinner handling and updated cats / tags multiselect processing * regatta-registration-shortcode.php - 3.0.0 new baseline, new initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(), adds tag display to post titles. * results-shortcode.php - 3.0.0 new baseline, new initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(), adds tag display to post titles. * remind-payment-due-crontask.php - 3.0.0 new baseline * roster-shortcode.php - 3.0.0 new baseline, new initial spinner handling * shirts-shortcode.php - 3.0.0 new baseline, new initial spinner handling * skipperassignments-shortcode.php - 3.0.0 new baseline, new initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(), adds tag display to post titles. * skippercrewadmin-shortcode.php - 3.0.0 new baseline, new initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(), adds tag display to post titles. * skippersendemail-shortcode.php - 3.0.0 new baseline * vcard_export.php - 3.0.0 new baseline * weight-shortcode.php - 3.0.0 new baseline, new initial spinner handling, updated category & tag multiselect using new function cm_process_cat_dropdown() and cm_process_tag_dropdown(). =========================== = [2.13.x] 16November2021 = 2.13.x has the incremental updates for testing before new baseline 3.0.0 for PHP 8 = [2.13.1] 31October2021 = * Incremental updates made to version 2.13.0 running on PHP 7.4. * * admin.php - 2.13.1 adds checkbox to enhance boat menu with About and Photos pages, 2.13.2 changes Crew Manager WP menu displayed to 'delete_posts' rights rather than 'edit_posts', 2.13.3 reverts to menu as shown in 2.13.0 since photos and about are added to all site menus with functions updated to have auto detection of logged in user with appropriate rights shows a page edit link at the top of page, 2.13.4 adds option to enable or disable skipper reminders to assign crew with no position and updates crew manager settings defaults for new sites * assignments.php - 2.13.1 fixes quotes in crew comments causing multiple crew availability changes when not changed * availability.php - 2.13.1 fixes quotes in crew comments causing multiple crew availability changes when not changed * crew-mgr-style.php - 2.13.1 revises th.rotate for crew particpant report screen to provide with background and grid lines * crew-shortcode.php - 2.13.1 resolve private shortcodes in custom fields, 2.13.2 adds Split All button to recurring events, 2.13.3 fixes hidden crew model not showing designated crew (user meta change), 2.13.4 fixes wrong offset key to determine instance passed when canceling an event, 2.13.5 fixes quotes triggering extra post updates on submit availability change,fixes emails not sent when changing availability in agenda view, 2.13.6 fixes multiple entries for same event in skipper notification on event comment changes * csv_export.php 2.13.1 updates prefix with site for temp table * custom-report-shortcode.php 2.13.1 adds crew list to event report, 2.13.2 fixes error log generation due blank rows, temp table made for each site rather than just main site, 2.13.3 updated for PHP8, fixes crew list filtered displayed on events, sorts crew for events in same order as crew shortcode, adds spinner * functions.php - 2.13.1 added function resolve_private_content($content) to use private shortcode in other places besides post and ai1ec content, 2.13.2 added function copy_recurring_event_by_post($post_id, $instance, $crew_copy) to perform split and create all occurences with option to copy original event crew assignments, get_event_tags($post_id), function cm_copy_crew($post_id, $inserted_post_id) to copy crew from original to inserted ai1ec post. Added function cm_copy_crew_action() and cm_copy_crew_option_split_event() to add copy crew checkbox on ai1ec edit screen that enable crew copy on split & edit, 2.13.3 fixes ai1ec meta was showing protected content when not logged in, 2.13.4 surpresses showing events to crew on load_crew_group_dropdown if hidden crew option selected by skipper, 2.13.5 adds Photos and About to boat for automenu on selected sites, provides option for enhanced menu on site modify settings, added boatpage_shortcode($atts, $content = null) to generate the menu page if Boat is clicked - has site and skipeer contect logic., 2.13.6 adds function cm_user_can_edit_page, function cm_remove_admin_menu_items(), function remove_default_post_type_menu_bar, function remove_draft_widget() and provides scheme to adjust rights for editing selected pages, hides some wp submenu items for Skippers, fixes rights for uploading media on comments, function cm_show_edit adds edit link at top of page based on selected pages and rights so no longer need it set in Crew Manager Modify Setting introduced in 2.13.5, 2.13.7 updates function send_formatted_email($user_ids, $subject, $content, $post_id) to detect user_ids as an array for multiple id used for corn job to remind skipper (and helpers) to update unassigned crew, and retains use of single user_id to handle all previous cases, 2.13.8 fixes hidden crew model not showing designated crew (user meta change), 2.13.9 fixes active group not working when sending a post, changed is_super_admin to cm_is_super_admin throughout file, 2.13.10 fixes protected content not resolved for event meta in reminder email, 2.13.11 fixes AIOWPS Firewall setting menu not displayed on stand alone sites and updates spinner time delay from 3 to 5 seconds, 2.13.12 fixes site orders after 100 not sorting properly on renewal, 2.13.13 excludes edit page on Skipper Send Email page and sent emails, 2.13.14 adds optional switch 'stickday=Y' that will display any event scheduled that day up until midnight in the upcoming events widget formatted [upcoming num=X canx=Y stickday=Y], forces definition of AI1EC_ADMIN_THEME_CSS_URL if ai1ec plugin is not activated, 2.13.14a adds tag display to popups, 2.13.15 adds some pre PHP8 enhancements (before instance array changes) with new function cm_prepend_http($url) that looks for http:// or https:// on a url and if not there adds http:// to the beginning of the url, function cm_text_or_link($text, $url, $title, $newpage) creates text or a formatted link using the text, adds tag display to popups, adds function delete_all_including is similar to function delete_all_between but include the end points for string deletion, 2.13.16 adds function cm_ai1ec_reactivate() to automatically reactivate the All In One Event Calendar plugin when it deactivates itself * get_eventcrew-crontask.php - 2.13.1 adds reminder for Skipper to assign any crew positions not assigned 24 hours prior to the crew reminder, 2.13.2 adds " 1st" and " Final" to message title for long lead reminder settings so recipient can see the difference * init-actions.php - 2.13.1 updates ai1ec rev to 2.6.8 in settings array, updates the ai1ec_api_settings with hotmail login, fixes ai1ec initial setup and forces Sample Event to PHRF category, 2.13.2 adds Photos and About pages to Boat menu, copied from Master Site, fixes Sample Event date when opened, 2.13.3 adds stickday=Y to upcoming events widgit so that events show until midnight * participant.php - 2.13.1 adds cell border lines and reformats header angled text to vertical if more than 15 names * regatta-registration-shortcode.php - 2.13.1 adds Split All button to recurring events * results-shortcode - 2.13.1 adds Split All button to recurring events * roster-shortcode.php - 2.13.1 forces sort order by display name =========================== = [2.13.0] 3April2021 = * New Baseline reflects documentation updated using docspress since pdf is no longer maintained. Major update includes enhanced international phone and text settings. Most updates were in functions.php and roster.php ************************** =========================== = [2.12.1] 2April2021 = * Incremental updates made to version 2.12.0 running on PHP 7.4 * * admin.php - 2.12.1 adds option to turn off payment reminders, 2.12.2 fixes ability to turn off skipper email sent messages broken since 2.8.0, 2.12.3 adds dropdown for 2nd long lead reminder message, 2.12.4 adds new user import page link to Crew Manager menu * assignments-shortcode.php - 2.12.1 fixes html entities shown on crew comments, 2.12.2 moves Next Event on same line with Event URL, 2.12.3 changes tag and category dropdowns to multislect, similiar to a1iec format, adds force_spinner_loading() to show spinner on page load and refresh, 2.12.4 adds display of recurring dates, 2.12.5 updates query to highlight an unexpanded recurring event if it is next, 2.12.6 updates is_super_admin() to cm_is_super_admin() * availability-shortcode.php - 2.12.1 moves Next Event on same line with Event URL, 2.12.2 changes tag and category dropdowns to multislect, similiar to a1iec format, adds force_spinner_loading() to show spinner on page load and refresh, 2.12.3 adds display of recurring dates, 2.12.4 updates query to highlight an unexpanded recurring event if it is next, 2.12.5 updates is_super_admin() to cm_is_super_admin() * crew-mgr-style.css - 2.12.1 adds more anchor definitions to jump to correct location on various pages, 2.12.2 adds styles for cats and tags multiselect like ai1ec, 2.12.3 updates jump to corrected location for regist and results dues to changes in these two shortcodes * cm-mce-button.js - 2.12.1 new file has javascript code for [private] MCE button * crew-shortcode.php - 2.12.1 updated inline css so that row color backgrounds render in ai1ec displays, 2.12.2 moves code to functions cm_get_instances_array($postid) and cm_show_recurring_dates($postid, $instances_array) so it may be reused when generating popups, fixed escaped quotes on comments, 2.12.3 adds confirmed post and instance as optional parameters to pass in shortcode [crew post=x instance=y]. This forces the post and instance so there is no need to try and determine these values * custom-report-shortcode.php - 2.12.1 adds personal EPIRB Hex number, 2.12.2 sets date formats as selected on international settings, 2.12.3 fixes error with illegal string offsets, 2.12.4 updates to accomodate different groups assigned in user profile across multisites for an individual * functions.php - 2.12.1 added code to limit All In One WP Security menu acces to all but SuperAdmin. This plugin was added due to DDoS attack., 2.12.2 adds function current_time_date() and shortcode [time_date left=x or right=x top=y] (x & y assumed to be % for positioning) to display a calendar clock with date badge and current time h:m:s am/pm for overlay on header, 2.12.3 adjusts the upcoming event query to correct for timezone when comparing current date/time, updated inline css so that row color backgrounds render in crew code simulate for emails, 2.12.4 adds functions cm_get_instances_array($postid) and cm_show_recurring_dates($postid, $instances_array) to dispay a list of recurring dates used in popups and crew shortcode, stops sending SMS to Google voice, 2.12.5 fixes Split & Edit HTML showing in ai1ec WP Admin event titles, fixed error log generation when submitting comment by prefixing query with if ($postid), 2.12.6 Adds Dashicons in WordPress Front-end to use with shortcode [dashicon icon="icon-name"], 2.12.7 changes PHP Mail to SMTP with settings in wp-config.php, updated get_main_domain() to use WordPress functions, created function cm_get_domain() to remove subdomain & return domain of a Crew Manager site, forced reply to and no-reply where needed on outgoing emails, adds personal EPIRB in user profile and new functions format_hex_epirb($plb_hex) and format_plb_mmsi($plb_mmsi), 2.12.8 adjusted database name definitions after migration to server Hotel, added function cm_connector() for master Crew Manager site connection, 2.12.9 add_filter('action_scheduler_run_schedule', function($arg) { return 86400; }); to clean up site health problem created when using real cron, 2.12.10 fixes tracphone SMTP to text address, adds country code to mobile array on format_intl_mobile_phone($phone, $iso), 2.12.11 updates profile fields to clean up graphene settings not used, adds cm_hidden_count($group) to display the number of crew hidden by admin on crew dropdown selector, 2.12.12 fixes expired site date calculation, reformats the popup and edit links for ai1ec calendar view, added function cm_ai1ec_popup($post_id, $recurr_id), Temp fix for WordPress 5.6.1: Window Unload Error Fix (at bottom - delete when fixed in WP 5.6.2) - https://core.trac.wordpress.org/ticket/52440#comment:18, 2.12.13 fixes a split and edit link displayed on a single event that is not a recurring event caused by ai1ec "more" link always having a recurrence id, 2.12.14 adds function cm_long_lead_days($input) to create a dropdown to select 2nd long lead reminder message scheduling and reformats the email reminder to eliminate double "be at ...", 2.12.15 adds displays categories and tags similar to ai1ec displays using functions get_multiple_event_tag_dropdown($input_array), functions get_multiple_event_cat_dropdown($input_array). function force_spinner_loading() is added to each page that has a query containg year to force the spinner on initial load, function cm_filtered_cats_tags_query($input_array,$cat_or_tag) builds the query term for cats or tags, only displays salmon color for recurring backgrounds for skippers & admins, 2.12.16 adds function content_acui_import($atts, $content = null) to display the front end crew import page, hides Tools menu in WP Admin with the asscoiated Import Users & Customers admin menu for all but SuperAdmin, removes the temporary WordPress 5.6.1 Window Unload Error fix corrected by WordPress 5.6.2., 2.12.17 adds [private] capability to hide content unless logged in. added functions hide_private_content ( $atts, $content), cm_add_mce_button(), cm_register_mce_button( $buttons ), cm_add_tinymce_plugin( $plugin_array ). A spy icon that inserts the shortcode pair [private][/private]is placed on the MCE toolbar whenever the editor is shown in WP Admin. added function cm_allowedtags(), function cm_custom_wp_trim_excerpt($cm_excerpt) to display the private content in post excerpts, 2.12.18 adds function get_next_event_id() to get the post ID for the next ai1ec event, including recurring events and returns the post_id, 2.12.19 adds function get_shop_site_orders($subdomain) to get data typed into order such as the homeport and displays on sitelist. Superadmin sees pink background on expired sites, 2.12.20 fixes html entities displayed in skipper from name (Eric & Mary), fixes inability to select year on Skipper Edit by Event, fixes [private] shortcode not displaying on cron send emails, 2.12.21 add_filter( 'comment_text', 'do_shortcode' )to resolve [caption] in post comments when media added, fixes Google Voice text messages being sent, fixes uncancel event not removing formatted content, updated Support menu order and changed Documentation to FAQs, initial load spinner for roster and crew shirt size report, 2.12.22 updates shortcode [editlinks post=x instance=y] to accept passed parameters, updates function get_multiple_event_tag_dropdown ($input_array) to detect page and selectively append 'No Tags Assigned' in the dropdown, formats all category dots before the title on all pages, reformats mouse over popups with smaller image 100 x 100 and aligns left, adds function cm_generate_ai1ec_output($post_id, $recurr_id, $user_id) to generate a calendar agenda view like ai1ec but the instances work across date boundaries, works with updated crew-shortcode.php by passing know post_id and instance values., 2.12.23 adds function cm_get_table_prefix() gets the WordPress table prefix used for multisite or standalone sites, updates to accomodate different groups assigned in user profile across multisites for an individual, 2.12.24 adds Bulgaria to country array, adds function cm_is_super_admin() to return true for superadmin logged in only on multisites, 2.12.25 adds many countries to country array, adds Bulgarian Telecoms to mobile carriers and updates formatting sms_email to accomodate carriers outside the US, sorts carrier dropdown alphabeticaly, strip [private] tag from ai1ec month view popup * get-eventcrew-crontask.php - 2.12.1 adds debug to command line so it can be enabled without modifying file, 2.12.2 adds 2nd reminder email using dropdown settings in admin panel * graphene-mod-style.css - 2.12.1 adds shadow to header title and description * init_actions.php - 2.12.1 adds clock widget setup, 2.12.2 adds User Import page in section that can be expanded to copy pages from main site in the future, saves the aio_wp_security_configs in the options table to enable the firewall, adds Weather Radar page, 2.12.3 puts homeport from shop order in site description, 2.12.4 updates landing page when Support is clicked on menu * notify-maybe-shortcode.php - 2.12.1 changes PHP Mail to SMTP with settings in wp-config.php, 2.12.2 changes tag and category dropdowns to multislect, similiar to a1iec format, adds force_spinner_loading() to show spinner on page load and refresh, 2.12.3 fixes listing same event multiple times in reminder email * participant-shortcode.php - 2.12.1 changes tag and category dropdowns to multislect, similiar to a1iec format, adds force_spinner_loading() to show spinner on page load and refresh, 2.12.2 fixes double spinner showing & adds debug switch in address bar * regatta-registration-shortcode.php - 2.12.1 added check box to expand recurring events and reformat display with split & edit links, 2.12.2 added start and end time display to help with split and edit, 2.12.3 changes tag and category dropdowns to multislect, similiar to a1iec format, adds force_spinner_loading() to show spinner on page load and refresh, 2.12.4 updates query to highlight an unexpanded recurring event if it is next, 2.12.5 adds a filter for 'No Tags Assigned', 2.12.6 forces all subsequent recurring events to hide entry boxes and applies salmon background for skipper, 2.12.7 updates is_super_admin() to cm_is_super_admin() * remind-payment-due-crontask.php - 2.12.1 added option to disable payment reminders set in WP Admin, 2.12.2 adds debug to command line so it can be enabled without modifying file * results-shortcode.php - 2.12.1 added check box to expand recurring events and reformat display with split & edit links, 2.12.2 added start and end time display to help with split and edit, 2.12.3 changes tag and category dropdowns to multislect, similiar to a1iec format, adds force_spinner_loading() to show spinner on page load and refresh, 2.12.4 updates query to highlight an unexpanded recurring event if it is next, 2.12.5 adds a filter for 'No Tags Assigned', 2.12.6 forces all subsequent recurring events to hide entry boxes and applies salmon background for skipper * roster-shortcode.php 2.12.1 adds spinner on initial load, 2.12.2 updates to accomodate different groups assigned in user profile across multisites for an individual, 2.12.3 checks superadmin using new function and formats sms_email to accomodate carriers outside the US * shirts-shortcode.php - 2.12.1 adds spinner on initial load, 2.12.2 updates to accomodate different groups assigned in user profile across multisites for an individual * skipperassignments-shortcode.php - 2.12.1 moves Next Event on same line with Event Header, 2.12.2 changes tag and category dropdowns to multislect, similiar to a1iec format, adds force_spinner_loading() to show spinner on page load and refresh, 2.12.3 adds display of recurring dates, 2.12.4 updates query to highlight an unexpanded recurring event if it is next, 2.12.5 makes background for recurring events salmon colored, 2.12.6 updates is_super_admin() to cm_is_super_admin() * skippercrewadmin-shortcode.php - 2.12.1 moves Next Event on same line with Event URL, 2.12.2 changes tag and category dropdowns to multislect, similiar to a1iec format, adds force_spinner_loading() to show spinner on page load and refresh, 2.12.3 adds display of recurring dates, 2.12.4 updates query to highlight an unexpanded recurring event if it is next, 2.12.5 updates is_super_admin() to cm_is_super_admin() * skippersendemail-shortcode.php - 2.12.1 changes PHP Mail to SMTP with settings in wp-config.php, 2.12.2 adds spinner for screen changes, fixes & from "Eric & Mary" * spy_logo.png - 2.12.1 spy logo 20 x 20 px for [private] MCE toolbar button * vcard_export.php - 2.12.1 updates to accomodate different groups assigned in user profile across multisites for an individual * weight-shortcode.php - 2.12.1 updates spinner for screen changes =========================== = [2.12.0] 10January2021 = * New Baseline reflects documentation that is updated to version 2.12 for all files. Major rewrite that handles international date formats and mobile phone formats. Specific files updated since last version 2.11.x incremental release are listed below ************************** * admin.php - 2.12.0 new baseline with international setup options, synchronizes ai1ec date formats from selection * assignments-shortcode.php - 2.12.0 new baseline, fixes html entities shown for quote on crew comment * crew-shortcode.php - 1/5/2021 2.12.0 new baseline with international dates * custom-report-shortcode.php - 1/9/2021 2.12.0 new baseline with national sailing org & links set by international setup options & mobile phone numbers formatted for international * functions.php - 2.12.0 new baseline with international setup options with new functions load_day_month_year_dropdown($action) and load_day_month_dropdown($action), load_countrycode_dropdown($in,$name), load_boat_country_dropdown($in), load_country_array(), format_intl_mobile_phone($phone, $iso), removed WP applications passwords from profile, changed PLB MMSI from 6 to 9 digits, updates sitelist for alphabetical sort, adds Skipper Manual to menu * init_actions.php - 2.12.0 new baseline, adds Sailing Anarchy to links page * regatta-registration-shortcode.php - 2.12.0 new baseline with international dates * results-shortcode.php - 2.12.0 new baseline with international dates * roster-shortcode.php - 2.12.0 new baseline with international mobile settings * weight-shortcode.php - 2.12.0 new baseline with national sailing org & links set by international setup options =========================== = [2.11.1] 4January2021 = * Incremental updates made to version 2.11.0 running on PHP 7.4 * * admin.php - 2.11.1 fixes event Excel import not working, 2.11.2 fixes javascript to set check boxes on event import, 2.11.3 fixes hard coded remote connector that was in event import, 2.11.4 adds option to set crew weight limit in lbs or kg, 2.11.5 moves skipper "helper" dropdown right to provide visual seperation from skipper on crew manager modify setting page, cleans up a number of formatting items * assignments-shortcode.php - 2.11.1 disables crew comment entry box if subscription expired, reformats subscription expired badge placement for mobile and desktop, 2.11.2 reformats Submit Changes to highlight on hover, fixes tag & category query, 2.11.3 reformats display to provide sticky header bar when scrolling, 2.11.4 fixes tag filter not working using array * availability-shortcode.php - 2.11.1 disables crew comment entry box if subscription expired, reformats subscription expired badge placement for mobile and desktop, 2.11.2 reformats Submit Changes to highlight on hover, fixes tag & category query, 2.11.3 adds missing assignment text and reformats display to provide sticky header bar when scrolling, 2.11.4 reorder fields for consistancy with other screens, 2.11.5 fixes tag filter not working using array * crew-mgr-style.css - 2.11.1 relocates and resizes expired subscription and email turned off tags to accomodate mobile displays, 2.11.2 adds iconpopup for mobile menu text descriptions, 2.11.3 adds styles #button-red and #button-blue used for cancel event and submit availability. Reduces radius on button-login-redirect, adds #sticky-header, #sticky-header-admin-bar and #data-below for sticky header bar when scrolling, repositions submit floating box on mobile displays center bottom, adjusts the jump location based on wider sticky header and added mobil adjustment, 2.11.4 adds #badgepopup to reposition upcoming events popup on mouse over * crew-shortcode.php - 2.11.1 adds get_queried_object_id() so the shortcode will resolve when synching calendar, the post_id is now available as a session variable to resolve shortcode for calendar sync. Display is formatted without html for calendar sync, 2.11.2 surpresses displaying instance ID for master recurring event, 2.11.3 fixes hard coded remote connector that was in event import, 2.1.4 enables SMS text button for all crew members logged in, 2.1.5 reformats crew list and dropdowns for mobile displays * custom-report-shortcode.php - 2.11.1 add units for weight, 2.11.2 reformats Download and Submit buttons to highlight on hover, fixes tag & category query, 2.11.3 fixes jQuery error, 2.11.4 fixes tag filter not working using array * functions.php - 2.11.1 fixes full names not sent in crew reminders by detecting $cron_flag on cm_generate_crew_output, adds canceled filter filter to upcoming event widget calendar subscribe, adds function content_ai1ec_post($atts, $content = null) for [ai1ec_post post_id=x ] shortcode, function pad_space($string, $length) gets the string length and pads the balance with spaces so length is met, 2.11.2 fixes slashes appearing in canceled event sms message, fixes [cdt] for recurrence and forces display, adds function show_dtg($postid, $recur_id) to display "xxx days until " in the upcoming event widget title, 2.11.3 fixes boolean error with $wp_options_array on new site creation, fixes transfer of test event on new site creation, added function get_ai1ec_by_title_remote( string $page_title, int $site) to help push updated test event to all sites, update function get_post_remote($post_id, $site) so it uses $wpdb for all but remote databases (V, U, S, M), 2.11.4 fixes smartcopy using remote sites and fixes event Excel import, 2.11.5 optimizes upcoming event code to speed up display, 2.11.6 adds function transfer_ai1ec_meta_split($old_post_id, $inserted_post_id) to transfer meta for a split event and function remove_post_parent( $post_id ) to remove post_parent when event is split, does error checking for new events to make sure that Title, Start Date / Time and Location Name are entered using function cm_check_post_title( $data, $postarr ), function cm_remove_all_messages( $messages ), function cm_show_error(), 2.11.7 updates for multiple skipper admins when sending a newsletter. No impact for anything but master site, 2.11.8 all database connectors check if connection is already open before connecting so we don't run out of resources in a loop, 2.11.9 fixes images and tags not being copied on event import, fixes remote thumbnail images not being displayed in popup, 2.11.10 adds option for crew to enter weight in lbs or kgs, 2.11.11 disable [cdt] during cron to prevent error log generation, 2.11.12 fixes error log generation when no remote thumbnail, 2.11.13 updates expired and sending email disabled badges to better show on mobile displays, 2.11.14 adds popup to mobile menu with icon link descriptions, 2.11.15 adds address dropdown to select previous address when entering or editing an ai1ec event, 2.11.16 augments the address dropdown to include locations with no address recorded, adds "Oops! - Restore the Original Value" to the dropdown, adds the coordinates, lat, lon and google map, provides link for skippers and admins to lookup cell carriers next to carrier dropdown on profile page, 2.11.17 fixes "Skipper! - Emails disabled" showing for users not logged in, excludes "Not Canceled" from tag dropdown filter, updates tag and category filter for get_regatta_dropdown_autosubmit($post_id, $query_yr, $category_id, $tag_id, $filter), 2.11.18 adds mobile_wpadminbar_scrolled() to force scrolling the wpadminbar on mobile devices, fixes wrong check for administrator privledges, adjusts crew group dropdown width, 2.11.19 adds links to edit user profiles on Manage Email Lists & Other Groups admin screen in function load_crew_check_boxes_admin(), restricted address dropdown to published events load_crew_check_boxes_admin(), 2.11.20 updates icon menu to add an extra icon. Sipper Edit Assignments by Crew (for Skippers) and Assignments (for Crew), 2.11.21 integrates style #badgepopup on upcoming event badge mouse over to better position popup, 2.11.22 adds online Crew Manual to support menu, 2.11.23 adds link to user import template on tools, user import, 2.11.24 applies clean_comment_to_display to all crew comments and assignments to fix quotes and special characters, 2.11.25 fixes error message sending with php mail for notify maybe, Adds Australia to timezones, 2.11.26 fixes tag filter not working using array * graphene-mod-style.css - 2.11.1 sets search bar with white background * notify-maybe-shortcode.php - 2.11.1 disables sending notifications if subscription expired, reformats subscription expired badge placement for mobile and desktop, 2.11.2 reformats Send Notification Email to highlight on hover, 2.11.3 using php mail function to send, reformats text message, reformats display to provide sticky header bar when scrolling, optimizes code to improve speed, 2.11.4 fixes tag filter not working using array * participant-shortcode.php - 2.11.1 fixes tag & category query, 2.11.2 fixes tag filter not working using array * regatta-registration-shortcode.php - 2.11.1 disables data entry checkbox if subscription expired, reformats subscription expired badge placement for mobile and desktop, 2.11.2 reformats Submit Changes to highlight on hover, fixes Submit Changes button showing when Enable Results Entry box not checked, fixes tag & category query, 2.11.3 reformats display to provide sticky header bar when scrolling and simplifies data entry display, 2.11.4 fixes tag filter not working using array * results-shortcode.php - 2.11.1 query now has LIMIT 5 for results-summary widget to speed up display, 2.11.2 disables data entry checkbox if subscription expired, reformats subscription expired badge placement for mobile and desktop, 2.11.3 reformats Submit Changes to highlight on hover, fixes Submit Changes button showing when Enable results Entry box not checked, fixes tag & category query, 2.11.4 reformats display to provide sticky header bar when scrolling, 2.11.5 fixes tag filter not working using array * roster-shortcode.php - 2.11.1 reformats Download button to highlight on hover, 2.11.2 reformats display to provide sticky header bar when scrolling, made SMS Text button available to all crew when subscription is valid (previously Skipper only) * skipperassignments-shortcode.php - 2.11.1 disables entry boxes and dropdowns if subscription expired, reformats subscription expired badge placement for mobile and desktop, 2.11.2 reformats Submit Changes and Click to Add Crew highlight on hover, fixes tag & category query, 2.11.3 reformats display to provide sticky header bar when scrolling and optimized mobile view, 2.11.4 fixes tag filter not working using array * skippercrewadmin-shortcode.php - 2.11.1 disables entry boxes and dropdowns if subscription expired, reformats subscription expired badge placement for mobile and desktop, 2.11.2 reformats Submit Changes to highlight on hover, fixes tag & category query, 2.11.3 reformats display to provide sticky header bar when scrolling and optimized mobile view, 2.11.4 fixes tag filter not working using array * skippersendemail-shortcode.php - 2.11.1 adds htmlspecialchars_decode () for senders name to fix & being displayed, 2.11.2 updates for multiple skipper admins when sending a newsletter. No impact for anything but master site, 2.11.3 disables entry boxes and dropdowns if subscription expired, reformats subscription expired badge placement for mobile and desktop, 2.11.4 reformats Send Email to highlight on hover, 2.11.5 fixes jQuery error * weight-shortcode.php - 2.11.1 detects kg or lbs setting for total crew weight and adjusts for units accordingly. Converts individual weight saved in kg or lbs to correct units, 2.11.2 add tags for selectable dropdown and fixes query so it works with both tags & categories, minor updates for mobile format =========================== = [2.11.0] 20October2020 = * New Baseline reflects documentation that will be updated to version 2.11 for all files. Major rewrite that now handles event recurrence. Specific files updated since last version 2.10.x incremental release are listed below ************************** * admin.php - 2.11.0 New baseline - updates smartcopy and import to handle recurring events * assignments-shortcode.php - 2.11.0 New baseline - optimizes cell widths * availability-shortcode.php - 2.11.0 New baseline - optimizes cell widths * crew-shortcode.php - 2.11.0 New baseline - incorporates recurring events in series of events, optimizes cell widths * functions.php - 2.11.0 New Baseline - incorporates recurring events in series of events, adds button to uncancel event in edit screen, fixes categories and custom fields not copied on Smartcopy, provides calendar agenda view similar to ai1ec with more flexibility for editing and viewing, fixes when the admin bar is shown and disables if subscription expired, strips [crew] shortcode from editor screen, then adds at end of post on publish or update, optimizes dropdown cell widths, added functions get_recurring_id($ai1ec_post_id, $start), get_string_between($string, $start, $end), theme_editlinks_filter_the_content( $content ), theme_editlinks_filter_the_title( $title ), content_editlinks($atts, $content = null), edit_event_links($post_id, $user_id), get_post_with_shortcodes($postid, $user_id), get_event_start_day_month($post_id), create_not_canceled_taxonomy(), check_or_add_tag(), hide_the_admin_bar (), cm_uncancel_event(), cm_uncancel_event_action, uncancel_ai1ec_post_($post_id), get_event_categories($post_id), get_event_categories_remote($post_id, $site) * get-eventcrew-crontask.php - 2.11.0 New Baseline - incorporates recurring events in series of events * init_actions.php - 2.11.0 New baseline, forces ai1ec to use filter for 'active' slug which are events 'Not Canceled', makes ai1ec button default color blue * skippersendemail-shortcode.php - 2.11.0 New baseline - updated for recurrence rules for appending an event and selecting event crew list * weight-shortcode.php - 2.11.0 New Baseline - trim spaces when comparing last name for World Sailing validation =========================== = [2.10.1] 2Oct2020 = * Incremental updates made to version 2.10.0 * * admin.php - 2.10.1 annotates with red font hidden users in group selection, 2.10.2 adds year selector to import events from other sites, fixes selected year not kept after page submit on smartcopy and import events, fixes copied event not displayed in table after copy * assignments-shortcode.php - 2.10.1 fixed Jump to position with css class "anchor", 2.10.2 makes hide canceled event check box auto submit, 2.10.3 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit, 2.10.4 optimizes code to speed up execution after submit, 2.10.5 makes popup narrower for mobile screens, 2.10.6 makes bottom border darker to more easily break between events * availability-shortcode.php - 2.10.1 fixed Jump to position with css class "anchor", 2.10.2 revises widths for Graphene 2.8 update, 2.10.3 makes hide canceled event check box auto submit, 2.10.4 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit, 2.10.5 optimizes code to hide screen and speed up execution after submit, 2.10.6 makes popup narrower for mobile screens, 2.10.7 makes bottom border darker to more easily break between events * crew-mgr-style.css - 2.10.1 adds class "anchor" to reposition the page properly using a "Jump" button, 2.10.2 adds spinner for activity indicator on page submit, 2.10.3 adds narrow_popup which is narrower than regular popup for better view on mobile screens * crew-shortcode.php - 2.10.1 adds SMS Text button for Skipper on canceled events, 2.10.2 fix display to resolve [crew] shortcode on synced calendar, 2.10.3 more mobile format updates * custom-report-shortcode.php - 2.10.1 adds crew for events with groups 6-8 reserved in future for main site skipper reports, 2.10.2 addslashes to temp table field insert broke by name O'Connor, 2.10.3 revises widths for Graphene 2.8 update, 2.10.4 adds event fields Confirmed, Yes, Maybe, No, 2.10.5 fixed call to load_crew_group_dropdown by adding $filter=false, 2.10.6 makes popup narrower for mobile screens * functions.php - 2.10.1 added events to custom reports which required new function people_person($number) to display "people" or "person", modified function get_email_for_post($post_id, $exclude) to add raw_email, modified function get_email_for_group($group) for 'all' group, modified load_crew_group_dropdown($group) to add event crew, modified get_crew_group_name($group) to add event crew and on main site add skippers, 2.10.2 removed users hidden from count in group selection dropdowns, annotated users hidden by admin in red font on group selection in admin panel, modified function load_crew_group_dropdown($group, $js) with $js = true for javascript submit or false for normal submit button, 2.10.3 adds functions to support adding 1-8 crew and retired option on skipperassignments-shortcode.php including function get_registered_users_for_add_post($PostID, $retired, $i), function get_number_crew_to_add($PostID), function show_retired_crew_checkbox($PostID), function adjust_key_down($key), function get_highest_user_id(), 2.10.4 adds shortcode [x_before minutes=# post_id=x] to display a time # minutes before the start of an event. This only works in a calendar event, update function cm_mouseover_popup($post_id, $user_id) and function cm_mouseover_popup_remote($post_id, $row, $site, $remotedb, $url) to execute the shortcode, 2.10.5 updates SMS text messages to provide stripped text so people may read message directly in addition to the post link to read formatted information, 2.10.6 restores to email distribution those in a group who have graphene_author_hide_email - previously removed in 2.10.2, 2.10.7 fixes error log $post_id = '' for cron job execution with [x_before minutes=# post_id=x], 2.10.8 revises widths for Graphene 2.8 update, uses wp_specialchars_decode to fix hard coded special character replacement, 2.10.9 adds shortcode [upcoming num=X canx=Y] to generate upcoming event widget for next X events, and display canceled events if canx=Y to replace the ai1ec widget with new functions cal_selector(), cm_mouseover_crew_popup($post_id, $user_id), date_box($date), description_box($data), content_upcoming($atts, $content_upcoming = null), updates crew_manager_get_responses to include confirmed status, 2.10.10 adds max width to get_registered_users_for_post_dropdown, load_assignment_text_box, load_available_dropdown, load_position_dropdown to format width for various screens, 2.10.11 added functions load_year_dropdown_autosubmit, get_event_category_dropdown_autosubmit, get_event_tag_dropdown_autosubmit, get_registered_users_dropdown_autosubmit to support auto submission on selected pages, 2.10.12 removes the 30 custom field display limit editing posts and pages, updates confirmed calculation in function crew_manager_get_responses, 2.10.13 added "Send Post via Email" dropdown to post edit screen, modifies send_post_email to use selected group, or not send if no group selected, 2.10.14 modifies mouse over popup for upcoming event widget so it doesn't take over screen, 2.10.15 detects menu colors and automatically adjusts login / logout color scheme, 2.10.16 fixes smartcopy not stripping event canceled content, 2.10.17 forces SMS messages to appear as if they come from the skipper * get-eventcrew-crontask.php - 2.10.1 adds full event text (stripped of special characters) to sms message by removing [crew] shortcode and executing other shortcodes * graphene-mod-style.css - 2.10.1 adjust mobile menu offset for graphene responsive style sheet and remove graphene tag 8px padding * init-actions.php - 2.10.1 replaces ai1ec upcoming events widget with custom widget * notify-maybe-shortcode.php - 2.10.1 hid "Send Notification Email" button and added link to admin panel to turn on emails if off, 2.10.2 fixed 1st comment bleed though to subsequent comments in mail, 2.10.3 revises widths for Graphene 2.8 update, 2.10.4 adds hide canceled event check box and made dropdowns auto submit, 2.10.5 adds rotating spinner on submit during page reload, 2.10.6 makes popup narrower for mobile screens * regatta-registration-shortcode.php - 2.10.1 fixed Jump to position with css class "anchor", 2.10.2 adds filter to exclude canceled events and make check boxes auto submit, 2.10.3 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit, 2.10.4 adds enable data entry checkbox for desktop displays, 2.10.5 adds column confirmed to regatta registration status report, 2.10.6 makes popup narrower for mobile screens, 2.10.7 checks if logged in user is member of site * results-shortcode.php - 2.10.1 fixed Jump to position with css class "anchor", 2.10.2 added link to admin panel to turn on emails if off & aligned widget results to center column, 2.10.3 reformatted results widget in 3 columns and reduced text size to be consistant with other widgets, 2.10.4 adds filter to exclude canceled events and make check boxes auto submit, centered data in columns on desktop display, 2.10.5 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit, 2.10.6 adds enable data entry checkbox for desktop displays, 2.10.7 makes popup narrower for mobile screens * remind-payment-due-crontask.php - 2.10.1 adds debug $all_mail_off and changed wp_mail() to php mail() since wp_mail() was not triggered in cron * roster-shortcode.php - 2.10.1 adds $js=false to load_crew_group_dropdown and adds events to crew group selection, 2.10.2 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit, 2.10.3 fixes leading space for consistancy when numbering crew members * shirts-shortcode.php - 2.10.1 adds crew for events and incorporates javascript submission, 2.10.2 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit * skipperassignments-shortcode.php - 2.10.1 stripped slashes on posted assignment and comment array to prevent double screen refresh on submit, fixed assignments not updating, 2.10.2 supressed double screen update and hid submit button after submit until all updates written to database, 2.10.3 modified add crew to use dropdown selector for 1-8 crew and checkbox to make retired crew visible in dropdown, fixed Jump to position with css class "anchor", 2.10.4 added debug for a particular site ID or name, added ability to remove a comment using minus sign, now have addslashes($assignment_value), addslashes($comment_value) for database insertion for problem reported by Eclipse on inability to change crew that had comment with "don't", 2.10.5 disable click to add crew button if no subscription, 2.10.6 makes hide canceled event check box auto submit. 2.10.7 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit, 2.10.8 optimizes code to speed up execution after submit, 2.10.9 makes popup narrower for mobile screens, 2.10.10 makes bottom border darker to more easily break between events, 2.10.11 fixes add crew not working after spinner was added * skippercrewadmin-shortcode.php - 2.10.1 fixed Jump to position with css class "anchor", 2.10.2 added ability to remove a comment using minus sign, 2.10.3 revises widths for Graphene 2.8 update and reformats mobile display, 2.10.4 makes hide canceled event check box auto submit, 2.10.5 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit, 2.10.6 optimizes code to speed up execution after submit, 2.10.7 makes popup narrower for mobile screens, 2.10.8 makes bottom border darker to more easily break between events * skippersendemail-shortcode.php - 2.10.1 hid "Send Email" button and added link to admin panel to turn on emails if turned off, 2.10.2 incorporates fix for shortcode [x_before minutes=# post_id=x], 2.10.3 revises widths for Graphene 2.8 update and reformats mobile display * vcard_export.php - 2.10.1 adds event crew groups * weight-shortcode.php - 2.10.1 adds rotating spinner on submit during page reload, makes all dropdowns and check boxes auto submit, 2.10.2 makes popup narrower for mobile screens =========================== = [2.10.0] 8July2020 = * New Baseline reflects documentation updates to version 2.10 for all files. Major rewrite of skipperassignments-shortcode.php to speed up database update and screen refresh. * functions.php - 2.10.0 new baseline, add function clean_comment to fix quotes and slashes, added function parse_key($keystring)to parse post_ID-user_ID index * skipperassignments-shortcode.php - 2.10.0 major rewrite to speedup submission for database update and screen refresh by using posted array difference and eliminating nested loops =========================== = [2.9.2] 26June2020 = * Incremental updates made to version 2.9 - This has major security updates, forces SSL on all pages and enhanced mobile device browsing * * admin.php - 2.9.1 fixed trashing 'Hello World' post, 2.9.2 added multi user select for skipper admin, 2.9.3 - added mutlisite event copy, 2.9.4 updated event copied array with site index, 2.9.5 fixed last recurring date display for copy events table, prevented adding crew positions that already exist, 2.9.6 fixed filling error log on crew_manager_import_event_page by checking if valid post on get_event_start_location_only and cm_mouseover_popup, 2.9.7 adds VS, Spirit & URSA to event copy, 2.9.8 adds canx_event_email setting to enable/disable canceled event email reminders * assignments-shortcode.php - 2.9.1 suppress start time for all day events, 2.9.2 Security fix to prevent only users registered on a site to see the data, 2.9.3 updated for multiple skipper admins, 2.9.4 Changed email header as "reply to" in order to pass dmarc filters, 2.9.5 Enhanced formatting for mobile displays, 2.9.6 More Enhanced formatting for mobile displays, 2.9.7 added Maybe definition text, 2.9.8 fixed results display on desktop and added series, 2.9.9 add checkbox to hide canceled events * availability-shortcode.php - 2.9.1 suppress start time for all day events, 2.9.2 Security fix to prevent only users registered on a site to see the data, 2.9.3 forced comment_display to "" if no comment to prevent emailing text box, 2.9.4 updated for multiple skipper admins, 2.9.5 Changed email header as "reply to" in order to pass dmarc filters, 2.9.6 Enhanced formatting for mobile display to make this a primary interface on mobile phones, 2.9.7 add checkbox to hide canceled events * crew-shortcode.php - 2.9.2 updated for multiple skipper admins, moved cron_flag to disable tags added for 2.9.0 which broke format of reminder emails, 2.9.3 fixed comments not submitted that broke when tag was removed, 2.9.4 Changed email header as "reply to" in order to pass dmarc filters, 2.9.5 Enhanced formatting for mobile display to make this a primary interface on mobile phnes, fixed backslashes showing on crew comments with function clean_comment_to_display($comment), surpress comment and availability inputs for canceled events, 2.9.6 fixed crew logged in but not on site having availability dropdown, 2.9.7 added Maybe definition text, 2.9.8 modified cancel event dialog to add optional comment for skipper to record in event * custom-report-shortcode.php 2.9.2 added personal EPIRB registration field prefix 972, 2.9.3 added event report option, 2.9.4 add checkbox to hide canceled events * functions.php - 2.9.1 formatting clean up for all day events to suppress time display, 2.9.2 Security fix function check_site_authorized_user()to prevent mutlisite users browing other sites unless they have accounts, fixed inability for skippers to get checkbox in profile for wp toolbar, removed deleted sites from [sitelist], removed hard coded http: to support SSL, restored checkbox to left of WP user list, 2.9.3 update for multiple skipper admins, added functions check_skipper_admin(), check_skipper(), get_additional_admins_email_string(), get_skipper_email_string(), 2.9.4 - added mutlisite event copy. New functions added function resize_image_max($image,$max_width,$max_height), get_site_from_dropdown($site), function get_thumbnail_remote_url($ai1ec_post_id, $site), function get_thumbnail_remote($ai1ec_post_id, $site), function get_site_from_dropdown($site), 2.9.5 updated remote event copied array with site index and correct canceled event email formatting, 2.9.6 Changed email header as "reply to" in order to pass dmarc filters for send_formatted_email, forced password reset email from domain email address to pass dmarc, added [resetemail] and [resetemailfull] shortcodes to display the password reset "from" email in the format subdomain@domain.com (unique for each subdomain), fixed sms text send broke on V2.80 due to calling wrong ['suffix'] index, 2.9.7 add persistant login for 1 year function keep_me_logged_in_for_1_year( $expirein ), 2.9.8 Mobile display modifications reformat dropdowns and text boxes for detected mobile devices. Added function display_icon_menu() and function clean_comment_to_display($comment) to strip slashes and special characters, corrected occaisonal $_SERVER['HTTP_USER_AGENT'] undefined warning, added shortcode [wp_admin_check] to generate WP Admin link on Skipper main page, 2.9.9 fix cron trigger send_formatted_email & send_notification_email, 2.9.10 fixed last recurring date display for copy events table, 2.9.11 added personal EPIRB registration field, 2.9.12 adds VS, Spirit & URSA to event copy, 2.9.13 added event report option with functions get_event_fields() and get_report_from_dropdown($report), 2.9.14 fixed ###POST_FULL### replacement to differentiate between ai1ec events and regular posts, 2.9.15 added optional comment from cancel event dialog and included detection in smartcopy top strip out, 2.9.16 added 44" mens waist missing from size options, 2.9.17 fixed displaying Skipper Sending Emails disabled message when not lgged in, 2.9.18 remove 5 post limit to display email templates, 2.9.19 added popup generated canceled event message to SMS text, 2.9.20 fixed broken event url link when results sent * get-eventcrew-crontask.php - 2.9.2 detects canx_event_email setting to enable/disable sending canceled event email reminders * graphene-mod-style.css - 2.9.1 adds styles to update mobile displays, 2.9.2 fixes links displaying raw URLs for printing, 2.9.3 adjust icon menu on phones to be in line with dropdown menu, 2.9.4 added portrait and landscape modes for icon menu * init_actions.php - 2.9.1 Forced SSL for new sites and updated links for SSL, changed tidegraph background, 2.9.2 updates wind widget to sailflow to fix no ssl lock, 2.9.3 added New User Welcome Email template, 2.9.4 updated password reset email page, 2.9.5 incorporates enhanced mobile browsing setup, added shortcodes to Crew and Skipper pages to generate redirects, changed to floating menu * notify-maybe-shortcode.php - 2.9.1 updated for multiple skipper admins, 2.9.2 Enhanced formatting for mobile displays * participant-shortcode.php - 2.9.1 updated for multiple skipper admins, 2.9.2 Enhanced formatting for mobile display * regatta-registration-shortcode.php - 2.9.1 updated for multiple skipper admins, 2.9.2 Enhanced formatting for mobile display, 2.9.3 Fixed no Skipper Entry on mobile display * remind-payment-due-crontask.php - 2.8.1 added payment page link in email reminder * results-shortcode.php - 2.9.1 updated for multiple skipper admins, 2.9.2 Enhanced formatting for mobile displays including skipper enabling data entry on mobile, 2.9.3 reformatted data entry page for mobile input, 2.9.4 fixed results display on phone to wrap series, 2.9.5 added alternating row color background * roster-shortcode.php - 2.9.1 updated for multiple skipper admins, 2.9.3 Enhanced formatting for mobile display to make this a primary interface on mobile phones * shirts-shortcode.php - 2.9.1 updated for multiple skipper admins, 2.9.2 Enhanced formatting for mobile displays * skipper-assignments-shortcode.php - 2.9.1 suppress start time for all day events, 2.9.2 updated for multiple skipper admins, 2.9.3 Enhanced formatting for mobile displays, 2.9.4 fixed crew comment not updating by skipper, 2.9.5 added Maybe definition text, 2.9.6 add checkbox to hide canceled events * skippercrewadmin-shortcode - 2.9.1 suppress start time for all day events, 2.9.2 updated for multiple skipper admins, 2.9.3 Enhanced formatting for mobile displays, 2.9.4 fixed crew comment not updating by skipper, 2.9.5 add checkbox to hide canceled events * skippersendemail-shortcode.php - 2.9.1 suppress start time for all day events attached on email reports, forced screen refresh message to top of display, 2.9.2 update for multiple skipper admins, 2.9.3 Changed email header as "reply to" in order to pass dmarc filters, 2.9.4 fixed from email on main domain * weight-shortcode.php - 2.9.1 updated for multiple skipper admins, 2.9.2 Enhanced formatting for mobile displays =========================== = [2.9.0] 6February2020 = * New Baseline reflects documentation updates to version 2.9 for all files. Major rewrite of crew-shortcode.php provides multiple select capability in the agenda view * assignments-shortcode.php - 2.9.0 changed crew comment input in functions to $_POST['crew_comment'] rather than ['comment'] due to wp comment conflict * availability-shortcode.php - 2.9.0 changed crew comment input in functions to $_POST['crew_comment'] rather than ['comment'] due to wp comment conflict * crew-shortcode.php - 2.9.0 Major Update - fixed change availability and comments for multiple events, inserts
and
tags surrounding the calendar page, changed crew comment input in functions to $_POST['crew_comment'] rather than ['comment'] due to wp comment conflict * functions.php - 2.9.0 new baseline changed comment textbox name from comment to crew_comment due to wp comment conflict * init_actions.php - 2.9.0 new baseline fixes top page subpage listing that wasn't current from previous updates =========================== = [2.8.1] 3February2020 = * Incremental updates made to version 2.8 * admin.php - 2.8.2 cleaned up double << and >> operators, 2.8.3 added check boxes to enable more user profile fields based on highnote Bermuda preps, added check box to enable/disable Skipper notification when crew changes availability, 2.8.4 force double quotes on CSV import so field isn't broken, add description field to imported table view, 2.8.5 added routine to copy events from Crew Manager main site to local calendar. This requires remote mysql access enabled to allow transfer between domains * assignments-shortcode.php - 2.8.1 added text box to support crew text input when setting availability, 2.8.2 added ability to turn of skipper emails with crew availability changes * availability-shortcode.php - 2.8.1 added text box to support crew text input when setting availability, 2.8.2 added ability to turn of skipper emails with crew availability changes * crew-shortcode.php - 2.8.1 added text box to support crew text input when setting availability. Submit will trigger an update & email if there is a crew comment or availability change, 2.8.2 added ability to turn of skipper emails with crew availability changes, 2.8.3 Changed label on submit button to "Submit Availability Change This Event" so is is clear that submit is only for a single event * csv_export.php - 2.8.1 originated file to export the temporary table to csv file, 2.8.2 encapsulate cells with double quotes and fix line breaks on addresses * custom-report-shortcode.php - 2.8.1 file originated from roster-shortcode.php * functions.php - 2.8.1 added functions load_comment_text_box and load_comment_text to support crew text input when setting availability, applied stripslashes for comments and assignments, 2.8.2 fixed comparing order to renewal dates - needed to format Y M d to get proper comparison for expiration, 2.8.3 cleaned up double << and >> operators, 2.8.4 added more user profile fields based on highnote Bermuda preps, moved Skipper Send Email up to 3rd menu item, 2.8.5 added Custom Reports to Skipper Menu and added help text for crew profile fields, 2.8.6 added "clone to draft" for templates, posts & pages, 2.8.7 added function get_ai1ec_by_title( $page_title) to fix init_action copy ai1ec events transfering older events, 2.8.8 added ability for users to copy events from main site. New functions added function remote_connector(), get_last_recurring_date_remote($ai1ec_post_id), copy_event_by_post_remote($post_id, $copied_array), get_thumbnail_remote($ai1ec_post_id), get_post_remote($post_id), get_field_from_table_self_remote($table_name, $search_field_name, $search_value, $output_field_name), get_postmeta_remote($table_name, $search_field_name, $search_value, $meta_key), cm_mouseover_popup_remote($post_id, $row), 2.8.9 added [subdomain] shortcode to get just the subdomain name for a site * get-eventcrew-crontask.php - 2.8.1 cleaned up double << and >> operators * init_actions.php - 2.8.1 added comment field to wp_crewmgr_assigned table to support crew comment inputs on events text input when setting availability, 2.8.2 cleaned up double << and >> operators, 2.8.3 added Custom Reports page, 2.8.4 added custom function get_ai1ec_by_title( $page_title) to fix init_action copy ai1ec events transfering older events * notify-maybe-shortcode.php - 2.8.1 added Crew Comment Input text display * participant-shortcode.php - 2.8.1 cleaned up double << and >> operators * skippercrewadmin-shortcode - 2.8.1 added text box to support crew text input when setting availability * skippersendemail-shortcode.php - 2.8.1 fixed inability to send to ai1ec groups broken by 2.8.0, 2.8.2 cleaned up double << and >> operators * weight-shortcode.php - 2.8.1 cleaned up double << and >> operators =========================== = [2.8.0] 31December2019 = * New Baseline reflects documentation updates to version 2.8 for all files * crew-shortcode.php - 2.8.0 documentation updated, new baseline established, added check if ($all_meta) to correct error log generation * functions.php - 2.8.0 documentation updated, new baseline established. adds template and merge print capability, adds function custom_email_templates_post(), adds function get_template_from_dropdown($template), adds function lookup_sms_carrier_name($carrier), updates [expiration] shortcode to accept a blog_id input, added function ure_exclude_delete_site_cap to only permit super_admin to delete sites, increased assignment text box from 42 to 128 characters * init_actions.php - 2.8.0 documentation updated, new baseline established. adds setup for Tiny MCE Advanced settings and loads default email templates for Skipper Send Email from custom posts on main site * roster-shortcode.php - 2.8.0 documentation updated, new baseline establish. changed function lookup_sms_carrier['suffix'] to return an array, previously single value * skippersendemail-shortcode.php - 2.8.0 documentation updated, new baseline established. adds template and merge print capability for all sites with subscription related variables only on multisite, attached event width now limited to 733px which is same as the default mail templates developed =========================== = [2.7.1] 22December2019 = * Incremental updates made to version 2.7 * admin.php - 2.7.1 added popup on mouseover events, 2.7.2 synchronized timezone between ai1ec and crew manager * assignments-shortcode.php - 2.7.1 added popup on mouseover events, 2.7.2 added display of category & tags selected for easier mobile viewing, 2.7.3 moved next event indicator past a canceled event * availability-shortcode.php - 2.7.1 added popup on mouseover events, 2.7.2 added display of category & tags selected for easier mobile viewing, 2.7.3 moved next event indicator past a canceled event * crew-mgr-admin-style.css - 2.7.1 new file to format popups in admin panel, 2.7.2 formatted popup box with padding and rounded border * crew-mgr-style.css - 2.7.1 added popup on mouseover, positioned login for availability using css rather than
, 2.7.2 formatted popup box with padding and rounded border * crew-shortcode.php - 2.7.1 reformatted submit buttons to remove so popup would not reformat screen, 2.7.2 added link formatted as button only on mobile phones to SMS text crew for an event (excludes stay ashore), 2.7.3 fixed comma display formatting between meta so no trailing comma is displayed, 2.7.4 made post number at the end of the crew table a clickable link so it provides direct access when imported to calendars * functions.php - 2.7.1 add new users to All Posts group automatically, 2.7.2 added function to generate popups on mouse over events, 2.7.3 removed automatic send email results when saving ai1ec event since the Results page has the same function with selecatable email capability, added function to support skipper send email with event link & content, 2.7.4 relaced check box with dropdown to select All Posts or Event Crew to email results for results-shortcode.php, 2.7.5 added scaled thumbnails for popup, grey background for date, 2.7.6 added link on event to text crew - added $email_array['mobile'] and ['mobile_all'] to function get_email_for_post, added group 'mobile_no_carrier' Crew having Mobile Number with No Carrier Selected, 2.7.7 changed link title wording from "new window" to "new page" for consistancy across all instances, setting crew manager default time zone now changes ai1ec settings time zone simultaneously, 2.7.8 added function vCard_create($userid) to create vCard file of contacts that may be downloaded for import to a phone, updated load_crew_group_dropdown to display custom groups for skippers and admins, 2.7.9 added function get_crew_group_name($group) to look up the group name as text, given the group number, 2.7.10 updated vCard new line delimiter to \r\n since it is no longer passed in url, 2.7.11 fixed comma display formatting between meta so no trailing comma is displayed, 2.7.12 added get_from_dropdown($from) function to select sender used on skipper send email, changed append event time frame 30 days before current date and all future events, To group gets 90 days prior plus all future events, 2.7.13 added function set_or_update_wp_options and call to set the ai1ec_api_settings enabled due to Time.ly update to calendar plugin requiring an account to enable the ai1ec options, 2.7.14 added missing return to function update_field_self, 2.7.15 added function count_position_used($position_id) to display on the Edit Position Titles admin page the number of times each position is used, 2.7.16 disabled pop-up edit ability if subscription expired * images directory - added edit-icon.jpg 16x16 to display on event popup mouseover for skippers to edit event * init_actions.php - 2.7.1 Updated menu pages for missing menu entries, 2.7.2 fixed loading ai1ec and widget settings from array rather than serialized string, 2.7.3 fixed hard coded path to ai1ec cache directory using ABSPATH and updated ai1ec array per AI1EC plugin version 2.6.1 * notify-maybe-shortcode.php - 2.7.1 added popup on mouseover events, 2.7.2 added display of category & tags selected for easier mobile viewing * regatta-registration-shortcode.php - 2.7.1 fixed submit not saving data if not current year and keeping the check box status, 2.7.2 added popup on mouseover events, 2.7.3 moved next event indicator past a canceled event, 2.7.4 added display of category & tags selected for easier mobile viewing, 2.7.5 now deletes the Ticket link is there was nothing in the payment url when a deletion of the field is desired * results-shortcode.php - 2.7.1 forced checkbox to retain state after submit, 2.7.2 added popup on mouseover events, 2.7.3 replaced check box with dropdown to select emailing results, 2.7.4 moved next event indicator past a canceled event, 2.7.5 added display of category & tags selected for easier mobile viewing * roster-shortcode.php - 2.7.1 added vcard download for selected groups on roster, 2.7.2 added link formatted as button only for skipper on mobile phones to SMS text the displayed group, 2.7.3 replaced string in URL passed to vcard_export.php with the group number due to exceeding the allowed url length * shirts-shortcode.php - 2.7.1 added custom groups to dropdown * skipper-assignments-shortcode.php - 2.7.1 added popup on mouseover events, 2.7.2 added display of category & tags selected for easier mobile viewing, 2.7.3 moved next event indicator past a canceled event, 2.7.4 added if (isMobileDevice()) for display of category & tags selected for easier mobile viewing * skippercrewadmin-shortcode - 2.7.1 added popup on mouseover events, 2.7.2 added display of category & tags selected for easier mobile viewing, 2.7.3 moved next event indicator past a canceled event * skippersendemail-shortcode.php - 2.7.1 added option to append the link and content for an event, 2.7.2 added group "Mobile with no Carrier Designated", 2.7.3 fixed counter being off by 1 for custom groups, 2.7.4 added dropdown to select "from" email sender using function get_from_dropdown($from), 2.7.5 fix jQuery function that prevented shifting between text and html, 2.7.6 closes

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