vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Google Calendar API integration. (https://vborg.vbsupport.ru/showthread.php?t=274982)

HittingSmoke 12-03-2011 02:00 AM

Google Calendar API integration.
 
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
Google Calendar API

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.


All times are GMT. The time now is 10:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01080 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete