Locations Plugin 🌍

:information_source: Summary A Discourse plugin that adds structured and geocoded topic and user locations with map-based discovery
:hammer_and_wrench: Repository Link https://github.com/merefield/discourse-locations
:open_book: Install Guide How to install plugins in Discourse
:heart: Sponsorship Please consider becoming an ongoing sponsor of my open source work at a level that suits your or your organisation’s resources and needs to ensure this plugin gets the maintenance it deserves and continues to work for your site in the future.

Enjoying this plugin? Please :star: it on GitHub! :pray:

Features

Discourse Locations provides the complete location-storage, geocoding, and map foundation. The optional Pro extension adds advanced discovery, automation, and users-map presentation while requiring this base plugin.

Feature Base plugin Pro extension
Structured topic locations and configurable input fields :white_check_mark:
Optional or required geocoding with multiple providers :white_check_mark:
Category and site-wide topic map views :white_check_mark:
User locations on posts, profiles, cards, and the directory map :white_check_mark:
Leaflet users map with local name and username search :white_check_mark:
Configurable location labels, flags, map markers, clustering, and tiles :white_check_mark:
Default a new topic to the current user’s location :white_check_mark:
Automated IP-based user-location estimation :white_check_mark: Exclusive
Nearby-topic discovery based on the current user’s location :white_check_mark: Exclusive
Optional location-aware Discourse Chatbot tools :white_check_mark: Exclusive
Permission-aware group and result-limit users-map filters :white_check_mark: Exclusive
Interactive WebGL users-map globe :white_check_mark: Exclusive
Idle globe screen saver :white_check_mark: Exclusive

Installing Pro adds its exclusive features to the base functionality; it does not replace the base plugin.

Configuration

The base plugin’s settings use the location_ prefix and control topic locations, geocoding, map display, user locations, and the standard users map.

Useful documentation:

Privacy and storage

Users choose whether to save a profile location. Complete editable topic and user locations remain in base-owned custom fields, while plugin-owned projection tables support spatial queries and map ordering.

Raw location custom fields are not made globally public. Topic, profile, card, post, and directory responses expose only the location data required by that surface and respect Discourse’s profile and group visibility rules.

Pro extension

Discourse Locations Pro is an optional extension available to GitHub Sponsors as a thank-you for supporting ongoing development. Individual and independent-community sponsors receive access from the $7/month Bronze tier; businesses and institutions must sponsor at the $40/month Silver tier or above. Eligible sponsors receive private-repository installation instructions.

The Pro extension adds automated IP lookup, Nearby topics, Chatbot tools, enhanced users-map filters, the interactive globe, and the globe screen saver. Each optional automation or integration remains disabled until configured, and the Pro master setting can disable all Pro behaviour without disabling the base plugin.

Sponsor on GitHub to get Locations Pro

110 Likes
OpenStreet maps embedding
Learn how to build Discourse plugins by helping me
Job exception: undefined method `name' for
A plugin to "check" a portion of a post before it can be posted
Suitability of Discourse for Discussion on Page
Locations dropdown (Google maybe?)
Enable tagging only in some categories
My 2nd Discourse forum, 2 years after the first one
How to add custom fields to models
2020: The Year in Review
Angus' Events Plugin :calendar:
Listing users by group - ERROR: missing FROM-clause entry for table "groups"
2021: The Year in Review
A "Votes" option for the top menu in main page
Forum Completely Broken 2.8.5
It's Time We Talked About Tags
Who use event plugin in their discourse community?
Automated map
Configure plugin Custom Wizard for autoposting
2022: The Year in Review
Show a modal dialog after clicking toolbar button via a plugin
Must have plugins and components for Discourse?
Getting a 500 error on the mobile for bookmark and some category pages
Get aggregate user location data from IP addresses?
Could a List of Recommended Topics Be Added to the Top Menu?
2023: The Year in Review
¿Cómo encuentro a una persona en Discourse?
Angus' Events Plugin :calendar:
Usercard Redesign Experiment
Is it possible to add a location and display them on a map?
Generating an ical to use with a custom map
Remove overriding of cmd/ctrl-f
Locate a feature like the one shown in the photo
Discourse.fontawesome-6-upgrade needs updating
2024: The Year in Review
Migrated my old custom-built trail-journal/blog to Discourse
Newly created topic shown location based on device
Alternative post templates
What happens next?
Discourse-events 'this.router' error
请教关于MaxMind 错误日志问题
National Flags
How minimal is your forum?
Layouts Plugin
Suggestions on how I can have hundreds of small groups (e.g. streets in a town)?
Problème accès aux onglets des paramètres des catégories
Discourse Calendar and Events
Topic List Previews (legacy)
New Theme: Tag-Pages Navigation
Locations plugin modifications
Traditional multi level hierarchy vs flat discourse hierarchy
More options to filter users on users page
Project ideas for Google Summer of Code 2018
Traditional multi level hierarchy vs flat discourse hierarchy
Any way to display Location below the name in posts?
Developing with Discourse
Calendar plugin features to make it really useful for us
Learn how to build Discourse plugins by helping me
Developing
Discourse-common asset availability: difference between development and production?
2018: The Year in Review
Object instead of users due to locations plugin
Inserting a date with Paris timezone gives me Berlin
Failed building stable due to 3rd party plugin
Angus' Events Plugin :calendar:
How to make a topic filter based on current user group and topic location
2019: The Year in Review
United states map
Fig - Native Discourse client for iOS
Loading slider issues