{"id":169507,"date":"2023-02-22T16:45:44","date_gmt":"2023-02-22T16:45:44","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/golf-society\/"},"modified":"2025-04-16T13:41:02","modified_gmt":"2025-04-16T13:41:02","slug":"golf-society","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/golf-society\/","author":7821873,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6.0.1","stable_tag":"trunk","tested":"6.7.5","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"Golf Society","header_author":"Malcolm Shergold","header_description":"Player, Score and Handicap Management for Golf Societies","assets_banners_color":"ffffff","last_updated":"2025-04-16 13:41:02","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.corondeck.co.uk","header_plugin_uri":"http:\/\/www.corondeck.co.uk\/","header_author_uri":"http:\/\/www.corondeck.co.uk","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1355,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"Malcolm-OPH","date":"2023-03-06 09:59:26"},"1.0.1":{"tag":"1.0.1","author":"Malcolm-OPH","date":"2023-03-06 09:53:00"},"1.0.2":{"tag":"1.0.2","author":"Malcolm-OPH","date":"2023-03-09 17:08:13"},"1.0.4":{"tag":"1.0.4","author":"Malcolm-OPH","date":"2023-03-15 09:17:46"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2869512,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2869512,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.0.4"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Screenshot 1: Overview Page","2":"Screenshot 2: Players Admin Page","3":"Screenshot 3: Courses Admin Page","4":"Screenshot 4: Competitions Admin Page","5":"Screenshot 5: Handicaps Admin Page","6":"Screenshot 6: Tools Admin Page","7":"Screenshot 7: General Settings Page","8":"Screenshot 8: Golf Settings Page","9":"Screenshot 9: EMail Settings Page","10":"Screenshot 10: Page Template Settings Page","11":"Screenshot 11: Player Summary","12":"Screenshot 12: Handicap History","13":"Screenshot 13: Competitions Record","14":"Screenshot 14: Competition Results","15":"Screenshot 15: Course Rating","16":"Screenshot 16: Playing Handicaps"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[11587,30216],"plugin_category":[],"plugin_contributors":[90531],"plugin_business_model":[],"class_list":["post-169507","plugin","type-plugin","status-publish","hentry","plugin_tags-competition","plugin_tags-golf","plugin_contributors-malcolm-oph","plugin_committers-malcolm-oph"],"banners":{"banner":"https:\/\/ps.w.org\/golf-society\/assets\/banner-772x250.png?rev=2869512","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/golf-society\/assets\/icon-128x128.png?rev=2869512","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A shortcode added to a Page on the website outputs a summary page for a player.\nFrom here links allow the player to view their competition, score and handicap history.\nFurther links allow the player to view the complete competition and scores history.<\/p>\n\n<p>Features Summary<\/p>\n\n<ul>\n<li>Keeps records of players, competitions, scores and handicaps<\/li>\n<li>Handicap Calculation using simplified version of WHS <\/li>\n<li>Uses Course Rating, Slope Rating and Par for handicap calculation<\/li>\n<li>Sends personalised EMails for Playing Handicap and Results<\/li>\n<li>Creates individual logins for each player (as they are added)<\/li>\n<li>Supports Players that do not (currently) have an EMail address<\/li>\n<li>Players can edit their own contact details using WP Profile editor<\/li>\n<\/ul>\n\n<h3>Limitations<\/h3>\n\n<ul>\n<li>Only 18 hole Stableford competitions are supported<\/li>\n<li>Simplified WHS Handicapping<\/li>\n<li>Handicap Calculations NOT authorised by any golf governing body<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>First Time Installation<\/p>\n\n<ul>\n<li>Download the plugin archive<\/li>\n<li>Open the Wordpress Dashboard for your site<\/li>\n<li>Click \"Add New\" under the \"Plugins\" menu <\/li>\n<li>Select the \"Upload Plugin\" option <\/li>\n<li>Under \"Install a plugin in .zip format\" browse to the plugin archive file you downloaded<\/li>\n<li>Click Install Now.<\/li>\n<li>After it has installed, activate the plugin.<\/li>\n<\/ul>\n\n<p>Manual Upgrade\/Update<\/p>\n\n<ul>\n<li>On the WP Plugins Page deactivate (but do NOT delete) the current golfsoc plugin<\/li>\n<li>Using FTP (or your ISPs file manager) delete the current golfsoc plugin folder in the wp-content\/plugins folder<\/li>\n<li>Now Proceed as for the First Time Installation<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20are%20the%20handicaps%20calculated%3F'><h3>How are the handicaps calculated?<\/h3><\/dt>\n<dd><ul>\n<li>Handicaps are calculated by taking an average of the best scores from a number of recent scores. <\/li>\n<li>The number of scores averaged and the number they are selected from can both be specified in the plugin settings. <\/li>\n<li>Where a player has less scores that the number of scores averaged then all their scores are avaraged to calculate the handicap.<\/li>\n<\/ul><\/dd>\n<dt id='do%20you%20offer%20support%3F'><h3>Do you offer support?<\/h3><\/dt>\n<dd><ul>\n<li>The author has created this plugin for their own golf society, and published in the hope that it will be useful for others. <\/li>\n<li>Users are welcome to report bugs and suggestions for improvemnets, but the author cannot provide site specific support.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6 (15\/04\/2025)<\/h4>\n\n<p>Added Check for \"Rogue\" script tags<\/p>\n\n<h4>1.5 (06\/01\/2025)<\/h4>\n\n<p>Option to enter hole scores added \nCompetitions list split into General Play Rounds and Competitions\nAdded Fixtures Secretary EMail Address \nAdded Online Sigup for Competitions option \nBCC emails to fixtures sec when adding fixtures<br \/>\nBCC emails to fixtures sec when player enters\/withdraws<br \/>\nSummary page reformatted\nAdded GOLFSOC_CAPABILITY_ADDCOURSES \nSignup template improved\nBug Fix: Summary code fails if no next competition entry\nBug Fix: General Play without tee selected generates error<\/p>\n\n<h4>1.4 (11\/10\/2024)<\/h4>\n\n<p>Force Numeric keypad for score inputs\nAll numberic entries now of type \"number\" \nMove to PH Entry after changing tee \nBug Fix: Course Name update fails \nNow checks course exists when updating details \nAdded playerName field to SELECT queries that contain first and last names \nPHP $tsFormat global set to regional time\/date format \nAdded compDateTime field for competition date &amp; time in straight text format \nBug Fix: '[if...] within [ifdef ****][else][endif] fails in templates<\/p>\n\n<h4>1.3.10 (21\/08\/2024)<\/h4>\n\n<p>Bug Fix: Status field in Add Scores page incorrectly formatted\nAdded \"General Play\" Scores<\/p>\n\n<h4>1.3.9 (23\/08\/2024)<\/h4>\n\n<p>Added Max &amp; Min values for CR and Sr to settings \nFixed typo in templates (andd to and) \nAdded score status to results \nForce update templates on activation ($justActivated refers) \nBug Fix: Fixture Labels do not print correctly<\/p>\n\n<h4>1.3.8 (23\/08\/2024)<\/h4>\n\n<p>Added user_login to email templates (so users with the same email address can login)<\/p>\n\n<h4>1.3.7 (28\/06\/2024)<\/h4>\n\n<p>Added Countback values to Score Checker<\/p>\n\n<h4>1.3.6 (26\/06\/2024)<\/h4>\n\n<ul>\n<li>Bug Fix: Par and SI entries should be \"trimmed\"<\/li>\n<li>Bug Fix: Handicap Calculations including N\/R and D\/Q entries<\/li>\n<\/ul>\n\n<h4>1.3.5 (12\/03\/2024)<\/h4>\n\n<ul>\n<li>Added Admin Message option to emails <\/li>\n<li>Up\/Down arrows removed from scorecheck entry boxes <\/li>\n<li>Added extra \"Out\" total after hole 9 to score checker <\/li>\n<\/ul>\n\n<h4>1.3.4 (25\/02\/2024)<\/h4>\n\n<ul>\n<li>Added no of shots to scorecard labels <\/li>\n<\/ul>\n\n<h4>1.3.3 (16\/01\/2024)<\/h4>\n\n<ul>\n<li>Bug Fix: Send EMails button not hidden when sending PH EMails <\/li>\n<\/ul>\n\n<h4>1.3.2 (16\/01\/2024)<\/h4>\n\n<ul>\n<li>Bug Fix: PH EMails not sent <\/li>\n<li>Bug Fix: Duplicated inline Javascript (since 1.3) <\/li>\n<\/ul>\n\n<h4>1.3.1 (15\/12\/2023)<\/h4>\n\n<ul>\n<li>Bug Fix: Duplicated inline Javascript (since 1.3) <\/li>\n<\/ul>\n\n<h4>1.3 (14\/12\/2023)<\/h4>\n\n<ul>\n<li>Bug Fix: Extra labels printed when players count not multiple of 4<\/li>\n<li>Added Out and In totals to score checker<\/li>\n<li>Added \"EMail Results\" button to competitions page<\/li>\n<li>Tested with WP 6.4.2<\/li>\n<\/ul>\n\n<h4>1.2 (09\/10\/2023)<\/h4>\n\n<ul>\n<li>Added (optional) hole Pars and SIs to tee details<\/li>\n<li>Added Stableford score checker<\/li>\n<li>Added Attendence admin page<\/li>\n<li>Bug Fix: <br \/> shown in course details edit<\/li>\n<\/ul>\n\n<h4>1.1 (10\/08\/2023)<\/h4>\n\n<ul>\n<li>Added support for Non-Return rounds <\/li>\n<li>Tested with WP 6.3<\/li>\n<\/ul>\n\n<h4>1.0.7 (19\/07\/2023)<\/h4>\n\n<ul>\n<li>Further updates for PHP 9 Compatibility<\/li>\n<\/ul>\n\n<h4>1.0.6 (14\/07\/2023)<\/h4>\n\n<ul>\n<li>Updated to prevent null string errors in PHP 9<\/li>\n<li>All echo calls now escaped before output (uses Safe_Echo() function)<\/li>\n<li>Handicap Archive page now shows expired entries in blue italics<\/li>\n<li>Added Players Scores, Handicap History &amp; Playing Handicap Exports<\/li>\n<\/ul>\n\n<h4>1.0.5 (15\/03\/2023)<\/h4>\n\n<h4>1.0.4 (15\/03\/2023)<\/h4>\n\n<ul>\n<li>Added Postcode, Phone and What3Words to Course Details<\/li>\n<li>Scores now only published once competition is closed<\/li>\n<li>Added \"Edit Course\" function<\/li>\n<\/ul>\n\n<h4>1.0.3 (12\/03\/2023)<\/h4>\n\n<ul>\n<li>Bug Fix: Playing Handicaps Template always says \"Active Players\"<\/li>\n<li>Added (optional) competition details to \"Add Competition\" adnin pages<\/li>\n<\/ul>\n\n<h4>1.0.2 (09\/03\/2023)<\/h4>\n\n<ul>\n<li>Bug Fix: Bulk Action and Page Navigation elements not on same line<\/li>\n<li>Added PH to Handicap Archive template <\/li>\n<li>Close Competition button on Add Scores page closes comp then prompts for results email notifications<\/li>\n<li>Added \"Holes\" to Tee Details on Courses Admion Page<\/li>\n<li>Added \"SD\" to handicap archive page template<\/li>\n<\/ul>\n\n<h4>1.0.1 (05\/03\/2023)<\/h4>\n\n<ul>\n<li>Bug Fix: Invalid URL in emails <\/li>\n<li>Added scores export to tools admin page<\/li>\n<\/ul>\n\n<h4>1.0 (18\/01\/2023)<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"The GolfSoc plugin provides player, score and handicap management for Golf Societies","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/169507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=169507"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/malcolm-oph"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=169507"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=169507"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=169507"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=169507"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=169507"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=169507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}