{"id":4890,"date":"2011-04-19T13:40:26","date_gmt":"2011-04-19T05:40:26","guid":{"rendered":"http:\/\/basherscc.org\/blog\/?page_id=4890"},"modified":"2011-05-09T13:15:11","modified_gmt":"2011-05-09T05:15:11","slug":"versus","status":"publish","type":"page","link":"https:\/\/basherscc.org\/blog\/sop\/versus\/","title":{"rendered":"versus"},"content":{"rendered":"<p>This is a wee plugin written to keep track of the competitions the Bashers compete in.<\/p>\n<p>It&#8217;s fairly straight forward.<\/p>\n<p>In the dashboard section you&#8217;ll find the admin pages for the versus plugin.<\/p>\n<p><a href=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4891\" title=\"versus01\" src=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus01.jpg\" alt=\"\" width=\"151\" height=\"105\" srcset=\"https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus01.jpg 151w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus01-150x105.jpg 150w\" sizes=\"auto, (max-width: 151px) 100vw, 151px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/basherscc.org\/blog\/wp-admin\/admin.php?page=versus\">clicking on Versus will take you to this page<\/a><\/p>\n<p><strong>List of matches<\/strong><\/p>\n<p>which will list all the matches in the database.<\/p>\n<p><a href=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4892\" title=\"versus02\" src=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus02-1024x670.jpg\" alt=\"\" width=\"1024\" height=\"670\" srcset=\"https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus02-1024x670.jpg 1024w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus02-300x196.jpg 300w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus02.jpg 1080w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Use the filters at the top to refine the search. Click on a match to edit it.<\/p>\n<p><strong>Edit\/Add match<\/strong><\/p>\n<p>To add a new match to the database click on &#8220;Enter new Match&#8221;, i know that&#8217;s very confusing.<\/p>\n<p>The form should be pretty self explanatory. The only confusing part is the double elements (a drop down and a text input box) \u00c2\u00a0for some of the items.<\/p>\n<p><a href=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4893\" title=\"versus03\" src=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus03-1024x661.jpg\" alt=\"\" width=\"1024\" height=\"661\" srcset=\"https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus03-1024x661.jpg 1024w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus03-300x193.jpg 300w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus03.jpg 1073w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a>If it&#8217;s a new team ground or competition to the database just type it in. The system relies on the spelling being the same which is why it&#8217;s advisable to use the drop-downs where you can, they&#8217;ll automatically fill out the form elements. The score is the runs\/wickets for that teams batting innings. Try and keep the same format. The points box is for competition points. this is what&#8217;s used to calculate the standings in the league tables.<\/p>\n<p>Don&#8217;t forget to select a result so the winners get credit.<\/p>\n<p>Commentary, write what you like, this part isn&#8217;t really implemented yet. I&#8217;ve been putting the sportzvault link in for when a match is clicked on. up to you.<\/p>\n<p>Hopefully the different submit buttons don&#8217;t need explaining.<\/p>\n<p>And that&#8217;s the hard part done! Should only take a few minutes each week. Hopefully the team captains can keep on top of this and have our tables up to date, which means entering results for all matches in your comp, even ones not involving Bashers.<\/p>\n<p>Now the fun part.<\/p>\n<p>Apart from the league standings which go in the sidebar it&#8217;s possible to insert match results and tables into posts and pages.<\/p>\n<p>the place to look is on the visual editor toolbar.<\/p>\n<p><a href=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5003\" title=\"versus04\" src=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus04.jpg\" alt=\"\" width=\"774\" height=\"418\" srcset=\"https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus04.jpg 774w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus04-300x162.jpg 300w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/a><\/p>\n<p>The First button is for inserting a match result. It&#8217;ll bring up a popup window which lists matches in a similar way as the editing section you saw before.<\/p>\n<p><a href=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5004\" title=\"versus05\" src=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus05.jpg\" alt=\"\" width=\"810\" height=\"509\" srcset=\"https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus05.jpg 810w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus05-300x188.jpg 300w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/a><\/p>\n<p>Filter away and click on a match to insert it in a post.<\/p>\n<p>On your edit screen you&#8217;ll get something like this:<\/p>\n<blockquote><p>[versus_match match=\"153\"]<\/p><\/blockquote>\n<p>Or if you use the &#8220;Insert All Matches&#8221; button at the bottom you can include a range of matches (e.g. every leisure Match Played in a given Year)<\/p>\n<blockquote><p>[versus_match comp=\"\" year=\"2010\" team=\"Bashers Leisure\" venue=\"\"]<\/p><\/blockquote>\n<p>The other button is for inserting points tables. It&#8217;s the one which looks like a wee ladder and gets you to the following popup:<\/p>\n<p><a href=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus06.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5005\" title=\"versus06\" src=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus06.jpg\" alt=\"\" width=\"490\" height=\"268\" srcset=\"https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus06.jpg 490w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/versus06-300x164.jpg 300w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/a><\/p>\n<p>Choose a competition. The Highlight Team is for if you want a particular team featured.<\/p>\n<p>At Date is the tricky part here. Leave it blank and the table will automagically update as more results come in so it&#8217;s always the most up to date. But if you enter a date (in YYYY-MM-DD format or click on the button next to &#8220;make it today&#8221; to automatically enter the current date) it will show the standings as they were at that time. If you&#8217;re writing a match report or preview this might be the way to go.<\/p>\n<p>That&#8217;s about it, any bugs you find or questions let me know.<\/p>\n<p><a href=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/2010-Santa-Fe-Premiership.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5002\" title=\"2010 Santa Fe Premiership\" src=\"http:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/2010-Santa-Fe-Premiership.jpg\" alt=\"\" width=\"584\" height=\"748\" srcset=\"https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/2010-Santa-Fe-Premiership.jpg 584w, https:\/\/basherscc.org\/blog\/wp-content\/uploads\/2011\/04\/2010-Santa-Fe-Premiership-234x300.jpg 234w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n<p>enjoy.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a wee plugin written to keep track of the competitions the Bashers compete in. It&#8217;s fairly straight forward. In the dashboard section you&#8217;ll find the admin pages for the versus plugin. clicking on Versus will take you to this page List of matches which will list all the matches in the database. Use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2484,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4890","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/pages\/4890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/comments?post=4890"}],"version-history":[{"count":12,"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/pages\/4890\/revisions"}],"predecessor-version":[{"id":5258,"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/pages\/4890\/revisions\/5258"}],"up":[{"embeddable":true,"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/pages\/2484"}],"wp:attachment":[{"href":"https:\/\/basherscc.org\/blog\/wp-json\/wp\/v2\/media?parent=4890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}