Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi,

    What’s the exact date range you’re seeing?

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    Its hard to say an exact date range as I only have random test events to look for, but I see an event in London as far back as 29th May.

    I also see an event in the south east of England as far ahead as 29th September.

    That’s obviously a huge range, very odd!

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    I just changed the event that was 29th sept to the 8th Oct, as it looked suspisiously like a 4 month period was being pulled in.

    However, it is still being pulled in as a result on the map even after pushing the date to the 8th…

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    ok, I have changed the shortcode on that page to an out of the box one of:
    [locations_map eventful=”1″ scope=”today”] so it should be showing me events only for today (29th July)

    And it shows me events up to the 6th August now. What?!

    Very confused

    The today scope is built-in so there’s no need to add code to use that.

    What happens if you use [events_list scope=”nextfortnight”] ?

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    I didn’t add code for that one (today) as I saw it was an ‘out of the box’ one. I just used the short code [locations_map eventful=”1″ scope=”today”] , no php code added anywhere for that one.

    I tried a complete fresh install of events manager on a staging copy of my site and tried the today shortcode, it gives events that aren’t just for today.

    Could there be a problem somehow that the correct time is not being returned some how? This seems so weird.

    Does [event_list scope="today"] work correctly?

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    Ok, here are both
    Event list works fine. I have had some customisation done, so to be 100% sure it’s not that I deleted events manager again on this staging copy via ftp and installed it fresh, totally out of the box 5.6.4.

    Both pages have a copy of the shortcode used without the square brackets so you can see what I used

    Event list:
    https://staging2.carshow.life/a-test-grid-25th-july/?preview_id=960&preview_nonce=3733092fcd&preview=true

    Event map with lots of other events showing up:
    https://staging2.carshow.life/a-test-grid-2-26th-july/

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    I did some more testing tonight and noticed this behaviour:

    1. I had just one event, in Hastings.
    2. I added an event in the past in Bristol. It didn’t show on the map (which is correct as it is looking for events this month).
    3. I added another event for Bristol, happening 14th August. The map updated with a marker showing for Bristol as this event is happening this month. Clicking the marker showed this event and also the event in the past created in step 2!
    4. I added an event in Bristol for October, the map now also shows this event also, even though it is not in the next month. Bristol should only show the event for 14th August.

    So it looks like the location markers are not obeying the scope correctly if they detect an event that falls in scope of the search. I have a past event in Paris Test 3 2nd Aug
    but Paris is correctly not showing on the map, it must be because there is not an event in scope that month in Paris, meaning it does not get pulled in and shown on the map

    Does this help in anyway?

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    I can no longer edit my post, so to add, for step 1, the event in Hastings showed on the map as expected, as it is happening in the next month. So to start with I had just this one event showing on the map, as I deleted all other events to start with a clean slate.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    we may not be able to help with this 100% since it involves custom coding and as per the support policy – https://eventsmanagerpro.com/support-policy/ however let me see if we look into it and update you here.

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    Many thanks, understand if this is too much to ask

    It seems to be the out the box ones as well playing up as well by the looks of it.

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    Hi

    Nothing more that can be done to help here? As I mention, it is the out of the box ones that seem to be playing up as well, none seem to be getting the scope correct. Is no one else seeing this issue/bug?

    Thanks!

    Can you give us an example of a shortcode using a default scope that’s not working for you?

    Thread Starter zzkamikazezz

    (@zzkamikazezz)

    Hi

    Sure, see here:
    https://carshow.life/a-map-scope-test/

    Click the marker and see the dates of the events, one in the past and two in the future, one of these future ones is more than a month in the future.
    Shortcode being used is [locations_map eventful="1" scope="month"]
    I added the shortcode without the square brackets to the page also, below the map, just as a reminder to me of what code is sitting behind the map whilst testing.

    This is what I notcied during testing, (mentioined a few posts above):
    I did some more testing tonight and noticed this behaviour:

    1. I had just one event, in Hastings.
    2. I added an event in the past in Bristol. It didn’t show on the map (which is correct as it is looking for events this month).
    3. I added another event for Bristol, happening 14th August. The map updated with a marker showing for Bristol as this event is happening this month. Clicking the marker showed this event and also the event in the past created in step 2!
    4. I added an event in Bristol for October, the map now also shows this event also, even though it is not in the next month. Bristol should only show the event for 14th August.

    So it looks like the location markers are not obeying the scope correctly if they detect an event that falls in scope of the search. I have a past event in Paris Test 3 2nd Aug
    but Paris is correctly not showing on the map, it must be because there is not an event in scope that month in Paris, meaning it does not get pulled in and shown on the map

    Does this help in anyway?

    Regards

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘custom event scope behaving strangely!’ is closed to new replies.