# Locations Plugin 🌍

**URL:** https://meta.discourse.org/t/locations-plugin/69742
**Category:** Plugin
**Tags:** paid-support
**Created:** [September 10, 2017, 10:36am UTC](https://meta.discourse.org/t/locations-plugin/69742 "2017-09-10T10:36:41Z")
**Posts on this page:** 20
**Page:** 31

<div class="post-metadata">

### Author: ![C\_X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/c_x/32/477332_2.png) [@C\_X](https://meta.discourse.org/u/C_X)
#### Post date: [January 4, 2025, 7:24am UTC](https://meta.discourse.org/t/locations-plugin/69742/1102 "2025-01-04T07:24:26Z")

</div>

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

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 4, 2025, 10:35am UTC](https://meta.discourse.org/t/locations-plugin/69742/1103 "2025-01-04T10:35:43Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![C\_X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/c_x/32/477332_2.png) [@C\_X](https://meta.discourse.org/u/C_X)
#### Post date: [January 5, 2025, 1:22am UTC](https://meta.discourse.org/t/locations-plugin/69742/1104 "2025-01-05T01:22:25Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)
#### Post date: [January 15, 2025, 5:58pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1105 "2025-01-15T17:58:30Z")

</div>

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

> [@Discourse.fontawesome-6-upgrade needs updating](https://meta.discourse.org/t/discourse-fontawesome-6-upgrade-needs-updating/347147/2):
>
> Hello Roi! No worry! This warning means you have either a theme component or a plugin that uses an old font-awesome icon name. You have nothing to do; it’s up to the authors to update their plugins/components. Discourse recently migrated Fontawesome from v5 to v6; a few names must be renamed. In your case, I looked at your forum and saw map-marker-alt (new name is location-dot). It’s likely from [Locations Plugin](https://meta.discourse.org/t/locations-plugin/69742).

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. 😉

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 16, 2025, 8:54am UTC](https://meta.discourse.org/t/locations-plugin/69742/1106 "2025-01-16T08:54:21Z")

</div>

Feel free to submit a PR.

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [January 16, 2025, 1:34pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1107 "2025-01-16T13:34:34Z")

</div>

I will make a PR, Robert. 👍

* * *

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

[https://github.com/paviliondev/discourse-locations/pull/119](https://github.com/paviliondev/discourse-locations/pull/119)

---

<div class="post-metadata">

### Author: ![Stephane\_Roy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephane_roy/32/222598_2.png) [@Stephane\_Roy](https://meta.discourse.org/u/Stephane_Roy)
#### Post date: [January 20, 2025, 3:13pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1109 "2025-01-20T15:13:11Z")

</div>

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:

 ![The image shows a section titled "Conventions-JdR" in a web interface, including a category dropdown and a link to a "Carte des Conventions" on a specified map. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/1/a/1/1a13fc73e1f08f1a0c15e121aaa4c208ec2b2037.png)

 ![The image shows a section title "FFJdR" and a table listing an item with the name "Cartes des auteur-ices" and a link "/c/c-auteur/65/map." (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/2/0/3/203e7b07a632cbac0604dbba3b46643c5164818f.png)

Do you have a solution?

Thanks for your great plugin!

* * *

Problem encountered here:

> **[Forums FFJdR](https://forums.ffjdr.org/)**
>
> Bienvenue ! Venez y discuter JdR

categories with map:

> **[Conventions JdR](https://forums.ffjdr.org/c/e-irl/14/l/map)**
>
> « Carte » pour une carte de France des conventions…
> « Agenda » pour une liste chronologique.
> ..Ajoutez les conventions de votre région !!
> Procédure et conseils via:

> **[Carte des Auteur·ices](https://forums.ffjdr.org/c/c-auteur/65/l/map)**
>
> Un référencement par zone géographique des auteur·ices de JdR pour faciliter leur invitation par les organisateurs des conventions/festivals/événements associatifs. Aussi pour aider à des rencontres entre créateurs.
> Si vous êtes auteur.ices d’un JdR...

---

<div class="post-metadata">

### Author: ![rakeshshelarnec](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rakeshshelarnec/32/481073_2.png) [@rakeshshelarnec](https://meta.discourse.org/u/rakeshshelarnec)
#### Post date: [January 20, 2025, 3:33pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1110 "2025-01-20T15:33:31Z")

</div>

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

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [January 25, 2025, 10:02pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1111 "2025-01-25T22:02:05Z")

</div>

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

[https://github.com/paviliondev/discourse-locations/pull/120](https://github.com/paviliondev/discourse-locations/pull/120)

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

---

<div class="post-metadata">

### Author: ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)
#### Post date: [February 7, 2025, 12:30pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1112 "2025-02-07T12:30:44Z")

</div>

> [@merefield](#):
>
> Feel free to submit a PR.

> [@Arkshine](#):
>
> I will make a PR, Robert. 👍

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

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

> **[Notice for Administrators]** One of your themes or plugins needs to be updated to ensure compatibility with upcoming Discourse core changes. (id:[_discourse.hbr-topic-list-overrides_](https://meta.discourse.org/t/343404)) Identified plugin: “discourse-locations”

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

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [February 7, 2025, 8:09pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1113 "2025-02-07T20:09:34Z")

</div>

> [@nathank](#):
>
> Thanks again @merefield for the time and energy you put into maintaining this highly valuable addition to the Discourse ecosystem

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.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 10, 2025, 4:19pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1114 "2025-02-10T16:19:09Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 10, 2025, 5:33pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1115 "2025-02-10T17:33:53Z")

</div>

Today I’m releasing an update to bring compatibility with [the _fantastic_ new Glimmer Topic List system](https://meta.discourse.org/t/upcoming-topic-list-changes-how-to-prepare-themes-and-plugins/343404), modernisation and a host of other improvements and compatibility changes.

**You must be on latest and enable Glimmer Topic Lists.**

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/c/6/6c6185f2cac6e6b47819567b5bb40a3c073bc2bf.png)

[https://github.com/merefield/discourse-locations/pull/120](https://github.com/merefield/discourse-locations/pull/120)

If you think Locations is awesome and I did a great job, you can [buy me a coffee](https://github.com/sponsors/merefield/sponsorships?sponsor=merefield&tier_id=464896&preview=false) ☕, and if Locations is important to your business or organisation, please consider [sponsoring me on one of the higher tiers](https://github.com/sponsors/merefield?frequency=recurring&sponsor=merefield)🏅 . 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. 🗺 🚀
- 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.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 10, 2025, 6:11pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1116 "2025-02-10T18:11:01Z")

</div>

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. 😉

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 10, 2025, 6:14pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1117 "2025-02-10T18:14:34Z")

</div>

Thanks Tobias! Appreciated! All feedback welcome!

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 10, 2025, 7:37pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1118 "2025-02-10T19:37:57Z")

</div>

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! 🙂

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

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:

 ![Screenshot 2025-02-10 at 11.37.27](https://global.discourse-cdn.com/meta/original/4X/7/4/e/74e0a320bb5fef7966d075ac5505a6c1a3e325e7.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 10, 2025, 7:47pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1119 "2025-02-10T19:47:13Z")

</div>

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. 😅

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.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 10, 2025, 8:23pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1120 "2025-02-10T20:23:21Z")

</div>

Turned out it was my fault 😊

[https://github.com/merefield/discourse-locations/commit/88fc9bde88f5fdfe3bd3c4c59c2563d0744a0fa5](https://github.com/merefield/discourse-locations/commit/88fc9bde88f5fdfe3bd3c4c59c2563d0744a0fa5)

[https://github.com/merefield/discourse-locations/commit/3f5d27f83c5f2a9535a54733aea972016df0ec52](https://github.com/merefield/discourse-locations/commit/3f5d27f83c5f2a9535a54733aea972016df0ec52)

Please update and try again.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 10, 2025, 8:58pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1121 "2025-02-10T20:58:33Z")

</div>

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.

 ![Screenshot 2025-02-10 at 12.56.37](https://global.discourse-cdn.com/meta/original/4X/0/a/0/0a04e003d3e5e33cec1ff1ddbc3a71ff657ad712.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 10, 2025, 9:00pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1122 "2025-02-10T21:00:37Z")

</div>

> [@tobiaseigen](#):
>
> On my site, the map is a bit wide for the topic space, covering the admin wrench.

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 🙂

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

[Previous page](https://meta.discourse.org/t/locations-plugin/69742.md?page=30)

[Next page](https://meta.discourse.org/t/locations-plugin/69742.md?page=32)
