[CDB] 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!
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)
Locked
panhead
Registered User
Posts: 950
Joined: Sat Dec 20, 2003 8:17 pm

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

Post by panhead »

:oops: :oops:
Found it....
panhead
Registered User
Posts: 950
Joined: Sat Dec 20, 2003 8:17 pm

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

Post by panhead »

But not yet the Search Form
User avatar
Mike-on-Tour
Registered User
Posts: 462
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael
Contact:

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

Post by Mike-on-Tour »

There is a slight logic fault in this version, you have to give the permission "Can see the map only if subscribed", too. After you did that, it will appear.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
panhead
Registered User
Posts: 950
Joined: Sat Dec 20, 2003 8:17 pm

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

Post by panhead »

Thanks again.
panhead
Registered User
Posts: 950
Joined: Sat Dec 20, 2003 8:17 pm

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

Post by panhead »

Request: would it be possible to create a link form a users profile (location) to his location on the map?
User avatar
Mike-on-Tour
Registered User
Posts: 462
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael
Contact:

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

Post by Mike-on-Tour »

I will have to check.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
panhead
Registered User
Posts: 950
Joined: Sat Dec 20, 2003 8:17 pm

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

Post by panhead »

Another request ;) : is it possible to add/use other icons for POI's?
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

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

Post by stone23 »

Hello,
I'm looking in the css files to correct these roundings and the thickness of the bottom bar, which is entangled in red on my image :
Screenshot-2020-05-11-Mike-on-Tour-com-User-Map-2.png
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
Mike-on-Tour
Registered User
Posts: 462
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael
Contact:

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

Post by Mike-on-Tour »

This comes from prosilver's css files and has nothing to do with Usermap. I'm not sure from file since there are more than one.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

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

Post by stone23 »

Yes, I know, it's in the common.css file, line 222:

Code: Select all

.panel {
	margin-bottom: 4px;
	padding: 5px 10px;
	border-radius: 7px;
}
Is there a way to incorporate it into the css of the map without the rounding?
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
Mike-on-Tour
Registered User
Posts: 462
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael
Contact:

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

Post by Mike-on-Tour »

There always is, in this case just edit the mot/usermap/styles/prosilver/theme/usermap.css file by pasting the relevant part from common.css into it and delete the border-radius or better change its value to none. This wil overwrite the inherited value.
You can change all other settings you don't like in the same way.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

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

Post by stone23 »

Hello Mike,
I tried but it doesn't work.
I am therefore moving towards the style html files.
Apparently there would be things to review in:
mot/usermap/styles/prosilver/template/usermap_main.html:
Find :

Code: Select all

		<div class="panel bg1">
			<div id="map_container">
			</div>
		</div>
Replace with:

Code: Select all

		<div class="topiclist">
			<div id="map_container">
			</div>
		</div>
But then I'm still looking to be true to prosilver ...
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
Mike-on-Tour
Registered User
Posts: 462
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael
Contact:

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

Post by Mike-on-Tour »

I took it for granted that you knew that you have to purge your cache after editing the css file AND (at least my Firefox won't display it correctly if I don't do it) purge your browser cache as well.
No need to put style coding into html files.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

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

Post by stone23 »

It goes without saying that I do it each time a file is modified, I do it on the forum and on the browser
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

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

Post by stone23 »

Don't worry about this point which doesn't really matter, I'll check it out when I have some free time.

I have another question: the database of French postal codes is not precise enough; and apparently if i want to use the internal database, it doesn't work ...

Would it be possible to add a "name" field, in addition to the country code and the postal code and coordinates?
In order to test operation with the internal database...
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
Locked

Return to “Extensions in Development”