Firefox PHP

Module: Google Calendar

Posted by Joe Curia 
All files from this thread

File Name File Size   Posted by Date  
google_calendar embedded.jpg 58.6 KB open | download Joe Curia 11/21/2008 Read message
google_calendar weekly event listings.jpg 38 KB open | download Joe Curia 11/21/2008 Read message
google_calendar_v5_2_1_00_RC_4.zip 66.5 KB open | download Joe Curia 10/11/2009 Read message
err.png 7.8 KB open | download Panu 12/03/2008 Read message
dump.txt 75.7 KB open | download Kronalias 01/26/2009 Read message
german.php 3.4 KB open | download abaumg 10/14/2009 Read message
Module: Google Calendar
November 21, 2008 12:25AM
This module allows visitors to submit a forum post to a Google calendar and allows the admin to show a seven day listing of events and/or to embed that calendar into the forum.

Installation/Usage Instructions:
Please refer to the Installation and Usage Guide.

Notes:
This module is currently being released as a release candidate. It is fully coded but has not been exhaustively tested. Please feel free to use this module in a test environment and if you are willing to deal with some potential hassle you are welcome to use it in a production environment.

Todo:

- Settings to allow for private calendars (for now embedded calendars must be publicly shared)

- Any other ideas that pop in my head or are suggested by others

Acknowledgements:
jeem - Provided the Turkish language file.
Panu - Provided the Finnish language file.
Bug hunters: jotech, Kronalias, Panu


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald




Edited 3 time(s). Last edit at 02/04/2009 05:14PM by Joe Curia.


Attachments:
open | download - google_calendar_v5_2_1_00_RC_4.zip (66.5 KB)
Re: Module: Google Calendar
November 22, 2008 09:25AM
Hey, I translated your Google Calendar module into Turkish. I sent the file. Thanks for the great module.
Re: Module: Google Calendar
November 22, 2008 01:42PM
Thanks for the translation. I have added your Turkish language file to the module.

Let me know if you run into any problems with the install or usage. If anything isn't clear in the guide, I welcome all input.

Thanks again.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Google Calendar
November 23, 2008 02:02AM
Just a quick question (forgive me, but I don't have a test site I can install this module on) - is there any security on the ability to post events to the calendar via a phorum post? i.e.: is it currently possible to only assign this privilege to certain users?

Thanks!

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Module: Google Calendar
November 23, 2008 02:23AM
Quote
sheik
Just a quick question (forgive me, but I don't have a test site I can install this module on)

Hmm, good point, I will have to find a way to post the Installation and Usage Guide for everyone.
Quote

- is there any security on the ability to post events to the calendar via a phorum post? i.e.: is it currently possible to only assign this privilege to certain users?

Thanks!

/\dam
Yes and no, the module currently supports the following: anyone who can post, moderators and admin, or just admin. I will have to add the ability to link event creation to groups as an option.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Google Calendar
November 23, 2008 03:16AM
Thanks Joe,
Allowing moderators only is a great start! In future it would be very nice to have a trusted list of people (as you say, groups) that could add events - at the moment people do post events to one of my forums but I then duplicate the information in Google Calendar.

Do you append the Phorum thread URL to the event description? I do this manually at the moment, so that I can parse the Google feed of my calendar to summarise events on my homepage, and users are kept on my site when they click for more info.

My manual workflow is therefore:
- post about the event to my Phorum (or sometimes a user does this)
- create the event in Google Calendar, adding the forum URL at the end

A script then parses the feed, and replaces the URL with a link reading "Full information" and outputs it on my frontpage (www.st-neots.co.uk).

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Module: Google Calendar
November 23, 2008 04:01AM
I have added the Google Calendar Installation and Usage Guide to the Phorum wiki here: [trac.phorum.org].

As for the event data, there are two fields in the language files that control what is sent to google. The EventTitle is the title Google uses and the EventDescription is the body of the event. By default this is simply the author and a link to the forum post.

That didn't make it into the guide so I will add it as well. Please read through the guide and if anything doesn't make sense or isn't explained, I am more than happy to continue explaining here.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Google Calendar
November 24, 2008 09:05PM
I have added the option to allow selected groups to post events and included the feature in the available RC.1.

One note, events are only posted after the message they are posted from is approved. Thus, if you allow anyone to post events in your event forum, but require posts in that forum be moderated, the only work you will need to do is to approve the message (and its event) rather than reentering the info.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Google Calendar
November 24, 2008 09:42PM
I've updated the language file, it's in UTF8 now.

EDIT: language file now included in the module. Thank you for your work. - Joe Curia



Edited 1 time(s). Last edit at 12/23/2008 02:21PM by Joe Curia.
Re: Module: Google Calendar
November 26, 2008 06:45PM
Hi I like the idea of this module and tried to implement it, however the setup went wrong (my mistake) but I can not make a clean install of the module to start again. Even after I have deleted the module and uploaded a fresh copy it still finds the old settings?? How can I start over ?

Thanks
Sorry, only registered users may post in this forum.

Click here to login