avatar4eg / flarum-ext-geotags
Geotags for Flarum forum messages.
Installs: 867
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 1
Open Issues: 2
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.5
This package is not auto-updated.
Last update: 2024-10-26 19:43:16 UTC
README
A Flarum extension that adds places for your posts (with editor button, list of places on each post and markdown string with name of place in text). Uses Logicify JQuery Location Picker plugin.
Screenshots
Editor button:
Creation modal:
Result of creation in text editor:
...and in post:
...and after clicking on it:
Goals
- Allow users mention places and show them on map.
Installation
composer require avatar4eg/flarum-ext-geotags
Configuration
- Create Google Maps API-key.
- Enable Google Maps JavaScript API, Google Places API Web Service and Google Maps Geocoding API for full functionality.
- Add your domain to accepted list.
- Open settings modal of the extension in your admin panel and save Google API-key.
End-user usage
During post creation (or post editing or discussion creating) click the "Edit places" button. In creation modal drag marker (or search in "Address" field or enter coordinates) and save new location.