PDA

View Full Version : Google Calendar API integration.


HittingSmoke
12-03-2011, 02:00 AM
So, I've been looking at the Google Calendar API and the PHP libraries. I'm not a programming guru. I'm just teaching myself Python web development and I know enough PHP to troubleshoot problems but not to write or mod anything.

From my understanding reading the Google Calendar API, it would be a matter of a few dozen or so lines of code in calendar.php to tell vBulletin to update a Google Calendar via the API on submission of events. I know integration with the Admin CP to make managing it easier would be much more extensive, but for now I'm just curious how easy it would be to through in the API calls to calendar.php to tell vB to update a Google Calendar.

Can anyone shed a bit of light on this for a noob? I wouldn't mind doing it myself, I just need a push in the right direction for someone more well versed in PHP than I.

EDIT: Left out the links

Google API PHP libraries (http://code.google.com/p/google-api-php-client/)
Google Calendar API (http://code.google.com/apis/calendar/v3/getting_started.html)

The Ottoman
01-27-2012, 05:20 PM
I found your thread because I was looking pretty much for the same thing.

Here's what I found:

You *can* directly port a Google Calendar into stock VBulletin as a sideblock by creating a Custom HTML/PHP side block and simply pasting the code of your calendar from Google in the "Embed This Calendar" section.

It displays the calendar at full size, but I'm sure that you can adjust that either by what Google is throwing you, or the template that is being used to build the sideblock.

Now, the next thing would be to create a Custom User Profile Field where a user would put in their Calendar Address, and then use that field to pull up a calendar unique to you.