Usermap for phpBB
The extension "Usermap for phpbb" adds an interactive map with the users' positions to your forum. To determine those positions the extension uses the country and postal code (zip code) of each user's location to look up the coordinates in the Geonames.org database. If the database contains more than one coordinate for this country/postal code combination Usermap uses the predefined profile field "location" to improve the determination of the coordinates. The positions are displayed by a circular marker coloured in the colour of the main group of the respective user.
Every user contained in the map can search for other users within predefined distances of 1km - 100km (0.6mi - 62mi) around his position. Results are displayed with the nicknames and distances in ascending order. The nickname works as a link to the profile of the respective user which will be opened in a new browser tab.
Input or change of country and/or postal code is done in the user's profile, either by himself or an administrator. If country and postal code are provided at registering (default) the respective user will be added to the Usermap at activation, if the coordinates can be determined.
Users neglecting provision of this data are not authorized to see the Usermap, therefore a very basic privacy protection is implemented (users not willing to provide this data are not eligible to see the data of others).
An OSM map is used for displaying the user positions.
The administrator can select latitude and longitude of the map center as well as the zoom at initial display of the map in the ACP. In addition the
administrator can install additional language packs for this extension.
Prior to usage of Usermap the administrator MUST open a (free) account with Geonames.org and enter the according username(s) in the ACP in order to enable usage of the database. Without at least one Geonames.org user name the Usermap is NOT functioning!
phpBB 3.2.x: PHP 5.4 + / phpBB 3.3.x: PHP 7.1 +
de (formal und informal), en, es, fr, pl
Github repository: https://github.com/Mike-on-Tour/usermap
I've tested this extension with phpBB 3.2.0, 3.2.6, 3.2.7, 3.2.8 and 3.2.11 under PHP 5.4, 5.6 and 7.2 and with phpBB 3.3.2 and 3.3.3 under PHP 7.2 and 7.4 and hopefully have found all bugs and glitches.
I'm looking forward to your comments.