Module: Google Calendar

At the start of the module code in google_calendar/settings.php, you will find these lines commented out:

Language: PHP

/*
For Dev Only
*///unset($PHORUM["phorum_mod_google_calendar"]);//phorum_db_update_settings(array("phorum_mod_google_calendar"=>$PHORUM["phorum_mod_google_calendar"]));//unset ($PHORUM["phorum_mod_google_calendar_cache"]);//phorum_db_update_settings(array("phorum_mod_google_calendar_cache"=>$PHORUM["phorum_mod_google_calendar_cache"]));/*
End Dev Only
*/

Simply remove the "//" comment characters from the beginning of each four lines of code, browse to the module's settings page, then recomment those lines. Now when you go to the settings page you can start from scratch.

Thanks, it seemed to have cleared some settings but I am still getting some data I can not clear. Which groups are alowed to post for instance, I can not change those now. Also i dont see any events unless I open the full calendar view.

I must have messed something else up as events created in the forum dont go to the calendar only events that I create at the google website are seen

Please describe exactly what you mean by not being able to change which groups can post events. The code should have completely removed any settings this module uses as those are the only two arrays in which settings are stored (except the event data itself which is stored with the messages.)

I am assuming you first chose "Selected groups and . . ." under Who can post events. You then hit submit and had a list of possible groups. None should have been selected the first time. You then selected one (or more with Ctrl-Click) and hit submit again to allow members or the selected groups to post events. You should also be able to change these groups in the same manner.

As far as events not posting to google:

Did you properly authenticate to google, with a google account that has permission to post events?

Did you create at least one color-coding?

Are you getting the form to post events along with your messages?

If so, do you see that event data added to the message body even if it doesn't show up on the google calendar?

Is the Event Logging module enabled? Are you seeing any errors or confirmations in that module?

Function include_once called at
{path to Phorum}/mods/google_calendar/google_calendar.php:413
----
Function phorum_mod_google_calendar_start_output called
----
Function call_user_func called at
{path to Phorum}/common.php:1557
----
Function phorum_hook called at
{path to Phorum}/common.php:1275
----
Function phorum_output called at
{path to Phorum}/include/index_new.php:216
----
Function include_once called at
{path to Phorum}/index.php:84
----

Unfortunately I am going to need more than just the one log message. Ideally you would give me every log message with the details, but please copy them into a single txt file and upload that file.

Just so we're clear, did you read through the Installation and Usage Guide and follow all of the steps listed there? It's possible something was left out, but I want to make sure you have that as a basis for going forward.

Glad to hear everything else is clearing up. The event listing issue is related to a bug of mine. Apparently the php function for converting a time string to a timestamp only takes US English, so you got to help test the module code by the simple fact that you live in England :) Thanks for catching the bug.

Please redownload the RC_1. You will only need to reupload the two ...event_listings_start_output.php files in the listings_bin folder.

Thanks for this module, it's working relatively well. I'm just waiting for the private calendar function to be implemented :)

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.

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

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