Firefox PHP

Module: Google Calendar

Posted by Joe Curia 
Re: Module: Google Calendar
December 03, 2008 08:47AM
amnesia,

It sounds like you may have removed the comments from the dev only section as described above in this post.

Those lines are only meant as a last resort/reinstall function and should always be commented out during normal operation. It may be that the copy you have locally has been edited and thus needs to be re-edited before being reuploaded to your server 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
December 03, 2008 08:55AM
Quote
Panu
Thanks for this module, it's working relatively well. I'm just waiting for the private calendar function to be implemented :)

Please don't hold your breath for the private calendar function. There are a number of difficult issues to resolve.

First, Google does not support embedding multiple private calendars at this time. If you only have one color-coding, I can work with you to get it going now, but more than one color-coding and it cannot be embedded.

My idea for a work-around is to write code into the module which will add every member of your phorum as read-only users for your private calendars. The embedding still won't work, but a link or possibly a custom iframe may do the trick. I still have to wrap my head around everything necessary for this to happen, so like I said, please don't expect that feature very soon.

Quote

I found out a small bug though that can be seen in the screen shot. The event popup pops up in the wrong place making clicking it impossible. I tried with emerald and lightweight themes. I can send you a link in PM if you want to see it in action.

Please do send the PM. As far as I know the popup has not caused errors for others, so I need to see your page in action to debug. Thanks.

Quote

Also attached is finnish lang-file (UTF-8)

Thank you very much for that. I will include it in the next release.


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
December 03, 2008 09:08AM
Joe I am also getting that issue with the popup



[www.jotech.co.uk]

Cheers
Module: Google Calendar v5.2.1.00.RC.2
December 03, 2008 11:08AM
I have released v5.2.1.00.RC.2 of this module which addresses the event listing popup issue (among other things):

- Bugfix: Positioning the event listing bubble was calling on f_filterResults rather than phorum_mod_google_calendar_f_filterResults. That will teach me for developing a module in a dirty environment (with other modules enabled). Thank you Phorum users Panu and jotech for helping identify this bug.

- Enhancement: Finnish language file added courtesy of Phorum user Panu.

- Bugfix: Corrected the leap year algorithm for checking dates.

- Bugfix: The PHP function strtotime needs a US English date string. Thank you Phorum user jotech for helping identify this bug.

- Enhancement: Added the option to allow selected groups to post events. Thank you Phorum user sheik for suggesting this enhancement.

- Enhancement: Documentation converted to wiki and host in www.phorum.org's Trac system. The "manual:" line was added to info.txt in anticipation of future support.

- Enhancement: Turkish language file added courtesy of Phorum user jeem.


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 1 time(s). Last edit at 12/04/2008 12:32AM by Joe Curia.
Re: Module: Google Calendar v5.2.1.00.RC.2
December 08, 2008 03:29PM
Hello, thanks for your great module! Have you ever considered to implement a date/time picker for entering data easier? Also, wouldn't it make more sense to reserve an optional field for the length of an event? Have you also thought about geocoding events with google maps? Thank you!
Re: Module: Google Calendar v5.2.1.00.RC.2
December 08, 2008 03:49PM
Quote
korsakov
Have you ever considered to implement a date/time picker for entering data easier?

I thought about this, but for some reason my brain hung up on the time issue. I see no reason not to implement a date picker with a separate entry for time. Consider it added to the todo list

Quote

Also, wouldn't it make more sense to reserve an optional field for the length of an event?

Well, most calendar programs I have run into ask you to set a start and end time for events, but they do have a default event length. I suppose I could look into implementing a default event length where changing the start time sets the end time to one hour later (or whatever). Thanks for the suggestion.

Quote

Have you also thought about geocoding events with google maps?

No, but I am now :). That said, this is definitely a feature that will take some work and not happen overnight or even this year. I will add it to my list of possibly features though.


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 v5.2.1.00.RC.2
December 08, 2008 06:12PM
Thank you Joe!
Btw, the Calvis project is handling geocode: Please, click on 12-8-08 at: [gcal.appspot.com].
(http://code.google.com/p/calvis/)

Minutewise, I would offer :00, :15, :30, :45 as a start time. Everything else is rather unlikely.

Thank you for your consideration!
Re: Module: Google Calendar
December 10, 2008 07:15AM
@joe,

I checked just in case, however everything was untouched. I tried commenting it out, then recommenting, however to no avail.

I was searching for so long for such a module but alas, twas not meant to be at this time :P
Re: Module: Google Calendar
December 10, 2008 07:48AM
amnesia, to rule out other issues (and get your installation up to date again) you could start with upgrading your phorum install to a recent version.


Thomas Seifert
Re: Module: Google Calendar
December 11, 2008 01:34AM
Just updated from .7 to .9

Sef_Urls seems to work 'partially'.

Will try again with the calendar.
Sorry, only registered users may post in this forum.

Click here to login