Locations 插件 🌍

:information_source: 摘要 一款 Discourse 插件,可为主题和用户添加结构化和地理编码的位置信息,并支持基于地图的探索功能
:hammer_and_wrench: 仓库链接 https://github.com/merefield/discourse-locations
:open_book: 安装指南 如何在 Discourse 中安装插件
:heart: 赞助支持 请考虑成为我开源工作的长期赞助者,选择适合您或您所在组织资源和需求的赞助级别,以确保该插件获得应有的维护,并能在未来继续为您的站点提供服务。

喜欢这个插件吗?请在 GitHub 上给它点个 :star: 吧! :pray:

功能特性

Discourse Locations 提供了完整的位置存储、地理编码和地图基础功能。可选的 Pro 扩展版增加了高级探索、自动化和用户地图展示功能,但它依赖于基础插件。

功能 基础插件 Pro 扩展版
结构化主题位置和可配置的输入字段 :white_check_mark:
可选或必需的地理编码,支持多个提供商 :white_check_mark:
分类和全站主题地图视图 :white_check_mark:
帖子、个人资料、名片和目录地图上的用户位置 :white_check_mark:
支持本地名称和用户名搜索的 Leaflet 用户地图 :white_check_mark:
可配置的位置标签、旗帜、地图标记、聚类和瓦片 :white_check_mark:
新主题默认设置为当前用户的位置 :white_check_mark:
基于 IP 的自动化用户位置估算 :white_check_mark: 独家功能
基于当前用户位置的附近主题探索 :white_check_mark: 独家功能
可选的位置感知 Discourse Chatbot 工具 :white_check_mark: 独家功能
权限感知的用户地图分组和结果限制过滤器 :white_check_mark: 独家功能
交互式 WebGL 用户地图地球仪 :white_check_mark: 独家功能
空闲地球仪屏幕保护程序 :white_check_mark: 独家功能

安装 Pro 扩展版会将独家功能添加到基础功能中;它不会替代基础插件。

配置

基础插件的设置使用 location_ 前缀,用于控制主题位置、地理编码、地图显示、用户位置以及标准用户地图。

有用的文档:

隐私与存储

用户可以选择是否保存个人资料位置。完整的可编辑主题和用户位置保留在基础插件拥有的自定义字段中,而由插件拥有的投影表则支持空间查询和地图排序。

原始位置自定义字段不会全局公开。主题、个人资料、名片、帖子和目录响应仅公开该界面所需的位置数据,并遵守 Discourse 的个人资料和群组可见性规则。

Pro 扩展版

Discourse Locations Pro 是一款可选扩展,面向 GitHub 赞助者开放,以感谢他们对持续开发的支持。个人和独立社区赞助者可以从 每月 7 美元的青铜层级 获得访问权限;企业和机构必须以 每月 40 美元的白银层级 或更高级别进行赞助。符合条件的赞助者将获得私有仓库的安装说明。

Pro 扩展版增加了自动化 IP 查找、附近主题、聊天机器人工具、增强的用户地图过滤器、交互式地球仪以及地球仪屏幕保护程序。每个可选的自动化或集成功能在配置之前均保持禁用状态,并且 Pro 主设置可以在不禁用基础插件的情况下禁用所有 Pro 行为。

在 GitHub 上赞助以获取 Locations Pro

110 个赞
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