Want to use event manager with event module v5x-2x-dev
| Project: | Event Manager |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
I am re-posting this issue under a more appropriate title (somehow my last posting disappeared).
I have installed the Event Manager with Event version 5x-2x-dev (Mar 11). Installation went well, however, when i click on an event and then try to go into "Registration Settings" i receive the fatal error: "Call to undefined function event_get_offset() in modules/event_manager/event_manager.module on line 759."
Evidently this is because event_get_offset() exists in event_timezones.inc and event_timezones.inc no longer exists in event 5x-2x. as the module was rewritten to use the mysql datetime format instead of seconds since epoch.
I have been using the event module version 5x-2x successfully for sever months on a live site and like the way the new date formats and functions work. I would like to add the features of Event Manager to my current event functions, but am unfortunately clueless about php and patch writing.
Is there anyone out there with this same issue who has found a workaround?

#1
#2
subscribing
#3
subscribing
#4
I have had a go at this
It's not trivial.
There are quite a lot of dependencies, but I have an event that this is needed for, so I just gritted my teeth and went for it.
I've mad a lot of mistakes, a lot of assumptions, things are BOUND to be broken, and, you would be a fool to use this code. However... it works for me in one limited case (sign-up for a single event). I know of no reason why I would have broken all the other options this modules gives - but, I have not tested any of them, and judging by how hard it was to get the single event working - they are almost guaranteed to have broken in the process.
So - attached is a new version of the module - not a patch - I want to discourage people from using this, except for the developers of the module who MAY find some of the code helpful.... MAYBE....