Locations Plugin

Can I add to that issue list @merefield ?

After updating today, the map is now showing pins for user locations, but we’ve gone from 400+ pins to just 37 :scream:

image

2 Likes

Some users are missing their location from their user card now too:

image

Yet they are visible on the map:

1 Like

Yep. Due to the significant change in core we may have introduced a paging limit with the current workaround. Hence the lower number. We’ll look at this but turnaround may not be immnediate.

1 Like

Ok, I think we’ll disable the plugin for now - thanks for the info!

1 Like

Actually I think I may have found the issue on numbers!

Can you please update and retry the user map when you get chance and report back?

3 Likes

Updated and confirmed fixed :clap:

image

Will the same thing be causing the user card issue too?

Great stuff, thanks again @merefield :+1:t2:

3 Likes

The other issue you’ve identified, the missing location, may be a Discourse bug.

It seems that if you don’t enter a website, a vanilla Discourse locale, or a timezone, it will hide the plugin outlet we use!

Workaround is to ask users to enter their timezone!

I’ll raise a bug Topic.

3 Likes

Great, thank you.

By the way, we LOVE the avatars on the pins :+1:t2: :clap:t2:

3 Likes

@Richie This User Card issue should be fixed. Apologies, will require another update. No rush.

Also fixed the default navigation to User Map.

Back to square one now I hope :D.

1 Like

Fixed, fixed and indeed, fixed :clap:t2:

Great work @merefield we are indeed at 100% :smiley:

Our group has decided that as the locations map plays such an important part of our community we’ve decided to now only update Discourse in line with support from this plugin.

Bar critical security patches, obviously :slight_smile:

Is there somewhere we can sign up for alerts or email notifications or similar? So we know when best to update everything?

4 Likes

Or shall we just assume that by the 5th of each month we’re good to go?

2 Likes

Just try to follow the current routine of updating during the first 5 days of every month and follow guidance on this Topic at that time. Thanks for your feedback today!

3 Likes

Will do, thanks once again!

1 Like

Has anyone else noticed a significant time delay on this one?

When we click the users link in the site menu, the user list loads first, then a second or two later it “redirects” to the map? :thinking:

I’m sure it probably did this before but it was so quick it was never seen before.

1 Like

Discourse changed their User List data retrieval, so we were forced to change the way we approached this. You may have to live with the new performance level for the time being. I’d be interested to hear of other accounts though.

2 Likes

I just upgraded today and things look good.

Please upgrade before Monday if you intend to do so this month as I will not be supporting breaking changes until next month.

3 Likes

We’ll sit tight until next month, thanks again :slight_smile:

1 Like

Me too…

@JimPas (or anyone else for that matter!) are you having a problem with the delay before the map loads?

@merefield out of interest, is there a way to link directly to the users map? Without needing to go through the users list first? (as that’s the bottleneck by the looks of things).

We run a plugin that gives us custom menu links so we could simply add a new link directly to the map if it was available on a direct /url somehow? :thinking:

You could add a direct link in the Hamburger menu using Custom hamburger menu links, the link is:

/u/user-map?period=location

However, please note that the user directory takes a very short time to load as it’s only loading one page. Even if it visits that route first and then transfers, you will find the majority of the time is spent loading the large number of users in one go for the map, as it’s much much harder to ‘page’ for a map view.

2 Likes