| KEITH SCHMITT DOT COM :: Forums :: E107 :: Google _Maps |
|
<< Previous thread | Next thread >> |
| Suggestions | ||
|
Moderators: Keith
|
| Author | Post | ||
| Keith |
| ||
![]() ![]() ![]() Registered Member #1 Joined: Tue Jun 13 2006, 10:58AMLOCATION: Katonah ny Posts: 63 | I am making a suggestion list please post them here: 1.user search --> a field to enter a user name and find matches (maybe even partial matches - much like how the PM plug in has a user search) on the map? 2. search for users by location --> specify a city/country and have it show all users in that city/country 3. Sort the sidebar list 4. Theme the page 5. Language(ie use the lang files) 6. add core user classes to available map classes 7. Edit/ add geo codes in database(ie edit at/long) [ Edited Sun May 27 2007, 08:14AM ] | ||
| Back to top | | ||
| Grimar |
| ||
![]() Registered Member #348 Joined: Sat May 26 2007, 03:58PMLOCATION: Nygårdsvägen 2, Huddinge, Stockholm, Sweden Posts: 6 | Valid XHTML? I managed to do this (almost) by edit some code: In "google_maps.php" somewhere at line 112, I commented out <style type="text/css"> v\:* { behavior:url(#default#VML); } </style> (for polyline drawing in IE). What does it do anyway? Does it have an active function at the moment? I need help in this matter... The other parts of the code where properly edited to make a comliant XHTML document. See below: Line 119: <SCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- window.onload=onLoad; //--> </SCRIPT> This code has to be all lowercase. It should be: <script type="text/javascript"> <!-- window.onload=onLoad; //--> </script> Line 127: <table border=1> Should be: <table style="border:1"> In "GoogleMapAPI.class.php" Line 243: var $js_alert = '<b>Javascript must be enabled in order to use Google Maps.</b>'; The <b>-element is not allowed here. It must be put in a container, so I changed that to: var $js_alert = '<div><b>Javascript must be enabled in order to use Google Maps.</b></div>'; Notice the <div> element Line 897: return sprintf('<script src="http://maps.google.com/maps?file=api&v=2&key=%s" type="text/javascript" charset="utf-8"></script>', $this->api_key); This code contains two invalid formatted ampersands (&). Change those to & like this: return sprintf('<script src="http://maps.google.com/maps?file=api&v=2&key=%s" type="text/javascript" charset="utf-8"></script>', $this->api_key); Line 914: return '<script language="javascript" type="text/javascript" charset="utf-8">window.onload=onLoad;</script>'; should be: return '<script type="text/javascript" charset="utf-8">window.onload=onLoad;</script>'; ie get rid of the language="javascript" part. I don't know which browsers, if any, who makes use of the old style of scripting...Unsure if this is wise to do but it makes the validator happy That's all I remember for now. Maybe I forgot something but I think it should be all. Now I have a question myself, or maybe this could be considered a suggestion: Is there any way that new members automatically are shown in the list at google_maps.php. Or do I have to manually set the userclass for everyone for this feature? The core userclasses don't show up in the admin_config.php. I would like to use the regular member userclass to be shown on map. May I should post my question in the other thread..yeah, I'll do that. By the way. You've got an exellent plugin. Great work... [ Edited Sun May 27 2007, 09:47PM ] cheers /Grimar | ||
| Back to top | | ||
| Grimar |
| ||
![]() Registered Member #348 Joined: Sat May 26 2007, 03:58PMLOCATION: Nygårdsvägen 2, Huddinge, Stockholm, Sweden Posts: 6 | No hardcoded language. ie make use of lan files instead, if possible. [ Edited Sun May 27 2007, 04:31AM ] cheers /Grimar | ||
| Back to top | | ||
| clicky |
| ||
![]() Registered Member #355 Joined: Wed May 30 2007, 07:35AMLOCATION: usa Posts: 1 | Just signed up to say what an awesome plugin this is! Definitely can't wait to see suggestion #6 put into play. I tried to do it myself... didn't quite work out | ||
| Back to top | | ||
| fgoncalves |
| ||
![]() Registered Member #365 Joined: Sat Jun 09 2007, 11:10PMLOCATION: V. N. de Gaia Posts: 1 | What about if the local of calendar events could also be displayed? - That would be really handy for my site... | ||
| Back to top | | ||
| shoulders |
| ||
![]() Registered Member #370 Joined: Wed Jun 20 2007, 12:24PMLOCATION: morecambe, england Posts: 3 | is it possible to add driving directions. start address and finish address but with a home button next to it. could this feature be seperate. i.e. i am thinking about using this plugin for knowing where customers are from rather than everyone being able to see other peoples locations. but they can still use it for themselves. thanks, great plugin | ||
| Back to top | | ||
| shoulders |
| ||
![]() Registered Member #370 Joined: Wed Jun 20 2007, 12:24PMLOCATION: morecambe, england Posts: 3 | Is it possible to use a combination of a 'country' user field and a 'location' field to make up the google address. could stop confusion between place names and then users can still be sorted by country for other uses. | ||
| Back to top | | ||
| Keith |
| ||
![]() ![]() ![]() Registered Member #1 Joined: Tue Jun 13 2006, 10:58AMLOCATION: Katonah ny Posts: 63 | Directions is allready a feature. | ||
| Back to top | | ||
| Spawn |
| ||
![]() Registered Member #700 Joined: Thu Jul 31 2008, 11:51PMLOCATION: Canada Posts: 3 | Keith, is there any news with respect to implementing some of these feature suggestions? It would be nice to be able to adjust the actual pin location for a user in a city, as it defaults to the city centre, but some people may actually live out in the suburbs. | ||
| Back to top | | ||
Powered by e107 Forum System










