• Resolved tomchubb

    (@tomchubb)


    Hi Franky
    It looks like development of this plugin is stopping which is a shame.
    While playing with some customisation of my events at my end I noticed that events inserted by this plugin don’t set the creation date into the events table.
    I had a look at the code and thought it might be as simple as changing the following line of code below:
    $event['event_start_date']=$fb_event['start_time']->format("Y-m-d");
    to:

          $event['event_start_date']=$fb_event['start_time']->format("Y-m-d");
          $event['creation_date'] = date("Y/m/d");

    But it appears the eme_new_event() isn’t setting the creation_date value which is actually in eme_localized_db_datetime()
    Any ideas of a quick fix for this?
    Thanks,

    Tom

Viewing 6 replies - 1 through 6 (of 6 total)
  • That would be a shame as with the right configuration its working a dream on my site. Depends on your use case I suppose.

    Thread Starter tomchubb

    (@tomchubb)

    It’s working great on mine too.

    Plugin Author Franky

    (@liedekef)

    creation_date gets auto-completed (but only on newer db’s, not on mysql 5.5 or older).
    You can check your db schema for this: for the events table it should contain “creation_date datetime DEFAULT CURRENT_TIMESTAMP”

    Plugin Author Franky

    (@liedekef)

    Concerning the management of this plugin: it seems to be working for you, does that mean you asked a facebook review concerning the user_events permission?

    No,

    If you mark an event as going or interested then EME will sync the event successfully. For my usage this is not 100% ideal but it works for me.

    Take a look at keepcolchestercool.co.uk.
    My method:
    Add page to EME
    Add page on facebook so I’m alerted of new events
    Mark new events ‘interested’

    Thread Starter tomchubb

    (@tomchubb)

    My site has been running fine for years. I upgraded the server from PHP5 to 7 last month and then started doing some tweaks. Whilst doing that I noticed a couple of issues and there was a Graph error coming up last week. This week it appears to be working again for importing single events.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Event Creation Date’ is closed to new replies.