Page 1 of 3
*** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 1:41 am
by beteljuice
Following discussion elsewhere I have created an Unofficial Cumulus Users Map.
You can use it as a standalone link or drop it in an <iframe> on your site. (NOT if you are http
s)
Create / Edit a marker:
www.beteljuice.co.uk/CuMap/index.php?admin
Barebones url:
www.beteljuice.co.uk/CuMap/index.php
You can 'enable' the home button on the auto-pilot, this also stops you being zapped and makes your marker
RED
www.beteljuice.co.uk/CuMap/index.php?userID=dickie
You can choose to not display the user table by adding table=false
www.beteljuice.co.uk/CuMap/index.php?userID=dickie&table=false
You can initialize map to a country by adding country=???? ???
NB: MUST be
exactly as seen in dropdown selector
www.beteljuice.co.uk/CuMap/index.php?country=Uruguay
... and there's more
in conjunction with ?userID=????? you can add &gotome - map initializes to world then zooms to you.
www.beteljuice.co.uk/CuMap/index.php?userID=dickie&gotome
but wait, why not use &country=??? ??? as well
www.beteljuice.co.uk/CuMap/index.php?userID=dickie&gotome&country=United States
To use in an <iframe> on your site ...
Edit ... Will
NOT work if your site is 'secure' (https:// )
Code: Select all
<iframe src="http://www.beteljuice.co.uk/CuMap/index.php" style="width: 700px; height: 970px; border: none;" allowfullscreen></iframe>
See frame in action here.
That's it .....
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 8:48 am
by AndyKF650
Hi
This seems to be a very good idea, I have added some basic details to a map pin for me ie user name and location and it saved the info on the list. When I closed the page and reopened it whilst my user id showed on the list the map did not.
Do you have any thoughts on this problem?
Thanks
AndyK
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 9:00 am
by RayProudfoot
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 9:30 am
by mcrossley
It seems to be because 'AndyKF650' has entered his lat/long in an invalid format...
49.11.49, -2.2.2
The script is expecting decimal numbers. Some input validation is required.
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 9:48 am
by AndyKF650
Hi
Thanks for the assistance mark, I have updated my location to a decimal and all seems to look fine. Sorry for the inconvenience.
Regards
AndyK
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 9:53 am
by RayProudfoot
The map isn’t visible when viewed on a W10 laptop but is on my iPad.
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 10:05 am
by AndyKF650
Hi Ray
I am looking at the map on a W10 pc with no problems, perhaps it is your pc browser settings causing the issue.
Regards
AndyK
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 11:19 am
by RayProudfoot
AndyKF650 wrote: ↑Tue 03 Nov 2020 10:05 am
Hi Ray
I am looking at the map on a W10 pc with no problems, perhaps it is your pc browser settings causing the issue.
Regards
AndyK
Yes, bloody computers! Do nothing and now it shows!
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 10:59 pm
by beteljuice
mark wrote:It seems to be because 'AndyKF650' has entered his lat/long in an invalid format...
49.11.49, -2.2.2
The script is expecting decimal numbers. Some input validation is required.
In defence of the beteljuice it does say
(decimal) next to the input field, and the "Tip" to find / fine tune the location, points you to values that are decimal notation, plus the map code itself validates and advises of lat / lon ranges
..... but apparently doesn't check if they are numeric in the first place
numeric check at Point Of Entry introduced
Ray wrote:Yes, bloody computers! Do nothing and now it shows!
I am sooooo pleased about that. I thought we were going to have an "Edge" problem - In which case I would have pulled the plug
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 11:10 pm
by RayProudfoot
beteljuice wrote: ↑Tue 03 Nov 2020 10:59 pm
Ray wrote:Yes, bloody computers! Do nothing and now it shows!
I am sooooo pleased about that. I thought we were going to have an "Edge" problem - In which case I would have pulled the plug
Don’t use Edge. Still with Firefox.
Any chance the link could appear on the main forum page at the top like in the olden days?
Re: *** Unofficial Users Map ***
Posted: Tue 03 Nov 2020 11:51 pm
by beteljuice
Ray wrote:Any chance the link could appear on the main forum page at the top like in the olden days?
That needs must be an executive decision - but I would recommend waiting to see what the "take-up" is, and if any serious bugs come to light,
Re: *** Unofficial Users Map ***
Posted: Wed 04 Nov 2020 12:47 am
by PaulMy
I am sooooo pleased about that. I thought we were going to have an "Edge" problem - In which case I would have pulled the plug
Don’t use Edge. Still with Firefox.
I use Edge and it works well.
Enjoy,
Paul
Re: *** Unofficial Users Map ***
Posted: Wed 04 Nov 2020 1:16 am
by billy
Re: *** Unofficial Users Map ***
Posted: Wed 04 Nov 2020 8:57 am
by RayProudfoot
beteljuice wrote: ↑Tue 03 Nov 2020 11:51 pm
Ray wrote:Any chance the link could appear on the main forum page at the top like in the olden days?
That needs must be an executive decision - but I would recommend waiting to see what the "take-up" is, and if any serious bugs come to light,
Makes sense.
Re: *** Unofficial Users Map ***
Posted: Mon 09 Nov 2020 2:40 pm
by beteljuice
Ahrghh
- big problem found when embedding (Thank you griffo)
my response to his problem ..
Ahhh ... modern times / browsers ...
Took me a while to twig what was going on.
Your site is 'secure' (https://), mine isn't - <iframe> 'insecure' content is being blocked !
Any ideas ???