Events Made Easy › Forums › How do I … › Problem creating recurrent events…
Tagged: events list
- This topic has 10 replies, 2 voices, and was last updated 10 years, 7 months ago by Anonymous.
-
AuthorPosts
-
Thu 27 Mar 2014 at 20:17 #44198AnonymousInactive
Hi,
I have a strange behaviour with the calendar and recurrence.
First of all, maybe I’m something missing here but I’m pretty new to WordPress and this splendid plug-in. Thanks for making this available for us.
I’ve installed WordPress locally incombination with WAMP (For all tools/plug-ins I selected the latest version.)
Non recurrent events are working super!
This is what I do:
Event=>New
Enter following data:
Title
Event start date
Event end date
Event start time
Event end time
Select a location
Select a category
Add some details
Check the recurrence checkbox
Freq: Monthly
Every: Second
Day: Tue
And then click the save button.
On top of the page I see a nice message that the event was created. But, it’s nowhere to be found.
When I check the table “wp_eme_events” the event is not there.
When I check the table “wp_eme_recurrence”, I find a new record created the time I submitted. But with start en end time the day of today…?
I have no idea how to fix this behaviour. I couldn’t find any tool yet to do some debugging. So anny help would be splendid.
Kind regards,
Ward
Thu 27 Mar 2014 at 22:43 #51397FrankyKeymasterThe moment you check the recurrence checkbox, on the left you need to specify the recurrence begin and end date. The next version will make this a bit clearer.
In case of a recurrence the event begin and end date indicate the duration of 1 occurence in the recurrence series. The recurrence begin and end date indicate when you want the series to start and end.
Fri 28 Mar 2014 at 19:12 #51398AnonymousInactiveThanks for the quick reply, but that doesn’t seems to solve the issue.
Now I first checked the checkbox for recurrence, filled in the frequency and the other parameters. Give it a title, date, start and end time, description, location and finally set to public.
Then I hit the save button and the site gave back “New recurrent event inserted!”
But still no event in the table is registered, on the other hand a record in the recurrence table is added with the correct parameters. Very weird, no error but nothing in the event calendar. Non recurrent events works fine.
Tried it with monthly and daily recurrence but got everywhere the same result.
Got any other ideas?
Thanks!
Fri 28 Mar 2014 at 19:55 #51399AnonymousInactiveUpdate: When I create a recurrent event on “daily” basis All goes well. And suprisingly, when I update the daily event to a monthly recurrence the event stay’s… So I can use this workarround, but I’m wondering if I’m the only one with this issue…
Greetz Ward
Fri 28 Mar 2014 at 21:19 #51400FrankyKeymasterWell, of course that is not the way it was meant to be. Let me test this myself.
Fri 28 Mar 2014 at 22:52 #51401FrankyKeymasterJust tested it: works just fine.
Can you post your recurrence settings (or a screenshot): recurrence start/end date + event start/end date/time and your recurrence interval settings?
Mon 31 Mar 2014 at 07:20 #51402AnonymousInactiveDue to the fact that it should work I’ve tested some more. But before that. I cleared up the events database tables. The Event table was already empty by deleting the events with the gui, but in the recurrence table there were many records.
Guess what, after cleaning up the table all works fine now.
But I have some strange effects with the calculation of the recurrent events.
I created 3 different recurrent events.
1) Every 2nd Tuesday of the month (06:30PM-11:59PM)
2) Every 3rd Friday of the month (06:30PM-11:59PM)
3) Every last Friday of the month (06:30PM-11:59PM)
For the month April:
Event 1 is not visible in in calendar view (but visible in widget and on the correct date)
Event 2 and 3 is OK.
Month May: OK
Month June:
Event 1 is suddenly on Wednesday instead of Tuesday.
Event 2 and 3 is on Saturday instead of Friday.
Month July:
Event 1 is missing again. (but visible in widget and on the correct date)
Event 2 and 3 is OK.
Month August: OK
Month September:
Event 1 is missing again. (visible in widget but on the wrong date)
Event 2 and 3 is on Saturday instead of Friday.
Month Oktober: OK
…
Hereunder you can find a link to my googledrive with some screen captures.
01-05EventsMadeEasy.jpg => Screen captures of the calendar and calendar widget.
Schedule?????.jpg=> Screen capture of the configuration of the event.
https://drive.google.com/folderview?id=0BytW5arqiup3SUxqWEh3bm10blk&usp=sharing
Sorry the inconvenience.
Kind regards,
Ward
Mon 31 Mar 2014 at 08:33 #51403FrankyKeymasterOk, I seem to have re-introduced an old bug while rewriting the calendar code. It’s a simple fix.
Go into eme_calendar.php and change lines 259-261 from
if ($isPreviousMonth) $calstring="$iPrevYear-$iPrevMonth-$iCalendarDay";
elseif ($isNextMonth) $calstring="$iNextYear-$iNextMonth-$iCalendarDay";
else $calstring="$iSelectedYear-$iSelectedMonth-$iCalendarDay";to:
$iCalendarDay_padded = sprintf("%02d",$iCalendarDay);
if ($isPreviousMonth) $calstring="$iPrevYear-$iPrevMonth-$iCalendarDay_padded";
elseif ($isNextMonth) $calstring="$iNextYear-$iNextMonth-$iCalendarDay_padded";
else $calstring="$iSelectedYear-$iSelectedMonth-$iCalendarDay_padded";Mon 31 Mar 2014 at 09:52 #51404AnonymousInactiveOk, no problem. The missing events are back now.
But wen I create a event every 2nd Tuesday of the month, it goes wrong at the month (June, September and December) 2 months OK one month off set 2 months OK…
Mon 31 Mar 2014 at 10:00 #51405FrankyKeymasterI’m not able to reproduce that. Could you sent me an admin account to check things out at your side?
My email: liedekef [at] telenet.be
Thu 17 Apr 2014 at 12:40 #51542AnonymousInactiveHi Franky,
Was a week out… I’ve installed your splendid tool on my hosting to give you access to be able to reproduce the issue, therefore it was installed locally on my laptop and not accessible for you.
But on the live hosting I works as designed and I don’t have any issues…So this topic can be closed. Thanks a lot for your support!!!
Greetz Ward
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.