wyatts97/forum-member-map 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wyatts97/forum-member-map

最新稳定版本:v1.0.5

Composer 安装命令:

composer require wyatts97/forum-member-map

包简介

Show a community member map so users can discover each other by location

README 文档

README

License Flarum

A Flarum extension for Flarum 2.0+.

Adds a /map page to your forum showing an interactive world map with pins for every member who has set their location. Members can place or move their own pin directly on the map, add a title and short bio, and visitors can click any pin to see a profile card with a link to their forum profile.

Features

  • 🗺️ Dedicated /map forum page with a full-width Leaflet map
  • 📍 Avatar-circle pins for each member (falls back to initial letter)
  • 💬 Popup bio card showing: avatar, display name, title, bio, join date, profile link
  • ✏️ Logged-in users click anywhere on the map to drop / move their pin and fill in their info
  • 🎨 Admin can choose between OpenStreetMap (free) or Mapbox (API key required) tiles

Requirements

  • Flarum ^2.0.0
  • PHP ^8.1
  • Node 18+ / npm (to build JS from source)

Installation

composer require wyatts97/forum-member-map:"*"
php flarum migrate
php flarum cache:clear

Building JS from Source

cd js
npm install
npm run build

Updating

composer update wyatts97/forum-member-map:"*"
php flarum migrate
php flarum cache:clear

Admin Settings

In the Flarum admin panel → Extensions → Forum Member Map:

Setting Description
Map Tile Provider openstreetmap (default, free) or mapbox
Mapbox Public Token Required only when Mapbox is selected

Database

Adds four nullable columns to the users table:

Column Type Description
map_lat string(32) Latitude
map_lng string(32) Longitude
map_title string(100) User's short title shown on popup
map_bio text User's bio shown on popup

Credits

Built on top of justoverclock/users-map-location (Leaflet integration). Uses Leaflet.js and OpenStreetMap.

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固