michielvaneerd / privategooglecalendars

Private Google Calendars Wordpress plugin
https://michielvaneerd.github.io/privategooglecalendars/
8 stars 4 forks source link

=== Private Google Calendars === Contributors: michielve Tags: calendar, google Requires at least: 4.6 Tested up to: 6.6.2 Requires PHP: 5.4.0 Stable tag: trunk License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display private and public Google Calendars on your Wordpress website.

== Description ==

If you update to version 20230111, please note that:

See for details about this release: https://blog.michielvaneerd.nl/wordpress-plugins/private-google-calendars/version-20230111-details/

This plugin can display multiple private and public Google calendars with a shortcode, Gutenberg block or as a widget.

See the webpage for more information.

= Features =

== Installation ==

  1. Upload the plugin files to the /wp-content/plugins/private-google-calendars directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Use the Settings->Private Google Calendars screen to configure the plugin
  4. See the Help tab in the settings screen for information about setting up the OAuth2 access and using the shortcode and/or widget.

== Screenshots ==

  1. Dark themed calendar.
  2. Calendar with event detail popup.
  3. Blue themed calendar.

== Frequently Asked Questions ==

= I get de-authorised every 1 or 2 weeks =

This is because your Google Cloud project is still in the "Testing" publishing status. Make sure to set it to "Production".

= Important notes for users who upgraded to 20200902 and experience differences =

The 20200902 update makes it possible to display private and public Google calendars at the same time in the same widget, shortcode or Gutenberg block. This update makes the plugin also more secure. Though tested thoroughly it can be possible you experience a difference. Here are some possible differences and ways to solve them.

= How can I override the calendar look? =

Create a child theme and enqueue a css file with a dependency on pgc for example:

wp_enqueue_style('fullcalendar-override', get_stylesheet_directory_uri() . '/fullcalendar-override.css', ['pgc']);

= I get a 'Token has been expired or revoked' error =

This usually means you don't have a valid access or refresh token anymore. This can only be solved by manually revoke access on the Google Permissions page and remove all plugin data.

= I get an 'Error: redirect_uri_mismatch' error when I want to authorize =

This means that you didn't add your current URL [YOURWEBSITE]/wp-admin/options-general.php?page=pgc to the authorized redirect URIs. See the website for more information.

= W3 Total Cache =

If you use W3 Total Cache and have minify JS enabled, make sure that you do one of the following: Choose "Combine only" in the "Minify" settings. OR Enter the following files in the "Never minify the following JS files" textbox. Make sure you add the full path to these files from the root of your installation, so if your Wordpress website is located in the wordpress directory, this will be (for FullCalendatr 5):

wordpress/wp-content/plugins/private-google-calendars/lib/dist/main.js

And for FullCalendar 4:

wordpress/wp-content/plugins/private-google-calendars/lib/fullcalendar4/core/main.min.js wordpress/wp-content/plugins/private-google-calendars/lib/fullcalendar4/core/locales-all.min.js wordpress/wp-content/plugins/private-google-calendars/lib/fullcalendar4/list/main.min.js wordpress/wp-content/plugins/private-google-calendars/lib/fullcalendar4/timegrid/main.min.js

== Changelog ==

= 20241103 =

= 20240106 =

= 20240104 =

= 20240103 =

= 20231125 =

= 20230902 =

= 20230111 =

= 20220915 =

= 20220910 =

= 20220701 =

= 20220603 =

= 20220318 =

= 20220209 =

= 20220206 =

= 20220205 =

= 20211205 =

= 20211103 =

= 20211102 =

= 20211101 =

= 20211030 =

= 20201204 =

= 20200902 =

= 20211205 =

= 20200810 =

= 20200809 =

= 20200808 =

= 20200717 =

= 20200711 =

= 20200710 =

= 20200623 =

= 20200615 =

= 20200515 =

= 20200514 =

= 20200513 =

= 20200512 =

= 20200511 =

= 20200510 =

= 20200509 =

= 20200508 =

= 20200502 =

= 20200501 =

= 20200209 =

= 20200117 =

= 20200116 =

= 20200115 =

= 20200114 =

= 20200113 =

= 20200112 =

= 20200102 =

= 20191211 =

= 20191210 =

= 20191209 =

= 20191205 =

= 20191204 =

= 20191203 =

= 20191202 =

= 20191201 =

= 20191133 =

= 20191132 =

= 20191131 =

= 20191129 =

= 20191129 =

= 20191128 =

= 20191125 =

= 20191124 =

= 20190219 =

= 20181225 =

= 20181224 =

= 20181222 =

= 20171009 =