Jump to content

Member Map


Recommended Posts

I got some members complaining that they went to the wrong location. Now I try it myself, when I enter my city, (google.maps finds it fine) I get a location 25 km below where it should be. This is beta2, in beta one it seemed ok for me, but there where a few that had the same. Locations that are in the database show ok.

I looked in the database, and see that the wrong ones get rouded numbers:


50.000000 5.000000
50.000000 4.000000
51.000000 4.000000
35.000000 -86.000000

Link to comment

I got some members complaining that they went to the wrong location. Now I try it myself, when I enter my city, (google.maps finds it fine) I get a location 25 km below where it should be. This is beta2, in beta one it seemed ok for me, but there where a few that had the same. Locations that are in the database show ok.



I looked in the database, and see that the wrong ones get rouded numbers:




50.000000 5.000000


50.000000 4.000000


51.000000 4.000000


35.000000 -86.000000



Could you tell me which versions of PHP/MySQL you have and what your Operating System is ?

Beta 2 has some extra sanitation on the values.
Link to comment

I got some members complaining that they went to the wrong location. Now I try it myself, when I enter my city, (google.maps finds it fine) I get a location 25 km below where it should be. This is beta2, in beta one it seemed ok for me, but there where a few that had the same. Locations that are in the database show ok.



I looked in the database, and see that the wrong ones get rouded numbers:




50.000000 5.000000


50.000000 4.000000


51.000000 4.000000


35.000000 -86.000000




Could you tell me which versions of PHP/MySQL you have and what your Operating System is ?



Beta 2 has some extra sanitation on the values.



I have the same error on beta2 rebuild
Version PHP 5.2.11 / MYSQL Version MYSQL 5.0.84-log
Windows Seven, firefox 3.6.2, chrome and IE8
Link to comment

This should fix the issue for you, please let me know if it works for you. I'll update the main resource file if it does.

attached file is to be uploaded to

/admin/applications_addon/other/membermap/modules_public/membermap/map.php



This only affects users that use a locale that uses a comma(,) as a decimal(.) separator, you do not need this file modification if you use a UK/US locale.

Link to comment

<br />The zoom level is set automatically so it includes all markers, the more that are added the further apart the more it will zoom out.<br /><br />What sort of information do you think would be useful in the pop-up ?<br /><br />I'm not sure I saw much point for FURLS apart from /membermap/ There's not really any other pages to it.<br />

<br /><br /><br />

Location (in text) and gender :)
Link to comment

Sorry, Beta 2 is not working for me.




rebuilt templates and recached skin etc. to make sure.



When I go to add my location, the browser (Chrome) downloads and index.php to my computer. This file consists of the details of my location.



Tried it in IE with the same result.



Beta 1 added the location without any issues.



Also makes no difference if I use the furl or not.









i too have this problem, did you find a fix? btw mine is a fresh install, no upgrade
Link to comment

not able to get this working at www.photoping.co.uk looks like a js error but no idea where to go to fix...any clues?

sorry error when i click add location is as follows:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Tue, 30 Mar 2010 23:36:51 UTC


Message: 'toTemplateReplacements' is null or not an object
Line: 28
Char: 1397
Code: 0
URI: http://www.photoping.co.uk/public/min/index.php?g=js

Link to comment

The latest update you did fixed my previouse eror about not beeing able to add my location, now when i add my location on my site i get this error


Webpage error details



User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; chromeframe; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)


Timestamp: Wed, 31 Mar 2010 01:33:00 UTC




Message: Expected ')'


Line: 396


Char: 636


Code: 0


URI: http://www.forums.winxperts.net/index.php?/membermap/

Link to comment

yeah the guest access was just so you could see...normally no access at all ;).

still not working with minify off..

but based on your last response i found out why had to enable

'Load javascript files from Google' then it worked (guess i had some out of date files?)

Link to comment

yeah the guest access was just so you could see...normally no access at all ;).



still not working with minify off..



but based on your last response i found out why had to enable



'Load javascript files from Google' then it worked (guess i had some out of date files?)



It could be some thing that has changed since 3.0.2, you might want to upgrade to 3.0.5
Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...