How to add a Google Calendar to VB5

Collapse
X
Collapse
  •  

  • How to add a Google Calendar to VB5

    This will show you how to add a Google Calendar to your VB5 Connect or vBCloud site. The calendar will be on a custom page in an IFRAME.

    Live Demo: http://sedona.vbulletin.net/SedonaCalendar

    1) First make sure you have a Google account and are signed into it. (If you have Gmail or use any Google services you already have a Google account.)

    2) Go to Google Calendar - https://www.google.com/calendar/render

    3) On the side expand "My Calendars" and choose Create new calendar.


    4) Now fill in the details for the new calendar. Give it a name, a description, set a location if appropriate, choose the timezone you will be entering events into, and make sure you check the box to make sure it is public. When done click the Create Calendar button at the bottom.



    5) You will be brought back to the main calendar page. Refresh/reload the page and then expand My Calendars and you'll see your new calendar listed- click on it.



    6) If you still see tasks (events) you have saved from other calendars than click on Tasks and choose to Display only this Calendar- that will clear everything else from view.



    7) If you want, take this time to add events to the calendar. You can always come back and add more later.

    8) When you are ready go back to the side, and click on the drop down icon next to your calendar name and choose Calendar Settings from the menu.



    9) On the next page find the Embed This Calendar section and click on the Customize the color... link.



    10) Make the customizations you want including height and width. Make sure you click the Update HTML after making changes, then copy and the HTML text, you will need it for the next step. At this point we are done with Google Calendars for now.

    Note- You may edit the HTML code and change the code that says width="800" to width="100%" this will look best on your VB5 forum. It is not an option you can otherwise choose.



    At this point you have IFRAME code.

    The next step is to embed the IFRAME code into a a new vBulletin powered page. Do not name the new page "Calendar" as this may conflict should a real calendar be added to VB5 someday- choose some other more specific name for your page.

    To complete the process now proceed to this How To to add an IFRAME to your VB5 site: ​http://www.vbulletin.com/forum/blogs/joe-d/3932613-

    Once you have completed your calendar you may be used to showing a list of upcoming events on your forum homepage. While not exactly the same you can instead show your Google Calendar Agenda in another Static HTML module you can put on your forum homepage or anywhere else on your site. The agenda is too wide to fit in the standard 300 pixel wide VB5 sidebar but it fits fine in the larger column as can be seen at http://sedona.vbulletin.net or at full width as can be seen below the main calendar at http://sedona.vbulletin.net/SedonaCalendar.

    To make the Agenda repeat the process above beginning at Step 8. One the page where you choose the settings for your calendar make sure you change to the Agenda View rather than the Monthly view which is default. Set a more reasonable height for the Agenda, I use 300 pixels.

    And that is it, follow the rest of the steps. When you get to the point you are going to create the new Static HTML module on your forum you will likely want to create it on your forum homepage. Drag the Static HTML module to the bottom of the existing modules or otherwise place it where you want.
    Attached Files
    Last edited by BirdOPrey5; Tue 1 Apr '14, 3:22am.

    • Rakehel
      #1
      Rakehel commented
      Editing a comment
      Not getting the "agenda display part." We can display only the agenda page? (Why did vB end the calendar? It was one of our teaching tools!)

    • BirdOPrey5
      #2
      BirdOPrey5 commented
      Editing a comment
      This is an old article. An Events system has been added to VB5 since, it may be of help. The Google Calendar still works as can be seen here- https://sedona.vbulletin.net/SedonaCalendar
    Posting comments is disabled.

About the Author

Collapse

BirdOPrey5 The details of my life are quite inconsequential... Find out more about BirdOPrey5

Article Tags

Collapse

administration (1) beginner (3) calendar (1) cloud (1) Custom (1) database (2) Google (1) how-to (2) howto (1) how to (1) https (1) Intermediate (4) MYSQL (2) performance (2) recovery tools (1) security (2) seo (1) server information (1) sftp (1) ssl (1) style (1) tls (1) tutorial (4) vb5howto (5) vbcloud (1)

Latest Articles

Collapse

  • Changing your site's favicon
    by Wayne Luke
    The favicon allows you to extend your brand identity to the browser tab. This can often be the only thing a user sees if they have many tabs open. The favicon is a special 16 X 16 icon that the browser automatically looks for in the root directory of your site. vBulletin also ships with one in its root directory. If vBulletin is installed in the root directory of your site, you can overwrite the provided icon to change it for your users. However, you will need to remember to do this with every version...
    Tue 21 Nov '23, 10:39am
  • About .htaccess
    by Wayne Luke
    .htaccess is a configuration file for the Apache Web Server. It allows you to customize how your server works. Depending on how your hosting provider has the server configured, you can redirect people to different locations, secure directories and files, tell browsers how long to cache files, update PHP variables, and more. vBulletin comes with a pretty extensive .htaccess file that does a these things for you. Location vBulletin comes with a file named htaccess.txt in the original download. When ...
    Mon 11 Sep '23, 11:57am
  • Answered Topics
    by Mark.B
    In vBulletin 5.6.5, we added a new feature - Answered Topics.

    Topics can now be marked as "Answered." This is a special status applied to a specific post within the topic. The post that is marked as the Answer will be highlighted and show directly under the starting post in the topic.

    The ability to mark posts as the Answer in a topic is controlled by permissions. There are three different permissions to control this.
    Usergroup and Channel Permissions both...
    Sun 8 Jan '23, 11:43am
  • Custom Node Fields
    by Mark.B


    In 5.7.2, we have added a new feature - Custom Node fields.

    This new feature allows Administrators to define text and text area fields that are assigned to channels (eg forums).
    When a user creates a new topic, defined custom node fields will be available.
    1. The Administrator will create Field Categories in the AdminCP. Each category is assigned to one or more channels.
    2. Within each category, the Administrator can create one or more fields that will get assigned
    ...
    Thu 29 Dec '22, 2:19am
  • Using User Ranks
    by Wayne Luke

    User ranks allow the administrator to set up image and HTML rewards for their users once they reach specific goals. In versions before vBulletin Connect 5.7.1, ranks could only be triggered by the number of posts and the usergroups assigned to the user. In vBulletin Connect 5.7.1, User Ranks have been expanded to allow more flexibility in creating individual ranks. Now you can build combinations of different criteria to create unique ranks for your site.

    ​ Ranks can be created using th...
    Tue 25 Oct '22, 12:04pm
  • Excluding Custom Files from Suspect File Diagnostic
    by Wayne Luke
    If you have custom files, you can create an md5 sums for your smilie directory if you want. Inside the /do_not_upload folder of your download package is a checksum sub-folder. That will create custom md5_sums files.
    1. Copy the included sample_checksum_config.php file to smilies_config.php.
    2. Enter in your forum root.
    3. Give it a product id like 'smilies'.
    4. Delete the existing directories and files in the scanpaths.
    5. Add in '/core/images/smilies', under the directories comment.
    6. Run the command
    ...
    Mon 24 Aug '20, 8:48am
Working...