Ian
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
HI Alex.
Just wondering if there is any update or or progress for this?
Kind regards,
Ian
Thanks Alex.
Appreciate coming back to me & look forward to receiving an update soon.
Regards,
Ian
Hi Kor.
Just following up on this as i have been away in hospital for the past few weeks and have just returned.
I assume no one has been able to look at this as have not been able to find/ seen any correspondence from a developer re- ip addy for access etc? (my apologies in advance if someone has and i havent seen it)
Could someone please follow up on this for me please?
Kind regards,
Ian
This reply has been marked as private.This reply has been marked as private.March 14, 2019 at 7:56 am in reply to: Upcoming events recurring listings showing last recurring event not latest #474463Thanks again Kiran.
Ian
March 14, 2019 at 7:16 am in reply to: Upcoming events recurring listings showing last recurring event not latest #474460This reply has been marked as private.March 13, 2019 at 11:56 pm in reply to: Upcoming events recurring listings showing last recurring event not latest #474413This reply has been marked as private.March 13, 2019 at 11:51 pm in reply to: Upcoming events recurring listings showing last recurring event not latest #474411Hi Kiran.
Sorry for late reply- just the time difference between us causing a lag.
Thank you so very much, your a legend!! :). That seems to be working perfectly.
I must say- wow…thats quite a snippet! I really appreciate your time and effort in getting that to work for me, so thanks again.
Just wondering a couple of things …where was the snippet added (cant see it in the code snippets plugin?)
Secondly, just also noticed you added the ‘Easy Updates’ plugin. Is there a reason for that? I dont use it as i want to be able to control when updates are made – manually. I have some customised code i need to add into a few GD files (on occasion / if needed) for user positioning after any updates, so i always want to do this manually else it would be a nightmare.
Also just while I’m here – was any GD code/ [plugins or addons updated for this fix ? (easier to ask than be surprised haha)
Thanks once again Kiran,
Kindest Regards.
Ian
March 12, 2019 at 8:38 pm in reply to: Upcoming events recurring listings showing last recurring event not latest #474207This reply has been marked as private.March 12, 2019 at 9:00 am in reply to: Upcoming events recurring listings showing last recurring event not latest #474121This reply has been marked as private.March 12, 2019 at 2:06 am in reply to: Upcoming events recurring listings showing last recurring event not latest #474087Hi Kiran.
I’m using V1.
I have included a couple of screen shots to show the issue better.
As can be seen is image 1, these are the results showing for ‘upcoming’, The first few seem to be in date order with correct (consecutive) dates showing and then on the one with the arrow- this shows to be in the right ‘order’ (as this events next listing is for the 14th of march) but is showing the very last recurring date for this event? ( July 11th see image 2 )
Also, Thanks for the explanation below re priority. Couple of questions- So what is deemed ‘best match’ ? and also shouldnt date sorting from then on be at least in consecutive / ascending date order ? – i.e not choosing the very last recurring date for that event as it seems to be on the event shown?
FYI- all events shown/ listed are recurring events for approx. the next 20 weeks (weekly events)
Thanks and I look forward to hearing from you.
Ian
March 10, 2019 at 10:36 pm in reply to: Upcoming events recurring listings showing last recurring event not latest #473901Further information to first post:
I am using a code snippet to group the recurring events in search results
Just thought i should add that bit as to help further?
Snippet code below:
Cheers, Ian
/**
* Group the recurring events in search results.
*/
function gd_custom_group_recurring_events( $groupby, $wp_query ) {
global $wpdb;if ( !empty( $_REQUEST[‘stype’] ) && $_REQUEST[‘stype’] == ‘gd_event’ && $wp_query->is_main_query() && geodir_is_page( ‘search’ ) ) {
$groupby = $wpdb->posts . “.ID”;
}return $groupby;
}
add_filter( ‘posts_groupby’, ‘gd_custom_group_recurring_events’, 100, 2 ); -
AuthorPosts