-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5606133
Showing
12 changed files
with
2,336 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This program is free software: you can redistribute it and/or modify it under | ||
the terms of the GNU AFFERO GENERAL PUBLIC LICENSE version 3 as published by | ||
the Free Software Foundation. | ||
|
||
This program is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE v3 | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
[![Software License](https://img.shields.io/badge/License-AGPLv3-green.svg?style=flat-square)](LICENSE) [![Bludit 3.15.x](https://img.shields.io/badge/Bludit-3.15.x-blue.svg?style=flat-square)](https://bludit.com) [![Bludit 3.16.x](https://img.shields.io/badge/Bludit-3.16.x-blue.svg?style=flat-square)](https://bludit.com) | ||
|
||
# Are We Open (are-we-open) Plugin for Bludit | ||
|
||
This is a availability plugin for Bludit 3.15.x and 3.16.x. Later 3.x versions may work. | ||
|
||
## Description | ||
|
||
This plugin allows you to display availability and/or business operating open/closed notices on your website. | ||
|
||
You can display the status almost anywhere in Bludit. | ||
|
||
_The plugin contains no tracking code of any kind_ | ||
|
||
## Demo | ||
|
||
You can see the plugin in action on [bludit-bs5simplyblog.joho.se/areweopen](https://bludit-bs5simplyblog.joho.se/areweopen) | ||
|
||
## Requirements | ||
|
||
Bludit version 3.15.x or 3.16.x | ||
|
||
## Installation | ||
|
||
1. Download the latest release from the repository or GitHub | ||
2. Extract the zip file into a folder, such as `tmp` | ||
3. Upload the `are-we-open` folder to your web server or hosting and put it in the `bl-plugins` folder where Bludit is installed | ||
4. Go your Bludit admin page | ||
5. Klick on Plugins and activate the `Are We Open` plugin | ||
|
||
## Usage | ||
|
||
Simply put `[areweopen_open]your content[/areweopen_open]` and `[areweopen_closed]your content[/areweopen_closed]` somewhere in your content. | ||
|
||
The plugin will respect `<pre>..</pre>` and not parse for the shortcodes in that HTML block. | ||
|
||
## Other things I've created for Bludit | ||
|
||
* [BS5Docs](https://bludit-bs5docs.joho.se), a fully featured Bootstrap 5 documentation theme for Bludit | ||
* [BS5SimplyBlog](https://bludit-bs5simplyblog.joho.se), a fully featured Bootstrap 5 blog theme for Bludit | ||
* [BS5Plain](https://bludit-bs5plain.joho.se), a simplistic and clean Bootstrap 5 blog theme for Bludit | ||
* [Chuck Norris Quotes](https://github.com/joho1968/bludit-are-we-open), provides random Chuck Norris quotes for your Bludit page content | ||
|
||
## Changelog | ||
|
||
### 1.0.0 (2024-10-25) | ||
* Initial release | ||
|
||
## Other notes | ||
|
||
This plugin has only been tested with PHP 8.1.x, but should work with other versions too. If you find an issue with your specific PHP version, please let me know and I will look into it. | ||
|
||
## License | ||
|
||
Please see [LICENSE](LICENSE) for a full copy of AGPLv3. | ||
|
||
Copyright 2024 [Joaquim Homrighausen](https://github.com/joho1968); all rights reserved. | ||
|
||
This file is part of are-we-open. are-we-open is free software. | ||
|
||
are-we-open is free software: you may redistribute it and/or modify it under | ||
the terms of the GNU AFFERO GENERAL PUBLIC LICENSE v3 as published by the | ||
Free Software Foundation. | ||
|
||
are-we-open is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU AFFERO GENERAL PUBLIC LICENSE | ||
v3 for more details. | ||
|
||
You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE v3 | ||
along with the are-we-open package. If not, write to: | ||
``` | ||
The Free Software Foundation, Inc., | ||
51 Franklin Street, Fifth Floor | ||
Boston, MA 02110-1301, USA. | ||
``` | ||
|
||
## Credits | ||
|
||
The Are We Open Plugin for Bludit was written by Joaquim Homrighausen while converting :coffee: into code. | ||
|
||
Kudos to [Diego Najar](https://github.com/dignajar) for [Bludit](https://bludit.com) :blush: | ||
|
||
### Whatever | ||
|
||
Commercial support and customizations for this plugin is available from WebbPlatsen i Sverige AB. | ||
|
||
If you find this Bludit add-on useful, feel free to donate, review it, and or spread the word :blush: | ||
|
||
If there is something you feel to be missing from this Bludit add-on, or if you have found a problem with the code or a feature, please do not hesitate to reach out to [email protected]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"plugin-data": { | ||
"name": "Are We Open", | ||
"description": "Display availability and/or business operating open/closed notice." | ||
}, | ||
"plugin-status": "Plugin status", | ||
"plugin-enabled": "Enabled", | ||
"plugin-disabled": "Disabled", | ||
"help-plugin-status": "Allows you to temporarily enable/disable the plugin", | ||
"plugin-general-status": "Are you open?", | ||
"plugin-as-configured": "As configured by schedule below", | ||
"plugin-closed": "We are closed, disregarding the schedule", | ||
"help-plugin-general-status": "Allows you to override your Open status", | ||
"weareopen-status": "According to schedule, the result", | ||
"weareopen-for-date": "for", | ||
"weareopen-closed": "Closed", | ||
"weareopen-open": "Open", | ||
"areweopen-day-configuration": "Daily schedule", | ||
"areweopen-day-configuration-label": "Schedule for", | ||
"monday": "Monday", | ||
"tuesday": "Tuesday", | ||
"wednesday": "Wednesday", | ||
"thursday": "Thursday", | ||
"friday": "Friday", | ||
"saturday": "Saturday", | ||
"sunday": "Sunday", | ||
"areweopen-help-day-configuration": "Configuration of status for each weekday, time slots separated by a space", | ||
"areweopen-help-day-configuration-sample": "0830-1130 1230-1700 or 0830- or 0830-1600", | ||
"areweopen-closed-on-days": "Closed on these days", | ||
"areweopen-closed-on-days-label": "Closed on", | ||
"areweopen-help-closed-on-days": "You are closed on these days, regardless of schedule above", | ||
"areweopen-closed-on-dates": "Closed on these dates", | ||
"areweopen-help-closed-on-dates": "You are closed on these dates, regardless of schedule above, separated by a space", | ||
"areweopen-help-closed-on-dates-sample": "20241231 20250101-20250131 ????1224-????1225", | ||
"areweopen-usage-header": "Usage", | ||
"areweopen-usage-help": "Simply put [areweopen_open] your content [/areweopen_open] and [areweopen_closed] your content [/areweopen_closed] somewhere in a page's content. You may, of course, use HTML to make your information stand out." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"plugin-data": { | ||
"name": "Are We Open", | ||
"description": "Visar tillgänglighet och/eller öppet/stängt status." | ||
}, | ||
"plugin-status": "Status för insticksprogram", | ||
"plugin-enabled": "Aktiverat", | ||
"plugin-disabled": "Inaktiverat", | ||
"help-plugin-status": "Möjliggör tillfällig inaktivering utan att förlora inställningarna", | ||
"plugin-general-status": "Har ni öppet?", | ||
"plugin-as-configured": "Enligt schema nedan", | ||
"plugin-closed": "Vi har stängt, oavsett vad schemat säger", | ||
"help-plugin-general-status": "Möjliggör att tillfälligt hålla stängt oavsett schema", | ||
"weareopen-status": "Enligt schemat så är resultatet", | ||
"weareopen-for-date": "för", | ||
"weareopen-closed": "Stängt", | ||
"weareopen-open": "Öppet", | ||
"areweopen-day-configuration": "Dagschema", | ||
"areweopen-day-configuration-label": "Schema för", | ||
"monday": "Måndag", | ||
"tuesday": "Tisdag", | ||
"wednesday": "Onsdag", | ||
"thursday": "Torsdag", | ||
"friday": "Fredag", | ||
"saturday": "Lördag", | ||
"sunday": "Söndag", | ||
"areweopen-help-day-configuration": "Inställningar för varje veckodag, tidblock separeras med mellanslag", | ||
"areweopen-help-day-configuration-sample": "0830-1130 1230-1700 ellerr 0830- eller 0830-1600", | ||
"areweopen-closed-on-days": "Stängt dessa dagar", | ||
"areweopen-closed-on-days-label": "Stängt på", | ||
"areweopen-help-closed-on-days": "Du har stängt dessa dagar, oavsett schemat", | ||
"areweopen-closed-on-dates": "Stängt dessa datum", | ||
"areweopen-help-closed-on-dates": "Du har stängt dessa datum, oavsett schemat, använd mellanslag för att ange fler datum", | ||
"areweopen-help-closed-on-dates-sample": "20241231 20250101-20250131 ????1224-????1225", | ||
"areweopen-usage-header": "Användning", | ||
"areweopen-usage-help": "Skriv in [areweopen_open] ditt innehåll [/areweopen_open] och [areweopen_closed] ditt innehåll [/areweopen_closed] någonstans i en sidas innehåll. Du kan, såklart, använda HTML." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"author": "Joaquim Homrighausen", | ||
"email": "[email protected]", | ||
"website": "https://webbplatsen.se", | ||
"version": "1.0.0", | ||
"releaseDate": "2024-10-24", | ||
"license": "AGPLv3", | ||
"compatible": "3.16,3.16.1,3.16.2,3.15,3.15.0,3.15.1,3.15.2,3.15.3", | ||
"notes": "Display availability and/or business operating open/closed notice" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This program is free software: you can redistribute it and/or modify it under | ||
the terms of the GNU AFFERO GENERAL PUBLIC LICENSE version 3 as published by | ||
the Free Software Foundation. | ||
|
||
This program is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
|
||
You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE v3 | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. |
Oops, something went wrong.