Locations Plugin 🌍

do we have any chance to have this feature request out of the waitlist after one year? Thanks!

Hi @C_X as already stated, this is a (currently free) Pavilion plugin.

All new features need to be sponsored.

If you have budget you could hire me to build it for you.

Alternatively, you could PR and I will review.

Thanks for your interest.

oh thanks @merefield ! sry I was not able to go through the whole thread to comprehend how things work here.

But yeah understood this is some feature up to sponsorship. I’ll reach out when I get to there.

Thanks in advance!

2 Likes

Hi @merefield, I’m seeing the following admin notice since upgrading to the latest Discourse version:

[Admin Notice] One of your themes or plugins needs updating for compatibility with upcoming Discourse core changes. (id:discourse.fontawesome-6-upgrade)

@Arkshine mentioned here

that this might be related to the Locations Plugin and that map-marker-alt needs to be updated to location-dot.

So I’m bringing this up here. :wink:

2 Likes

Feel free to submit a PR.

I will make a PR, Robert. :+1:


There are others deprecations to fix, and also one error I encountered, but for font awesome deprecation, here we go:

3 Likes

Hello

I’m having a problem loading the map when I switch from one map to another.

Explanations:
Each map is in a different category

If I change category by category page or by complete URL, everything is OK

The problem occurs if I go through the sidebar.
The sidebar uses a partial URL:

Do you have a solution?

Thanks for your great plugin!


Problem encountered here:

categories with map:

1 Like

how did u got this working with launcher i am getting error as this thread
bundle exec rake db:migrate’ failed with return

Looks like an extensive fix for this awesome plugin is in the pipeline:

Thanks again @merefield for the time and energy you put into maintaining this highly valuable addition to the Discourse ecosystem.

10 Likes

Thank you! I am a bit out of business when it comes to programming. :wink:

With a newer version of Discourse I installed/updated yesterday, the message changed:

[Hinweis fĂŒr Administratoren] Eines deiner Themes oder Plug-ins muss aktualisiert werden, um die KompatibilitĂ€t mit den bevorstehenden Discourse-KernĂ€nderungen zu gewĂ€hrleisten. (id:discourse.hbr-topic-list-overrides) Identifiziertes Plug-in: „discourse-locations“

Maybe it still means the same or maybe other things turned up.

2 Likes

Any idea when this might land, Rob? Just so I know if updating my Locations dependent site is likely to be feasible in the next week or so.

2 Likes

Hi Nathan.

The existing (quite large) PR broke because of the new draft system which dropped, so it’s been delayed and I’ll have to try to resolve that.

I will be releasing the PR once ready with an opportunity for the community and organisations to sponsor my work to help guarantee that this plugin gets maintained in a timely fashion.

3 Likes

Today I’m releasing an update to bring compatibility with the fantastic new Glimmer Topic List system, modernisation and a host of other improvements and compatibility changes.

You must be on latest and enable Glimmer Topic Lists.

If you think Locations is awesome and I did a great job, you can buy me a coffee :coffee:, and if Locations is important to your business or organisation, please consider sponsoring me on one of the higher tiers:medal: . This will all help to guarantee timely updates to Locations and its future.

Release 6.8.0

  • FEATURE: you can now click on a Topic location on the Topic List and it will bring up a map in a modal showing the location. :map: :rocket:
  • FEATURE: new setting location_short_names removes the address from the location display for Topics, allow you to tailor what is shown.
  • COMPATIBILITY: resolves a host of deprecations to maintain compatibility with core:
    • Topic List front end API changes
    • Fontawesome icon name changes
    • New Topic Draft system.
  • FIX: Topic Locations: when setting a Topic Location via selector (not Input Fields), this resulted in a blank Location being displayed.
  • FIX: formatting of Location Selector is much much nicer.
9 Likes

Cool! Congrats on getting this update in and thanks for writing release notes. I think this is a great idea and I’d be glad to see more plugin developers take the time to do this.

Now that I’ve bought you coffee already, it’s time for me to take your plugin for a spin. :wink:

4 Likes

Thanks Tobias! Appreciated! All feedback welcome!

3 Likes

It might be helpful to add “quick start” section to docs that covers the basics of initial setup. Two things that took me a minute to understand:

  • The only way to allow people to start adding locations to topics is by editing the category settings for each category. It won’t just automatically allow it for all categories.
  • The defaults work out of the box for testing/low volume usage, using nominatim as the geocoding provider.

A “troubleshooting tips” section might also be helpful.

I am able to get locations to work to put users on a map. Cool! :slight_smile:

I am not able to get locations to work in topics. Not so cool! :upside_down_face:

I am able to select the popup to add a location, type it in, select Find Address, select the found address. But then Selecting Done does nothing. There is a bunch of stuff showing up on the javascript console:

3 Likes

This is why this plugin needs proper funding.

I had closed out a multitude of deprecations and the console was clear, but looks like there are now further changes required to be compatible with core. :sweat_smile:

I suspect the composer changes related to drafts might be at the root of this, I’ll take a look at this when I have time.

4 Likes

Turned out it was my fault :blush:

Please update and try again.

5 Likes

That worked! Nice job. I’ll play with this for a bit and see how far I can take it on my sites. I have one site I run for my neighborhood, and it might be interesting to show everybody associated with their home.

On my site, the map is a bit wide for the topic space, covering the admin wrench.

2 Likes

it’s kind of a modal, it’s not supposed to stay up - you are just supposed to be peeking, then collapsing it to carry on with your day. It definitely hasn’t been a requirement to combine the map functionality with admin tools :slight_smile:

when it was smaller, users complained it wasn’t big enough.

3 Likes