Google Calendar for XenForo

Google Calendar for XenForo 1.0.2

No permission to download
Awesome addon, would it please be possible to add an icon to share the ical url? And active url in tooltip.

I love this idea, and am also wondering -- how can I enable word wrap? I'm not finding this in the docs, and even on desktop view, I'm losing the end of every single entry in the calendar.

Thanks so much!
 
Hello,
When i create en element in the calendar let's say at 8.00PM , it shows 9.00PM in xenforo, anyone knows why ?

edit : fixed it by adding
timeZone: 'UTC',
in the template
 
Last edited:
I haven't looked at this in a very long time but I imagine it's a timezone setting.

The calendar settings can be found in the shinyTech_google_calendar template as mentioned in this post.

You'll need to add a timeZone setting as per the FullCalendar docs here

Eg. timeZone: 'local', // the default (unnecessary to specify)
 
I know this is unmaintained, but there is an one issue that's bothering me. This add-on affects other tooltips on the page not related to the calendar add-on.

Screenshot 2025-07-15 at 12-30-24 Calendar altBoards.webp
Anyway that can be fixed?
 
Here are the css tweaks I made for the calendar, if anyone needs it. It's pretty universal and should work for all themes, but adjustments might have to made on your end.

Code:
[data-template="shinyTech_google_calendar"] {
    .fc-theme-standard .fc-scrollgrid,
    .fc-theme-standard .fc-list,
    .fc-theme-standard td,
    .fc-theme-standard th {
        border-color: @xf-borderColor;
    }
    
    .fc-h-event,
    .fc-theme-standard .fc-list-day-cushion {
        background-color: @xf-paletteColor3;
    }
    
    .fc-theme-standard .fc-list-day-cushion a {
        color: white;
    }
    
    .fc .fc-list-event:hover td {
        background-color: @xf-contentAltBg;
    }
    
    .tooltip {
        color: @xf-textColor;
    }
}
 
I know this pretty much unmaintained, but would you mind updating the js to the latest fullCalendar version and adding a getActivityDetails function?

All you have to do is add this:
Code:
public static function getActivityDetails(array $activities)
{
    return \XF::phrase('phrase_here');
}
 
Last edited:
Can you help me understand the context of what you're trying to do or need it to do wrt the getActivityDetails function?
 
Can you help me understand the context of what you're trying to do or need it to do wrt the getActivityDetails function?

All that code does is add a phrase for when people view the calendar. When someone is looking at the calendar, it should say "Viewing calendar". Without that it just says "Viewing unknown page"

It just needs to be in the public controller.
 
I see. I'm still pretty swamped with work, but I'll see what I can do if I have time at some point to upgrade FullCalendar and add that.
 
Back
Top Bottom