{"id":500,"date":"2025-12-19T17:14:28","date_gmt":"2025-12-19T17:14:28","guid":{"rendered":"https:\/\/xuan.co.uk\/?p=500"},"modified":"2025-12-22T17:47:32","modified_gmt":"2025-12-22T17:47:32","slug":"calendar-to-quickly-track-days-off","status":"publish","type":"post","link":"https:\/\/xuan.co.uk\/?p=500","title":{"rendered":"Calendar to quickly track days off between a group of people."},"content":{"rendered":"<p data-path-to-node=\"1\">I wanted a simple calendar to share days off between a group and quickly have an overview.<\/p>\n<p data-path-to-node=\"1\">In admin.php has one password for all users for access, edit the file at the top where you see this line and change the password<\/p>\n<p data-path-to-node=\"1\">\/\/ Hardcoded password<br \/>\n$adminPassword = &#8220;YourSecurePasswordHere&#8221;;<\/p>\n<p data-path-to-node=\"1\">To create a calendar when in admin mode just type the new users initials.<\/p>\n<p data-path-to-node=\"1\">Anyone can edit anyone else&#8217;s days off.<\/p>\n<p data-path-to-node=\"1\">The calendar data is saved in a flat file per user in the data folder which is created if it doesn&#8217;t exist.<\/p>\n<p data-path-to-node=\"1\">To delete a user you have to delete their .txt file in the data folder.<\/p>\n<p>To install just upload the index.php (public view), admin.php (calendar admin).<\/p>\n<p><a href=\"https:\/\/xuan.co.uk\/wp-content\/uploads\/2025\/12\/DaysOffv2.zip\">DOWNLAOD DaysOffv2<\/a><\/p>\n<p id=\"GsnQtyY\"><img loading=\"lazy\" decoding=\"async\" width=\"765\" height=\"634\" class=\"alignnone size-full wp-image-511 \" src=\"https:\/\/xuan.co.uk\/wp-content\/uploads\/2025\/12\/img_694983e5a5fc6.png\" alt=\"\" srcset=\"https:\/\/xuan.co.uk\/wp-content\/uploads\/2025\/12\/img_694983e5a5fc6.png 765w, https:\/\/xuan.co.uk\/wp-content\/uploads\/2025\/12\/img_694983e5a5fc6-300x249.png 300w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/p>\n<p id=\"buAhNRI\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"724\" class=\"alignnone size-full wp-image-512 \" src=\"https:\/\/xuan.co.uk\/wp-content\/uploads\/2025\/12\/img_6949842787a79.png\" alt=\"\" srcset=\"https:\/\/xuan.co.uk\/wp-content\/uploads\/2025\/12\/img_6949842787a79.png 767w, https:\/\/xuan.co.uk\/wp-content\/uploads\/2025\/12\/img_6949842787a79-300x283.png 300w\" sizes=\"auto, (max-width: 767px) 100vw, 767px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted a simple calendar to share days off between a group and quickly have an overview. In admin.php has one password for all users for access, edit the file at the top where you see this line and change the password \/\/ Hardcoded password $adminPassword = &#8220;YourSecurePasswordHere&#8221;; To create <a class=\"more-link\" href=\"https:\/\/xuan.co.uk\/?p=500\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-500","post","type-post","status-publish","format-standard","hentry","category-tech-tips"],"_links":{"self":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=500"}],"version-history":[{"count":4,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":513,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions\/513"}],"wp:attachment":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}