MyBB Community Forums

Full Version: ABP Usermap v2.0 beta - A map of your users with Open Street Map
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
ABP Usermap v2.0 beta

Creates a new page on MyBB showing the user map

[Image: g7R5yBQ.png]

Features
General
Possibility to enable an auto-location based on user IP. This will be used the first time the user logs in the forum, so it's probably his registration IP which will be used.
Usermap page
A simple page showing the map and clusters/markers. Clicking a marker will show the username and his avatar.
ACP
  • choose the default location (the center of the map when initialised), the default zoom level and the marker
  • select which groups can see the usermap page
  • configure the user popup

Languages
  • English
  • French

Installation - Upgrade
  • Unzip the archive
  • Upload the content of the Upload directory to your forum root
  • New installation : install the plugin from your ACP
  • Upgrade : deactivate and reactivate the plugin from your ACP
Do not forget: There is two configurations, one in the normal plugin setting way and the other (dedicated to the map itself) in a separate admin page.

Ressources

Open Street Map, Leaflet and ip-api

Thank you!
Stable version (1.1) is now online.

Thanks to Eldenroot for contributing with his ideas and tests.

Changelog
Evolution
  • UCP : user must check a box to validate his location (to avoid changing it inadvertently)
  • UCP : user can choose to delete his location
Correction
Corrected different small bugs, especially in marker placement.
Very nice, good work with this plugin Smile
Happy to help! Great and useful plugin!
Version 1.2 is online.

- Corrected a major bug about permission (was blocking all misc pages)
- Corrected (again) marker and popup position
- Added a way to choose the "center" of the marker
Version 1.3.1 released :
  • Added GPS ccordinates box in UCP (information only, can't be edited)
  • Added scale info in map (ACP allows to deactivate)
  • Added button "default zoom level" on page
  • Entry for class name in ACP
  • It's now possible to choose a zoom level which will deactivate the marker clustering
Have a look to the Readme.md file or at https://gitlab.com/ab-plugins/abp-user-m.../README.md to understand the styling of the popup
You created nice plugin, but maybe in next version you can add map selection in ACP (you can set Google Maps too) and stats.
It is only for OSM. For Google Maps you need their API which is quite limited (and paid - traffic related prices).

I really love this plugin! Keep good work!
As @Eldenroot said, the plugin is and will be only for OSM, I don't want to do plugins using commercial (nor free-limited) features.

Someone did a gmap plugin, feel free to use it if you prefer google Smile

Working a lot Smile Now version 1.3.2

Changelog Wrote:Usermap page
  • There're now 2 buttons below the map. The first one revert to the default zoom value, the second centers the map on the user' location (if it gave it) or the admin' predefined center
  • Possibility to display the list of localised users
User CP
  • The same buttons than on the page are present
  • A textbox with the GPS coordinate (if user want to copy them)
Admin CP
  • Added setting to disable/enable listing of users on page
  • Added a map option to display a default avatar in popup if user haven't avatar
  • Added an Upgrade DB tab: it's a simple link wich adds new settings in database. No more need to uninstall/reinstall the plugin to get the full settings

Technical update
  • a global variable $abp_umap_user in postbit hook, so plugins developpers can use it
  • using cache to avoid making too much DB queries (cf postbit hook)

Do not forget to go to "Configuration > User Map" and click the Upgrade DB tab to be sure all settings are OK.
Pages: 1 2 3 4 5 6 7