LBell
Forum Replies Created
-
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] Calendar not updatingTo minimize server hits, the API caches the ICS feeds for 15 minutes.
You can change this by modifying line 37 of
includes/class-hycal-ics-proxy.phpconst CACHE_DURATION = 900;I could see making that user-settable.
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] “Unable to load calendar data”That explains it! I’ll get a fix out that can handle when permalinks are off. Thanks for sleuthing.
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] “Unable to load calendar data”Interesting. Looks like we’re getting an additional
?in the API url.Can you add / modify
public\js\helpers.jsline #43 like so:const separator = settings["rest_url"].includes("?") ? "&" : "?";
const proxyUrl =${settings["rest_url"]}${separator}url=${encodeURIComponent(
icsCals[j])};That should switch to using
&instead of another?in the rest URL- This reply was modified 4 months, 2 weeks ago by LBell. Reason: WP keeps messing with my code block!
Forum: Plugins
In reply to: [Pretty Google Calendar] Not showing events from google calendarLooks like you found another solution. Good luck!
Forum: Plugins
In reply to: [Pretty Google Calendar] map the calendarI think I’m in contact with you / your team offline. Will continue there. Thanks!
Forum: Plugins
In reply to: [Pretty Google Calendar] CustomizationDigging back into this, but looks like you found another solution.
Let me know if any of these requests are still relevant.
Forum: Plugins
In reply to: [Pretty Google Calendar] initial view in mobileLooks like you figured it out. Strong work!
Forum: Plugins
In reply to: [Pretty Google Calendar] List view event locationThis should be possible by modifying the file that calls fullcalendar and adding something like:
eventRender: function(event, element, view) {
if (event.location) element.find(".fc-list-item-title").append(" - " + event.location);
}Don’t have plans to add that functionality as an option.
- This reply was modified 5 months ago by LBell.
Forum: Plugins
In reply to: [Pretty Google Calendar] wrong time zoneClosing due to insufficient information.
Forum: Plugins
In reply to: [Pretty Google Calendar] wrong time zoneInteresting. Can you check the Google Calendar settings for both calendars and ensure they are the same (both in the same TimeZone). Seems odd they’d behave different.
Have you tried explicitly setting a locale: https://wordpress.org/plugins/pretty-google-calendar/#installation
If you can share a link to the page you’re having trouble with I might be able to dig a little deeper.
Forum: Plugins
In reply to: [Pretty Google Calendar] Events don’t showHowdy!
Could be a number of things. Be sure to check these pinned posts:
https://wordpress.org/support/topic/events-not-showing-try-these-first/
https://wordpress.org/support/topic/google-api-settings-and-things-to-check/
It looks like there’s something not quite right with your google API. (Also be sure that your calendar is set to public.)
Forum: Plugins
In reply to: [Pretty Google Calendar] Multiple calendar feeds to a master calendarGot it! Adding your own link the best way to add a subscription option.
Forum: Plugins
In reply to: [Pretty Google Calendar] Multiple calendar feeds to a master calendarHowdy!
To include multiple calendars, use:
gcal="CalendarID,CalendarID"
Note: calendars must fall under same API access.Styling Multiple Calendars
As of v1.7.0, each calendar gets it’s own CSS selector: pgcal-event-# where the # is the order of the listed calendar (starting with 0). So if you have two calendars in one, you can use pgcal-event-0 to style the first, and pgcal-event-1 to style the second calendar.
Forum: Plugins
In reply to: [Pretty Google Calendar] Change the label “undefined” to “reserved”Howdy!
This is a known issue with the underlying program (FullCalendar) if a Google calendar is set to deliver free/busy information, instead of event titles, to the plugin.
Possible workaround: switch your calendar (in Google) from free/busy mode, and use blocks labeled “Reserved” for the events.
Issue Link: https://github.com/lbell/pretty-google-calendar/issues/41
- This reply was modified 12 months ago by LBell.
Forum: Plugins
In reply to: [Pretty Google Calendar] No tool tip option?For increased flexibility, the tooltip option has been moved to a short code argument:
use_tooltip="true