[3.2][3.3][BETA] Usermap for phpBB

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Mike-on-Tour
Registered User
Posts: 98
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

[3.2][3.3][BETA] Usermap for phpBB

Post by Mike-on-Tour »

Extension Name: Usermap for phpBB

Image Image

Author: Mike-on-Tour
Extension Description: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!
Requirements: phpBB 3.2.x: PHP 5.4 + / phpBB 3.3.0: PHP 7.1 +
Download: https://www.mike-on-tour.com/mot/mot_usermap.php
Languages: en, de (formell und informell)
Styles: prosilver
Github repository: https://github.com/Mike-on-Tour/usermap
Demo: https://www.mike-on-tour.com (Registering necessary)

I've tested this extension with phpBB 3.2.6, 3.2.7, 3.2.8 and 3.2.9 under PHP 5.4, 5.6 and 7.2 and with phpBB 3.3.0 under PHP 7.2 and 7.4 and hopefully have found all bugs and glitches.
I'm looking forward to your comments.
Last edited by Mike-on-Tour on Tue Jul 14, 2020 6:42 pm, edited 4 times in total.
Watz fo lunch?
Tread
Registered User
Posts: 41
Joined: Thu Nov 14, 2019 9:52 pm

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Tread »

New users cant see the map.
User avatar
Mike-on-Tour
Registered User
Posts: 98
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Mike-on-Tour »

Have they provided the necessary data for the profile fields 'postal code' and 'country'? This is the case if the template for the map only shows 'You are not authorized to see the user map.'
Watz fo lunch?
User avatar
Jorup16
Registered User
Posts: 424
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Jorup16 »

Hello, very good idea for an extension, but I can't see the demo.

I made my username "Prueba" and my country "Guatemala" and zip code "01001" (it is a real code), but I can't see the extension working.


Image



:?
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<
User avatar
Mike-on-Tour
Registered User
Posts: 98
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Mike-on-Tour »

Hi Jorge,
it should work now. You are the second user experiencing difficulties during activation :shock: , I think I'll have to look into the activation routine again :?
Watz fo lunch?
User avatar
3Di
Former Team Member
Posts: 15846
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by 3Di »

Just post some screenshot of what it looks like, no need to have users to register in order to see that.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
Jorup16
Registered User
Posts: 424
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Jorup16 »

Mike-on-Tour wrote:
Mon May 11, 2020 6:37 am
Hi Jorge,
it should work now. You are the second user experiencing difficulties during activation :shock: , I think I'll have to look into the activation routine again :?
Now yes, it works.

Image

Image


:D
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<
User avatar
Mike-on-Tour
Registered User
Posts: 98
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Mike-on-Tour »

I looked into the activation by e-mail and detected a bug which prevented the orderly processing of the user data provided during registration. It resulted in a white page instead of the message that the user successfully activated the account, I assume that e.g. Jorup16 experienced this during activation, too.

The good news is: The bug is found and extinguished, the zip-file for download has been updated. If somebody installe this extension it is strongly recommended to deactivate it, delete all its files, upload the new package and activate it again.
Watz fo lunch?
User avatar
Jorup16
Registered User
Posts: 424
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Jorup16 »

Thank you very much for the fix. I will help you by doing the Spanish translation. :D

I'm already working on it.
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<
User avatar
Elias
Registered User
Posts: 5137
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Elias »

Very cool concept.

phpbb.com had something like that back then or might still have it somewhere.
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|
Offering private web hosting. Contact me for details.
User avatar
Mike-on-Tour
Registered User
Posts: 98
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Mike-on-Tour »

Jorup16 wrote:
Mon May 11, 2020 8:01 pm
I will help you by doing the Spanish translation. :D

I'm already working on it.
Thank you very much in advance for this work
Watz fo lunch?
koraldon
Registered User
Posts: 529
Joined: Sat Jun 30, 2007 12:42 pm

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by koraldon »

I also have the same issue of not able to see the map (user - arnon)
Also, I understand the country and post code lines are custom profile fields?
User avatar
Mike-on-Tour
Registered User
Posts: 98
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Mike-on-Tour »

koraldon wrote:
Tue May 12, 2020 6:27 pm
I also have the same issue of not able to see the map (user - arnon)
Then you should provide a valid combination of country and postal code, yours don't fit.
koraldon wrote:
Tue May 12, 2020 6:27 pm
Also, I understand the country and post code lines are custom profile fields?
Yes, they are.
Watz fo lunch?
User avatar
Mike-on-Tour
Registered User
Posts: 98
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Mike-on-Tour »

Since Jorup16 already provided pictures of the front end, I thought it might be a good idea to post pictures of the back end, too.

This is what the settings page in the ACP looks like:
Usermap_settings.jpg
and this is the language packs tab, also in the ACP:
Usermap_language.jpg
Watz fo lunch?
User avatar
Jorup16
Registered User
Posts: 424
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][BETA] Usermap for phpBB

Post by Jorup16 »

Now I have installed it in my forum and I get this message


Image


I have already configured my user in the ACP, I have also configured my country and postal code in the UCP.
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<
Post Reply

Return to “Extensions in Development”