Forum Replies Created
-
AuthorPosts
-
August 21, 2014 at 3:21 pm in reply to: Event Listing Widget not working after upgrading PRO #690043
gregwiley
ParticipantI just discovered I had this problem following a recent upgrade to 3.7 but I fixed it by deleting the widget and then adding it back in again.
Cheers, Greg.
gregwiley
ParticipantNo, it’s all good, thanks. You can close this thread.
Cheers, Greg.
gregwiley
ParticipantThanks Barry. I figured the wp_posts delete query out. The postsmeta was a little trickier but essentially a DELETE on meta_key LIKE %_Event% and LIKE %_Venue% sorted most of it out.
I wasn’t removing the plugin so I didn’t need to remove the options data; I just needed to ‘reset’ the events database as my hosting provider had restricted access to it until I resolved the issue:(
gregwiley
ParticipantHi Jonah,
Okay, I managed to spend a few hours on this last night and this morning and it looks like I have something that works. I’ve tested it against recurrences for 4th, 5th and Last and it seems to work as expected. I haven’t tested all cases but assume that you have regression tests that you can run it through.
Here is a link to the changed files for your consideration:
Cheers, Greg.
gregwiley
ParticipantHi Jonah,
Wow, that is great news, thanks for the reconsideration. As I said earlier I will also continue to look at it in what little spare time I have so an explanation when it comes would help that.
Cheers, Greg.
gregwiley
ParticipantHi Jonah,
This is disappointing to say the least. Whether the answer suffices or not is irrelevant, you’ve made a decision based on your priorities. Thanks for giving it consideration.
Can I ask for an explanation into the algorithm for MonthSeriesRules::getNthDayOfWeek as I originally asked then please?
Cheers, Greg.
gregwiley
ParticipantHi Jonah,
Yes I agree the 4th and last Sunday options work exactly as I would expect. And yes, a fifth option would definitely be helpful.
I’d prefer the latter approach if the upcoming version is not too far ahead in the future, if it’s further out than, say 6 months, then it might be good to get an understanding of the code to see if I can contribute but I already have a full-time job so it’s likely to take me far longer than one of your own developers.
Cheers, Greg.
gregwiley
ParticipantHi Jonah,
Thanks for taking the time to look into this.
Your synopsis of the problem is correct.
When you say it seems to be working ok for you with your test events, what do you mean? Can you get an event to only recur on a fifth Sunday (or any other week day for that matter)?
Cheers, Greg.
gregwiley
ParticipantSorry about that, try this link:
Cheers, Greg.
gregwiley
ParticipantOkay, sorry for not explaining this very clearly.
Our church has a pattern of services over each month. Let’s say we have All-Age Worship on the 4th Sunday of every month, so I configure an event as such:
Every 5th Sunday of the month, when it occurs, we have Holy Communion. The way you are suggesting to configure this is to use the Last Sunday custom monthly recurrence as follows:
What happens in this case for April 28th is that I will get both the All-Age Worship since the 28th is the 4th Sunday in April and I will get the Holy Communion because April 28th is also the last Sunday in April. This is not what I want.
Where it does work is for those months, such as June 2013, where there are 5 Sundays in the month. In that case I will get the All-Age Worship on June 23rd (the 4th Sunday) and Holy Communion on June 30th (the last Sunday).
This is why being able to specify (for a Church for example) a fifth Sunday event is important.
I hope this explains things more clearly.
Cheers, Greg.
gregwiley
ParticipantHi Jonah,
Thanks for the response. Yes, those settings will work but if I also add a recurring event for the fourth Sunday in a month then where a month only has four Sundays I will get two events which is not what I want.
Cheers, Greg.
gregwiley
ParticipantHi Jonah,
I am responsible for a church website (http://stlukeswatford.org/) and we have different services depending on which Sunday of the month we’re on and this includes the 5th Sunday of a month. At the moment The Events Calendar PRO does not support the fifth day of a month. If I use the Last Sunday I end up with two entries when there are only 4 Sundays in a month which is undesirable.
I searched the forums and the response to what looked the same feature request was that it may be in the works and that was about 7 months ago. Having wrote some PHP code 10 years ago to solve this same problem I thought about having a go at fixing it myself, hence the question.
Cheers, Greg.
gregwiley
ParticipantNever mind, I see that some posted this fix 4 months ago!
gregwiley
ParticipantPerfect, thanks Jonah. Can’t believe I couldn’t spot this for myself. Too many css files I guess:(
gregwiley
ParticipantFurther update: comparing source from the demo site shows that my site is not loading:
plugins/events-calendar-pro/resources/events-mini-ajax.js
So I tried reinstalling the PRO plugin and reapplied the licence but the tooltips are still not displaying.
-
AuthorPosts
