[3.2][DEV] phpBB MapUsers

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!
Anti-Spam Guide
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)
myersjj
Registered User
Posts: 13
Joined: Sat Dec 30, 2017 6:01 pm

[3.2][DEV] phpBB MapUsers

Post by myersjj »

Extension Name: MapUsers
Author: myersjj

Extension Description: Extension for phpBB 3.2 that will display a Google map of users locations (using mithril for the app page).
Extension Version: 0.5.0-dev

Requirements:
  • phpBB 3.2.0 >=
  • php 5.6 >=


Features:
  • Control which groups can view maps
  • View map with users within a specified radius
  • View map for specified location and radius
Screenshots: https://github.com/myersware/mapusers/wiki

Notes:
This Extension is in development stage!
I am new to php and phpBB development, so please be patient.
Some features are not yet complete or available.

Set Up Instructions:
You will need a Google Maps API key.
Once installed, use the Extensions ACP tab and click on MAPUSERS Settings, then enter Google Maps api key.
Then you will need to set permissions for groups to allow map viewing.
Users must be permitted to update location custom profile field or admins must do it for users.
Goto ACP > permissions > Group permissions > [Select Group] > Advanced Permissions/Profile/Can view user map.

Demo URL: https://phpbb.myersware.com
Demo Username: demo
Demo Password: demo1234
Warning: You will get an SSL warning since I don't have an SSL certiicate.

Extension Download: Enter the URL of the extension to download
Last edited by myersjj on Fri Feb 23, 2018 8:03 pm, edited 4 times in total.
myersjj
Registered User
Posts: 13
Joined: Sat Dec 30, 2017 6:01 pm

Re: [3.2][DEV] phpBB MapUsers

Post by myersjj »

Today I added a demo of this extension - see main post for details.
edu81
Registered User
Posts: 33
Joined: Sun Jun 21, 2009 6:18 pm
Location: Spain

Re: [3.2][DEV] phpBB MapUsers

Post by edu81 »

Excellent, please, can you fix the demo to see it in action ?

Thanks for the effort!
myersjj
Registered User
Posts: 13
Joined: Sat Dec 30, 2017 6:01 pm

Re: [3.2][DEV] phpBB MapUsers

Post by myersjj »

So sorry, typo in url for demo - fixed now!
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.2][DEV] phpBB MapUsers

Post by spaceace »

just a suggestion for the icon to go with the link on the index... fa-globe
myersjj
Registered User
Posts: 13
Joined: Sat Dec 30, 2017 6:01 pm

Re: [3.2][DEV] phpBB MapUsers

Post by myersjj »

ok, added the globe - thanks for the suggestion
User avatar
jan_2017
Registered User
Posts: 161
Joined: Sun May 07, 2017 3:39 pm

Re: [3.2][DEV] phpBB MapUsers

Post by jan_2017 »

myersjj wrote: Sat Jan 20, 2018 5:49 pm ok, added the globe - thanks for the suggestion
Oh nice ;)

At the Moment , i can not see in ucp (demolink) the preferences.
Return to the index page
General Error
Cannot find module ./includes/ucp/\myersware\mapusers\ucp\main_module.php

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_module.php
LINE: 573
CALL: trigger_error()

FILE: [ROOT]/ucp.php
LINE: 394
CALL: p_master->load_active()
I have saw before a translation , which was not in Englisch.

Could you create more accounts to test extension?

Thanks :D
myersjj
Registered User
Posts: 13
Joined: Sat Dec 30, 2017 6:01 pm

Re: [3.2][DEV] phpBB MapUsers

Post by myersjj »

I have removed the UCP tab (not needed)

I added 2 more accounts (demo-KY and demo-CO). What else would you like? What would you like to test?
User avatar
jan_2017
Registered User
Posts: 161
Joined: Sun May 07, 2017 3:39 pm

Re: [3.2][DEV] phpBB MapUsers

Post by jan_2017 »

myersjj wrote: Sun Jan 21, 2018 5:00 am I have removed the UCP tab (not needed)

I added 2 more accounts (demo-KY and demo-CO). What else would you like? What would you like to test?
I can not see the new users on the map.

I would like a function with which one can measure the distance between 2 selected locations.

Which source does the map use to locate all users?

Is it possible to show an entire list of users?

Bye Jan
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: [3.2][DEV] phpBB MapUsers

Post by ViolaF »

jan_2017 wrote: Sun Jan 21, 2018 7:45 am Is it possible to show an entire list of users?
may this old demo can inspire the coder
myersjj
Registered User
Posts: 13
Joined: Sat Dec 30, 2017 6:01 pm

Re: [3.2][DEV] phpBB MapUsers

Post by myersjj »

Reply to Jan
I can not see the new users on the map.
Set the radius bigger and you'll see all the people in that range.
I would like a function with which one can measure the distance between 2 selected locations.
I'll consider that.
Which source does the map use to locate all users?
Uses the custom profile field "location".
Is it possible to show an entire list of users?
No, only the number set by the Limit slider. This is intended for sites with thousands of users, so that wouldn't be practical.

Thanks for your interest.
myersjj
Registered User
Posts: 13
Joined: Sat Dec 30, 2017 6:01 pm

Re: [3.2][DEV] phpBB MapUsers

Post by myersjj »

to Viola,
may this old demo can inspire the coder
thanks for the demo.

See previous reply why number of locations is limited. Note there is a dropdown of users found within selected radius.

Anything else you prefer from the old demo?

Thanks for your interest.
User avatar
jan_2017
Registered User
Posts: 161
Joined: Sun May 07, 2017 3:39 pm

Re: [3.2][DEV] phpBB MapUsers

Post by jan_2017 »

ViolaF wrote: Sun Jan 21, 2018 2:43 pm
jan_2017 wrote: Sun Jan 21, 2018 7:45 am Is it possible to show an entire list of users?
may this old demo can inspire the coder
wow, what and where is the code from this nice ext?????

Bye Jan
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: [3.2][DEV] phpBB MapUsers

Post by ViolaF »

Original Mod [DEV] Topic

Ext [DEV] Topic
User avatar
jan_2017
Registered User
Posts: 161
Joined: Sun May 07, 2017 3:39 pm

Re: [3.2][DEV] phpBB MapUsers

Post by jan_2017 »

ViolaF wrote: Sun Jan 21, 2018 11:52 pm Original Mod [DEV] Topic

Ext [DEV] Topic
Yesterday link ok....now link down :/

bye Jan
Post Reply

Return to “Extensions in Development”