Support

Home Forums Event Espresso Premium Multiple events with multiple times slots per day

Multiple events with multiple times slots per day

Posted: November 30, 2012 at 9:09 am

Viewing 10 reply threads


Benjamin

November 30, 2012 at 9:09 am

Hello,

I don’t know if I missed something in the documentation, but here is what I’m trying to do without success :

  • Create multiple instance of an event, eg “My Event (same content / type of event)” every day of the month.
  • For each day, I’d like to have 4 occurences at 4 different time slots, eg 8:00 – 9:00, 9:00 – 10:00, 10:00 – 11:00, 11:00 – 12:00.
  • For each one of these events, I need to control the number of registrants (let’s say, max 30 people).

I tried different ways to do it, including the recurring events module, but it doesn’t work.

Any idea ?

Thanks a lot 🙂


Dean

December 3, 2012 at 12:59 am

Hello Benjamin,

I would use the Recurring Event Manager (REM) to create the multiple events, but you would need to turn on the “Use registration limits on time slots?” in the General Settings. It is an experimental feature so please be aware of that. With that turned on you can set different times on the event and set the number of tickets allowed. Also make sure that you set the events max attendee limit (e.g. if 30 spots per time slot, set it to 120)


Benjamin

December 3, 2012 at 1:55 am

Hello Dean,

Thank you for your answer, that is just what I needed. I saw the option in the general settings but didn’t realize that it was the solution to my problem…

Have a good day !


Benjamin

December 5, 2012 at 7:58 am

Hello,

Sorry for reopening this topic, but I think it’s easier like this to follow my questions.

I managed to use the REM with the registration limits on time slots to create at once as many events as I needed, with the correct time slots.

And then I found another problem caused by the fact that the time slots option is still experimental : when allowing group registration, it works only partially :

– the quantity of tickets purchased by the client is correctly stored and subtracted from the total I specified for the event himself. That’s perfect.

– But : in the dropdown list of the time slots for this same event, only 1 ticket is always subtracted, even if the client registered more.

So if I’m right, two different places for the same thing, one is correct, the other isn’t.

Now I saw on the support forum that the time slots option doesn’t work at this time with group registration. According to this, here are my questions :

– Is the problem I noticed and explained above the only (major ?) bug remaining ?

– If so, did you eventually already planned to fix it ?

– Depending on the delay, could you give me some information, or advice, about where in the source code (which file(s) where data are saved in db linked to this problem for example, or if the data in db is ok, which file(s) are used to retrieve the data and put it in the dropdown lists) ?
I know it may not be easy, but I’m a (modest) web developer and I think I might be able to correct this.

Anyway, thank you for reading me,

best regards


Dean

December 6, 2012 at 12:10 am

Hello Benjamin,

Yes this is an issue, I will get it raised with the developers to look into, and will ask if there is a fix you can do for it.

This feature is experimental, as you are aware, so we expected there might be some issues that crop up with it.

We do try and fix bugs that come up as soon as we can but it often is in the next scheduled release.


Benjamin

December 7, 2012 at 6:19 am

I think I found the bug, it’s just a very little error since data is correctly stored in db when creating an event and registering to it :

In event-espresso/includes/functions/time_date.php :

– Line 183 : $SQL .= "( SELECT count(id) FROM " . EVENTS_ATTENDEE_TABLE . " ATT ";

Should be replaced by :
$SQL .= "( SELECT quantity FROM " . EVENTS_ATTENDEE_TABLE . " ATT ";

This fix seems to be working fine in my test application but surely would require more extensive tests on your side.


Benjamin

December 7, 2012 at 8:50 am

hmm that causes a side effect with some events, not a definitive solution.


Benjamin

December 10, 2012 at 7:37 am

A working fix, tested with different types of events.

The test on available_spaces==NULL may not be very clean but I don’t see another way of doing this considering the db structure an my limited knowledge of it.

  • Line 183 : $SQL .= "( SELECT SUM(quantity) quantity FROM " . EVENTS_ATTENDEE_TABLE . " ATT ";
  • Line 228 (after the switch case ‘Y’): if($time->available_spaces==NULL){
    $time->available_spaces=$time->reg_limit;
    }


Dean

December 12, 2012 at 1:11 am

Benjamin,

What version of EE are you running? Devs came back and advised that this functionality was just updated.


Benjamin

December 12, 2012 at 1:18 am

Dean,

I’m running current version of EE 3.1.29.1.P on WP 3.4.2.
All EE plugins are up to date.

And the fix I spoke yesterday is still needed in order to have the correct quantity of places available when using time slots + recurrent events manager + group registration.


Dean

December 12, 2012 at 1:21 am

Hey,

Ok I will go back to the dev on this as it seems it isnt in order yet.

Thanks

Viewing 10 reply threads

The support post ‘Multiple events with multiple times slots per day’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso