Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] ABP Usermap v1.3.2 - A map of your users with Open Street Map
#1
ABP Usermap v1.3.2

Creates a new page on MyBB showing the user map

[Image: g7R5yBQ.png]

Features
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 and Leaflet

[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#2
Thank you!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#3
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.
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#4
Very nice, good work with this plugin Smile
Reply
#5
Happy to help! Great and useful plugin!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#6
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
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#7
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
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#8
You created nice plugin, but maybe in next version you can add map selection in ACP (you can set Google Maps too) and stats.
Reply
#9
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!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#10
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.
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)