Link to Mod (http://mods.simplemachines.org/index.php?mod=241)
This mod is a spin on Gobalopper's Location Mod, in that its a member map. Except it uses Google Maps API to make the map and put pins on the map. Before installing it is recommended to make a backup of member and settings tables for your forum as due to it modifys them. Once installed you will want to go to Features and Options and enable it, along with put in a key for use on the forum. The key is required by the Google Maps API, and can be aquired at, http://www.google.com/apis/maps/signup.html Upon sign up there you will need to put in your sites URL,
example,
Your Forum is at http://www.example.com/forums/
In there sign up box put exactly that, do not include any file name just the directory path in the url.
Be warned lots of pins on the map will result in your browser locking up, and currently there is no/little limiting on how many pins are shown at any given time.
Also seeing how Google has Google Earth that uses the same data, this mod also ports the user pins into a .kml for those that want to use Google Earth to see where there users are. Simply add a network link in Google Earth to point at http://www.example.com/forums/index.php?action=.kml to get the data for Google Earth.
This by no means is a finshed mod and I can not garuntee if it will work for you, and no I will not adopt it to your theme for you! Otherwise if you have a problem, feel free to message me on one of my instant messengers, or email me at the_lost_minded at yahoo dot com, or leave questions in this thread.
IE FIX. (http://www.simplemachines.org/community/index.php?topic=61213.msg470472#msg470472)
CHECK PERMISSIONS FIRST, SECOND WHEN POSTING A LINK MAKE SURE GUESTS CAN SEE IT OR CREATE A TEST USER THAT CAN SEE IT!
Comming soon! (Keep asking for features!)
- Other data as to be combined with user map - In 0.65 (Coming soon)
- Pin color based on status
- Direct input of lat/long
Better limiting on the pins when theres to many - Need to test with clustering to see..Avatar to the popup - In 0.50Permissions to allow only certain groups access to view and place pins - In 0.50Permissions set to on at install - In 0.52Customize where initial map viewing starts - In 0.52Option to choose what is default map type - In 0.52Moved text to language files for translations - In 0.52Add a small disclaimer upon adding pin - In 0.52Add a link to the google earth data on map - In 0.52Clustering of pins - In 0.55Add a legend - In 0.55Add a sidebar - In 0.55
Great MOD. I BETA tested it and it woks great. With a few changes it will run in RC2 w/o a proble.
http://www.kevmundial.com/board/index.php?action=membermap
-JayBachatero
Well seeing how his map is lacking pins ATM, I might as well show where I developed this thing at...
http://www.teamplayfirst.com/forums/index.php?action=membermap
Found a bug/feature, no pins = bad for your member map, errors show up in the error log. Working on the fix now, not to mention cleaning up the code some too.
This has been fixed, will call new version 0.47 due to I am going to enable some pin number control, its the worst way but just to tide people over till I can get the bounding part from the javascript to work. Look for 0.47 sometime tommarow.
Just to make sure, the pins aren't there because of YOUR coding yes?
Quote from: The Outsider on December 19, 2005, 01:19:01 PM
Just to make sure, the pins aren't there because of YOUR coding yes?
Huh? If no one has set any pins, dont expect any pins. If someone has set a pin, then please do tell whats going on for you.
I have a problem, how do I set a pin? i cant figure out how...
Go to Profile->Forum Profile Information
I noted that there are layze people that dont think about there profiles so I will be making a link that will take you to your profile and drop you off there to place a pin.
Go into Forum Profile Information and it's there.
Please help, why do I not see the text?
http://www.wwepassion.com/board/index.php?action=membermap
(Text is white as I can highlight it)
Can't I have it black?
Ooo... Was not expecting that one, my answer will be, to the style sheets!
I will have to add something to the style sheet and in the code for you. I honastly was not expecting that one.
thanks.
ok thanks,
any chance you'd know how long it'd take?
Quote from: The Outsider on December 19, 2005, 02:19:29 PM
ok thanks,
any chance you'd know how long it'd take?
Working on it now for you. I am also gonna put in that link, and put in a slightly better ./Sources/MemberMap.php for everyone, found that some servers dont exactly send XML headers right, eg mine, that caused IE to barf and say no, this is not xml yet it looks like it but I still wont process it.
ok thanks a lot
Pushing it out now for you guys, should have those small fixes and a little pin number limiting that works as well. Its not great limiting due to its just if over max setting, it just picks the max number of random pins.
0.47 is the version, I did not do as much testing as I did on previous versions. You might need to go in to ./Sources and delete the MemberMap.php, same with ./Themes/default/MemberMap.template.php, if they do not get removed when you remove the previous version you guys have installed.
Quote from: The Outsider on December 19, 2005, 02:26:37 PM
ok thanks a lot
I do hope you under stand style sheet for here is what I added just for you.
/* Google Maps */
.googleMaps
{
color: #000000;
font-size: small;
font-family: tahoma, sans-serif;
}
/* Google Maps Links */
a.googleMapsLink:link, a.googleMapsLink:visited, a.googleMapsLink:hover
{
color: #000000;
font-size: small;
font-family: tahoma, sans-serif;
}
Thanks for helping.
But unfortunatly I do not understand style sheets.
Any chance you could tell me where to put it please?
I just want to say: Maybe it would be wise to put underneith the map in the profile something like: "Use at your own risk" or something.
How is using the map by a normal user a risk?
One word. Stalkers.
Quote from: The Outsider on December 19, 2005, 03:24:45 PM
Thanks for helping.
But unfortunatly I do not understand style sheets.
Any chance you could tell me where to put it please?
Uninstall 0.45, dload 0.47, install 0.47, then go edit your style sheet as you like.
still got no idea where to add it ?
OK I did it, but it hasn't changed a thing :(
Quote from: The Outsider on December 19, 2005, 03:53:43 PM
OK I did it, but it hasn't changed a thing :(
I beg to differ, I can read the text now in the popup ballons on your map now with out having to highlight, just cant read the map type control buttons which is out of my control. Altough I see a "typo" on my part, but oh well..
ahhh had to refresh cache.
thanks
Quote from: ExistenZ on December 19, 2005, 03:26:42 PM
I just want to say: Maybe it would be wise to put underneith the map in the profile something like: "Use at your own risk" or something.
Yes that is very true. Maybe you can add some permissions to it.
-JayBachatero
Quote from: JayBachatero on December 19, 2005, 04:15:51 PM
Quote from: ExistenZ on December 19, 2005, 03:26:42 PM
I just want to say: Maybe it would be wise to put underneith the map in the profile something like: "Use at your own risk" or something.
Yes that is very true. Maybe you can add some permissions to it.
-JayBachatero
What kind of permission do you have in mind? View and place?
What members can see the membermap, use the google extension and so on.
Quote from: JayBachatero on December 19, 2005, 04:39:08 PM
What members can see the membermap, use the google extension and so on.
Sounds like a view and placeing permissions to me...
Anyone else have any objection to this then?
If you need any help I can give you a hand.
No objection. Just as long as you can still set it to accept any member.
Right now I'm thinking of two permissions. Add Pins to map and view pins. There is no way to setpermissions on the google extensions unless you fing a way to make google check for sessions or cookies or something to that matter.
I love the work you've done - fantastic mod. Would love to see people's avatars popup as well. I wonder whether in the future you should add filters (alphabetical for example) if a board has a lot of members - to limit how many pins it shows at once?
On an unrelated note, didn't realise you were webmaster for TPF - coolio - reminds me of my TFC days
Hi there,
I'm using Helios Multi and don't see the map in profile. I see it when I change back to forum default theme. Can you help me out? Thanks!
Quote from: Grudge on December 19, 2005, 06:27:21 PM
I love the work you've done - fantastic mod. Would love to see people's avatars popup as well. I wonder whether in the future you should add filters (alphabetical for example) if a board has a lot of members - to limit how many pins it shows at once?
If I'm correct he's working on limiting the amount of pins due to the fact that if there are too many pins the application locs up the browser.
Quote from: TrickyDicky on December 19, 2005, 06:30:50 PM
Hi there,
I'm using Helios Multi and don't see the map in profile. I see it when I change back to forum default theme. Can you help me out? Thanks!
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
-JayBachatero
Quote from: Grudge on December 19, 2005, 06:27:21 PM
I love the work you've done - fantastic mod. Would love to see people's avatars popup as well. I wonder whether in the future you should add filters (alphabetical for example) if a board has a lot of members - to limit how many pins it shows at once?
On an unrelated note, didn't realise you were webmaster for TPF - coolio - reminds me of my TFC days
Thanks, and I must say I am the only one now working on the TPF website asside from Swordsman who is doing the graphics, and that TPF has moved on from TFC due to its loosing interest in everyone, darn that counterstrike! But yes, I will get around to doing things like cleaning up the popup and adding filters, keep in mind I just shoved it out the door to please people for now. There is a half ass system right now to limit the pins, I dont like it but its a quick hack, total > max, pick randomly till max. Eventually I would like to make it so it groups areas together or something and upon zoom in on that area it redraws the pins according to what your looking at with a slight "fuzz" factor.
Quote from: JayBachatero on December 19, 2005, 05:34:32 PM
Right now I'm thinking of two permissions. Add Pins to map and view pins. There is no way to setpermissions on the google extensions unless you fing a way to make google check for sessions or cookies or something to that matter.
Well I think it shall come to be, two permissions, one to view the maps, on profile and main, and one to set your pin in profile. But I have a question about this, what if the user at one point gets permission to put there pin, what happens if they get removed from that group? Do we clear there pin? Keep it but not display it? Or do we just simply ignore that there no longer in that group and just display the pin anyway?
I suppose I should on the first post make a ToDo list so people know what is to come?
Ahh that raises an important issue. I didn't think about this. I guess remove the pin since they dont have permission to see it or anything.
Quote from: JayBachatero on December 19, 2005, 07:30:04 PM
Ahh that raises an important issue. I didn't think about this. I guess remove the pin since they dont have permission to see it or anything.
Who says they dont have permission to see it? I am just saying for placing there pin.
I guess yea you can leave it there because then they will ask were did my pin go and so on...
Alrighty, I am starting to lay the ground work for some permissions, although not exactly sure where I am gonna go with this tonight. I will also do an update to the user popup on the map to include avatar and look nicer. Those two things are what I am aiming for for 0.50 which if I push myself could be tonight. I will also try to include a upgrade so you dont have to uninstall before installing the new version.
Well its looking like I wont get 0.50 out tonight, but here is a screenshot from TPF (http://www.teamplayfirst.com/forums/?action=membermap) where I am testing most of my changes right now. Looks great when the information is all there, horrible when it is not. Hopefully though I will come up with a solution to the crapyness of lacking info, but any objections to what the new popup will look like? Yes the messenger icons are clickable. I thought about cloning the part thats under the avatar on the left of each post, in how those icons are layed out, I still might, but I think how it is now is good.
Well I will continue to work till I fall asleep, but I can say 0.50 wont be out till tommarow sometime.
Great! This mod just keeps getting better and better! Cant wait for the new release.
Nice Mod. Thx. :D
Hrm.. The upgrade option is giving me the most greif right now...
The upgrade works fine as a standalone, but putting it in the upgrade tag, it all of a sudden fails, this is most perplexing. This must be solved for I would like to get an upgrade path going here.
I think, it would be useful, if a member can input directly the coordinates in the profil.
Is there the possibility to show only a part of the map at the start? I have most of the members from Germany, and so it looks: Member Map (http://www.neworder-music.de/forum/index.php?action=membermap)
Quote from: Norbert on December 20, 2005, 01:30:08 PM
I think, it would be useful, if a member can input directly the coordinates in the profil.
Is there the possibility to show only a part of the map at the start? I have most of the members from Germany, and so it looks: Member Map (http://www.neworder-music.de/forum/index.php?action=membermap)
Hrm, that would not be hard to do but seeing how the feilds are just hidden, but I did it that way due to not wanting to have to code a conversion in to google'ease lat/long. I assume you mean by entering something like 6°57'11" or 6d57m11s, as were google stores it in like 6.23424562345, I am sure theres a easy conversion, I just dont know it. (Found what I need for this. (http://groups.google.com/group/Google-Maps-API/browse_thread/thread/53d69422fb494540/6fbf9f8510ab5702))
As for the second one, that gives me an idea, will try to implemet as soon as possible.
"Klicke hier, um Deinen Pin zu setzen oder zu ändern." - is that German for, "Click
here to go place your pin if you have not already."? I made a slight typo, the mod went out with hear, instead of here. Also might ask around for some translations once I get to a more complete mod.
Just a note post, means nothing to you people more than likly...
lat long (Close to my real cordnates, testing numbers only)
35d39m3.70sN 82d40m52.42sW
35°39'3.70"N 82°40'52.42"W
35.651028209624393 -82.681227922439575
Formula
+/- d + (m/60) + (s/60)
+/- d + (m/60) + (s/3600)
so...
lat 35d39m3.70sN should be...
+ 35+(39/60)+(3.70/60) = 35.711666666666700
+ 35+(39/60)+(3.70/3600) = 35.651027777777800
where did I screw up? nm, stuipd me did not think 60 seconds in a minute.... now the answer looks close enough.
So Norbert, your feature request might make it in soon. :)
Quote from: TLM on December 20, 2005, 01:43:37 PM
"Klicke hier, um Deinen Pin zu setzen oder zu ändern." - is that German for, "Click here to go place your pin if you have not already."? I made a slight typo, the mod went out with hear, instead of here. Also might ask around for some translations once I get to a more complete mod.
Translation in German:Click
here to go place your pin if you have not already. ---> Klicke hier, um den Pin zu plazieren, wenn Du es nicht bereits gemacht hast.
Click to place a point or click on your point to remove it. ---> Klicke auf einen Punkt, um einen Pin zu setzen oder zu entfernen.
Who.german.php
$txt['whoall_membermap'] = '<a href="' . $scripturl . '?action=membermap">Member Map</a> anschauen.';
$txt['whoall_.kml'] = 'Den Google Earth Feed anschauen.';
ModSettings.german.php
$txt['googleMapsEnable'] = 'Aktiviere die Google Member Map';
$txt['googleMapsKey'] = 'Den Key der Google Maps API Seite eingeben';
$txt['googleMapsPinGender'] = 'Sollen die Pins das Geschlecht der Mitglieder anzeigen?';
$txt['googleMapsPinNumber'] = 'Zahl der maximal auf der Karte anzuzeigenden Pins (Nicht verwendet)';
Ah thank you. Those shall be added.
Sorry if I am missing something but I have installed this mod and it works in a way. It allows my users to select there location within there profiles but I can not find the button/link that shows all the pins on one map......can somebody please help?
O.
Chances are you are running a custom theme... For it does put a map button after the calendar one.
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
hi!
I have found the section I need to enter the code in to but the question is, what code do I need to enter in for the button to work?
Ignore that, found what I need...will start modding it now.
Thanks.
O.
<file name="$themedir/index.template.php">
<operation>
<search position="replace"><![CDATA[
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
]]></search>
<add><![CDATA[
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
]]></add>
</operation>
<operation>
<search position="before"><![CDATA[
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
]]></search>
<add><![CDATA[
// Google Maps Mod
if ($modSettings['googleMapsEnable'])
echo '
<a href="', $scripturl, '?action=membermap">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/googlemap.gif" alt="Google Map" style="margin: 2px 0;" border="0" />' : 'Google Map'), '</a>', $context['menu_separator'];
]]></add>
</operation>
</file>
There are two sections.... beyond that, I am sticking to what I stated in the readme, I am not going to adopt the mod for you to the theme.
Sorry, its late at night and I shouldnt be doing this at this time of night :)
I have found the bits I need to change.....thanks for making this fab mod!
O.
I just wanted to say thanks for your work on this.
I have a custom request fro you when you have time. I have another google map on my site, which shows the location of facilities. I would like to integrate the two, so that we can show facilities near a member. (and other members near the member).
You can see my maps here:
http://www.nukeworker.com/maps/
Let me know what you think.
Quote from: NukeWorker.com on December 21, 2005, 09:21:18 AM
I just wanted to say thanks for your work on this.
I have a custom request fro you when you have time. I have another google map on my site, which shows the location of facilities. I would like to integrate the two, so that we can show facilities near a member. (and other members near the member).
You can see my maps here:
http://www.nukeworker.com/maps/
Let me know what you think.
This one I shall do, althouh ou will have to convert the markes from the js file into an xml file, someone also requested a way to add in there own pins, so I will be adding in a couple feilds in the features/options to include those xml files as well. Not quite sure how I am going to go about this yet but we shall see... But definatly you get a bit of help for I would like to know whats nuclear around me. :)
Quote from: TLM on December 21, 2005, 11:11:59 AM
Quote from: NukeWorker.com on December 21, 2005, 09:21:18 AM
I just wanted to say thanks for your work on this.
I have a custom request fro you when you have time. I have another google map on my site, which shows the location of facilities. I would like to integrate the two, so that we can show facilities near a member. (and other members near the member).
You can see my maps here:
http://www.nukeworker.com/maps/
Let me know what you think.
This one I shall do, althouh ou will have to convert the markes from the js file into an xml file, someone also requested a way to add in there own pins, so I will be adding in a couple feilds in the features/options to include those xml files as well. Not quite sure how I am going to go about this yet but we shall see... But definatly you get a bit of help for I would like to know whats nuclear around me. :)
No problem, the markers aren't stored in js. I have all the info in a kml andcsv formats. It's also in my Mysql database already.
[edited]
ok, i had a problem...wrong theme...doh!!!
-snork
Quote from: snork13 on December 21, 2005, 06:54:05 PM
[edited]
ok, i had a problem...wrong theme...doh!!!
-snork
LOL, ok so you beat me to asking sure you edited correct theme, but you still might have a problem from what I am looking at.
http://www.phantasyposters.org/forum/?action=membermap - should bring up the map, and its not, unless you just removed that from the index.php. (assuming that is your forum)
Quote from: TLM on December 21, 2005, 07:08:04 PM
Quote from: snork13 on December 21, 2005, 06:54:05 PM
[edited]
ok, i had a problem...wrong theme...doh!!!
-snork
LOL, ok so you beat me to asking sure you edited correct theme, but you still might have a problem from what I am looking at.
http://www.phantasyposters.org/forum/?action=membermap - should bring up the map, and its not, unless you just removed that from the index.php. (assuming that is your forum)
LOL, the .org is my theme test site and haven't added the map there. i did add to phantasyposters.com and it works great.
now, funny thing. I installed at another site i do support for and it works it all the themes but the default theme, it just doesn't show up...it so strange.
thanks for the mod again..
-snork
Two questions:
1. Is there a way to avoid guests having information such as webpage addresses and icq numbers from the maps?
2. I am running SMF on a subdirectory and the portal on another. If I make a wrap the google maps doesn´t work because it is another directory... Do you have any idea to solve this, other than running SMF unwrapped?
Thanks :D
Quote from: Grodden on December 22, 2005, 12:41:41 AM
Two questions:
1. Is there a way to avoid guests having information such as webpage addresses and icq numbers from the maps?
No not yet, give me time, I just pushed it out the door to get people hooked, and the permission system is starting to bog me down alittle.
Quote from: Grodden on December 22, 2005, 12:41:41 AM
2. I am running SMF on a subdirectory and the portal on another. If I make a wrap the google maps doesn´t work because it is another directory... Do you have any idea to solve this, other than running SMF unwrapped?
Thanks :D
I assume your talking about the google API saying, error bad key, go get a vaild one? If so, then no I have no clue what to tell you, other than orginal intention was to run the map out of SMF itself. Although what you could do is make a completely seperate page using some of the code in Sources/MemberMap.php and put in a diffrent key for the diffrent directory. Only catch is you would have to... well I'll post a code snippet from 0.50 that would get you the data you want so you could use a second homemade page. I would do it now but I just shutdown my test server on my lan.
Also for anyone that cares, 0.50 has been pushed back due to I have been doing things for friends and family for the holiday, and probally wont get a chance till after the 25th.
Finally got the map working and I am well impresse by it and so our my forum users.....good work :)
Any luck on getting it so the map automatically zooms in on a location when you first load the map up? i.e. zoom in on the UK.
O.
Thank you TLM, I have just decided I will run SMF unwrapped. It is less problems than :)
Merry Xmas to you and thanks for your really good job! ;)
Just noticed an error on the map page...down at the very bottom it says : "Click hear to go place your pin if you have not already." Shouldn't that be here
What page is required to be changed to make this read correctly?
O.
Quote from: Owain on December 22, 2005, 05:45:46 AM
Finally got the map working and I am well impresse by it and so our my forum users.....good work :)
Any luck on getting it so the map automatically zooms in on a location when you first load the map up? i.e. zoom in on the UK.
O.
Working on that, that might make 0.50 due to I need something else than these permissions now, permissions are driving me up the wall at the moment. Only due to having to figure out how to go about inserting default set values otherwise there will be stuipd people.
Quote from: TLM on December 20, 2005, 01:43:37 PM
"Klicke hier, um Deinen Pin zu setzen oder zu ändern." - is that German for, "Click here to go place your pin if you have not already."? I made a slight typo, the mod went out with hear, instead of here. Also might ask around for some translations once I get to a more complete mod.
Quote from: Owain on December 22, 2005, 11:41:46 AM
Just noticed an error on the map page...down at the very bottom it says : "Click hear to go place your pin if you have not already." Shouldn't that be here
What page is required to be changed to make this read correctly?
O.
As you can see I do know about it, Theme/<insert theme dir here>/MemberMap.template.php, should be right at the top there in <div name="message>BLAH</div>
What decides the pin colours?
TLM take a look at this it explains permissions Adding and checking permissions (http://www.simplemachines.org/community/index.php?topic=59366.0).
Quote from: carbonize on December 22, 2005, 12:31:52 PM
What decides the pin colours?
Gender, can be turned off in the features and options.
Quote from: JayBachatero on December 22, 2005, 01:12:46 PM
TLM take a look at this it explains permissions Adding and checking permissions (http://www.simplemachines.org/community/index.php?topic=59366.0).
That helps alot, has the code I need to add defaults, why could I not find this before. :)
Quote from: TLM on December 22, 2005, 01:40:22 PM
Quote from: carbonize on December 22, 2005, 12:31:52 PM
What decides the pin colours?
Gender, can be turned off in the features and options.
Is there anyway it can be changed to reflect the persons status rather than their gender? ie Admins are red, moderators are blue etc ?
Quote from: carbonize on December 22, 2005, 01:56:08 PM
Quote from: TLM on December 22, 2005, 01:40:22 PM
Quote from: carbonize on December 22, 2005, 12:31:52 PM
What decides the pin colours?
Gender, can be turned off in the features and options.
Is there anyway it can be changed to reflect the persons status rather than their gender? ie Admins are red, moderators are blue etc ?
/me adds to feature request list
Only catch on that right now is that the pins I am using right now only have a limited color set so it would have to be basic colors.
Thats OK I only have a simple forum. Only one Admin, one global mod, two specific forum mods and everyone else is just a member.
Remember that the two forum mod will not show their color on the map since they are board specific moderators ;) They will show up as regular members.
Ok I found the relevant code that says which colour to use for each geneder but how do I change gender to ID_GROUP? Or rather how is ID_GROUP refered to in the markers ?
if (parseFloat(markers[i].getAttribute("gender")) == 0)
It's OK I managed to mod it myself (of course I will have to mod agaiin with each update unless I get bored.
I changed gender to group in the above bit of code (and the other 2) and then I added
$mapdata[$data['ID_MEMBER']]['ID_GROUP'] = $data['ID_GROUP'];
and
group="' . $marker['ID_GROUP'] . '"
to the relevant parts of the code.
How many colours are available ?
Ok I have managed to mod the membermap to suit my needs. It now shows avatars, even uploaded ones and the pin colour indicates the persons forum rank as opposed to their gender. http://carbonize.co.uk/Lazarus/Smf/index.php?action=membermap
Quote from: carbonize on December 23, 2005, 04:45:55 AM
Ok I have managed to mod the membermap to suit my needs. It now shows avatars, even uploaded ones and the pin colour indicates the persons forum rank as opposed to their gender. http://carbonize.co.uk/Lazarus/Smf/index.php?action=membermap
Looks good. I have 2 suggestions.
1) Make the baloon pop up 'onhover' and not on click
2) Load the user profile on click.
Just my 2 cents worth.
1 - Could get messy when you have a lot close together
2 - The username is a link to the profile.
Quote from: carbonize on December 23, 2005, 08:45:18 AM
1 - Could get messy when you have a lot close together
2 - The username is a link to the profile.
That's what makes the world such a wonderfull place. We can dissagree, and and still both be right. And our users will reap the bennifits of our diversity. ;)
Well that and the fact you have to click th epins is not something you can change as far as I am aware. You supply the data but google decides how the map works.
Quote from: carbonize on December 23, 2005, 11:51:48 AM
Well that and the fact you have to click th epins is not something you can change as far as I am aware. You supply the data but google decides how the map works.
My map uses onhover. (And my own icons)
http://www.nukeworker.com/maps/
I plan to integrate the two maps, the one I have with the nuclear facilities, and this one, with users. I'll have custom markers for the users too, little nuclear people on the map will look cool, eh?
Quote from: carbonize on December 23, 2005, 04:45:55 AM
Ok I have managed to mod the membermap to suit my needs. It now shows avatars, even uploaded ones and the pin colour indicates the persons forum rank as opposed to their gender. http://carbonize.co.uk/Lazarus/Smf/index.php?action=membermap
Could not wait for 0.50 could we? The avatars and a updated look to the popup is in 0.50. Although I dont have much interest in membergroup but I can see where people might want that instead so I shall make note of this.
BTW, I really hate permissions and things I am considering scrapping that part all together.
*Last streach, 1.0.5 permissions and then its released as 0.50, BTW, RC2 is in 0.50 as well.
Quote from: TLM on December 23, 2005, 11:00:03 PM
Quote from: carbonize on December 23, 2005, 04:45:55 AM
Ok I have managed to mod the membermap to suit my needs. It now shows avatars, even uploaded ones and the pin colour indicates the persons forum rank as opposed to their gender. http://carbonize.co.uk/Lazarus/Smf/index.php?action=membermap
Could not wait for 0.50 could we? The avatars and a updated look to the popup is in 0.50. Although I dont have much interest in membergroup but I can see where people might want that instead so I shall make note of this.
BTW, I really hate permissions and things I am considering scrapping that part all together.
*Last streach, 1.0.5 permissions and then its released as 0.50, BTW, RC2 is in 0.50 as well.
I think so, too. It makes more sense to have different colours for male/female instead for membergroups.
yeah I have now gone back to using gender for the colour of the pins. I did try using mouseover to show the pins but I didn't like it and it was a bit irratic so I returned to click.
Using mouse overs can get annoying when there are too many pins close together.
Is there a way to make it so that users can choose their place upon register?
0.50 is out folks, dload it, install it, let me know if it blows up on you, I did not do much testing on it. Permissions are there, but no default setting of the permissions, you will have to go and set them your selfs for now, theres view and place.
Also updated how the popup comes on the map to show information in a slightly better way.
Also includes support for 1.1RC2.
Quote from: The Outsider on December 24, 2005, 02:10:26 PM
Is there a way to make it so that users can choose their place upon register?
No. But I am sure it can be done.
You don't need all the TR's. Mine only uses one. I use two TD's if they have an avatar and only one if they don't. Just put all the data in one TD and use <br />. This should create a slight (very slight) speed improvement as there is less data being sent and less messing about on rendering. You may also want to add the title attribute to the online/offline image so that everybody gets a pop up when they put the cursor over it.
Quote from: carbonize on December 24, 2005, 03:33:17 PM
You don't need all the TR's. Mine only uses one. I use two TD's if they have an avatar and only one if they don't. Just put all the data in one TD and use <br />. This should create a slight (very slight) speed improvement as there is less data being sent and less messing about on rendering. You may also want to add the title attribute to the online/offline image so that everybody gets a pop up when they put the cursor over it.
Jeez, everyone is a critic... (j/k, good input there)
I shall fiddle with it and see if it will work still the same for me, perhaps even better, dunno yet.
As for the online/offline thing, thats a good idea, as a fix for now,
Sources/MemberMap.php find
alt="' . $marker['online']['text'] .'"
make it...
alt="' . $marker['online']['text'] .'" title="' . $marker['online']['text'] .'"
hi santas! ;D
i just installed .50 on my smf 1.05 on http://www.xtrac.de
no problems with install ... but there are no member pins shown in the map.
the setting in the profile works ... any idea about that?
Same Thing on my 1.0.5. Mod installed...mod on theme added.
Ver .47 worked fine.
Uninstalled .47 prior to install of .50
Can Place pins, view maps, but no placed pins are shown on the map.
Pins are on the map in the profile map.
Just not visible on the Google Membermap.
Thanks,
And Merry Christmas or Insert whichever applies to you!!!
I think I know what it is,
/me curses for not checking function existance in 1.0.5
I think I used a function in MemberMap.php that does not exist in 1.0.5. Recomendation is to roll back to 0.47 if you still have that file, I do but servers offline, till I get around to double checking on that and making a work around. I did say I did very little testing on this release, and this is what I get for it.
Bummer, I don't have 0.47.......
Anticipation is killing me.. Its christmas eve but I want to get this package open now ::)
Ah heck...
/me fires up server
It'll be on the mod site within 4 minutes of posting this message.
I dont really have time to fix 0.50 right now, but I should be able to get to it monday as far as I know.
(Should be up there right now)
Quote from: TLM on December 25, 2005, 12:55:04 AM
Ah heck...
/me fires up server
It'll be on the mod site within 4 minutes of posting this message.
I dont really have time to fix 0.50 right now, but I should be able to get to it monday as far as I know.
(Should be up there right now)
You set the bar awefully high!!
Thanks ;D
So one last question, should I do a full uninstall and reinstall 0.47 or just replace the MemberMap.php
I have RC1 1.1 and Mod Version 0.50. There is a problem with gender. All People have green coloured pins now.
another problem ...
the map mod is only functional for me as admin ... no normal user or guest can view or use the map ...
ah .. i had to change the permissions ... it works. but the text for the german admin panel is missing. so i couldnt find the changes out of the box ...
I got a couple of hours till the christmas party, so lets see what kind of damage control I can do...
Quote from: ToyDozer on December 25, 2005, 01:01:18 AM
So one last question, should I do a full uninstall and reinstall 0.47 or just replace the MemberMap.php
Yes, full uninstall then install 0.47.
Quote from: Norbert on December 25, 2005, 03:24:16 AM
I have RC1 1.1 and Mod Version 0.50. There is a problem with gender. All People have green coloured pins now.
Will look into this, sure you have the option checked?
I just clean installed 0.50 on my server and could not duplicate this, sure you have the option checked?
Quote from: millworky on December 25, 2005, 05:35:56 AM
another problem ...
the map mod is only functional for me as admin ... no normal user or guest can view or use the map ...
ah .. i had to change the permissions ... it works. but the text for the german admin panel is missing. so i couldnt find the changes out of the box ...
I dont speak german, only binary/hex/and english, any translations that can be provided would be much appreciated.
i tried to install 0.47 but my package manager says the archive is corrupted ...
Solved the 1.0 problem of no pins, they changed from $themeUser to $memberContext in 1.1. Updated code for this, now to tackle some of the other little problems lurking around...
wow. now it works for me ... good job and many thanks for the fast help.
no user pics in the bubbles? is that okay?
0.51 should have all the fixings you will need, chances are the way I am testing this one, there should not be anything but feature complaints of how it does not look right... If my servers hds will quit acting up on me...
This mod ROCKS!
Thanks for all the work!
Is there anyway to narrow the scope of the initial view? My club is regional in nature, so having the map focused on a smaller area would be great.
And what about an address field where the member can enter their street/city/state info to help pin-point their location.
Thanks again for all the work, this looks great.
-DaMacGuy
I installed the Google Map mod twice in error - perhaps 2 different versions. When I did this, I had two map buttons on my main forum page. I was able to remove this by editing the default theme index.template.php file. I still have 2 'Google Member Map' options in the Admin - 'Edit Features and Options' page and I can't figure out how to get rid of it.
How do I remove the duplicate entry?
Quote from: StrangeLove on December 26, 2005, 09:49:30 PM
I installed the Google Map mod twice in error - perhaps 2 different versions. When I did this, I had two map buttons on my main forum page. I was able to remove this by editing the default theme index.template.php file. I still have 2 'Google Member Map' options in the Admin - 'Edit Features and Options' page and I can't figure out how to get rid of it.
How do I remove the duplicate entry?
Sources/ModSettings.php, I belive, I am tired and not looking at my code, just dignosed my server with terminal hard drive failure which also is my test server for the mod.
Quote from: TLM on December 26, 2005, 09:55:45 PM
Sources/ModSettings.php, I belive, I am tired and not looking at my code, just dignosed my server with terminal hard drive failure which also is my test server for the mod.
Right you are - thank you.
Sorry to be a pest... I have read this thread 8 times now... still can't find an answer...
I have uploaded .50 of the WONDERFUL MOD!!! and everything works PERFECT!!!..well.. in default theme it works perfect!
I am using Bloc's Helios theme and everything works perfect except 2 things...
First the location of the "Google Map Link" is located near the very top... this isn't a big problem, I will find the location and change that manually, but problem two is my concern...
The text on the buttons is white, and the background is also white so the buttons (on the map) do not show up (the satellite, map, hybrid buttons)
I have MANUALLY installed this mod into the Helios theme, and still the buttons text stays white...
Any help on this one? PLEASE??
You can see the problem here: http://invasion.cleverwasteoftime.com
THANKS!
I have fixed the first problem... I made a "google map button" and placed the link at the bottom of the board index. Looks nice...
Now all that is left is to figure out how to make the image buttons readable... SIGH
Anyone?
One, I dont see the button but then again in this current state of mind of mine, I could be easily missing it. I did manage to see that you have a small prob on the map its self, I belive the CSS works in .50, dunno though, .50 was rushed out and not tested. I am assuming the image buttons you speak of are on the map itself.
Quote from: TLM on December 27, 2005, 08:48:03 PM
I am assuming the image buttons you speak of are on the map itself.
I think he is because I have the same issue. White text on white background. It's the buttons on the map.
EDIT: I'm using the default theme. You can see what I mean here: http://www.sinning.org/forum/index.php?action=membermap
*delete's post he had made about a fix for you guys...
Bigblizz, your using .50, and the stylesheet is not currently working with that version.
revgreed, not a clue about you, but suspect the same....
haha, I guess I could've told you the version. Sorry about that. Anyway, that edit to style.css already occured during the installation. I did a quick triple check and it's still there. However, the result is still the same - white on white.
EDIT: Okay! I'll take a deeper look into it. I love this mod, by the way....it's one of the best I've seen.
The button in on the bottom board bar, between the post icon menu and the markread.gif. Just above the shout box.
I had also installed .47 and had the same problem...
so if the style sheet isn't working, what should I do to fix it?
Quote from: BiGBLiZZ on December 27, 2005, 09:56:21 PM
The button in on the bottom board bar, between the post icon menu and the markread.gif. Just above the shout box.
I had also installed .47 and had the same problem...
so if the style sheet isn't working, what should I do to fix it?
I am sorry man but you lost me, I see the button and can read it, I have no clue what problem your describing.
Unless your talking about the buttons in the map itself where Map/Satelite/Hybrid are suppose to be... That your a little screwed on, for that is getting picked up from the stylesheet using the standard a:link which you have set to such a light color it just becomes white/white there. As far as I know there is no way to change the color of those buttons... Try the solution below...
The button is the link to the member map. The buttons with the text problem are ON the member map... the three in the top right corner of the map... :D
Ah found a solution I think for you guys, dunno if it works, my test servers right now are kinda shot.
$themedir/MemberMap.template.php
<div id="map" style="width: 700px; height: 500px"></div>';
Make it,
<div id="map" style="width: 700px; height: 500px; color: #000000;"></div>';
I dunno if it works or not but give it a whirl... Sorry about not understanding what you were stating, its been one of those really long drawn out days where I have no energy to deal with anything.
*edit* Managed to get a test server running long enough to test, should fix your problems, manage to make the buttons red on mine using #ff0000*/edit*
That did the trick!!! Thank you sooooooo very much! I really appreciate all your hard work! I know what you mean too I have had one of those days as well, but I feel mine wasn't as fun as yours! LOL
Enjoy your week! And thanks again!
Quote from: BiGBLiZZ on December 27, 2005, 10:27:08 PM
That did the trick!!! Thank you sooooooo very much! I really appreciate all your hard work! I know what you mean too I have had one of those days as well, but I feel mine wasn't as fun as yours! LOL
Enjoy your week! And thanks again!
Next time speak in clearer and smaller words for those that have had a bad month... So far I think this mod has been the only good thing this month. I dont see it getting any better for weeks...
Looks like this worked for both of you, so I am gonna put it in for next release as well when ever thats gonna be.
Just as a note.. the mod works perfectly for the tech blue template, no extra edits needed!
check it out here: http://arkserver.servehttp.com/forum/index.php?action=membermap
this mod is cool :)
It's not working and you have to login.
-JayBachatero
Quote from: JayBachatero on December 28, 2005, 11:25:41 AM
It's not working and you have to login.
-JayBachatero
I take that back, it only works when logged in as admin. I should have tested that huh.. :(
//edit
try now :) it works
Here's a simple question - which file do I have to edit to change the text below the member map?
"Click hear to go place your pin if you have not already."
Figures I'd have an English major as a forum member. ;-)
Quote from: dtm.exe on December 28, 2005, 12:39:26 PM
Quote from: JayBachatero on December 28, 2005, 11:25:41 AM
It's not working and you have to login.
-JayBachatero
WFM.
Quote from: ArkServer on December 28, 2005, 11:39:03 AM
Quote from: JayBachatero on December 28, 2005, 11:25:41 AM
It's not working and you have to login.
-JayBachatero
I take that back, it only works when logged in as admin. I should have tested that huh.. :(
//edit
try now :) it works
He recently changed it.
-JayBachatero
I installed it 1 min before my first post here and forgot to set the permission. sry :P
tho.. this mod and the template works fine and no extra edits are needed.
Quote from: damacguy on December 28, 2005, 12:05:40 PM
Here's a simple question - which file do I have to edit to change the text below the member map?
"Click hear to go place your pin if you have not already."
Figures I'd have an English major as a forum member. ;-)
Yeah, slap me silly and call me a baffon for missin that when I packaged 0.47,
A) Install 0.50 and dont forget to check permissions
B) $themedir/MemberMap.template.php
Is anyone else having a problem with the .50 package? I get an error when I try and upload the file through my copy of SMF , and it seems corrupt when I try and uncompress it on my local machine.
Also, the link from the SMF Package Server is for .47. Hmm. ::)
Quote from: damacguy on December 28, 2005, 02:00:09 PM
Is anyone else having a problem with the .50 package? I get an error when I try and upload the file through my copy of SMF , and it seems corrupt when I try and uncompress it on my local machine.
Also, the link from the SMF Package Server is for .47. Hmm. ::)
It works from my PC though. Maybe it's just me.
When I get around to to it, and finsh what I have been tweaking in 0.51 I shall post it and that should fix the package manager dloading 0.47 when it says 0.50.
Yeah...when you try to install from SMF server...it says .50 but intalls .47
I just DL'd it and uploaded it.
TLM...What was the fix for 1.0.5 on .50
I tried to edit the code as mentioned in an ealier post. Any further thoughts on that or should I just revert and be patient for .51
Thanks for the Great Mod BTW
Yea since .47 was added after .50 was added the package manager sees .47 as newer. YOu will have to download it from the mod site and uploaded though the package manger.
-JayBachatero
Quote from: PhatTyres on December 28, 2005, 02:07:43 PM
TLM...What was the fix for 1.0.5 on .50
I tried to edit the code as mentioned in an ealier post. Any further thoughts on that or should I just revert and be patient for .51
Thanks for the Great Mod BTW
//Ok this is block of code takes care of the entire load all member data into $themeUser/$memberContext on per # basis
$temp = array();
while ($row = mysql_fetch_array($request, MYSQL_ASSOC))
$temp[] = $row['ID_MEMBER'];
loadMemberData($temp);
foreach ($temp as $v)
loadMemberContext($v);
// Seeing how SMF 1.0 uses $themeUser and SMF 1.1 uses $memberContext, lets just make our own now?
if (isset($memberContext))
$data = $memberContext;
elseif (isset($themeUser))
$data = $themeUser;
and then change the foreach ($memberContext... to foreach($data
I thought I posted it but guess not, oh well, I am now going thru making sure that it installs/uninstalls cleanly and works all the way thru, also added a fix to those map issues when people have dark background with light text causing the map buttons not to be readable...
Depending on how I feel once I get back from getting new glasses, I might go ahead and finsh up the testing tonight, unless something comes up.
Thanks...
I'll give it a whirl...Thanks for the quick response
/me points to gmail notifier...
If I have missed something I apologise.....
I downloaded the new .50 version, uninstalled .47, applied the .50 and the pins do not show on the main map.
Reverted back to the .47 version and the pins are displayed again....
O.
Quote from: Owain on December 28, 2005, 06:10:01 PM
If I have missed something I apologise.....
I downloaded the new .50 version, uninstalled .47, applied the .50 and the pins do not show on the main map.
Reverted back to the .47 version and the pins are displayed again....
O.
Your using 1.0.5 arnt you? You sure cant read.... (Sorry not quite in the best of moods right now)
Quote from: TLM on December 28, 2005, 02:16:10 PM
Quote from: PhatTyres on December 28, 2005, 02:07:43 PM
TLM...What was the fix for 1.0.5 on .50
I tried to edit the code as mentioned in an ealier post. Any further thoughts on that or should I just revert and be patient for .51
Thanks for the Great Mod BTW
//Ok this is block of code takes care of the entire load all member data into $themeUser/$memberContext on per # basis
$temp = array();
while ($row = mysql_fetch_array($request, MYSQL_ASSOC))
$temp[] = $row['ID_MEMBER'];
loadMemberData($temp);
foreach ($temp as $v)
loadMemberContext($v);
// Seeing how SMF 1.0 uses $themeUser and SMF 1.1 uses $memberContext, lets just make our own now?
if (isset($memberContext))
$data = $memberContext;
elseif (isset($themeUser))
$data = $themeUser;
and then change the foreach ($memberContext... to foreach($data
I thought I posted it but guess not, oh well, I am now going thru making sure that it installs/uninstalls cleanly and works all the way thru, also added a fix to those map issues when people have dark background with light text causing the map buttons not to be readable...
Depending on how I feel once I get back from getting new glasses, I might go ahead and finsh up the testing tonight, unless something comes up.
Has anyone gotten this to work inside Mambo/Joomla? I found it works great in Firefox, but when you use IE you get a message that the API key was registered for a different website.
Quote from: agenda9 on December 29, 2005, 08:09:52 PM
Has anyone gotten this to work inside Mambo/Joomla? I found it works great in Firefox, but when you use IE you get a message that the API key was registered for a different website.
Link to it for one? Two, I dont plan on really helping to much due to I dispise mambo/joomla. Three, chances are you are trying to load it from two diffrent urls. The API key is very picky about the directory it is loaded from.
Hi,
getting this same problem 1.05/ no pins on the main map.
I found the block of code inside of 2 functions, in membermap.php
tried changing the code block on both with no luck.
I'm sure it's probably something I'm doing wrong, is there an easy way
to debug the membercontext / thememember variable to try an troubleshoot
the problem ? or a way to see the contents of whats being passed to google ?
basically my php skills aren't that great, where I'm not coding
like I used to... thanks.
Quote from: TLM on December 28, 2005, 08:12:31 PM
Quote from: Owain on December 28, 2005, 06:10:01 PM
If I have missed something I apologise.....
I downloaded the new .50 version, uninstalled .47, applied the .50 and the pins do not show on the main map.
Reverted back to the .47 version and the pins are displayed again....
O.
Your using 1.0.5 arnt you? You sure cant read.... (Sorry not quite in the best of moods right now)
Quote from: TLM on December 28, 2005, 02:16:10 PM
Quote from: PhatTyres on December 28, 2005, 02:07:43 PM
TLM...What was the fix for 1.0.5 on .50
I tried to edit the code as mentioned in an ealier post. Any further thoughts on that or should I just revert and be patient for .51
Thanks for the Great Mod BTW
//Ok this is block of code takes care of the entire load all member data into $themeUser/$memberContext on per # basis
$temp = array();
while ($row = mysql_fetch_array($request, MYSQL_ASSOC))
$temp[] = $row['ID_MEMBER'];
loadMemberData($temp);
foreach ($temp as $v)
loadMemberContext($v);
// Seeing how SMF 1.0 uses $themeUser and SMF 1.1 uses $memberContext, lets just make our own now?
if (isset($memberContext))
$data = $memberContext;
elseif (isset($themeUser))
$data = $themeUser;
and then change the foreach ($memberContext... to foreach($data
I thought I posted it but guess not, oh well, I am now going thru making sure that it installs/uninstalls cleanly and works all the way thru, also added a fix to those map issues when people have dark background with light text causing the map buttons not to be readable...
Depending on how I feel once I get back from getting new glasses, I might go ahead and finsh up the testing tonight, unless something comes up.
well I've been at it for hours and run out of things to check.
I went over each of the mods by hand and they are right.
the fields in the table are there, when a user sets the pin, it saves the
long. and lat. properly as far as I can tell.
The issue definately appears to be in the MapsXML() function
but I just can't tell why it's not running the way it should.
thanks for any comments/suggestions etc.
/* edit */
good lawd I finally got it.
Thanks TLM for an awesome mod ! much appreciated.
Quotegood lawd I finally got it.
What did it take...I gave up and decided to wait for .51 for 1.0.5
I chased down the patch as much as I could!!!
Well, 1.1RC2 is officially out.
I just tried to reinstall .50 and the only problem I'm seeing is the Map button isn't showing up. The code I have in index.template.php is...
// Google Maps Mod
if (($modSettings['googleMapsEnable']) && (allowedTo('googleMap_view')))
echo ($current_action == 'membermap' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'membermap' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=membermap">' , $txt['googleMap'] , '</a>
</td>' , $current_action == 'membermap' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
There's not a 'blank' or 'missing graphic' button. It's just like it's not in the index.template.
Suggestions?
/me coughs, permissions
Ok seeing how 1.1 RC2 went pub, I just finshed testing, hopefully 0.51 is better than its previous for people. Includes a few small fixes. I removed alternate languages for now, but expect those to come back sometime.
Quote from: TLM on December 31, 2005, 04:26:20 PM
/me coughs, permissions
I'm so silly... DUH! :o
Thanks! :D
Same problem here just installed .51 on 1.1 RC2.
When logged in as admin The map works fine, log in as a member and there is no tab and nothing in the profile.
What file needs the permissions changed?
Membermap.template.php is 644 is this correct?
/smackshead
Nevermind
Cool
Thanks....51 works with 1.0.5 perfectly.
Now...Any ideas on setting zoom on specific region of the map?
Quote from: PhatTyres on December 31, 2005, 08:23:11 PM
Cool
Thanks....51 works with 1.0.5 perfectly.
Now...Any ideas on setting zoom on specific region of the map?
Yes I am trying right now to work on two diffrent requests, the default viewpoint and the input the coordinates by hand.
The coordinates by hand will probally come about first if I can overcome one last hurdle which is validating that they did not enter letters instead of numbers.
The default viewpoint, I am not sure how to go about having that option in admin panel, due to I don't think I can easily put the map in there to where you could just go to the area and save.... Probally going to have to have a manual input but not sure on how to go about inputing that either.
Great...
and Thanks Again...
and
Happy New Year
Quote from: PhatTyres on December 31, 2005, 08:23:11 PM
Cool
Thanks....51 works with 1.0.5 perfectly.
Now...Any ideas on setting zoom on specific region of the map?
I am open to anyideas on how you might think I should implement this.
In admin view of the Map
Have a button or text link that shows/says set current zoom level.
The button/link should be visible only to admin/permisions
my$0.02
Now that RC2 is out it would look better if you sue tabs for the map and adding the pin instead of having it in the profile.
-JayBachatero
Quote from: JayBachatero on January 01, 2006, 12:42:45 AM
Now that RC2 is out it would look better if you sue tabs for the map and adding the pin instead of having it in the profile.
-JayBachatero
That might get further overlooked, I know people that barly fill there profile, much less do anything on sites.
Yea most members do not edit their profile. Maybe a secondary option?
-JayBachatero
The only other change I would prefer is that the map defaults to MAP and not SATELLITE or HYBRID when in the profile page.
is it possible for members to relocate their pin after the initial placement?
Quote from: Redeye on January 01, 2006, 06:26:09 AM
The only other change I would prefer is that the map defaults to MAP and not SATELLITE or HYBRID when in the profile page.
Soon will be an option...
Quote from: carbonize on January 01, 2006, 10:35:05 AM
is it possible for members to relocate their pin after the initial placement?
Click to remove, or re-click somewhere on the map to replace.
Thank you for this wonderful Mod. I liked it so much I bridged my Coppermine Gallery to SMF so I can have this functionality.
I tweaked the function in MemberMap.template.php to show different text/link based on if the user is logged in.
For example:
logged in users see:
QuoteClick here to place your pin if you have not already. You can also view this in Google Earth with the kml file.
anonymous users see:
QuoteTo add your pin, please log in or register.
function template_map() {
global $context, $modSettings, $scripturl;
if ($modSettings['googleMapsEnable']) {
echo '
<table width="100%"><tr>
<td class="windowbg2" colspan="2" valign="middle" align="center">
<div id="map" style="width: 700px; height: 500px"></div>';
if ($context['user']['is_logged']) {
echo '<div id="message"><a href="', $scripturl, '?action=profile;sa=forumProfile">Click here to place your pin if you have not already.</a> You can also view this in <a href="http://earth.google.com/">Google Earth</a> with the <a href="index.php?action=.kml">kml file</a>.</div>';
} else {
echo '<div id="message">To add your pin, please <a href="', $scripturl, '?action=login">log in</a> or <a href="', $scripturl, '?action=register">register</a></div>';
}
echo '
<script src="http://maps.google.com/maps?file=api&v=1&key=' . $modSettings['googleMapsKey'] . '" type="text/javascript"></script>
<script type="text/javascript" language="JavaScript" src="', $scripturl, '?action=membermap;sa=.js"></script>
</td>
</tr></table>';
}
}
Got this mod working straight out of the box.
I would like to link it into Google Earth and have used http://www.example.com/forums/index.php?action=.kml as in the first post but get parse errors in GE.
"File has missing or bad root element at line 2"
Is it just ?action=.kml or something more specific as a file name etc.
EDIT: If I put that URL in the browser and download the file I can then double click it and it loads GE with all the member pins in place. Only thing strange that happens is that the member usernames are shown twicw for each pin.
Oh-no...
Google Member Map 47 was working fine on my SMF1.0.5. board (version 50 didn't).
Last night I upgraded SMF 1.0.5. to 1.1.RC2 (uninstalled Google Member Map first), and now when I reinstall it I'm getting a pop-up message that "The Google Maps API key used on this website was registered for a different website. Generate a new key at... blah blah blah)" :'(
I've checked the API key - and it is the same as the one I've been using the whole time. Goes without saying that I've installed the new SMF 1.1RC2 over the old SMF 105 - so the location and website settings are all the same...
Tried the new Google Member Map 51 and I'm getting the same message.
Any ideas?
Are you sure the URL for your website is the same?
Something like http://yourhost.com/smf/ vs. http://yourhost.com/forum/ or http://yourhost.com/community/ etc.
what does this mod do exactly??
See TLM's own site with it in action
http://www.teamplayfirst.com/forums/index.php?action=membermap
Quote from: Redeye on January 02, 2006, 11:05:01 AM
See TLM's own site with it in action
http://www.teamplayfirst.com/forums/index.php?action=membermap
woah cool!
I am so using that!!! :D :D
Quote from: Redeye on January 02, 2006, 04:21:44 AM
Got this mod working straight out of the box.
I would like to link it into Google Earth and have used http://www.example.com/forums/index.php?action=.kml as in the first post but get parse errors in GE.
"File has missing or bad root element at line 2"
Is it just ?action=.kml or something more specific as a file name etc.
EDIT: If I put that URL in the browser and download the file I can then double click it and it loads GE with all the member pins in place. Only thing strange that happens is that the member usernames are shown twicw for each pin.
Making an assumption here... http://www.honda-varadero-uk.org/forum/ is your forum, and
http://www.honda-varadero-uk.org/forum/?action=.kml is for the google earth kml...
If you would like to see why GE errors, logout of the forum and try to aquire the data... "Sorry, you're not allowed to view the Member Map." It works if you dload the data and then load it in for it checks your permissions, although I dont remember putting any permissions in that part of MemberMap.php.
Also the ?action=.kml is just a way to call the GE part of my code, I just figured I would call it due to thats one way GE stores the data in .kml files.
but why is this map named after google ??
Quote from: Prasad007 on January 02, 2006, 11:13:09 AM
but why is this map named after google ??
It uses the Google Map API (http://www.google.com/apis/maps/) (Google Map (http://maps.google.com))
Quote from: TLM on January 02, 2006, 11:14:18 AM
Quote from: Prasad007 on January 02, 2006, 11:13:09 AM
but why is this map named after google ??
It uses the Google Map API (http://www.google.com/apis/maps/) (Google Map (http://maps.google.com))
oh okay cool! :) Thanks for the info!
Quote from: darian on January 02, 2006, 07:56:44 AM
Oh-no...
Google Member Map 47 was working fine on my SMF1.0.5. board (version 50 didn't).
Last night I upgraded SMF 1.0.5. to 1.1.RC2 (uninstalled Google Member Map first), and now when I reinstall it I'm getting a pop-up message that "The Google Maps API key used on this website was registered for a different website. Generate a new key at... blah blah blah)" :'(
I've checked the API key - and it is the same as the one I've been using the whole time. Goes without saying that I've installed the new SMF 1.1RC2 over the old SMF 105 - so the location and website settings are all the same...
Tried the new Google Member Map 51 and I'm getting the same message.
Any ideas?
Quote from: damacguy on January 02, 2006, 10:34:15 AM
Are you sure the URL for your website is the same?
Something like http://yourhost.com/smf/ vs. http://yourhost.com/forum/ or http://yourhost.com/community/ etc.
What damacguy said... and if worse comes to worse, just go get a new API key.Sorry just woke up, make sure that there is not a tiny bit of the key missing. Also simply aquiring a new key works just as well.
Quote from: TLM on January 02, 2006, 11:11:56 AM
Quote from: Redeye on January 02, 2006, 04:21:44 AM
Got this mod working straight out of the box.
I would like to link it into Google Earth and have used http://www.example.com/forums/index.php?action=.kml as in the first post but get parse errors in GE.
"File has missing or bad root element at line 2"
Is it just ?action=.kml or something more specific as a file name etc.
EDIT: If I put that URL in the browser and download the file I can then double click it and it loads GE with all the member pins in place. Only thing strange that happens is that the member usernames are shown twicw for each pin.
Making an assumption here... http://www.honda-varadero-uk.org/forum/ is your forum, and
http://www.honda-varadero-uk.org/forum/?action=.kml is for the google earth kml...
If you would like to see why GE errors, logout of the forum and try to aquire the data... "Sorry, you're not allowed to view the Member Map." It works if you dload the data and then load it in for it checks your permissions, although I dont remember putting any permissions in that part of MemberMap.php.
Also the ?action=.kml is just a way to call the GE part of my code, I just figured I would call it due to thats one way GE stores the data in .kml files.
I understand now. It's using the forum permissions. I set it to allow guests to view and it worked OK!
Thanks.
Quote from: TLM on January 02, 2006, 11:18:41 AM
Quote from: darian on January 02, 2006, 07:56:44 AM
Oh-no...
Google Member Map 47 was working fine on my SMF1.0.5. board (version 50 didn't).
Last night I upgraded SMF 1.0.5. to 1.1.RC2 (uninstalled Google Member Map first), and now when I reinstall it I'm getting a pop-up message that "The Google Maps API key used on this website was registered for a different website. Generate a new key at... blah blah blah)" :'(
I've checked the API key - and it is the same as the one I've been using the whole time. Goes without saying that I've installed the new SMF 1.1RC2 over the old SMF 105 - so the location and website settings are all the same...
Tried the new Google Member Map 51 and I'm getting the same message.
Any ideas?
Quote from: damacguy on January 02, 2006, 10:34:15 AM
Are you sure the URL for your website is the same?
Something like http://yourhost.com/smf/ vs. http://yourhost.com/forum/ or http://yourhost.com/community/ etc.
What damacguy said... and if worse comes to worse, just go get a new API key.
Sorry just woke up, make sure that there is not a tiny bit of the key missing. Also simply aquiring a new key works just as well.
- website name is the same - no variations of the subdomain (and this never made a difference before anyway)
- no portion of the API key is missing - I've checked several times - and in fact, the API key was already "loaded" from the previous working install (though I have repasted the original key to be sure)
Of course one can say "just get a new key", I'm aware that this will be my last resort. But how nice is that - to lose all the listings that were already posted? That's like saying: "If your forum crashes, just reinstall it and start again...". It's nice to try and recover what you have already first.
And most importantly, if there is a bug somewhere that shows it's nasty little head when updating the forum, it's nice to be aware of it ;-) Sure, it's "just me" right now - but if 50 other users all lose their Map data it's going to be a lot less fun than my own little problem. Besides - there might be a simple cause that can be quickly adjusted, so it's worth posting these problems in the forum in the hope of a solution :)
Quote from: darian on January 02, 2006, 12:25:04 PM
- website name is the same - no variations of the subdomain (and this never made a difference before anyway)
Yeah saw that the second time I read your post.
Quote from: darian on January 02, 2006, 12:25:04 PM
- no portion of the API key is missing - I've checked several times - and in fact, the API key was already "loaded" from the previous working install (though I have repasted the original key to be sure)
Only idea is that the db corrupted it maybe? You said 1.0.5 to 1.1 RC2 right? Guess I will have to test this to see what happens.
Quote from: darian on January 02, 2006, 12:25:04 PM
Of course one can say "just get a new key", I'm aware that this will be my last resort. But how nice is that - to lose all the listings that were already posted? That's like saying: "If your forum crashes, just reinstall it and start again...". It's nice to try and recover what you have already first.
Not nessarly, as long as the member table does not get erased which is not what getting a new API key does.
Quote from: darian on January 02, 2006, 12:25:04 PM
And most importantly, if there is a bug somewhere that shows it's nasty little head when updating the forum, it's nice to be aware of it ;-) Sure, it's "just me" right now - but if 50 other users all lose their Map data it's going to be a lot less fun than my own little problem. Besides - there might be a simple cause that can be quickly adjusted, so it's worth posting these problems in the forum in the hope of a solution :)
I think you may be on to something about the 1.0.5 to 1.1 RC2 but will have to test this. But as long as the members table in the forums DB does no get altered then the users of that forum should not loose there lat/long points.
Thanx TLM
Sure enough, a new key did the job - didn't realise that you used lat/long data stored in the profile to do the trick, and that the map itself is actually no more than a background ;-) ...smart!
Anyway, all's up and running again - thanks 8)
Here's a suggested add-on for this mod - Plazes compatibility.
Plazes tracks hotspots and can show where your friends are at if they're on-line.
Check it out at http://beta.plazes.com.
It'd be cool to have the pins move to wherever the member is currently at while logged on (and maybe default to a home location when off-line with a different colored pin - but I think we're limited to three colors for pins).
Quote from: damacguy on January 05, 2006, 12:10:13 AM
Here's a suggested add-on for this mod - Plazes compatibility.
Plazes tracks hotspots and can show where your friends are at if they're on-line.
Check it out at http://beta.plazes.com.
It'd be cool to have the pins move to wherever the member is currently at while logged on (and maybe default to a home location when off-line with a different colored pin - but I think we're limited to three colors for pins).
Unfortantly I dont think so on this idea. Granted its a nifty idea but just would be a bit harder than you think it is. Just gonna keep the mod simple.
Awesome mod, thanks so much! 8)
Roger
Quote from: TLM on January 05, 2006, 09:36:19 PM
Quote from: damacguy on January 05, 2006, 12:10:13 AM
Here's a suggested add-on for this mod - Plazes compatibility.
Plazes tracks hotspots and can show where your friends are at if they're on-line.
Check it out at http://beta.plazes.com.
It'd be cool to have the pins move to wherever the member is currently at while logged on (and maybe default to a home location when off-line with a different colored pin - but I think we're limited to three colors for pins).
Unfortantly I dont think so on this idea. Granted its a nifty idea but just would be a bit harder than you think it is. Just gonna keep the mod simple.
Yeah, I agree keep it simple. I think the plazes would require each member to register for plazes also.
Cool Idea but I think general info is best as far as locations go.
really like this mod, but getting a funny error. only admins of the forum get the map button and options. regular members cant see any of it. also when i log into the admin panel and go to the map options, the title of tab still says "karma" and not member map. but more importantly, what do i have to do to get regular members able to use this awesome mod?
Quote from: Rv5 on January 07, 2006, 10:07:05 PM
really like this mod, but getting a funny error. only admins of the forum get the map button and options. regular members cant see any of it. also when i log into the admin panel and go to the map options, the title of tab still says "karma" and not member map. but more importantly, what do i have to do to get regular members able to use this awesome mod?
Forum version, version of mod you installed, any other mods installed, and link to your board?
Could be permissions or many other things that could have gone wrong.
yup, im an idiot. it was permissions. i didnt know you had it broke down by member groups. good idea. first mod that ive seen do that. shoulda just looked a little harder before asking. love this mod!
Someone was asking about having a zoomed in map of an area instead of the world map?
Well, if you want to play about a little getting it right you only need you Lat and Lon and zoom level.
This is mine set up to show the UK
function LoadMap() {
//Define our map...
var map = new GMap(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
//Find 0,0 and zoom to 16(Reasonable level)
map.centerAndZoom(new GPoint(358,54), 12);
In the last line (new GPoint(358,54), 12) is to show UK from the default (new GPoint(0,0), 16)
As a starter (0,0) is the point where the point where the Equator intersects with the Meridian (GMT London).
The first numeric is E or W of that, to go E enter 1 or 2 or 3 etc. To go W enter 359 or 358 etc.
The second numeric is N or S and follows the same rules.
EG: Kansas City is (266,39)
The easy way to get your co-ordinates is to go to http://maps.google.com/
Zoom in and double click on where you want to center your map.
Then click "Link to page"
Copy the URL in the address bar as below which is for Edmonton, Alberta.
http://maps.google.com/?ll=53.514185,-113.400879&spn=4.41703,10.305176
The 53 and -113 are the numbers you want.
The first is 360 - 113 and the the second is 53 so your co-ordinates are (247, 53) and then play with the zoom which is 16 as default.
Thats one way to do it I suppose till I make an admin panel interface, I might just do a layze thing and use the lovly decimal format for lat/long, that you aquire the same way...
Hei,
i have installed the Mod, but i never have a Map?
The language is in German, i modified the PHP files.
SMF 1.1 RC1
http://www.unsere-pfoten.hostgen24.de/forum/index.php
User: test
pw: test
P.S.: Sorry for my bad English, i hope you understand :-[
I have it, i have the wrong Site Url.
It´s a very nice Mod, thanks al lot :D
Quote from: Redeye on January 08, 2006, 07:40:42 AM
Someone was asking about having a zoomed in map of an area instead of the world map?
Well, if you want to play about a little getting it right you only need you Lat and Lon and zoom level.
function LoadMap() {
//Define our map...
var map = new GMap(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
//Find 0,0 and zoom to 16(Reasonable level)
map.centerAndZoom(new GPoint(358,54), 12);
Great tip Redeye... I inserted this before the commenteded out "The Old template thing that works" section, but I get a template parse error on the 'var map' line.
Quote from: damacguy on January 08, 2006, 02:41:37 PM
Quote from: Redeye on January 08, 2006, 07:40:42 AM
Someone was asking about having a zoomed in map of an area instead of the world map?
Well, if you want to play about a little getting it right you only need you Lat and Lon and zoom level.
function LoadMap() {
//Define our map...
var map = new GMap(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
//Find 0,0 and zoom to 16(Reasonable level)
map.centerAndZoom(new GPoint(358,54), 12);
Great tip Redeye... I inserted this before the commenteded out "The Old template thing that works" section, but I get a template parse error on the 'var map' line.
It's only the "(358,54), 12)" that you change in membermap.php, don't insert any of the code, that was just to show where to change.
I thought about that, but that whole section is commented out */ through /*. I changed the lat/lon/zoom though and no change. I removed the comment tags and now get the error...
Fatal error: Cannot redeclare template_map() (previously declared in /Library/WebServer/Documents/smf/Sources/Load.php(1613) : eval()'d code:7) in /Library/WebServer/Documents/smf/Sources/Load.php(1613) : eval()'d code on line 25
.
I've running RC2, with the .51 mod.
Is this in membermap.template?
Man you guys seriouly cant wait for me to put this in myself for you so its nice and clean and you dont go mucking it up? :P
If you really want to do this the hard way...
Sources/Membermap.php
find...
//Find 0,0 and zoom to 16(Reasonable level)
map.centerAndZoom(new GPoint(0, 0), 16);
edit to be what ever you want, and I should really remove that old code that I simply commented out in that template file...
There's quite a lot of other things you can do with the GoogleMap API.
I've set up a map today that shows start and end points and hotels on our bike ride-outs. It's not as neat as TLM's MemberMap as you have to insert bits of html manually for the pointers, but it's fun to play with.
Demo: http://www.honda-varadero-uk.org/forum/index.php?page=58
Thanks to both TLM and Redeye. I have now quieted one more nagging member.
:D
Great mod though, it works spot on as long as I run the smf default theme
I've recently upgrade to SMF 1.1rc2 I'm not using the default theme I'm using one based on the old default theme
I've tried to follow the instructions for getting mods to work in other themes but struggling...
Anybody got this mod working in other themes, the Babylon theme seems the closest to what I've got
what needs changing where
cheers
Steve
***** update ignore this, sorted it ******
With Babylon all I had to do was make a map button upload it to /Themes/babylon/images/english/ and add this above
Quote// The [calendar]!
in index.template.php
// Google Maps Mod
if (!$context['user']['is_guest'])
echo '
<a href="', $scripturl, '?action=membermap" >', ($settings['use_image_buttons'] ? ' <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/map.gif" style="margin: 2px 0;" alt="' . $txt['googleMap'] . '" target="_blank" border="0" />' : $txt['googleMap']), '</a>', $context['menu_separator'];
EDIT
Just read you sorted it out LOL,, oh well this maybe of some use use to somebody else :)
Amazing isn't you add a new feature and then the requests start coming in from members
Seems reading above one of the ideas is possible
Add points of interest to the map...eg my forum is 4x4 based, so pins showing location of service garages , parts outlets etc..
reading the list of things to do , I get the impression this is in the pipeline....???
Or if not hows it done ??
also this may have been mentioned but if pins are put in to highlight hotels etc as mentioned a few replies back...then is it possible to have layers...ie click an icon and the pins for hotels appear, click another and pubs appear..
cheers
Quote from: Motorhead on January 10, 2006, 01:57:25 AM
Add points of interest to the map...eg my forum is 4x4 based, so pins showing location of service garages , parts outlets etc..
reading the list of things to do , I get the impression this is in the pipeline....???
Or if not hows it done ??
also this may have been mentioned but if pins are put in to highlight hotels etc as mentioned a few replies back...then is it possible to have layers...ie click an icon and the pins for hotels appear, click another and pubs appear..
All in due time, but you would have to place all those pins youself for points of interest. There wont be a interface supplied by me to allow you to do that so you would have to find your own way of placing those points. As I said in things to come, an external refrence for points of interest/things. I just need time to sit down and work this out, I have right now on my plate a lovly little project that basicly dictates a pass or fail, x3 classes, and those projects for those classes will take about 4 months minimum...
Quote from: v2maxx on January 11, 2006, 04:12:43 PM
Quote from: TLM on January 11, 2006, 04:03:50 PM
First off, can someone lock this thread and have link point to
http://www.simplemachines.org/community/index.php?topic=61213
Second, v2maxx please post there, and are you using a custom theme or default? Any other mods installed?
Yes, well sorry about that... ::)
Well, I'm using the Classic YaBB Se theme and the mods I've installed are:
The Bar Of Experience 1.2
Skype Mod 1.1
Location Mod 1.1.2
Member Specific Permissions 1.32
Skype Name Mod 1.0
Googlebot & Spiders Mod 1.0.4
Ultimate Shoutbox 1.31
Google Member Map
Ok from there, have you tried following the instructions on adapting the mods to a custom theme? The classic theme is a custom theme now I do belive...
Will do...
Thanks TLM its a great mod I'm using it on RC2 with a modified "classic" theme works great
I know this is a silly question but I like the Who Flag feature from the other location mod and your google maps doesnt like installing with the other map.
Any ideas on how to allow both, or do I need to try to rip free that one feature. It uses part of the location mod to funtion.
Quote from: Furvert on January 11, 2006, 09:55:04 PM
I know this is a silly question but I like the Who Flag feature from the other location mod and your google maps doesnt like installing with the other map.
Any ideas on how to allow both, or do I need to try to rip free that one feature. It uses part of the location mod to funtion.
Accually I was thinking about that too, next version im gonna try to get it to play nice with location mod which is not many changes which I might be able to do in a 2 hr break between classes.
That would be great :D
I was also interested in unplaced flags, IE using IP to locate flags for those who dont place.
I know this one can be a mess but country lookup may not be too bad, its used in Who Flags for example.
I know many will scream No Way! Bad Idea, but I run a SMF forum and a related art archieve and like to know where everyone is from. Also my current map turn out is less than 10% :(
Quote from: Furvert on January 11, 2006, 10:47:23 PM
That would be great :D
I was also interested in unplaced flags, IE using IP to locate flags for those who dont place.
I know this one can be a mess but country lookup may not be too bad, its used in Who Flags for example.
I know many will scream No Way! Bad Idea, but I run a SMF forum and a related art archieve and like to know where everyone is from. Also my current map turn out is less than 10% :(
Would be easier seeing how maps dont change to just figure a "bounds" box for each country and just search with in the box for the pins rather than IP.*Rubs eyes* I suppose I should not answer things when tired and mentally wore out. That would be probally the hardest thing to do due to some ISP's are quite large in size and not to mention it would require a large DB of IP blocks to lat longs, and what would you do if there were multiple users in same ip block, heck same area seeing how there tends to be a general same area usage for multiple ISP's.
I think you have it backwatds from what I meant :D
Since SMF always keeps user IP it is possible to locate a rough Pin location via IP country mapping.
Thus 100% of users would have a pin placed to country, better located if user narrows location.
Now a bad problem trying this would be the too many pins problem?
I am unsure just what issue was mentioned with that, I have seen someone do a 10,000 pin google map without issues. It is a mess of course but it didnt crash. Likely it depends on what the browser tried to cache.
The demos of your mod look great, I like google earth ;D
Sadly it lacks the detail in all countries, USA and UK are well mapped but a lot of europe is thin. Eventually the detail will be improved.
Great Mod, I am happy to see what you produced, I was going to try it if no one else did.
*edits his post*
Quote
Ok from there, have you tried following the instructions on adapting the mods to a custom theme? The classic theme is a custom theme now I do belive...
Back again...
I uninstalled the mod and installed it again using the default skin but:
Installations actions for "Google Member Map":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/Load.php Test successful
3. Execute Modification ./Sources/ManagePermissions.php Test successful
4. Execute Modification ./Sources/ModSettings.php Test successful
5. Execute Modification ./Sources/Profile.php Test failed6. Execute Modification ./Themes/default/style.css Test successful
7. Execute Modification ./Themes/default/index.template.php Test successful
8. Execute Modification ./Themes/default/Profile.template.php Test successful
9. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
10. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
11. Execute Modification ./Themes/default/languages/Who.english.php Test successful
12. Extract File ./Themes/default/images/english/googlemap.gif
13. Extract File ./Sources/MemberMap.php
14. Extract File ./Themes/default/MemberMap.template.php
15. Execute Code add_settings.php
any thoughts?
One of the mods you have installed probally modifyed the profile, I will be doing my best to get the mod to work with other mods that may have been installed soon.
Quote from: TLM on January 12, 2006, 11:09:04 AM
One of the mods you have installed probally modifyed the profile, I will be doing my best to get the mod to work with other mods that may have been installed soon.
Thanks in advance ;D
I have a heavily mod applied site also and I get an error on the install:
Execute Modification ./Sources/ModSettings.php Test failed
Mods installed just fyi
1. Users Online Today Mod 1.3.1
2. Report PM to Administrator 0.2
3. PJIRC Integrated Chat Mod 1.0
4. Ignore user 1.2
5. Create Topic on Report to Moderator 0.2
6. Membergroup Color Legend 1.1
7. Googlebot & Spiders Mod 1.0.5
Quote from: rgarrison on January 12, 2006, 10:41:56 PM
I have a heavily mod applied site also and I get an error on the install:
Execute Modification ./Sources/ModSettings.php Test failed
Well I do know my mod does not play well with others. I am going to defiantly try to get the mod to work well other mods. This probally will have more importance than adding new features.
When I hit install ... I get
Fatal error: packageinstall(): Failed opening required '/usr/www/users/langam/Packages/temp/./add_settings.php' (include_path='.:/usr/local/lib/php/') in /usr/www/users/langam/Sources/Packages.php on line 534
V: 1.1 RC 2
I've just modded my membermap to start in hybrid mode and thought you should add this as an option. To LoadMap I added
map.setMapType(G_HYBRID_TYPE);
There are only three options for this at present according to the documentation G_MAP_TYPE, G_HYBRID_TYPE, and G_SATELLITE_TYPE. Could easily add it as an option to the admin.
Quote from: carbonize on January 20, 2006, 01:50:09 PM
I've just modded my membermap to start in hybrid mode and thought you should add this as an option. To LoadMap I added
map.setMapType(G_HYBRID_TYPE);
There are only three options for this at present according to the documentation G_MAP_TYPE, G_HYBRID_TYPE, and G_SATELLITE_TYPE. Could easily add it as an option to the admin.
Where did you add the code?
I have look and look and can not fix this error - my map open to a blank window. will not open in the default theme also. I mean it opens ok but nothing is their
Powered by SMF 1.1 RC2
TinyPortal v0.8.4 © Bloc
Amber design by Bloc
Mods I have installed
Mod Name Version
1. Googlebot & Spiders Mod 1.0.4
2. Google Member Map 0.51
3. Streaming 4.2.1b 4.2.1b
4. TinyPortal 0.84
5. Users Online Today Mod 1.3.1
Fixed:: Started working after I upload the new script file to stop the SMF forums from loading slow with firefox, and cleared the catch
If there is a problem with other mods I suggest we list the installs we have currently to see if there are any common denominators. This may help TLM solve any integration problems.
SMF 1.1 RC1
Tiny Portal 0.75
Paid Subscriptions 0.3
Users online today 1.3.0
Google Member Map 0.50
Buddy list 1.21
No problems with any mods
Quote from: damacguy on January 20, 2006, 07:03:58 PM
Quote from: carbonize on January 20, 2006, 01:50:09 PM
I've just modded my membermap to start in hybrid mode and thought you should add this as an option. To LoadMap I added
map.setMapType(G_HYBRID_TYPE);
There are only three options for this at present according to the documentation G_MAP_TYPE, G_HYBRID_TYPE, and G_SATELLITE_TYPE. Could easily add it as an option to the admin.
Where did you add the code?
sources/open membermap.php and find
map.addControl(new GScaleControl());
and put the code on the line below such as
map.addControl(new GScaleControl());
map.setMapType(G_HYBRID_TYPE);
Sorry guys kinda have put this on hold for a little while, trying to work ahead on my networking project. Unfortantly I drew the short straw and got the bigest campus to network and plan for so next release could be a while...
Quote from: carbonize on January 21, 2006, 05:24:30 AM
Quote from: damacguy on January 20, 2006, 07:03:58 PM
Quote from: carbonize on January 20, 2006, 01:50:09 PM
I've just modded my membermap to start in hybrid mode and thought you should add this as an option. To LoadMap I added
map.setMapType(G_HYBRID_TYPE);
There are only three options for this at present according to the documentation G_MAP_TYPE, G_HYBRID_TYPE, and G_SATELLITE_TYPE. Could easily add it as an option to the admin.
Where did you add the code?
sources/open membermap.php and find
map.addControl(new GScaleControl());
and put the code on the line below such as
map.addControl(new GScaleControl());
map.setMapType(G_HYBRID_TYPE);
You might wanna edit a little more considering thats not the only spot... There are two spots in Profile.template.php as well if you want to control the map there as well...
Thanks Carbonize and TLM!
Thanks for the heads up TLM but profiles are already on Hybrid by default.
I have seen it mentioned several times in this thread but never really addressed, How do I get the map to start out zoomed in on a perticular region. Say south east USA?
Can anyone help me out with this?
Anyone do it yet?
-Mus
If you looked at membermap.php it clearly says
//Find 0,0 and zoom to 16(Reasonable level)
map.centerAndZoom(new GPoint(0, 0), 16);
Quote from: Muslickz on January 22, 2006, 12:25:34 AM
I have seen it mentioned several times in this thread but never really addressed, How do I get the map to start out zoomed in on a perticular region. Say south east USA?
Can anyone help me out with this?
Anyone do it yet?
-Mus
See my previous post-
http://www.simplemachines.org/community/index.php?topic=61213.msg447902#msg447902
Just kind of off current topic, found a way to cluster lots of pins together into one so that might make next version. I have not tried anything with it, just looked at it.
TLM
One of the things I (as an admin) would find useful would be the ability to place pins in a map with some text in the info box. Running a biker site means that we could have meeting places, dealers, etc., mapped.
Nothing fancy, just zoom in, place the pin and input some text.
same here, also running a bikers site, that kind of info would be nice to add
And a "me too" on that - free text in fixed pin bubbles, profile-specific items in members' pin bubbles.
Is there any way in which one can prevent the map from being zoomed in past a certain level? I'm concerned about protecting my members' privacy, so that other people can't examine where a pin is right down to the photo of their front garden!
[Added later] And I totally forgot to say how very grateful I am to TLM for all his hard work on this - it's a truly wonderful job! It even shows up in "Who's Online" - every detail has been attended to!
Quote from: pagination on January 23, 2006, 12:42:19 PM
And a "me too" on that - free text in fixed pin bubbles, profile-specific items in members' pin bubbles.
Is there any way in which one can prevent the map from being zoomed in past a certain level? I'm concerned about protecting my members' privacy, so that other people can't examine where a pin is right down to the photo of their front garden!
Their lognitude and latitiude will always be there in the kml and xml anyway not to mention you can get a close up when you view their profile.
I was hoping to prevent to close a zoom both on regular and on profile view...
Quote from: pagination on January 23, 2006, 01:29:33 PM
I was hoping to prevent to close a zoom both on regular and on profile view...
Easier solution, the person can put there pin where ever, they can choose to put it in the middle of the atlantic. They dont have to put it on there house, this seems to be everyones though, nail there house...
It was easier for me to add a note under the map in the profile. The note basically says if you're concerned about your privacy then don't select your home, but a major intersection near your home. And member profiles are also only viewable by registered members on my board.
When viewing the map, the tab in the menu doesn't change, it stays on whatever tab was viewd previously, i.e. home, profile, etc. Is anyone else experiencing this, and how can I fix it. coding in index.template looks good (I think)
Using default theme in RC2 no mods other than the map mod.
Got a link for me to look at?
I installed this mod and it works perfectly except for the fact that some of my members can't see the Map tab in the menu or the map in profile settings. If I access those profiles from my admin account, the map is there and I can place pins but the member still lacks all these options. I have tried clearing the cache (f5?) but to no avail. How can I fix this problem??
I have these mods installed
1. Enchanced post template 1.0
2. Users Online Today Mod 1.3.1
3. Google Member Map 0.51
4. Skype Name Mod
www.housegood.com/blog/index.php
Cheers!!
Quote from: josh_700 on January 26, 2006, 08:24:58 AM
I installed this mod and it works perfectly except for the fact that some of my members can't see the Map tab in the menu or the map in profile settings. If I access those profiles from my admin account, the map is there and I can place pins but the member still lacks all these options.
I say this time and time again. Permissions! This is probally the last straw, I just might rip the permissions out, its causing more idiocy than I would like to deal with.
Sorry if it sounds like I am chewing you out, just failed a test and not to happy at the moment.
Please don't rip the permissions out! I would have to uninstall it if I couldn't set the permissions to view / place pin appropriately. I couldn't put my forum members' security at that sort of risk!
It's a superb mod; I've installed it on one forum (where it's proving extremely popular) and am about to install it on another. (I made a few tweaks to the PHP scripts, such as putting the "Click here to place pin" above the map so it's clearly visible to the user, and adding a custom profile field to the information displayed.)
Quote from: TLM on January 26, 2006, 08:38:29 AM
Quote from: josh_700 on January 26, 2006, 08:24:58 AM
I installed this mod and it works perfectly except for the fact that some of my members can't see the Map tab in the menu or the map in profile settings. If I access those profiles from my admin account, the map is there and I can place pins but the member still lacks all these options.
I say this time and time again. Permissions! This is probally the last straw, I just might rip the permissions out, its causing more idiocy than I would like to deal with.
Sorry if it sounds like I am chewing you out, just failed a test and not to happy at the moment.
Ja I like the permissions thing too and would hate to have it gone
Quote from: TLM on January 26, 2006, 08:38:29 AM
Quote from: josh_700 on January 26, 2006, 08:24:58 AM
I installed this mod and it works perfectly except for the fact that some of my members can't see the Map tab in the menu or the map in profile settings. If I access those profiles from my admin account, the map is there and I can place pins but the member still lacks all these options.
I say this time and time again. Permissions! This is probally the last straw, I just might rip the permissions out, its causing more idiocy than I would like to deal with.
Sorry if it sounds like I am chewing you out, just failed a test and not to happy at the moment.
Hi
First, Thank's for a great mod, my members likes it a lot and I'm looking forward to it's development.
Please don't remove to permissions, that's essential to keep. Even me had som problem with this from start. Couldn't get it to work for everybody and was close to ask a q her about perm. Figured it out?
This might help others ;)
In Adminmode
MenyMember ControlsClick
Edit Permissions and
Modify Permissions by Membergroup.
Ok I have made a couple of small changes so far, I shall list them later when I make it available, still working on two things that are driving me crazy...
BTW, permissions stay but IF another person comes in asking about permisisons there will be heads rolling.... I have just added a little to fix this "issue".
Ok 0.52 released, several changes, as well as some of those recent hacks...
fixed some permisison stuff (added by install now),
fixed not removing files on uninstall,
changed from action=membermap to action=googlemap,
added google earth button,
added default map type,
added default long/lat/zoom options,
moved most if not all text into lang files for translations later on,
fixed the readme,
made uninstall readme,
Oh lets see anything else?
*bumps version to 0.53*
Found a couple small bugs with that, should be fixed now.
Ok everyone take a look at this and tell me what you like and dont like about how I got things now for the next version. Yes that is indeed a clickalble member list!
Next couple of tricks will be to sort (half-done), and implment a better limiting of number of pins shown on map.
Nice to have the memberlist there but if you visit my membermap (http://carbonize.co.uk/Lazarus/Smf/index.php?action=membermap) you will see it fits the page width perfectly. I suppose I could always redo it as a dropdown list for my site though.
Will it generate a horizontal scroll bar at 800x600, or will the memberlist div flow to sit below the map div?
Quote from: carbonize on January 29, 2006, 01:22:13 PM
Nice to have the memberlist there but if you visit my membermap (http://carbonize.co.uk/Lazarus/Smf/index.php?action=membermap) you will see it fits the page width perfectly. I suppose I could always redo it as a dropdown list for my site though.
Hrm.. Guess I'll make it an option, Side/Bottom/Off...
(You might also like the new version thats out for right now...)
Quote from: pagination on January 29, 2006, 01:54:58 PM
Will it generate a horizontal scroll bar at 800x600, or will the memberlist div flow to sit below the map div?
Scroll bar, but if your still using 800x600, to be honast, update your system. (:P)
Yes, I see the smiley. :)
However, I have no say whatsoever over the monitors used by my forum members, and I want the map to appear to best advantage whatever their setup. Therefore the option to have the memberlist underneath the map would be an excellent solution.
Ok, well I just got a clustering system to work, I dunno if it will have any effect on the max number of pins that can be used/displayed. Anyone wanna give me a DB of about 1000 users with random lat/longs, I am to layze to write my old script again to make that many pins for me. Oh well, onward to "basterdizing" the GoogleMap.template.php just for you 800x600 freaks. :)
http://tlm.homelinux.net/tpfrebuild/forums/index.php?action=googlemap - The live test, will break
http://www.teamplayfirst.com/forums/index.php?action=googlemap - More stable than the live test, but outdated from live test.
Just for you people that wanna poke and prod at it...
0.55 is available now folks, couple new things, the side bar, the legend, the pin clustering. Let me know of any problems anyone experinces. Still expecting a high number of pins to cause browser issues but untested that be. Lets see whats left...
On the external data idea, how many data sources would you require? How many diffrent icons? Even though I see this feature as pointless, it was requested by a few so it goes in.
Quote from: TLM on January 29, 2006, 06:29:10 PM
0.55 is available now folks, couple new things, the side bar, the legend, the pin clustering. Let me know of any problems anyone experinces. Still expecting a high number of pins to cause browser issues but untested that be. Lets see whats left...
Presumably it will happily install over earlier versions? Or is it necessary to uninstall first? (I appreciate that no pin data would be lost in the process either way, since this is in the tables, and that I would have to re-do my own tweaks, which, astonishingly for me, I have actually documented.)
Quote
On the external data idea, how many data sources would you require? How many diffrent icons? Even though I see this feature as pointless, it was requested by a few so it goes in.
Assuming this refers to the static information, for my own purposes I would need maybe three or four different sets of data (i.e. different coloured pins), no more than that. Nice if I could select the colours to use, not important if I can't.
FYI (and I know it's difficult to code something up unless you have an idea of what it's going to be used for), the purpose in the particular case I am planning is to indicate venues for a particular musician's tours of various countries during the year; different pins are needed for situations where he might appear at the same venue more than once in the year, so I'd like to split then up by season. Ideally, I would set those already booked at the beginning of the year, update them during the year as more bookings are made, and then clear the lot down and start again at the turn of the year. OK, I could do these manually, but it would take ages, and if you can possibly provide an interface that would be great! I would be quite content to check each point's co-ordinates elsewhere and then feed those co-ords into a form, together with information in perhaps three or four custom fields (date, venue name, venue contact details, additional info), if this is possible, but if not then just setting the pin in the map, with as a minimum just one custom field for the data - for sure, these points would not use any of the information used in the members' pins!
One further thought - perhaps a wee checkbox to switch on/off the display of the static data? Set to off by default, to save on unnecessary queries to the table?
Quote from: pagination on January 29, 2006, 07:07:11 PM
Quote from: TLM on January 29, 2006, 06:29:10 PM
0.55 is available now folks, couple new things, the side bar, the legend, the pin clustering. Let me know of any problems anyone experinces. Still expecting a high number of pins to cause browser issues but untested that be. Lets see whats left...
Presumably it will happily install over earlier versions? Or is it necessary to uninstall first? (I appreciate that no pin data would be lost in the process either way, since this is in the tables, and that I would have to re-do my own tweaks, which, astonishingly for me, I have actually documented.)
Yes the usual uninstall old, and install new, doing an upgrade path is still being a pain-in-the-ass. What tweaks have you done?
Quote from: pagination on January 29, 2006, 07:07:11 PM
Quote
On the external data idea, how many data sources would you require? How many diffrent icons? Even though I see this feature as pointless, it was requested by a few so it goes in.
Assuming this refers to the static information, for my own purposes I would need maybe three or four different sets of data (i.e. different coloured pins), no more than that. Nice if I could select the colours to use, not important if I can't.
FYI (and I know it's difficult to code something up unless you have an idea of what it's going to be used for), the purpose in the particular case I am planning is to indicate venues for a particular musician's tours of various countries during the year; different pins are needed for situations where he might appear at the same venue more than once in the year, so I'd like to split then up by season. Ideally, I would set those already booked at the beginning of the year, update them during the year as more bookings are made, and then clear the lot down and start again at the turn of the year. OK, I could do these manually, but it would take ages, and if you can possibly provide an interface that would be great! I would be quite content to check each point's co-ordinates elsewhere and then feed those co-ords into a form, together with information in perhaps three or four custom fields (date, venue name, venue contact details, additional info), if this is possible, but if not then just setting the pin in the map, with as a minimum just one custom field for the data - for sure, these points would not use any of the information used in the members' pins!
One further thought - perhaps a wee checkbox to switch on/off the display of the static data? Set to off by default, to save on unnecessary queries to the table?
Would almost say in your case, to make a secondary map but that gives me a few ideas to work off of... I shall see what my over worked mind can come up with.
I'm loving this new version TLM. Great job.:)
Quote from: TLM on January 29, 2006, 07:44:57 PM
Would almost say in your case, to make a secondary map but that gives me a few ideas to work off of... I shall see what my over worked mind can come up with.
Having all the info on the same map was a particular request from the forum members. Also it would be useful for the musician in question to be able to see which forum members are likely to be at any particular gig (it is his forum, I just do the techie stuff for him).
Quote
What tweaks have you done?
Just minor cosmetic stuff. Set initial view to map rather than hybrid; changed default pin colour; removed URL from pin info and added in one regular profile field and one custom one; changed the link-to-profile text on main map to "Click here to place, move or delete your pin" and put it above the map rather than below; changed text in profile to "Click to place your pin, or click on your pin to remove it". Nothing that can't be re-done in five minutes!
Just a note for the settings on 0.55 the setting for "The default Longitude" needs to be a calculation of =
360-"Your Longitude"
TLM - It might be nice if the mod could use the real Longitude and do the calculation internally.
But great work and Thanks Again.
Keeping my fingers crossed for the setting of additional PINS/HotSpots/Meeting Places/TrailHeads/Destinations
I'm using RC2 with the default language set to french. All buttons concerning the map like 'members map' are invisible. It works when I come back to english.
What can I do to have these buttons with french setting ? (I don't care if the name of buttons are still in english).
Edit : Ok I think I have to copy the modifications in Who.english.php, ModSettings.english.php and Modifications.english.php in the french files. Am I right ?
Copy the buttons/images from themes/default/images/english to> themes/default/images/french
Quote from: PhatTyres on January 30, 2006, 02:35:12 PM
Just a note for the settings on 0.55 the setting for "The default Longitude" needs to be a calculation of =
360-"Your Longitude"
TLM - It might be nice if the mod could use the real Longitude and do the calculation internally.
But great work and Thanks Again.
And what standard notation of input would you say to use? If I am not mistaken there is two ways to write DMS format (XX:YY:ZZ and XX° YY' ZZ") as where the DD format is one way. Granted I am just complaining here about that, should be no problem to take any of the 3. Although in question would be how should I store it in the db, due to the API wants DD format, and if its converted to DD before storing in the DB, the user might get confused.
Quote from: PhatTyres on January 30, 2006, 02:35:12 PM
Keeping my fingers crossed for the setting of additional PINS/HotSpots/Meeting Places/TrailHeads/Destinations
Need to come up with a nice way to add to the admin pages for you guys before I can go off making the rest of it. Cause I know if I make a 3 entry page, someone will want 4!
Quote from: keltiek on January 30, 2006, 03:08:55 PM
I'm using RC2 with the default language set to french. All buttons concerning the map like 'members map' are invisible. It works when I come back to english.
What can I do to have these buttons with french setting ? (I don't care if the name of buttons are still in english).
If I am not mistaken its due to that I dont have any french translations. Should be as simple as copying the additions I made to 2(?) lang files in english, to the french lang files. Once I get some more features in place I will be putting out a request for translations to other languages.
Quote from: PhatTyres on January 30, 2006, 03:19:30 PM
Copy the buttons/images from themes/default/images/english to> themes/default/images/french
RC2 has no need for button images, its a lang file.
What do you guys think about me including something like who flags, where little flags show up on there name in legend/map/somewhere? I was reading the location mod and noted someone said they chose my mod over location mod but missed the who flags location mod had.
TLM...I simply used the LatLong I got from googlemap site. my location ended up in China, not USA...I remembered a post from a few pages back that referred to 360-long. Used that and I was centered at home!!!! Maybe just a simple notation by the entry field of what needs to be entered. I do not know the standards but I don't believe they are that different. My Long is 118.5xxxxx but what needs to be entered is 241.5.
RC2 my bad, I am stuck in the 1.0.5 ages!!!
On the "location additions" I would like and unlimited # of entries (if at all possible) maybe use an add new entry link (similar to the attachments) Mind you I am no coder so it all makes sense in my mind but who knows what it means in code!!! Maybe a locations page with permisions!?
Do what can be done and I will be thankful for anything as a mater of fact I am already happy, but we always want more isn't that just the way it is!!!
Oh yeah when Google pushes v2 of there API the map will break. Found this out this weekend when I was poking at the beta API.
A little install issue in Modsettings, I think I can do manual edit arround it.
But are you over selecting search text making it more sensitive to other mods?
In the below examples two other mods have inserted code inside your desired search text causing it to fail.
'layout' => 'ModifyLayoutSettings',
'MemberColorLinks' => 'ModifyMemberColorLinksSettings',
'karma' => array(
'title' => $txt['smf293'],
'href' => $scripturl . '?action=featuresettings;sa=karma;sesc=' . $context['session_id'],
// Start Googlebot Insert
),
'googlebot' => array(
'title' => $txt['ob_googlebot_modname'],
'href' => $scripturl . '?action=featuresettings;sa=googlebot;sesc=' . $context['session_id'],
// End Googlebot Insert
'is_last' => true,
Is that "'is_last' => true," a end of list marker? if so the install results in two of them as written.
I think this would work better as a search
'karma' => array(
'title' => $txt['smf293'],
'href' => $scripturl . '?action=featuresettings;sa=karma;sesc=' . $context['session_id'],
and add
// Start Googlemap Insert
),
'googlemap' => array(
'title' => $txt['googleMapFO'],
'href' => $scripturl . '?action=featuresettings;sa=googlemap;sesc=' . $context['session_id'],
// End Googlemap Insert
This inserts before the
'is_last' => true,
),
So it should work even if other mods inserted nearby
Oops forgot, search for
'karma' => 'ModifyKarmaSettings',
Add
// Insert Googlemap into Features and Options Menu
'googlemap' => 'ModifyGoogleMapSettings',
I think that works in all cases
This isn't an issue with this Mod, per say. But it's the only place I see the problem. The ICQ icon doesn't show up correctly when I click on a member in the map. It looks like it's a simple typo in a template somewhere (http://status.icq.com/online.gif?img=5&icq= should be http://status.icq.com/online.gif?img=5&icq=13541672).
I looked in membermap (and obviously it's not there). I also looked in profile.template and it's not there either. Where's this defined?
Quote from: damacguy on January 30, 2006, 04:56:33 PM
This isn't an issue with this Mod, per say. But it's the only place I see the problem. The ICQ icon doesn't show up correctly when I click on a member in the map. It looks like it's a simple typo in a template somewhere (http://status.icq.com/online.gif?img=5&icq= should be http://status.icq.com/online.gif?img=5&icq=13541672).
I looked in membermap (and obviously it's not there). I also looked in profile.template and it's not there either. Where's this defined?
The ICQ icon shows up fine and click through perfectly on my 0.55 install on 1.0.5
Furvert, yeah I was looking at that section of code. I knew it was a bad search but I was not sure what would be best to go about fixing it. Sometimes it helps to have people look in your box. :)
damacguy, Sources/GoogleMap.php MapsXML(),
here is where it kills it,
// This is to help against those funky chars... and protect against those " errors in XML!
$datablurb = htmlspecialchars($datablurb);
I am considering redoing that whole chunk of code for it just is plain and simple ugly...
I think it is installed but I cant make it work.
http://furvert.net/smf/index.php?action=featuresettings2;save;sa=googlemap
Apply Filter: Only show the errors with the same message
8: Undefined variable: setArray
File: /home/content/f/u/r/furvert/html/smf/Sources/ManageServer.php
Line: 486
It refuses to save the enable and key!
This one has me stumped, I dont see any errors and none were reported on install other than I mentioned and manually fixed.
Well I also have no map button but it also is not enabed yet so likely turned off
I found the problem, there are 2 places that need the
// Insert Googlemap into Features and Options Menu
'googlemap' => 'ModifyGoogleMapSettings',
It works fine with Location Mod :D
I had to add the button to my theme and change text to say 'Google Map'
Only thing I see that I would have liked different is place flag from map view without moving to profiles.
But that does complicate clicking on the view map so perhaps what you have is best?
Now to see about start location and zoom levels
Quote from: Furvert on January 30, 2006, 08:23:12 PM
It works fine with Location Mod :D
I had to add the button to my theme and change text to say 'Google Map'
Glad you got it but I don't quite understand all your problems you have.
Quote from: Furvert on January 30, 2006, 08:23:12 PM
Only thing I see that I would have liked different is place flag from map view without moving to profiles.
But that does complicate clicking on the view map so perhaps what you have is best?
Now to see about start location and zoom levels
Yes it would complicate the view map, thats why its in the profile, not to mention to me it makes more sense to have the member place there pin in there profile in case they want to remove it, it would make it easier for them to find/remove. Not to mention place if there are multiple pins in such close proximity.
As for the start location and zoom level should be options in the admin section. I would also state that the profile placing if no point is set should default to world view and not what is set in the admin section.
Here is an interesting website
http://www.geobytes.com/GeoDirection.htm (http://www.geobytes.com/GeoDirection.htm)
<script language="Javascript" src="http://gd.geobytes.com/gd?after=-1&variables=GeobytesCountry,GeobytesCity">
</script>
<script language="Javascript">
document.write("<p>Welcome to visitors from "+sGeobytesCity+", "+sGeobytesCountry);
</script>
You can select other varibles so that it can fetch sGeobytesLatitude,sGeobytesLongitude
So could it be used to fetch a preplacement for people on Profile page if no pin placed?
Just an odd idea, my location for example is wrong but my previous IP worked correctly.
Quote from: Furvert on January 30, 2006, 09:09:44 PM
Here is an interesting website
http://www.geobytes.com/GeoDirection.htm (http://www.geobytes.com/GeoDirection.htm)
<script language="Javascript" src="http://gd.geobytes.com/gd?after=-1&variables=GeobytesCountry,GeobytesCity">
</script>
<script language="Javascript">
document.write("<p>Welcome to visitors from "+sGeobytesCity+", "+sGeobytesCountry);
</script>
You can select other varibles so that it can fetch sGeobytesLatitude,sGeobytesLongitude
So could it be used to fetch a preplacement for people on Profile page if no pin placed?
Just an odd idea, my location for example is wrong but my previous IP worked correctly.
Yeah, not gonna do that...
no big deal but before I selected a side bar I got this error being logged numerous times each time I hit the map buton
http://www.xxxx.com/smf/index.php?action=googlemap;sa=.js
8: Undefined index: googleSidebar
File: /home/xxxx/public_html/smf/Sources/GoogleMap.php
Line: 102
Soon as you select a side bar it stops the error and then if you select no default bar again after this no more errors are logged..
I got the same error on a few testing forums
No biggie just thought Id mention it in case your unaware
Quote from: oscar2001 on January 30, 2006, 10:19:06 PM
no big deal but before I selected a side bar I got this error being logged numerous times each time I hit the map buton
http://www.xxxx.com/smf/index.php?action=googlemap;sa=.js
8: Undefined index: googleSidebar
File: /home/xxxx/public_html/smf/Sources/GoogleMap.php
Line: 102
Soon as you select a side bar it stops the error and then if you select no default bar again after this no more errors are logged..
I got the same error on a few testing forums
No biggie just thought Id mention it in case your unaware
Unaware, thanks for finding, checking into now..
Yeah the problem is I forgot to insert a default amount for that value. Good catch! Also I should re-label that variable to match the rest that are in the DB.
*edit*
Fixed above problems still working a little more before release of next version for you people to play with
*/edit*
Quote from: PhatTyres on January 30, 2006, 03:52:02 PM
TLM...I simply used the LatLong I got from googlemap site. my location ended up in China, not USA...I remembered a post from a few pages back that referred to 360-long. Used that and I was centered at home!!!! Maybe just a simple notation by the entry field of what needs to be entered. I do not know the standards but I don't believe they are that different. My Long is 118.5xxxxx but what needs to be entered is 241.5.
Quote from: Redeye on January 08, 2006, 07:40:42 AM
The easy way to get your co-ordinates is to go to http://maps.google.com/
Zoom in and double click on where you want to center your map.
Then click "Link to page"
Copy the URL in the address bar as below which is for Edmonton, Alberta.
http://maps.google.com/?ll=53.514185,-113.400879&spn=4.41703,10.305176
The 53 and -113 are the numbers you want.
The first is 360 - 113 and the the second is 53 so your co-ordinates are (247, 53) and then play with the zoom which is 16 as default.
Those numbers should be left as is now. To tell you the truth, I don't think this was ever necessary. I just checked redeyes example and used mine, both worked like a charm right off the top, no math needed.
Quote from: TLM on January 30, 2006, 03:57:36 PM
Oh yeah when Google pushes v2 of there API the map will break. Found this out this weekend when I was poking at the beta API.
Hi
Will this Great Mod follow ???
Count me in for translation.
//johan
Tried it using Internet explorer(I use Fire Fox ) and just get a pop up error saying the operation was aborted... Got some other people to to look to and they got the same. Even your testing sites do it with IE..
Quote from: antracit on January 31, 2006, 03:01:08 AM
Will this Great Mod follow ???
Count me in for translation.
Yes I will fix the mod for v2 of the API sometime before there is the forced change over to v2. They will give web people a one month time to change over.
And for what languages?
Quote from: oscar2001 on January 31, 2006, 03:04:56 AM
Tried it using Internet explorer(I use Fire Fox ) and just get a pop up error saying the operation was aborted... Got some other people to to look to and they got the same. Even your testing sites do it with IE..
Argh, this is what I get for not testing with IE again...
Anyway attached should be a fix that will work, I cant test it right now for that I am stuck in class where I cant use FTP to upload... Make a backup of your existing first because I cant say if my fix works or not. I really should install apache/mysql back on to my laptop for testing purposes when in class.
(clicky (http://groups.google.com/group/Google-Maps-API/msg/2ef899c37be5256a))
*EDIT* First file fix removed, next attached file is better. */EDIT*
Hi,
I run a website, and have recently changed from MKPortal to Joomla, but am having an issue with the googlemembermap mod (I've asked at the bridge board, but no luck).
The problem ...
When you view the membermap all is fine, however if you go to a users profile via the membermap then the page requested is of the form
http://www.allotments4all.co.uk/smf/index.php?action=profile;u=2336
Not
http://www.allotments4all.co.uk/joomla/component/option,com_smf/Itemid,28/action,profile/u,2336
This basically drops you out of the bridge.
Is there a way to get round this? I have tried to find the call from the membermap to the profile to 'hack' the link, but can not.
Am I the only person using this combination, or has anyone else experienced / overcome this issue.
Cheers
Dan Fulton
Quote from: allotments4all on January 31, 2006, 11:32:04 AM
When you view the membermap all is fine, however if you go to a users profile via the membermap then the page requested is of the form
http://www.allotments4all.co.uk/smf/index.php?action=profile;u=2336
Not
http://www.allotments4all.co.uk/joomla/component/option,com_smf/Itemid,28/action,profile/u,2336
This basically drops you out of the bridge.
Is there a way to get round this? I have tried to find the call from the membermap to the profile to 'hack' the link, but can not.
Am I the only person using this combination, or has anyone else experienced / overcome this issue.
As far as I know there are a couple of sites with MKPortal, dont know of any with Jommla. You are refering to the link at the bottom of the map? If so you will have to go poking at language files, theres a lang setting that controls that line, and if you know the variable to change it to, you should be ok... BUT,
I will not support this for I dont take nicly to portals/CMS, seen to many bad things happen to many portals/CMS. I dont support things I dont use.
Hi,
Thanks, but no not the link at the bottom of the map, but clicking on the pin of someone who has placed the pin to gain access to their profile.
I understand you not supporting portals, can be a real nightmare supporting multiple installation types, but I am happy to 'hack' away to get it working, if you can point me in the right direction.
Cheers
Dan
Quote from: allotments4all on January 31, 2006, 01:29:11 PM
Thanks, but no not the link at the bottom of the map, but clicking on the pin of someone who has placed the pin to gain access to their profile.
Couldve said that in your first post now couldnt ya? ;)
Sources/GoogleMap.php Line ~269
<td style="white-space: nowrap;" align="left"><a href="' . $marker['online']['href'] . '"><img src="' . $marker['online']['image_href'] . '" alt="' . $marker['online']['text'] .'" class="avatar" border="0" /></a> <a href="' . $marker['href'] .'">' . $marker['name'] . '</a></td>
(^^ Might need to scroll sideways)
You will want to edit the part of $marker['online']['href'], sends user to the PM page of that profile, $marker['href'], sends user to the profile page its self. These values are pulled out of SMF's member data array(s). That alone is a good starting spot for you assuming you know PHP. I would be willing to work with you on this but I am not gonna hold your hand and walk ya thru it, see below. I just dont know how the heck joomla "wraps" the url and/or if there is a variable that SMF can use to figure the url to show, I am assuming so looking at your board breifly. That I am gonna leave up to you to dig up.
Quote from: allotments4all on January 31, 2006, 01:29:11 PM
I understand you not supporting portals, can be a real nightmare supporting multiple installation types, but I am happy to 'hack' away to get it working, if you can point me in the right direction.
*rant*
Not only that but more so of, pardon me if your one, a complete and utter website newbie that does not know what on earth to do when you give them direct instructions. I hate those people. Then theres, well you support this, why not do this its the same basicly, response, "If its the same then change to it!", and if they con me enough I would spend the time into doing it finding out there like night and day. It just opens up way to many cans of worms. I say just write your own portal if you dont know how, then you should not be looking into dynamic content till you are able to understand fully how it works.
*/rant*
/me goes back to reading thru collage acceptance letter for a transfer.
Quote from: TLM on January 31, 2006, 08:26:45 AM
Quote from: antracit on January 31, 2006, 03:01:08 AM
Will this Great Mod follow ???
Count me in for translation.
Yes I will fix the mod for v2 of the API sometime before there is the forced change over to v2. They will give web people a one month time to change over.
And for what languages?
Quote from: oscar2001 on January 31, 2006, 03:04:56 AM
Tried it using Internet explorer(I use Fire Fox ) and just get a pop up error saying the operation was aborted... Got some other people to to look to and they got the same. Even your testing sites do it with IE..
Argh, this is what I get for not testing with IE again...
Anyway attached should be a fix that will work, I cant test it right now for that I am stuck in class where I cant use FTP to upload... Make a backup of your existing first because I cant say if my fix works or not. I really should install apache/mysql back on to my laptop for testing purposes when in class.
(clicky (http://groups.google.com/group/Google-Maps-API/msg/2ef899c37be5256a))
Fixes the immediate prob with IE but now the side bar popups wont work when when the names are clicked, seems alright otherwise.
Quote from: oscar2001 on January 31, 2006, 03:09:19 PM
Quote from: TLM on January 28, 2006, 03:47:59 AM
Quote from: oscar2001 on January 31, 2006, 03:04:56 AM
Tried it using Internet explorer(I use Fire Fox ) and just get a pop up error saying the operation was aborted... Got some other people to to look to and they got the same. Even your testing sites do it with IE..
Argh, this is what I get for not testing with IE again...
Anyway attached should be a fix that will work, I cant test it right now for that I am stuck in class where I cant use FTP to upload... Make a backup of your existing first because I cant say if my fix works or not. I really should install apache/mysql back on to my laptop for testing purposes when in class.
(clicky (http://groups.google.com/group/Google-Maps-API/msg/2ef899c37be5256a))
Fixes the immediate prob with IE but now the side bar popups wont work when when the names are clicked, seems alright otherwise.
/me smacks face....
Duh... functions that are inside another function wont be able to be called....
*Goes about fixing the fix...*
This one should do it, works on TPF in IE and FF. Although I am not to happy with this fix, but its a must for IE likes to complain more than FF...
Re Joomla Portal Problem ...
Thought I was going mad, I don't have Sources/GoogleMap.php, I have MemberMap.php, but don't worry I am using the google membermap - very confusing!
But using your pointer I realised I needed to change the 'href' entry in Sources/Load.php, I realise this is a very local solution to my website (as it requires a manual entry of the joomla component) but if anyone wants a pointer to how I've fixed it let me know.
I'm sure everyone is screaming you can't change that function - but I have, and can't see any problems it could cause.
Thanks
Dan
Quote from: allotments4all on January 31, 2006, 03:25:46 PM
Thought I was going mad, I don't have Sources/GoogleMap.php, I have MemberMap.php, but don't worry I am using the google membermap - very confusing!
You sir have an old version, theres newer out there! I update often for right now, about every 2wks or so I get urges to code like made then theres calm for a while, repeat. Example, I think I did 3 or so versions just this past weekend adding features and one to fix some bugs. I might be doing another lookin at the IE problem...
Quote from: allotments4all on January 31, 2006, 03:25:46 PM
But using your pointer I realised I needed to change the 'href' entry in Sources/Load.php, I realise this is a very local solution to my website (as it requires a manual entry of the joomla component) but if anyone wants a pointer to how I've fixed it let me know.
I'm sure everyone is screaming you can't change that function - but I have, and can't see any problems it could cause.
Sources/Load.php Line ~842,
// Loads the user's basic values... meant for template/theme usage.
function loadMemberContext($user)
Thats the start of the function you will want to edit in that case.
Sources/Load Line ~894
// What a monstrous array...
$memberContext[$user] = array(
Here is where you will wanna really look at. I see nothing wrong with editing it, the mod does, and you will see it in the array there. ;)
Again joomla wise, I think there is a specific way to call it, so your on your own there, im sure theres a variable for that info but that again up to you to find out.
QuoteThis one should do it, works on TPF in IE and FF. Although I am not to happy with this fix, but its a must for IE likes to complain more than FF...
Cool, fixes it :) thanks...
Quote/me smacks face....
Duh... functions that are inside another function wont be able to be called....
*Goes about fixing the fix...*
This one should do it, works on TPF in IE and FF. Although I am not to happy with this fix, but its a must for IE likes to complain more than FF...
Works on both IE and FF but it seems to slow the map loading to a crawl on FF. Could be me but it loads quicly in IE now but really slow to not at all in FFMust have been something else...works great thanks TLM
I was about to say... the only reason there is a delay on loading of map now is for crappy old IE likes to start the javascript before it has all the HTML loaded/rendered causing issues. Anyone try this on IE 7 yet? Dont run windows much anymore so I hardly ever use IE, its FF or links for me. I might accauly just make that an IE only thing on the timer, who knows, I am tired and need to finsh this ip scheme for a class project.
4. Execute Modification .\Sources/ModSettings.php Test failed
rc1.1 rc2
Quote from: ArkServer on February 02, 2006, 10:57:08 AM
4. Execute Modification .\Sources/ModSettings.php Test failed
rc1.1 rc2
Yeah, my mod does not play well with others... I know about that one.
I'm a big dummy methinks, but where do I put the code in the "fix"?
I don't see div="map" anywhere helpful. I appreciate the input.
Thanks.
Quote from: iivel on February 02, 2006, 04:39:38 PM
I'm a big dummy methinks, but where do I put the code in the "fix"?
I don't see div="map" anywhere helpful. I appreciate the input.
Thanks.
Which fix? What are you tring to do?
Quote from: TLM on February 02, 2006, 02:54:08 PM
Quote from: ArkServer on February 02, 2006, 10:57:08 AM
4. Execute Modification .\Sources/ModSettings.php Test failed
rc1.1 rc2
Yeah, my mod does not play well with others... I know about that one.
When i go to the Features and Options"it gives me a blank screen after i installed this, i suppose it can be fixed? because everything else is working afaik
The fix for the problem of internet explorer giving me the message ... IE cannot open the site xxx "Operation aborted"
You can see it on my forum: www.axeofazeroth.org/gforum/
Quote from: ArkServer on February 02, 2006, 07:05:48 PM
Quote from: TLM on February 02, 2006, 02:54:08 PM
Quote from: ArkServer on February 02, 2006, 10:57:08 AM
4. Execute Modification .\Sources/ModSettings.php Test failed
rc1.1 rc2
Yeah, my mod does not play well with others... I know about that one.
When i go to the Features and Options"it gives me a blank screen after i installed this, i suppose it can be fixed? because everything else is working afaik
Yeah if you feel like installing that part manually till I make a more mod friendly mod, which should be next release.
Quote from: iivel on February 02, 2006, 07:23:20 PM
The fix for the problem of internet explorer giving me the message ... IE cannot open the site xxx "Operation aborted"
You can see it on my forum: www.axeofazeroth.org/gforum/
Why are you trying to edit code when I provided a file to download you simply replace whats on your server. Not to mention this is another prime example of why permissions annoy me, people block guests and I dont want to register on 50 diffrent forums to try to even figure there problems, your map is not visable to guests.
Sorry, I'm a complete n00b to the forums, and didn't see the file attatchment. I only saw the link to the google forum.
I've got the file now, and all appear to work beautifully.
I apologize again & thanks for pointing the file out to me :-[
As a side note, I didn't set the permission to prevent guests from being able to view the map. Is that inherited from something else?
Quote
As a side note, I didn't set the permission to prevent guests from being able to view the map. Is that inherited from something else?
You need to select which membergroups you want to view the map (including guests). When I first installed this mod only the admin could see the map , so you may need to check your permissions are set so other registered members can see it.
As an update to you all, I have figured out a nice interface in the admin area for the extra data stuff. Unfortantly/Fortantly this is gonna require a secondary mod to be made and installed. The reason for this other mod that I am working on is this mod has outgrown the Features and Options. Lets not forget my other two secret projects that will probally be unable to function in Features and Options. Look for screen shots this weekend if I get around to it of the next version of the admin interface and the new mod.
Quote from: TLM on February 02, 2006, 11:30:40 PM
As an update to you all, I have figured out a nice interface in the admin area for the extra data stuff. Unfortantly/Fortantly this is gonna require a secondary mod to be made and installed. The reason for this other mod that I am working on is this mod has outgrown the Features and Options. Lets not forget my other two secret projects that will probally be unable to function in Features and Options. Look for screen shots this weekend if I get around to it of the next version of the admin interface and the new mod.
Gah! Now I'm going to have to sit in the office all day Friday in anticipation! >:(
I can't wait to see whatelse you've got cooking!
Thanks again for all the work. :D
Quote from: damacguy on February 03, 2006, 02:05:21 AM
Gah! Now I'm going to have to sit in the office all day Friday in anticipation! >:(
I can't wait to see whatelse you've got cooking!
Thanks again for all the work. :D
http://www.simplemachines.org/community/index.php?topic=69032.0
http://www.simplemachines.org/community/index.php?topic=62121.0
Should be hints to the other projects.
Ok well I said preview, so here it is, its still rough but you sorta get the idea.
Can you spot the changes? Can you spot the other mod?
Just a few nitpicks (nitpicks are my speciality, and today they're free!):
"Users gender" -> "User's gender"
"Number of max pins" -> "Max number of pins"
"The defualt Zoom" -> "The default Zoom"
"Maximum visable pins" -> "Maximum visible pins"
I really like the idea of being able to control the pin clustering like that. And, of course, the control over the positioning of the sidebar. You're doing a grand job here, TLM!
Quote from: pagination on February 05, 2006, 05:33:40 AM
Just a few nitpicks (nitpicks are my speciality, and today they're free!):
"Users gender" -> "User's gender"
"Number of max pins" -> "Max number of pins"
"The defualt Zoom" -> "The default Zoom"
"Maximum visable pins" -> "Maximum visible pins"
I really like the idea of being able to control the pin clustering like that. And, of course, the control over the positioning of the sidebar. You're doing a grand job here, TLM!
Hehe, ok so shoot me, programming in bed is not the best way to type out somewhat grammatically correct phrases. I'll fix those in the lang file now before I forget. (I moved almost all of the text to its own Language file to make translations easier.)
As for the pin clustering thats just options that came with the script that I figured what the heck might as well allow people to edit to there will.
As an update, the new admin interface is almost complete, all thats left is for addtional data. (Will post a SS when I finsh it) Thats todays project. Then from there its back to wonderful javascript land to try to tie this all together.
TLM: Ref the external data sets.
This is an example of what I'm using it for at present. It's a GoogleMap inside an article using TinyPortal. It's a script from the API Group. Having a point and click version would be so much better.
Thanks for the work to date 8)
http://www.honda-varadero-uk.org/forum/index.php?page=58
Quote from: Redeye on February 06, 2006, 02:36:28 PM
TLM: Ref the external data sets.
This is an example of what I'm using it for at present. It's a GoogleMap inside an article using TinyPortal. It's a script from the API Group. Having a point and click version would be so much better.
Thanks for the work to date 8)
http://www.honda-varadero-uk.org/forum/index.php?page=58
Ok.... did I just miss something? (Not quite sure what/why your showing me that.)
On our site we have reviews for locations around the UK / World. It would be cool if we could place a pin on the map which then would link to that review. Is this something that is in progress or could be added?
Cheers, keep up the good work with this mod! I really is fantastic!
O.
Quote from: Owain on February 08, 2006, 09:15:17 AM
On our site we have reviews for locations around the UK / World. It would be cool if we could place a pin on the map which then would link to that review. Is this something that is in progress or could be added?
Cheers, keep up the good work with this mod! I really is fantastic!
O.
Sorta... You would have to place the pin by hand and in a xml document a certain way... I'll give more information on this topic once I solve the admin interface problems I am having...
Cool..I will watch this thread then :)
Just happened to hit google groups for the map API, and saw this thread.
http://groups.google.com/group/Google-Maps-API/browse_frm/thread/c8d01f3be32bc26f/1398b29ca27d4da5?tvc=1#1398b29ca27d4da5
I think it just solved alot of problems I was gonna have with people...
If you cant figure it out, dont ask. I will try this when I get home from classes.
Suggested 'feature' - some sort of indicator of recently added/changed pins? Maybe make the name in the list bold? And an option to bold the last # new/changed pins?
Quote from: damacguy on February 10, 2006, 05:41:09 PM
Suggested 'feature' - some sort of indicator of recently added/changed pins? Maybe make the name in the list bold? And an option to bold the last # new/changed pins?
Well that would be kind of hard to do seeing how the pins are stored. The pins are not stored in there own table, there right in with the members profile. As far as I know there is no way to sort the member table by last update to user profile. Good idea though, cant do.
Hey, this maps thing is great. Installation went great and it works flawlessly with Firefox. However, I'm having problems using it with Internet Explorer 6. IE can use google maps fine, I just get an error when using it on my forum. I appologize in advance if this issue has been discussed already, but I tried doing a search on this forum and came up empty handed. Any help is thanked.
Quote from: bkeritk on February 13, 2006, 12:54:31 PM
Hey, this maps thing is great. Installation went great and it works flawlessly with Firefox. However, I'm having problems using it with Internet Explorer 6. IE can use google maps fine, I just get an error when using it on my forum. I appologize in advance if this issue has been discussed already, but I tried doing a search on this forum and came up empty handed. Any help is thanked.
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
Quote from: TLM on February 13, 2006, 01:05:13 PM
Quote from: bkeritk on February 13, 2006, 12:54:31 PM
Hey, this maps thing is great. Installation went great and it works flawlessly with Firefox. However, I'm having problems using it with Internet Explorer 6. IE can use google maps fine, I just get an error when using it on my forum. I appologize in advance if this issue has been discussed already, but I tried doing a search on this forum and came up empty handed. Any help is thanked.
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
Ok, I've tried to replace the file through ftp, but this does not seem sucessful. I uploaded the original google maps package through my forum. So I then uninstalled it, added the fix to the .gz file and uploaded it again and installed it through the package manager. Still having problems. Thanks for any help
Quote from: bkeritk on February 13, 2006, 02:00:16 PM
Quote from: TLM on February 13, 2006, 01:05:13 PM
Quote from: bkeritk on February 13, 2006, 12:54:31 PM
Hey, this maps thing is great. Installation went great and it works flawlessly with Firefox. However, I'm having problems using it with Internet Explorer 6. IE can use google maps fine, I just get an error when using it on my forum. I appologize in advance if this issue has been discussed already, but I tried doing a search on this forum and came up empty handed. Any help is thanked.
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
Ok, I've tried to replace the file through ftp, but this does not seem sucessful. I uploaded the original google maps package through my forum. So I then uninstalled it, added the fix to the .gz file and uploaded it again and installed it through the package manager. Still having problems. Thanks for any help
Dumb question what version of the mod are you useing?
Quote from: TLM on February 13, 2006, 03:06:09 PM
Dumb question what version of the mod are you useing?
Version Information:
Forum version: SMF 1.1 RC1
Current SMF version: SMF 1.1 RC2
Quote from: bkeritk on February 13, 2006, 03:38:22 PM
Quote from: TLM on February 13, 2006, 03:06:09 PM
Dumb question what version of the mod are you useing?
Version Information:
Forum version: SMF 1.1 RC1
Current SMF version: SMF 1.1 RC2
of the mod, not SMF
Quote from: TLM on February 13, 2006, 03:40:09 PM
Quote from: bkeritk on February 13, 2006, 03:38:22 PM
Quote from: TLM on February 13, 2006, 03:06:09 PM
Dumb question what version of the mod are you useing?
Version Information:
Forum version: SMF 1.1 RC1
Current SMF version: SMF 1.1 RC2
of the mod, not SMF
oh sorry. It's 0.55
Ok a little update here.
First the problem bkeritk was having was a id 10 t error.
Second, I just tested the pin clustering, and well its a browser saver!
The 3rd party cluster script is amazing, it really helps with a insane ammount of pins. I also found over about 500 pins would take to long to load in a browser. Enabled clustering and it loads perfectly fine, but then I said what the heck, cranked it to 5k pins and clustered and well, take a look for your selves. :)
Third, that include your own data is coming along good, just got around the road block I have had in the admin section, I will be releasing more info about it later, and all marker data might be accepted in one of two forms, XML or KML. KML being what Google Earth exports so you can easily edit the pins in the file.
Hello, i have a lot translate for geman peoples,
and have change latitude and longitude for gemany as center, the zoom is 12 default 16
The download is in mkportal (german support) ;)
http://www.mkportal-support.de/forum/index.php?topic=677.msg4418#msg4418
For ask type me a PN ;)
---------------
Hi, ich habe die GoogleMap Übersetzt ins Deutsche.
Sowie die Breiten/Längengrade sowie den Zoom auf Deutschland angepasst.
Den Download findet Ihr im deutschen MKPortal Support Forum.
http://www.mkportal-support.de/forum/index.php?topic=677.msg4418#msg4418
bei fragen bitte per PN an mich ;)
bye
COOLover
Hi,
I have the download on mkportal-support.de deleted.
Please post only the translation of the mod and not the mod itself.
Thanks
[EDIT]
Great, just what I need...
Please take that file down. The translations will get put in the next version, and I dont want to be dealing with people that may have downloaded the file from somewhere else. I looked at what you have done, not bad but your work has basicly been a waste for now. The next version will change alot of the language files. Once I am ready to release the next version, I will ask for translations to be made.
Can you think of any reason that the map works with Firefox but errors out with Internet Explorer?
Quote from: shortbuser on February 17, 2006, 08:13:44 PM
Can you think of any reason that the map works with Firefox but errors out with Internet Explorer?
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
Just trying to install on a server upgraded to 1.1 RC2 when trying to view the map I get "Error GIcon is undefined" there are no errors in the log.
Can anyone help?
Quote from: Scooby on February 19, 2006, 04:22:11 PM
Just trying to install on a server upgraded to 1.1 RC2 when trying to view the map I get "Error GIcon is undefined" there are no errors in the log.
Can anyone help?
Link to forum in question? GIcon is javascript error and unless you edited your GoogleMap.php this should not happen.
I have not edited the mod. I have just re-installed and I still have the same problem. I can't provide a link as it's a new server, to replace my current board.
I'm lost. :-[
I can't figure out how in the world to give my users access to the Google Maps mod. I have post count groups, global moderators and admins. The admins can obviously see it, no one else can. Where do you set permissions on that thing?
Permissions -> Membergroup Permissions -> View MemberMap
For all groups that need access.
Don't have that option :(
Quote from: shortbuser on February 22, 2006, 08:02:32 PM
Don't have that option :(
so you cant see this at the very top left of general permisssions for each member group(after clicking modify)?
General
View forum statistics
View the memberlist
View Who's Online
Search for posts and topics
Change other people's karma
View Member Map
Place Pin on Member Map
No, I don't see View Membermap OR Place Pin...
When I try to remove this mod I get the following:
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
And the ManagerPermissions.php file fails the test.
what other mods you got?
I had a bit of trouble with a chat mod and this mod.. (ended up having to uninstall chat and then installing this mod first and then chat again from memory)
You would be better off manually editing the managepermissions.php file yourself by the sounds though.
That was it, I had to remove Karma Log Description then Google Maps installed correctly.
Anyone having trouble with IE, I am getting a 404 page cant be found, works fine with FF on all my Themes, Just one of my members told me as I don't use IE if I can help it :(
any help would be kool
Les www.lesmonds.co.uk (http://www.lesmonds.co.uk)
Edit Sorry found the bit I need /edit
Quote from: TLM on January 31, 2006, 03:25:10 PM
/me smacks face....
Duh... functions that are inside another function wont be able to be called....
*Goes about fixing the fix...*
This one should do it, works on TPF in IE and FF. Although I am not to happy with this fix, but its a must for IE likes to complain more than FF...
How do I put this fix on?
Quote from: lesmond on February 23, 2006, 02:35:15 PM
Quote from: TLM on January 31, 2006, 03:25:10 PM
/me smacks face....
Duh... functions that are inside another function wont be able to be called....
*Goes about fixing the fix...*
This one should do it, works on TPF in IE and FF. Although I am not to happy with this fix, but its a must for IE likes to complain more than FF...
How do I put this fix on?
just upload it over the old one ( GoogleMap.php )
Quotejust upload it over the old one ( GoogleMap.php )
Thanks I just found it ??? I didn't refresh my ftp so it wasn't showing up :-[
working Ok now with IE
Yeah sorry guys, have not been working on the mod due to personal life getting in the way. I almost have everything straightened out. I might be able to finsh what I was last working on this weekend but thats being way to hopeful right now. Got to love dealing with several college admissions and job hunting...
Take your time, TLM - you're doing a grand job, and I'm sure nobody wants you to rush it - no matter how much we're looking forward to the next version!
Many thanks for all your work on this one.
Be cool TLM. Your work is great 8) 8)
Great Mod! I just have one problem in that it will not display with IE. It works fine with Firefox. Has anyone else had this problem?
Here is the link if anyone cares to look at it:
http://towerclimbersgroup.com/
Thanks!
jfertic
Quote from: jfertic on February 26, 2006, 12:59:01 PM
Great Mod! I just have one problem in that it will not display with IE. It works fine with Firefox. Has anyone else had this problem?
Here is the link if anyone cares to look at it:
http://towerclimbersgroup.com/
Thanks!
jfertic
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
Hi,
I tried installing the mod on SMF 1.0.6 but after setting some permission and trying around I can't get over this error:
2: copy(/www/htdocs/v000001/smf/index.php~): failed to open stream: Permission denied
File: /www/htdocs/v124617/smf/Sources/Subs-Package.php
Line: 1241
What can I do ?
Thanks!
That was the trick! Working fine now.
jfertic
metalsoft Under Package Manager > [ Installation Options ] > Create Backup versions of replaced files with a tilda (~) on the end of their names. uncheck that box.
This mod is PERFECT! I added it to my site to help airsofters find each other.
http://www.airsoftretreat.com/forums/index.php?action=googlemap
I still get a blank page in the admin -> Features and Options page
1.1 rc2
Thanks for the help. Managed the installation now.
Is there a version available for the non-classic theme ? The YABB style.
Would it be hard to do a conversation ?
Take a look at How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
Hi TLM
Love your excellent GoogleMap implementation.
Had it working previously on SMF1.05
but was struggling with your latest 0.55 mod
following upgrading of our portal to SMF 1.1 RC2.
The problem was specifically in IE.
Now found your latest attached patch and all is working nicely.
Just a suggestion and in no way a criticism. ;D
It might help reduce your user support workload.
As this is your reference thread,
and the one which users find on searching for your mod title,
also as you regularly update the top post when you've added features.
This thread being excessively long,
makes spotting your ammmended attachments quite hard,
(plus there's more than one of them).
Please might I suggest that
you post the latest ammendment as an attachment directly into that top post.
Maybe add a comment that the latest file will always be available from there.
When the next unpackaged ammendment is available,
just add a new post refering users to the top post.
Hopefuly that will reduce your user-support workload.
Question
Is anything available/in the pipeline
which will enable the map to open in SMF, when it's working inside MKP ?
Looking forward to whatever other goodies you add.
HTH
ATB
Pau
hi fantastic mod having one little problem with it ???
i cant update the dbsettings via the forum its no big deal as i just went into the DB settings table and changed them there to get the setting i needed, but wondered what i did wrong ?
being an old YaBB.cgi user i always do mods by hand just dont trust the auto method ;D
any idea what i could have missed for this not to work ???
just wanted to say I made the map in % instead of the original 700px and it looks great
http://www.shrazzy.com/boardah/index.php?action=googlemap
in googlemap.template.html
find:
<td class="windowbg2" colspan="2" valign="middle" align="center">
<table>
<tr>
<td colspan="2" align="center">
<table><tr><td align="center">
<div id="map" style="width: 700px; height: 500px; color: #000000;"></div>
</td>';
replace with:
<td class="windowbg2" colspan="2" valign="middle" align="center">
<table width="100%">
<tr>
<td colspan="2" align="center">
<table><tr><td align="center" width="100%">
<div id="map" style="width: 100%; height: 500px; color: #000000;"></div>
</td>';
Great mod. Just got it installed and working on SWF 1.1 RC2.. Anyone know is there anyway to mark or create pins for items or locations that aren't linked to members. I would like my member map to have a couple pins on it marking meeting locations and such, or have a pin that goes to a message or link... Is there anyway to do this..
Thanks
Mike
Ok here is a few replies for you folks...
Quote from: basys on March 07, 2006, 10:46:50 AM
As this is your reference thread,
and the one which users find on searching for your mod title,
also as you regularly update the top post when you've added features.
...snip...
Hopefuly that will reduce your user-support workload.
No, in the past when I have done support for various things, no offence to users, they are friggn dumb. They would not look, rather just ask and post the blantly obvious question, example, couple pages back, IE problem asked, IE problem answered, NEXT POST IE Problem asked again...
Quote from: basys on March 07, 2006, 10:46:50 AM
Question
Is anything available/in the pipeline
which will enable the map to open in SMF, when it's working inside MKP ?
Custom data, thats all thats planned for the next version right now. Also no, I have no desire to get it to work with SMF+Any portal system. You may want to know why? I see no use for portal systems, for I tend to write my own due to no one portal supports exactly what I need/want.
Quote from: Craig on March 07, 2006, 01:41:19 PM
i cant update the dbsettings via the forum its no big deal as i just went into the DB settings table and changed them there to get the setting i needed, but wondered what i did wrong ?
being an old YaBB.cgi user i always do mods by hand just dont trust the auto method ;D
What kind of problems are you having? It should have worked fine on the auto method, but if you went step by step in the correct modification file I doubt you missed soemthing.
Quote from: Mikeobwan on March 09, 2006, 12:33:29 AM
Anyone know is there anyway to mark or create pins for items or locations that aren't linked to members. .... Is there anyway to do this..
Not as of yet, there will be, its in the next version when I get time to work on it more. Latly its been all of my classwork chewing my free time.
Hi Folks
Many thanks for your reply TLM
Quote from: TLM on March 09, 2006, 08:38:06 AM
No, in the past when I have done support for various things, no offence to users, they are friggn dumb. They would not look, rather just ask and post the blantly obvious question, example, couple pages back, IE problem asked, IE problem answered, NEXT POST IE Problem asked again...
This was exactly the reason for the suggestion. ;D
If on the very top line said something along the lines of -
"Do not post until you've tried the latest version attached to this top post."
re: Portals
Fully understand. ;D
Thanks for the mod.
Many thanks
ATB
Paul
Quote from: basys on March 09, 2006, 09:08:59 AM
If on the very top line said something along the lines of -
"Do not post until you've tried the latest version attached to this top post."
Again, people will not read it any way. So there is no point other than for those one or two people.
Quote from: TLM on March 09, 2006, 03:29:11 PM
Again, people will not read it any way. So there is no point other than for those one or two people.
So cynical, so young! :)
Never you mind, TLM. Keep up the good work when you get a chance. (Easter, perhaps?)
Quote from: pagination on March 09, 2006, 03:43:51 PM
Never you mind, TLM. Keep up the good work when you get a chance. (Easter, perhaps?)
Could be as early as next week, when hopefully I start my job of baby sitting a comp lab. I only need to help people print and other stuipdly simple things. I was planning on having to require another mod I created but I am re-thinking on that, but needless to say, the admin interface is gonna change.
Hopefully this wasnt discussed already and I missed it, but anyway. I'm getting the following error during install:
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
4. Execute Modification ./Sources/ModSettings.php Test failed
I have the following mods installed:
Ad Managment 1.4.1
SMF Arcade 1.2.4b
SMFShop 2.0
Shop Item: Change Display Name CSS 0.1
Any idea what may be wrong?
Thanks.
Jeremiah
EDIT:
Naturally I didn't go ahead and install, but well I'm getting a more serious error now.
When I click on packages I'm getting an 500 Internal Server Error.
Any idea what is up?
EDIT; EDIT:
Nevermind I fixed the internal server error, uninstalling then reinstalling my last mod: ad management.
Still can't install google map tho.
Problem is my mod does not like certain other mods on un/install. I am still trying to make a list to find out what mods it does not like so I can figure out exactly why it does not like them.
Quote from: TLM on March 09, 2006, 08:38:06 AM
Quote from: Craig on March 07, 2006, 01:41:19 PM
i cant update the dbsettings via the forum its no big deal as i just went into the DB settings table and changed them there to get the setting i needed, but wondered what i did wrong ?
being an old YaBB.cgi user i always do mods by hand just dont trust the auto method ;D
What kind of problems are you having? It should have worked fine on the auto method, but if you went step by step in the correct modification file I doubt you missed soemthing.
thanks for tha responce its no big deal as i wont be changing the setup... and i can via the database if needed... just thought i mention it incase i missed a file permission or somting like that.
oh and LOL at the dumb comment... You guys deserve a medal for putting up with some of the questions ive read in this place hahahaha ;)
What is the code in : "ModSettings.php" and "Modifications.english.php" that I have to remove. I am trying to uninstall version .51 so I can upgrade to .55 but I get 3 errors so I need to take that code out manually. I cant really read those .xml files to good.
EDIT: Pins show up in IE NOT in FF
Edit: Ok I have the old one uninstalled with no errors, and the new one installed. The map shows up and everything. I had to add the code to the modsettings.php file and the option for the map shows in the admin panel but when clicked you dont go anywhere. Also in my error log I get this error:
QuoteUndefined index: googleSidebar
File: /home/****/public_html/smf/Themes/default/GoogleMap.template.php (eval?)
Line: 27
No help at all ??? ????
I have found that the pins on the map show in IE but not in FF. Does anyone know a fix. I am using smf1.1 rc2 and joomla.
Quote from: Bigguy on March 13, 2006, 06:59:14 PM
EDIT: Pins show up in IE NOT in FF
Edit: Ok I have the old one uninstalled with no errors, and the new one installed. The map shows up and everything. I had to add the code to the modsettings.php file and the option for the map shows in the admin panel but when clicked you dont go anywhere. Also in my error log I get this error:
QuoteUndefined index: googleSidebar
File: /home/****/public_html/smf/Themes/default/GoogleMap.template.php (eval?)
Line: 27
I shall look into that error.
Quote from: Bigguy on March 14, 2006, 11:50:56 AM
No help at all ??? ????
Impatient are we? You do know some of us have other things to do, like me with a few projects that sucking my free time to work and support here.
Quote from: Bigguy on March 16, 2006, 05:58:33 PM
I have found that the pins on the map show in IE but not in FF. Does anyone know a fix. I am using smf1.1 rc2 and joomla.
Link so I can poke at it? Also I dont support smf+joomla, so if its an issue with that, your on your own.
If http://new.mywworld.com/index.php?option=com_smf&Itemid=36&action=googlemap is it, give me a test account to use that can access the map or set permissions to allow guests to view the map. (Very tempted to rip permissions out just because of this right here)
TLM I sent you a PM with test account. I don't mean to bump or be impatient, and I`m sorry about that. I realize everyone has a life and get busy. I try to run a small computer repair shop and raise my daughter so I know what busy is. Take your time, I just get rushed once and awhile.
Ok that IE issue is probally due to me doing bad coding again...
Whats happening is the sidebar being disabled, the javascript still looks for it. But I was able to view the pins afer i said no to script debuging, but I am sure thats probally what the issue is, this weekend I shall try to get around to maybe doing a clean up on that. I am reluctant to release the 0.56 version that is on my server due to it still has a few issues still. Also it would require me to release a second mod to allow access to the admin menu, I am still deciding on that for right now on a few ways. I may just edit the .55 and release it as .56 and call my servers .56, .60.
Also as someone said further back why not simply send only the data thats needed, I will look into it as well but will have to make a larger edit possibly.
This weekend my workload is lessened to just writting documents that can be churned out in about 7 hrs leaving lots of other time. :)
OK, thank you for taking the time to look at that as I do know how busy ppl can get. I will wait patiently for you to fix things up :) Thanks again.
Hi TLM
mod request please. ;D
On clicking a member's pin -
Members websites to open in a new window.
Many thanks
ATB
Paul
Anyone fixed the ie problem?
it doesnt work with ie here..
http://arkserver.servehttp.com/index.php?action=googlemap
Hi Folks
For those persons experiencing an Operation Aborted type error, here's a quick fix,
(occurs in IE, & possibly other browsers).
Backup your original GoogleMap.php first.
Substitute with this code saved as GoogleMap.php
Posted with TLM's permission.
I've temporarily posted the code inline.
My SMF membership premissions do not allow me to post attachments.
GoogleMap.php
Code removed as more suitable fix in next post
ATB
Paul
Well I would post a fix but it seems that I can upload an attachment anymore nor delete the old attachments.
So having to resort to this...
http://www.mindlesstux.com/files/GoogleMap.phps
rename to .php before uploading to your sites people. This fix should cover the IE issue and the fix that basys also did in a diffrent way that might be better than what he did.
Hi TLM
You too ;D
ATB
Paul
The fix I was hoping for was for FF as right now I cant get into my admin area for the map and the pins dont show up. I am also using joomla. Hope theres help. It also says when I use ff that google map is not compatible with this browser.
dudes.
I must be a moron. Forum had been working well, used pkg mgr to install mod, site error occurred, removed the 'arcade' mod, which magically allowed users to begin viewing threads again..so, I assume there must be some sort of conflict there, as well. Just to mention it.
Now, here's where the problem comes from. I have NO IDEA what I am doing, what I need to modify, where I need to place the button, how to link to it, etc..... at this point, the package is installed, but has no functionality, since I have done nothing but 'apply mod' from manager.
The instructions in the text file merely give a shout to the creator. No info I could find on what to do after application of the mod. I have searched pretty much all of the 25 pages in this thread, but can find no specifics. Am I correct in that 3 files need to be modified? I have my google ID, and once again, no idea how to add it to the code....lol...or even which code file I need to add it to. I think I need the grand 'ole click here, type this on this line, etc.
Any use in me trying to forge ahead, or should I just uninstall, cause I am not knowledgeable enough to get past this hump?
Ok, this is not an IE issue, sort of..... ::)
AOL uses IE's rendering core. I have IE working with the map on my site thanks to the updated GoogleMap.php. Except AOL's IE based browser wont render it. My one forum member that uses it reports this error:
"Google Map API is not compatible with this browser."
Any ideas?
Helo,
This is a very good mod, congratulation (in french Bravo :D)
1 - If there is other french users of this mod or if TLM want to add other language to it, I've made the translation of the language directory's file in French (See below).
2 - I'm using a french version of SMF 1.1 RC2, and I've notice a strange bug. My member can see the map button but when I'm login with admin permission I don't see it. This bug don't exist with the orginal version of SMF 1.1 RC2. Do you know what type of subtility of a different language version can explain this behaviour ?
Edited (30/03/2006) : It isn't a bug, I just miss to copy the index.template.php file from default theme to my theme folder. :P
Google map en francais:
Code to add in the ModSettings.french.php (Code à ajouter au fichier)
$txt['googleMapsEnable'] = 'Activer la carte de membre Google';
$txt['googleMapsEnableLegend'] = 'Afficher la légende';
$txt['googleSidebar'] = 'Où afficher la bare barre d\'information';
$txt['googleMapsKey'] = 'la clé d\'activation pour la page de l\'API Google Map';
$txt['googleMapsPinGender'] = 'Est-ce que le drapeau doit représenter le sexe du membre ?';
$txt['googleMapsPinNumber'] = 'Nombre maximum de drapeau à afficher sur une page';
$txt['googleMapsType'] = 'Le type de carte à afficher';
$txt['googleMapsDefaultLat'] = 'La latitude par défaut';
$txt['googleMapsDefaultLong'] = 'La longitude par défaut';
$txt['googleMapsDefaultZoom'] = 'Le zoom par défaut';
$txt['googleMapsEnableClusterer'] = 'Autoriser le regroupemeent de drapeau';
$txt['googleMapsMinMarkerCluster'] = 'Nombre minimum de drapeau par regroupement';
$txt['googleMapsMaxVisMarker'] = 'Nombre maximum de boite d\'info sur une carte';
$txt['googleMapsMaxNumClusters'] = 'Nombre maximum de regroupement';
$txt['googleMapsMaxLinesCluster'] = 'Nombre maximum de ligne dans la boite d\'info d\'un regroupement';
$txt['googleMapFO'] = 'Carte des Membres (Google Map)';
Code to add in the Modifications.french.php (Code à ajouter au fichier)
$txt['googleMap'] = 'Carte';
$txt['googleMapGreenPinGD'] = 'Drapeau d\'un membre';
$txt['googleMapGreenPinNG'] = 'Sexe inconnu';
$txt['googleMapBluePin'] = 'Homme';
$txt['googleMapRedPin'] = 'Femme';
$txt['googleMapPurplePin'] = 'Groupement';
$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Cliquez ici pour placer votre drapeau si vous ne l\'avez pas encore fait.</a>';
$txt['googleMapDisclaimer'] = 'Placer le drapeau avec la précision qui vous convient.';
$txt['cannot_googleMap_view'] = 'Désolé, vous n\'êtes pas autorisé à accéder à la carte des membres.';
$txt['permissionname_googleMap_view'] = 'Voir la carte des membres (Google Map)';
$txt['permissionhelp_googleMap_view'] = 'Permet d\'activer la carte des membres. Si cette option n\'est pas cochée, personne ne vera la carte.';
$txt['cannot_googleMap_place'] = 'Désolé, Vous n\'êtes pas autorisé à placer un drapeau sur la carte des membres.';
$txt['permissionname_googleMap_place'] = 'Placer un drapeau sur la carte (Google Map)';
$txt['permissionhelp_googleMap_place'] = 'Permet aux membres de placer un drapeau sur la carte. Si cette option n\'est pas cochée, personne ne poura placer de drapeau.';
Code to add in the Who.french.php (Code à ajouter au fichier)
$txt['whoall_googlemap'] = 'Visualise la <a href="' . $scripturl . '?action=googlemap">Carte des Membres</a>.';
$txt['whoall_.kml'] = 'Visualise la base de donnée Google Earth.';
Google Map in French (Part 2)
I've notice that there is a hard coding of the gender in the file GoogleMap.php. So if you use another language, the Pin won't represent the gender of the member.
To fix it you have to do the following modification :
Find and change in GoogleMap.php
if ($marker['gender']['name'] == "Male") {
$markers = $markers . 'gender="1"';
} elseif ($marker['gender']['name'] == "Female") {
$markers = $markers . 'gender="2"';
} else {
$markers = $markers . 'gender="0"';
}
in
if ($marker['gender']['name'] == $txt[238]) {
$markers = $markers . 'gender="1"';
} elseif ($marker['gender']['name'] == $txt[239]) {
$markers = $markers . 'gender="2"';
} else {
$markers = $markers . 'gender="0"';
}
Quote from: skyshroud on March 23, 2006, 03:12:30 PM
I must be a moron. Forum had been working well, used pkg mgr to install mod, site error occurred, removed the 'arcade' mod, which magically allowed users to begin viewing threads again..so, I assume there must be some sort of conflict there, as well. Just to mention it.
I will need to look into that sometime soon.
Quote from: skyshroud on March 23, 2006, 03:12:30 PM
Now, here's where the problem comes from. I have NO IDEA what I am doing, what I need to modify, where I need to place the button, how to link to it, etc..... at this point, the package is installed, but has no functionality, since I have done nothing but 'apply mod' from manager.
The instructions in the text file merely give a shout to the creator. No info I could find on what to do after application of the mod. I have searched pretty much all of the 25 pages in this thread, but can find no specifics. Am I correct in that 3 files need to be modified? I have my google ID, and once again, no idea how to add it to the code....lol...or even which code file I need to add it to. I think I need the grand 'ole click here, type this on this line, etc.
Quote from: TLM on December 18, 2005, 08:43:52 PM
Once installed you will want to go to Features and Options and enable it, along with put in a key for use on the forum. The key is required by the Google Maps API, and can be aquired at, http://www.google.com/apis/maps/signup.html Upon sign up there you will need to put in your sites URL,
example,
Your Forum is at http://www.example.com/forums/
In there sign up box put exactly that, do not include any file name just the directory path in the url.
You just did not read careful enough, first post there. :)
Quote from: Bill.Ramby on March 24, 2006, 09:23:44 PM
Ok, this is not an IE issue, sort of..... ::)
AOL uses IE's rendering core. I have IE working with the map on my site thanks to the updated GoogleMap.php. Except AOL's IE based browser wont render it. My one forum member that uses it reports this error:
"Google Map API is not compatible with this browser."
Any ideas?
Which web browsers does Google Local support? (http://local.google.com/support/bin/answer.py?answer=16532&topic=1499) That and I dont have anyone on AOL(aohell) to test this with. Can that user use google maps anywhere else?
Quote from: OncleBen31 on March 27, 2006, 10:50:24 AM
Helo,
This is a very good mod, congratulation (in french Bravo :D)
1 - If there is other french users of this mod or if TLM want to add other language to it, I've made the translation of the language directory's file in French (See below).
2 - I'm using a french version of SMF 1.1 RC2, and I've notice a strange bug. My member can see the map button but when I'm login with admin permission I don't see it. This bug don't exist with the orginal version of SMF 1.1 RC2. Do you know what type of subtility of a different language version can explain this behaviour ?
Edited (30/03/2006) : It isn't a bug, I just miss to copy the index.template.php file from default theme to my theme folder. :P
1) I will add those soon, I dont think I am gonna add more language lines for a while.
2) Accualy I had that happen on my test site and my domains site, so not exactly sure what caused it, but probally the same but the test site using the default theme.
3) As for the hard coding of those lables I will be updating that to what looks like you did, just so it will be all the same.
As sort of an update as to why the mod has kind of stalled, class is gotten in the way mostly. I have not had any real free time to where I can work on the next planned feature, custom data and a somewhat cleanup on the code. Spring break for me is coming up, and I should have time then if I dont go blow it with friends of mine or use it to get a certification I need. So dont go thinking I am leaving this for the wayside.
This might sound stupid, but how do I extract the ( GoogleMapsMod-0_55.tar.gz )
I am only used to .zip files, what do I need to used for the .tar.gz
Hope anyone can help.
Thank you
I use WinRar, which is free (with nag screens). Google should find you a download site.
Quote from: worlddect on April 06, 2006, 06:38:58 AM
This might sound stupid, but how do I extract the ( GoogleMapsMod-0_55.tar.gz )
I am only used to .zip files, what do I need to used for the .tar.gz
Hope anyone can help.
Thank you
If you want to unzip it, use winrar, like the other guy said. If you just want the package manager to handle it, simple upload the gz to the packages folder, and the forum will do the rest..
3. Execute Modification ./Sources/ManagePermissions.php Test failed
4. Execute Modification ./Sources/ModSettings.php Test failed
I use 1.1RC2 version.
Any sugestion ? Thanks.
What mods do you have installed statornic?
Hi People,
I just installed this mod, it looks pretty good.
I've made a spanish translation if anyone wants it at the spanish forum.
Now I have two questions:
I just enabled the mod in the admin section, I can see the map in my profile. But where are the pins indicating the users location?
I don't see them!. I've warned my users I was going to install a mod to map them all in a map so I guess lots of them have written something in the Location, mine is Buenos Aires, Argentina.
It's because I'm looking at the map in my profile page? It's supposed to show in any other page?
Best,
Carla
Quote from: carlatf on April 07, 2006, 04:42:10 PM
I don't see them!. I've warned my users I was going to install a mod to map them all in a map so I guess lots of them have written something in the Location, mine is Buenos Aires, Argentina.
It's because I'm looking at the map in my profile page? It's supposed to show in any other page?
You will have to get your uses to go back to there profiles to place there pins.
It should also put a link in the menu bar, if it does not, its a known template issue, it should add a link to ?action=googlemap which will show everyones pins
ups... i'm a moron :(
I thought the pins were put automatically acording to the users location...
cant it be that the pins are put on the basis of the user's IP for each user?
so that its all automatically done...
Quote from: Prasad007 on April 08, 2006, 08:43:54 AM
cant it be that the pins are put on the basis of the user's IP for each user?
so that its all automatically done...
Yes/No
Yes it can if I spend the time to do that, No, I will not put my time into it right now.
The only problem with that idea is if you have 20 users on the same ISP, you would have 20 stacked pins unless the user edits there profile. Also what if your user does not want there location revealed in any way, this idea would violate what they want to reveal.
Quote from: TLM on April 08, 2006, 11:46:25 AM
Quote from: Prasad007 on April 08, 2006, 08:43:54 AM
cant it be that the pins are put on the basis of the user's IP for each user?
so that its all automatically done...
Yes/No
Yes it can if I spend the time to do that, No, I will not put my time into it right now.
The only problem with that idea is if you have 20 users on the same ISP, you would have 20 stacked pins unless the user edits there profile. Also what if your user does not want there location revealed in any way, this idea would violate what they want to reveal.
okay sure np.
ok. ive installed and configured a few packages, so im not totally blind .............
but this google map package is driving me nuts.
after trying to install the mod.....i get this:
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/Load.php Test successful
3. Execute Modification ./Sources/ManagePermissions.php Test failed
4. Execute Modification ./Sources/ModSettings.php Test successful
5. Execute Modification ./Sources/Profile.php Test successful
6. Execute Modification ./Themes/default/style.css Test successful
7. Execute Modification ./Themes/default/index.template.php Test successful
8. Execute Modification ./Themes/default/Profile.template.php Test successful
9. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
10. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
11. Execute Modification ./Themes/default/languages/Who.english.php Test successful
12. Extract File ./Sources/GoogleMap.php
13. Extract File ./Themes/default/Clusterer.js
14. Extract File ./Themes/default/GoogleMap.template.php
15. Extract File ./Themes/default/images/google_earth_feed.gif
16. Extract File ./Themes/default/images/english/googlemap.gif
17. Execute Code add_settings.php
basically number 3 FAILS.
if i continue to install, afterwards i click on the map button, i get an internet explorer error stating that the .../Forum/index.php?action=googlemaps cant be found, aborted.
the google key and path are correct.
just exactly where and how do i configure this thing to give it permission as outlined in the line 3 error?
I installed this on my forum and it seems to work with one minor issue. When I first installed it and placed my pin if I clicked on my name on the side bar it made my pin blink. Now that others have placed their pins the sidebar does not make the users pin blink when their name has been clicked. The javascript error is that myclick is not defined. ???
This is with SMF 1.0.7
Quote from: Newbie116 on April 08, 2006, 11:30:24 PM
ok. ive installed and configured a few packages, so im not totally blind .............
3. Execute Modification ./Sources/ManagePermissions.php Test failed
basically number 3 FAILS.
if i continue to install, afterwards i click on the map button, i get an internet explorer error stating that the .../Forum/index.php?action=googlemaps cant be found, aborted.
the google key and path are correct.
just exactly where and how do i configure this thing to give it permission as outlined in the line 3 error?
Well for one, what mods/packages have you installed? I am willing to bet one of them also modifies that file and my searching and adding to it failes cause of that.
Quote from: uid_0 on April 09, 2006, 12:48:54 AM
I installed this on my forum and it seems to work with one minor issue. When I first installed it and placed my pin if I clicked on my name on the side bar it made my pin blink. Now that others have placed their pins the sidebar does not make the users pin blink when their name has been clicked. The javascript error is that myclick is not defined. ???
This is with SMF 1.0.7
First word, impossible, I never put any code into make pins blink, the location mod does that, I belive. As for the function not defined, give me a url and indoubtably a test user so I can see the map.
Sorry, my discription was inaccurate. It was the info cloud that popped up I believe, which it no longer does. I have sent you a PM. Thanks for the willingness to take a look at this, as well as for the mod itself.
Quote from: JayBachatero on April 07, 2006, 02:12:59 PM
What mods do you have installed statornic?
These are the installed mods:
VisualWarning
PieChart
AttacmentsMod
BoardViewers
BoardNotes
EmailFlash
EnhagedGrStream
GoogleBot
MessagePreview
MessagePreviewOnHover
PaypallDonation
SearchTopic
Captcha
Streaming
UsernameTag
UsersOnlineToday
PJIRC
Hi, I won't search this thread by myself, the search is down...
Ok, I installed mkportal, now Google maps doesn't work anymore... where the map should be there's only a gray field :( Any ideas?
Ok...I finally finished reading all of the posts here (there are A LOT of them), so now I ask the questions that were not answered in this topic.
1. The Mod installed with relative ease and I installed the fixed googlemap.php file...I still get a javascript error of clusterer not defined in ie.
2. I can place my pin in the profile, but no pins show up in the main map at all...
ummm...that is actually all of the errors i have...
OH oh!...one more (sorry) did the issue with the sidebar error get fixed? I am using version.55 and if i turn the sidebar off it gives me a tom of errors...turn it in and n errors.
Thanks in advance!
I think I'm having the same problem as technodragon73 whereas the main map won't actually show anything. The package installed without incident. The profile part works without problems. Just the main map doesn't want to display.
<snipped web site URL>
It's viewable to guests but if you want to login, there's a test account (user: test, password: test).
Anyone have any ideas on what might be wrong?
Edit: Using SMF 1.1 RC2 and Google Member Map 0.55
Nevermind my plea for help. I just did a fresh install of SMF to test on and it installed and works perfectly on it. Thus, it must've been something I did with my theme. I'll figure this one out. Thanks anyway!
Ok...fixed the error...for some reason most of the files uploaded with 0 bytes...i also was able t omake it so that the additional fields in the member profile show up as well
i just put the fixed GoogleMap.php on my site, and now i get a object error
and then the IE error
i am using
smf 1.1 rc2 and tp 0.8.6
google member map 0.55
Quote from: TLM on March 21, 2006, 09:27:20 AM
Well I would post a fix but it seems that I can upload an attachment anymore nor delete the old attachments.
So having to resort to this...
http://www.mindlesstux.com/files/GoogleMap.phps
rename to .php before uploading to your sites people. This fix should cover the IE issue and the fix that basys also did in a diffrent way that might be better than what he did.
Even with this update file, I get these error messages :
8: Undefined index: googleSidebar
File: /home/.bloom/****/****.com/forum/Themes/default/GoogleMap.template.php (map sub template - eval?)
Line: 22
8: Undefined index: googleSidebar
File: /home/.bloom/****/****.com/forum/Themes/default/GoogleMap.template.php (map sub template - eval?)
Line: 27
8: Undefined index: googleSidebar
File: /home/.bloom/****/****.com/forum/Sources/GoogleMap.php
Line: 106
8: Undefined index: googleSidebar
File: /home/.bloom/****/****.com/forum/Sources/GoogleMap.php
Line: 109
Moreover, the map throws my TinyPortal's right-sided blocks off the screen. How can I resize the map ?
the googlemap.php patch had me going there for a while, but now that it's up THANKS.
Got a PayPal account? Let me know your favorite beer brand and I'll buy you a sixpack.
Mike Russell
Quote from: GunnarB on April 14, 2006, 11:04:47 AM
i just put the fixed GoogleMap.php on my site, and now i get a object error
and then the IE error
i am using
smf 1.1 rc2 and tp 0.8.6
google member map 0.55
I am going to assume your site is, http://www.thebesttrek.net/ due to its the only one when I loged in with test/test, and went to the map it did exactly what you discribed, in IE only. I will have to poke at this for a while, probally just give up in favor of redoing the mod into the new Maps API.
Quote from: nite0859 on April 14, 2006, 02:35:57 PM
Even with this update file, I get these error messages :
8: Undefined index: googleSidebar
File: /home/.bloom/****/****.com/forum/Themes/default/GoogleMap.template.php (map sub template - eval?)
Line: 22
8: Undefined index: googleSidebar
File: /home/.bloom/****/****.com/forum/Themes/default/GoogleMap.template.php (map sub template - eval?)
Line: 27
8: Undefined index: googleSidebar
File: /home/.bloom/****/****.com/forum/Sources/GoogleMap.php
Line: 106
8: Undefined index: googleSidebar
File: /home/.bloom/****/****.com/forum/Sources/GoogleMap.php
Line: 109
Moreover, the map throws my TinyPortal's right-sided blocks off the screen. How can I resize the map ?
What version of the mod are you using, URL with test user/pass? Its probally something TP is doing, and I dont do anything to ensure the mod works with any portal.
Quote from: curvemeister on April 15, 2006, 06:59:41 AM
the googlemap.php patch had me going there for a while, but now that it's up THANKS.
Got a PayPal account? Let me know your favorite beer brand and I'll buy you a sixpack.
Mike Russell
Sorry, gonna have to disappoint you there, cant buy beer for another few months. Even then I more than likly will not buy any beer then. But yes I have a paypal account but no, not taking any tips for this mod.
the googlesidebar error is related to having the sidebar turned off on the map....I had the same error. Once i turned the sidebar on it went away.
Quote from: technodragon73 on April 15, 2006, 12:07:45 PM
the googlesidebar error is related to having the sidebar turned off on the map....I had the same error. Once i turned the sidebar on it went away.
Wanna say thats a template issue, and im pretty sure I fixed it...
I don't know...I am using all of the latest files you have made available
Ok, I corrected the sizing.
You need to edit 'GoogleMap.template.php'
Find
<div id="map" style="width: 700px; height: 500px; color: #000000;"></div>
just change the width to whatever you want if you're using tiny portal or otherwise have blocks on the sides of your forum.
strange that the map works in the profile
there it shows up and no error
Quote from: TLM on April 15, 2006, 02:00:21 PM
Quote from: technodragon73 on April 15, 2006, 12:07:45 PM
the googlesidebar error is related to having the sidebar turned off on the map....I had the same error. Once i turned the sidebar on it went away.
Wanna say thats a template issue, and im pretty sure I fixed it...
got the same error (with sidebar disabled) - enabled sidebar on the bottom, and errors are gone.. I've also used any updated files you've posted.. just to let you know
ATTENTION
I am redoing the entire mod this week, hopfully I will clear out any bugs currently plauging, so for this week I am droping support while I work on the mod again. There is also another reason for me to do this re-doing of the mod. Google Maps API has changed versions, and has changed alot of the code requiring me to basicly redo alot of the code. In a couple of months the old API will be turned off says google. I will also be going back and testing this mods ability to install with other mods, with hopes to clear out any problems many seem to have with this, and quite frankly are "dumb" to why the mod fails to install.
With that said, expect by the end of the week a new version of the mod, numbered 0.60. Unfortantly it wont have mulitple data sources, but that is to come probally 3 wks after this.
really appreciate all the work you've done on this mod, had it installed for barely a day, and I've not stopped getting compliments on it :)
How's the mod coming along ?
Which would you rather - that he gets the mod finished, or takes time out to answer questions like that?
Well I hit a snag in the javascript, IE likes to throw an error on a line that does not exist, so I am kind of stumped on the problem right now. Till I can figure that out, its held up, unless any of you are any kind of javascript wizards that could tell me the problem. It does work and is only done for 1.1Rc2, once I solve that bloody IE error and put away this school work it will remain 1.1Rc2. After that comes the testing stage for mod compatability, which I never did before. I thought I could have gotten this mod done this week but I had some classwork that had to be redone for a group and it takes longer than this code.
Quote from: pagination on April 22, 2006, 07:24:40 PM
Which would you rather - that he gets the mod finished, or takes time out to answer questions like that?
Um. Yeah.
Quote from: TLM on April 22, 2006, 08:40:45 PM
Well I hit a snag in the javascript, IE likes to throw an error on a line that does not exist, so I am kind of stumped on the problem right now. Till I can figure that out, its held up, unless any of you are any kind of javascript wizards that could tell me the problem. It does work and is only done for 1.1Rc2, once I solve that bloody IE error and put away this school work it will remain 1.1Rc2. After that comes the testing stage for mod compatability, which I never did before. I thought I could have gotten this mod done this week but I had some classwork that had to be redone for a group and it takes longer than this code.
I think that all you mod writers need to accept $1.00 donations from anyone using your mods. I'm sure this one'll rock. I'll volunteer to test it out for you. I have a forum right now that isn't open to the public -- because of my own testing and working out performance issues with my host provider. I have like 15+ mods already installed. When ever this mod reaches that testing phase, send me a pm and I'll integrate it. I have an up-to-date backup of my forum and of my sql database, so there ain't no way your mod will fudge things up for me.
Peace.
Hi there:
I'm using SMF 1.1RC2 and i've tryed to install GOOGLE MAP MOD , but one error appeared:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg129.imageshack.us%2Fimg129%2F6484%2Fgooglemappackage5yz.jpg&hash=ffc7ad828557c8010e4ac985429b31ba59543c84)
I have these packages installed:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg236.imageshack.us%2Fimg236%2F8617%2Fsmfinstalledpackages5zn.jpg&hash=84ac01b85a2280a292f957eb1499e938a8f76eba)
How can i change modsettings.php to allow the configuration of this mod ?
Thanks in advance. ;)
I had the same issue...the problem was with the way the add/replace was configured in the install versus the actual way it was in the file. The simplest way would be to reference the install package and then modfy the modsettings file to reflect what is in the package.
one thing I have noticed is that the main google maps seems to have updated some of its images to be hi-res now, but when I look at my own google maps on my forum I am still with the low-res images. Why is this?
O.
My members who use IE get this error when they try to visit the member map:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi20.photobucket.com%2Falbums%2Fb206%2Fshawnpadgett%2Fgooglemaperror.gif&hash=71ae4ab4730514131445b01225fd00c7f5c8129f)
SMF 1.1 RC2
I've seen that error on a few forums using Google Member Map when visiting in IE. Then look in FF or Opera and all is fine. :(
I realize this thread is about 28 pages long right now, but the answer to the IE problem has been answered. You might want to start going through the pages backwards until you find it. ;)
Quote from: bloodlust on May 03, 2006, 07:29:41 PM
My members who use IE get this error when they try to visit the member map:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi20.photobucket.com%2Falbums%2Fb206%2Fshawnpadgett%2Fgooglemaperror.gif&hash=71ae4ab4730514131445b01225fd00c7f5c8129f)
SMF 1.1 RC2
http://www.simplemachines.org/community/index.php?topic=61213.msg470472#msg470472
I have began taking bids on scriptlance.com for the completion of this mod. Am wondering if more programmers will bite. Is $200 a good bid price, or is it over/under inflated ?
A sample of one of the programmers work (integrating member list with Google Maps) is here (http://www.rebreatherworld.com/VBGooglemap.php) and here (http://72.22.76.249/map/users).
Granted, it's vBulletin and Drupal, but it's something that can be ported over, I'm sure.
I have 2 errors occuring in my membermap:
The first is that pin clusters aren't showing even though I've placed two pins right on top of each other (just about) - and set the minimum pins/cluster to 2
Also there's a javascript error:
Line: 110
Char: 13
Error: 'document.getElementByID(...)' is null or not an object
Code: 0
URL: http://www.axeofazeroth.org/gforum/index.php?action=googlemap
If I had more knowledge of how googlemaps works I would take the challange of finishing it.
The work that has been done is brilliant but it has slowed down a lot the past couple of months.
Is there a reason why my map on my forum isnt showing the latest images??
O.
lol well i cant even get mine to work,
I paste key and enable yet it never enables oh well, when this mod is sorted it will be a nice addition to our forum:
http://stormlrdsreality.co.uk/rhcforum
Quote from: StormLrd on May 24, 2006, 07:40:41 PM
lol well i cant even get mine to work,
I paste key and enable yet it never enables oh well, when this mod is sorted it will be a nice addition to our forum:
http://stormlrdsreality.co.uk/rhcforum
Tell me about it.
Maybe all of us who want the mod completed can "chip in" to have it done on scriptlance. Once it's done, we can make it public on this forum to have it customized by the billiant php programmers on here... It's an idea, at least.
StormLrd -
You have a beautiful forum, by the way.
Quote from: nite0859 on May 24, 2006, 10:19:13 PM
StormLrd -
You have a beautiful forum, by the way.
Thanks very much
Quote from: nite0859 on May 14, 2006, 01:33:27 PM
I have began taking bids on scriptlance.com for the completion of this mod. Am wondering if more programmers will bite. Is $200 a good bid price, or is it over/under inflated ?
A sample of one of the programmers work (integrating member list with Google Maps) is here (http://www.rebreatherworld.com/VBGooglemap.php) and here (http://72.22.76.249/map/users).
Granted, it's vBulletin and Drupal, but it's something that can be ported over, I'm sure.
Given up on me? Man never let a person try to complete his academics over code....
Quote from: iivel on May 17, 2006, 03:52:27 PM
I have 2 errors occuring in my membermap:
The first is that pin clusters aren't showing even though I've placed two pins right on top of each other (just about) - and set the minimum pins/cluster to 2
Also there's a javascript error:
Line: 110
Char: 13
Error: 'document.getElementByID(...)' is null or not an object
Code: 0
URL: http://www.axeofazeroth.org/gforum/index.php?action=googlemap
Give me a test account to use (via a PM), the error is not exactly useful to me like that, as for clustering, its somewhat of a odd thing. I might have labled those settings wrong, I will look into that.
Quote from: StormLrd on May 24, 2006, 07:40:41 PM
lol well i cant even get mine to work,
I paste key and enable yet it never enables oh well, when this mod is sorted it will be a nice addition to our forum:
http://stormlrdsreality.co.uk/rhcforum
Quote from: nite0859 on May 24, 2006, 10:19:13 PM
StormLrd -
You have a beautiful forum, by the way.
Both of ya PM/IM/Email me so I remember to try to help ya guys out with your problems, I am betting its something simple to a point.
OH sure put your Academics above our sniveling ever demanding needs.
I see how it is...
Seriously, Keep up the good work as you can and thanks for it!!!
It was kind of hard to put it onto my custom theme - aditionally, i had to translate it. But now it works briliantly! TY!
But TLM, tell me:
When i look at stadthagen, germany on Maps.google.com I can see much more details, but you mod still uses the "old" sattelite-pictures???
//Edit: Genders don't seem to work. All pins are green!
//Edit 2: SMF 1.1RC2, Googlemap mod with updated google-sth.php, custum theme (german), german language, no aditional packages yet.
Quote from: bmhm on May 28, 2006, 02:41:33 PM
When i look at stadthagen, germany on Maps.google.com I can see much more details, but you mod still uses the "old" sattelite-pictures???
//Edit 2: SMF 1.1RC2, Googlemap mod with updated google-sth.php, custum theme (german), german language, no aditional packages yet.[/font]
The API does not use the latest images, been seening posts like this in the API group.
google-sth.php? Uhh? I did not makes such file.
Working on a update right now, trying to include as many languages as I can.
Quote from: TLM on May 28, 2006, 03:01:40 PM
google-sth.php? Uhh? I did not makes such file.
Working on a update right now, trying to include as many languages as I can.
Google-Something
I think it's just called GoogleMap.php or so...
If I can help you translating - just tell me, but I heard of existing german translations on mkportal-support.de or some similar domain...
How do you ask for the gender? How is it saved in the Database...?
Ah I'm in barracks until friday, so don't expect me to answer soon ;)
Regards & TY for your great mod!
//Edit: Found the post you mentioned: http://groups.google.com/group/google.public.web-apis/browse_thread/thread/f52b79a40cfb4eb8/e3a0f0ab5d37dc58?q=google+maps&rnum=1#e3a0f0ab5d37dc58
Quote from: bmhm on May 28, 2006, 05:36:30 PM
How do you ask for the gender? How is it saved in the Database...?
/me points to users profiles of male/female/no answer.
Hi
In Map mode, I can´t see more than the name country in Portugal, Spain and France. It´s normal?
Because in www.google.com/maps I can see all the cities in portugal and the main and secondary roads
There is anything i can change in files to this?
when i click to add a pin, i want to define a default coordinates....how can i do it?
I know how to do in main map...but in the map on the profile i dont know
can you help me?
Quote from: vasco on May 29, 2006, 06:14:26 AM
In Map mode, I can´t see more than the name country in Portugal, Spain and France, in www.google.com/maps I can see all the cities in portugal and the main and secondary roads
I just asked about that a page earlier. Google uses updated maps for it's online services. The so called API (which is used for development) is out-dated. Here you can find an official announcement: Upcoming change to map data on API sites (http://groups.google.com/group/Google-Maps-API/browse_frm/thread/57455b93bec19bbd/31fd56ceba8b7a93)Quote from: vasco on May 29, 2006, 06:52:00 AM
when i click to add a pin, i want to define a default coordinates....how can i do it?
Hurt me if I'm wrong - but you CANNOT, as far as I know, unless the setting files can be edited manually.Quote from: TLM on May 28, 2006, 05:59:50 PM
Quote from: bmhm on May 28, 2006, 05:36:30 PM
How do you ask for the gender? How is it saved in the Database...?
/me points to users profiles of male/female/no answer.
Of course I know that - but I see "männlich/weiblich/keine Angabe" - so how is it being saved in SMF's db? If there's the entry "männlich" and your script only recognizes "male" - we have a problem here! Or is it saved like "1/2/0"? Then it would be easier for your script to colorize the pins...
So how will your next version support languages? If I got it right, I just have to translate the modifications.german.php to german - instead of just "cp modifications.english.php modifications.german.php" - Am I right? Did I get it? ;)
//Edit: A bunch of typing errorsEDIT: Fixed link as it was wrong and it was redirecting to Microsoft.com ::)
and the question of the roads? anybody know?
another thing I think is that the googlemap is not user friendly for the members. Don´t you think to add the pin should be in same map when you see the members? mutch more easy
Quote from: bmhm on May 29, 2006, 12:14:18 PM
Quote from: vasco on May 29, 2006, 06:14:26 AM
In Map mode, I can´t see more than the name country in Portugal, Spain and France, in www.google.com/maps I can see all the cities in portugal and the main and secondary roads
I just asked about that a page earlier. Google uses updated maps for it's online services. The so called API (which is used for development) is out-dated. Here you can find an official announcement: Upcoming change to map data on API sites (http://groups.google.com/group/Google-Maps-API/browse_frm/thread/57455b93bec19bbd/31fd56ceba8b7a93)
Google uses older data on the API and the newer data on there live site. Same with road data...
Quote from: bmhm on May 29, 2006, 12:14:18 PM
Quote from: vasco on May 29, 2006, 06:52:00 AM
when i click to add a pin, i want to define a default coordinates....how can i do it?
Hurt me if I'm wrong - but you CANNOT, as far as I know, unless the setting files can be edited manually.
ANTI-HURT: Correct, cannot be done, so far via admin menu, can be done manually. This will be done in the new version I am working on, along with APIv2.
Quote from: bmhm on May 29, 2006, 12:14:18 PM
Quote from: TLM on May 28, 2006, 05:59:50 PM
Quote from: bmhm on May 28, 2006, 05:36:30 PM
How do you ask for the gender? How is it saved in the Database...?
/me points to users profiles of male/female/no answer.
Of course I know that - but I see "männlich/weiblich/keine Angabe" - so how is it being saved in SMF's db? If there's the entry "männlich" and your script only recognizes "male" - we have a problem here! Or is it saved like "1/2/0"? Then it would be easier for your script to colorize the pins...
So how will your next version support languages? If I got it right, I just have to translate the modifications.german.php to german - instead of just "cp modifications.english.php modifications.german.php" - Am I right? Did I get it? ;)
Going to fix this in new version, I think I screwed up some, theres a $txt var that can replace my static entrys in code that should, in any lang file, work.
Quote from: vasco on May 29, 2006, 02:02:38 PM
another thing I think is that the googlemap is not user friendly for the members. Don´t you think to add the pin should be in same map when you see the members? mutch more easy
No I dont think it would be better. To me it makes more sense for the person to go to there profile like they should to place there info. Using info in a broad term. Nothing irks me more than people that dont know how to fill there profile out when its so simple to do.
Great promises, TLM! I'm looking forward to the new version of your mod :) I just can't wait the day it's ready for download! ;)
One thing left: Who's going to translate it into german? Can I apply? ^^ I'd like to support it now, since I like it that much ;)
Here what I already got:Quote/themes/default/Modifications.german.php
$txt['googleMap'] = 'Karte';
$txt['googleMapGreenPinGD'] = 'Irgendjemands Pin';
$txt['googleMapGreenPinNG'] = 'Kein Geschlecht';
$txt['googleMapBluePin'] = 'männlich';
$txt['googleMapRedPin'] = 'weiblich';
$txt['googleMapPurplePin'] = 'Pinanhäufung';
$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Hier klicken, um den Pin (neu) zu setzen.</a>';
$txt['googleMapDisclaimer'] = 'Setze den Pin so nah, wie du magst.';
$txt['cannot_googleMap_view'] = 'Sie sind leider nicht berreichtigt, die Mitgliederkarte zu betrachten.';
$txt['permissionname_googleMap_view'] = 'Mitgliederkarte betrachten';
$txt['permissionhelp_googleMap_view'] = 'Leuten das Anschauen der Mitgliederkarte erlauben. Falls nicht gesetzt, werden die Leute die Karte nicht sehen.';
$txt['cannot_googleMap_place'] = 'Sie sind leider nicht berechtigt, einen Pin auf die Karte zusetzen.';
$txt['permissionname_googleMap_place'] = 'Einen Pin auf die Mitgliederkarte setzen';
$txt['permissionhelp_googleMap_place'] = 'Leuten das Setzen des Pins auf die Mitgliederkarte erlauben. Falls nicht gesetzt, werden die Leute ihren Pin nicht setzen können..';
TLM? I miss a $txt for: "Click to place a point or click on your point to remove it."
QuoteModSettings.german.php
$txt['googleMapsEnable'] = 'Google Mitgliederkarte aktivieren';
$txt['googleMapsEnableLegend'] = 'Pinlegende anzeigen';
$txt['googleSidebar'] = 'Wo die Seitenleiste angezeigt wird';
$txt['googleMapsKey'] = 'Der Schlüssel von der Google Maps API-Seite';
$txt['googleMapsPinGender'] = 'Sollen die Pins das Geschlecht des Benutzers wiedergeben?';
$txt['googleMapsPinNumber'] = 'Höchstanzahl der gesamten Pins auf der Karte';
$txt['googleMapsType'] = 'Welche Kartenform gezeigt wird';
$txt['googleMapsDefaultLat'] = 'Standardbreitengrad';
$txt['googleMapsDefaultLong'] = 'Standardlängengrad';
$txt['googleMapsDefaultZoom'] = 'Standardvergrößerung';
$txt['googleMapsEnableClusterer'] = 'Pinanhäufungen aktivieren';
$txt['googleMapsMinMarkerCluster'] = 'Mindestzahl an Pins für eine Anhäufung';
$txt['googleMapsMaxVisMarker'] = 'Höchstanzahl der anzuzeigenden Pins auf der Karte';
$txt['googleMapsMaxNumClusters'] = 'Höchstanzahl der Pinanhäufungen';
$txt['googleMapsMaxLinesCluster'] = 'Höchstanzahl der Zeielen in der Anhäufungsbox';
$txt['googleMapFO'] = 'Mitgliederkarte';
QuoteWho.german.php
$txt['whoall_googlemap'] = '<a href="' . $scripturl . '?action=googlemap">Mitgliederkarte</a>. anschauen';
$txt['whoall_.kml'] = 'Google Earth Einspeisungen angucken.';
Regards
PS; I can't add files... otherwise I would have added a german version of "googlemap.gif"...
so you will have to make do with this link ^^
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fhome.arcor.de%2Fbmhm%2Ffiles%2Fbilder%2Fgooglemap.gif&hash=01f359a6e4beb2cdc225c961db9526efc3b50b55) (http://home.arcor.de/bmhm/files/bilder/googlemap.gif) <-- you can click that... really! ;)
End of edits
.
QuoteGoogle uses older data on the API and the newer data on there live site. Same with road data...
Do you know if will be available soon?
Because members would like to see cities to help to locate their home.
Quote
ANTI-HURT: Correct, cannot be done, so far via admin menu, can be done manually. This will be done in the new version I am working on, along with APIv2.
How can I do mannually?
It´s possible a feature to search a city like in google.com/maps?
My members says that isn´t user fliendly..and i have to explain how to do it...I think we could do something more easy to find the place where they leave and more easy to add a pin...just a thought ;)
I experience a slow zoom in google map...its normal?
Is anyone else having this problem : Satellite and Hybrid dont seem to be working, it keeps on saying "We are sorry,but we don't have imagery at this zoom level for this region. Try zooming out for a broader look". I have zoomed all the way out and still nothing. Seems to work on map view.
O.
sometimes I have that problem too
Quote from: Owain on June 02, 2006, 04:17:29 AM
Is anyone else having this problem : Satellite and Hybrid dont seem to be working, it keeps on saying "We are sorry,but we don't have imagery at this zoom level for this region. Try zooming out for a broader look". I have zoomed all the way out and still nothing. Seems to work on map view.
O.
It depends on your zooming level, with the actual used API v1 you can't see more detailed pictures (graphics) of most european countries. The API (application programming interface) v2 is able to get the more actualized data from the google maps server.
You can change that within the mod quiet easily and see the actual map data, but the pins and some other things don't function anymore this way.
So I am really looking forward to the new version of this really cool mod, also including some langauges.
so basically, wait for the new version and the new graphics will be available?
O.
yes. that's all
when will be available the new version?
the pins already posted, will be there with the V2?
Wow! This looks like an awesome mod! I haven't read through all of the thread yet, but is there a way to have a default center and zoom level for the map? For example, my forum is based around activities in the state of Florida, would it be possible to have the map zoomed to Florida when people click on the link?
Thanks,
--sam
yes you can set the coordinates and the zoom level, we are just waiting for the release for version 2... ;D
We can't seem to open the Member Map in Internet Explorer on my forum, only Firefox. IE gives a message saying that it cannot open the page, and the action is aborted. We can look at the map in a member's profile in IE, though.
OK - I have a weird problem .... the IE problem .. but with a 'twist'
We recently moved over from PHPBB to SMF within our joomla based site and are using the JoomlaHacks SMF bridge to integrate SMF and Joomla. We have installed it on both a test site and our live site and all works really well. We are slowly loading any mods we want to use onto our test site and if it works we decide whether to put it onto our live site.
We installed the Google Member Map 0.55 into our test site and had the IE problem. I found and read through this thread and downloaded the 'fixed' GoogleMap.php file - this resolved the problem and it works fine. We then installed it on our live site along with the fixed file but continue to get the IE error after applying the fix. (applies to both IE6 and IE7 Beta)
I have compared every file that the mod changed line-by-line with the versions on our test site and discovered NO differences whatsoever so cant figure why we still get the problem .......
The only thing that is different is a couple of the installed modules ... are there any known issues with certain modules that we should be aware of ?
Test Site:
Joomla 1.08
SMF 1.1 RC2
Joomla SMF Bridge 1.1.02
Installed Packages
1. SMF 1.0.7 / 1.1 RC2 Update 1.0
2. Google Member Map 0.55
3. VisualWarning
Live Site:
Joomla 1.08
SMF 1.1 RC2
Joomla SMF Bridge 1.1.02
Installed Packages
1. SMF 1.0.7 / 1.1 RC2 Update 1.0
2. CAPTCHA (code verification) 0.1
3. Enchanced post template 1.0
4. Google Member Map 0.55
Live Site ~HERE~ (http://hmssneck.com/ict/index.php)
Copy of error message:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fhmssneck.com%2Fict%2Fimages%2Ferror.gif&hash=7364151eaf7de1b93ed5e5c6d8fee3cb8a0d3c27)
This gets even weirder .....
As i mentioned above, when trying to view the map in IE it gives the error detailed above
The link that is called is http://hmssneck.com/ict/index.php?option=com_smf&Itemid=255&action=googlemap
If however, i link directly to the page it loads without error ....
http://hmssneck.com/ict/index.php?option=com_wrapper&Itemid=265
[please note - registration is required to access these links and the test site mentioned in the previous message - if anyone can help sort this out, let me know and I can organise access]
After reading this site ~CLICK HERE~ (http://www.ryangrant.net/archives/internet-explorer-cannot-open-the-internet-site-operation-aborted-google-map-api) I added defer statements to the script commands <script defer="defer" type="text/javascript" ......> that are inside the body of the GoogleMap.template.php file and the error disappeared.
Initially I added it to all 3 scripts but the first one (that fetches map from google) was hanging the page so I took the defer statement out of that one. However, I left it in the script command for the other two scripts (clusterer.js and action=googlemap) and it now seems to work for me .......
Awesome mod !!! ;D ;D ;D
Hi
My map does not show gender specific pins just the no gender one.
I have set my gender in my profile but it is shown as green = no gender in the map
Any ideas?
StarBuG
Quote from: StarBuG on June 16, 2006, 08:41:51 AM
Hi
My map does not show gender specific pins just the no gender one.
I have set my gender in my profile but it is shown as green = no gender in the map
same for me.. i'm sure it'll be fixed whenever the new version comes out though.
if anyone has a bandaid fix tho I'm all ears :)
I think I may have found a fix for users with problems getting the pins to show on the map.
I happened upon this thread this afternoon and have spent most of the evening getting the module working. I am using Joomla 1.09, SMF 1.1 RC2 embedded via the 1.1.4 bridge (and the Google Member Map 0.55). Yeah, I like the bleeding edge.:)
Anyhow, I had no problems with the install or setup or adding a pin - but the pins did not show on the map (just in the user profile). I looked at the Javaconsole and there was a bunch of errors. All were the typical css errors that Javaconsole usually reports - so I cleared the console and clicked the Map link again.
This link shown in the Javaconsole errors caught my eye...
http://www.mysite.com/index.php?option=com_smf&Itemid=31/index.php?action=googlemap;sa=.xml
(because of the 2nd /index.php AFTER the &Itemid=31 - my SMF Forum identifier for Joomla)
I did a text search for "sa=.xml" and found it in GoogleMap.php -function ShowKML ()
I changed the var $scripturl to $boardurl in the global declaration line...
global $db_prefix, $context,$scripturl,$txt, $modSettings, $user_info, $mbname, $themeUser, $memberContext;
and the line in the javascript that opens the window
request.open("GET", "'. $scripturl . '?action=googlemap;sa=.xml", true);
and everything is working great!!!
Nice Job on this mod - I love it!
Quote from: vasco on June 04, 2006, 03:00:05 PM
when will be available the new version?
the pins already posted, will be there with the V2?
To answer this, I use SMF statment,
When its ready. Yes the next version with be API v2. Again when its ready.
Quote from: chig on June 08, 2006, 06:12:10 PM
yes you can set the coordinates and the zoom level, we are just waiting for the release for version 2... ;D
Good answer! :)
Quote from: HighlanderICT on June 14, 2006, 10:54:58 PM
OK - I have a weird problem .... the IE problem .. but with a 'twist'
We recently moved over from PHPBB to SMF within our joomla based site and are using the JoomlaHacks SMF bridge to integrate SMF and Joomla. We have installed it on both a test site and our live site and all works really well. We are slowly loading any mods we want to use onto our test site and if it works we decide whether to put it onto our live site.
Sorry but I stopped reading there, I really dont like portals.
Quote from: StarBuG on June 16, 2006, 08:41:51 AM
Hi
My map does not show gender specific pins just the no gender one.
I have set my gender in my profile but it is shown as green = no gender in the map
StarBuG and cotdagoo,
Are you guys using a diffrent language than english? Thats a bug I do know about, I set it up to use english only by shear stuipidity. I forget the where, but someone sent me the fix, it might be posted back a few dozen pages, I could be wrong.
Quote from: pjbauer on June 17, 2006, 09:37:08 PM
I think I may have found a fix for users with problems getting the pins to show on the map.
I happened upon this thread this afternoon and have spent most of the evening getting the module working. I am using Joomla 1.09, SMF 1.1 RC2 embedded via the 1.1.4 bridge (and the Google Member Map 0.55). Yeah, I like the bleeding edge.:)
*snip*Noted fix for people with portals*/snip*
Care to be the the portal support for the mod seeing how I have no interest in doing that myself.
With that out of the way now, its back to collage apps and papers. Just in case you guys have been wondering where I have been.
Where do those edits for Joomla go ??? I had to uninstall this mod because I installed Joomla and would very much like to have it running again.
TLM lives !!!
Quote from: Bigguy on June 19, 2006, 11:58:42 AM
Where do those edits for Joomla go ??? I had to uninstall this mod because I installed Joomla and would very much like to have it running again.
Bigguy - I installed it on one Joomla system (our test system) and it worked perfectly after changing the GoogleMap.php file (in the sources directory) to the one attached a few pages back within this thread .... however, when adding it to our live site, we got the IE error even after changing that file
Eventually, I found that all I had to do was edit the GoogleMap.template.php from the default themes directory and add the defer statement in 2 of the 3 lines. it worked for me. [I should add we are using Joomla 1.0.8, SMF 1.1RC2, and SMF Bridge 1.1.02 on our site].
<script src="http://maps.google.com/maps?file=api&v=1&key=', $modSettings['googleMapsKey'], '" type="text/javascript"></script>
<script defer="defer" type="text/javascript" language="JavaScript" src="', $settings['default_theme_url'], '/Clusterer.js"></script>
<script defer="defer" type="text/javascript" language="JavaScript" src="', $scripturl, '?action=googlemap;sa=.js"></script>
Quote from: TLMSorry but I stopped reading there, I really dont like portals.
Dont you find that when you have nothing helpful to say, it is better to say nothing ? This is a great mod, very user friendly, and I applaud you and anyone else who put time and effort into creating it. However, although there might be the odd issue here and there because people are using it or integrating it into their websites in different ways that kind of response devalues both the mod and yourself !!
OK, I found the GoogleMap.php file. I will try this in a bit and see how it turns out. I`m using Joomla 1.0.9 so I`ll see how it goes.
Quote from: HighlanderICT on June 19, 2006, 01:04:01 PM
Quote from: TLMSorry but I stopped reading there, I really dont like portals.
Dont you find that when you have nothing helpful to say, it is better to say nothing ? This is a great mod, very user friendly, and I applaud you and anyone else who put time and effort into creating it. However, although there might be the odd issue here and there because people are using it or integrating it into their websites in different ways that kind of response devalues both the mod and yourself !!
This may be true, but I am rather just stating a fact. I dont mind helping add features to the mod, I just dont like portals. For the past month or so off and on I was looking for a way to import a .kml to a db structure and I have figured most of that out. This is for several people that want to include more data, other than just the pins for members. You may ask now, why do I hate portals? I have seen to many hacked, and "cloned" that I just dont see the point in them any more. Forums now, SMF is unlike any other, portals, they all seem cloned to me.
I dont wanna start this into a flame now, so anything else, to a PM on this side topic.
TLM - no flame war - I appreciate the mod, its ease of installation, the work that has gone into it and how easy it is for users to add their info via their profile. All of this is in sharp contrast to some 'google map' mods I have tried directly within Joomla. Other than the TINY issue I had getting it to work with IE - which is an IE issue not a mod issue - it has worked seamlessly.
We have no choice but to use a portal of some sort as we have two distinct parts to our site - a large news and content section that needs something robust like Joomla, and our "community" which is based around the SMF board. After dabbling with joomla-integrated 'simpleboard', Community Builder, and then PHPBB we came across SMF and the integration mod - everything has worked really well and we are delighted that we have been able to integrate the system, the login, and a GREAT forum all into one. It may not work for everyone, and not everyone may like the idea of a portal around it, but it fits our needs and works how we want it to (so far).
Keep up the good work
Im sorry for stupid question,
I installed this mod, but nothing happened. I don't see any changes or additional options. What do i do to make this thing work properly?
when your board is in another language, switch to english and everything should be fine...
Default theme too.
IE Error Fix...
Just in case anyone else is looking for the IE Error fix...
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
That will take directly to the post with the file you need to replace. TLM, life would be much easier if you could edit the first post of this thread with either this link... or that attachment. Alternately, posting a package with the updated file would work too. ;)
Thanks a million for this great mod! :)
--sam
Ok, I installed this with no problems but I still get an erro in my logs about the sidebar. It sort of works though if that makes sense. Any suggestions ???
turn the sidebar on...that should get rid of the error.
That is when I turn it on.
I think this may have been addressed before but I'm not sure since I've read my problem being asked before. I have SMF 1.1RC2 installed with Bloc's TinyPortal. I modified the original package with my google api key and the ie fixed file, and uploaded and installed it.
index.php?action=googlemap shows a blank page with all the side block/themes.
www.thinknest.com/index.php?action=googlemap
index.php?action=membermap sends me to the forums.
www.thinknest.com/index.php?action=membermap
Also, there is no option for the map under my members' profiles. Please help.
Thanks,
Abhinav
could we specify another special map in this mod? (by loading an image? )
like a city or a country with related to the forum members. more specific..
Did I already post the Button for geman translations?
I can do a german workaround if TLM wants me to do it, but I think, he's going to include this by hisself...
It is very difficult to locate myself on that map, especially when the window is so small, and I cannot use any searches. My city is in mainland India, so is impossible to find using the map. Is there any way to import google earth data/pins?
I try mod but there isn't change, and not save in admin panel..
Please help :(
Duh, I've got a little problem....
Een thought my gender is set to be male... I can only place a pink colored pin...
And after I placed the pin and click "change profile"... there's no pin on the map...
I know maybe the answer is already here... but bear with me...
My English isn't very good, and It'll be troublesome to read all those 32pages...
Oh Yeah.. I've also made it working with dilbermc theme...
You can see it here http://nscf.co.nr
username=test pass=test (in case you want a little look)
But I don't think it's the problem....
I've checked the forum error log...
Apply Filter: Only show the error messages of this member rathgrith47 Yesterday at 06:59:50 PM
Apply Filter: Only show the error messages of this IP address 202.152.170.254 Apply Filter: Only show the error messages of this session 88d4d9b04dcb833ba634683ab8501ee0
Apply Filter: Only show the error messages of this URL http://rowanto.6te.net/forum/index.php?action=googlemap
Apply Filter: Only show the errors with the same message
8: Undefined variable: last
File: /home/vhosts/rowanto.6te.net/forum/Themes/default/GoogleMap.template.php (eval?)
Line: 556
Apply Filter: Only show the error messages of this member rathgrith47 Yesterday at 06:59:50 PM
Apply Filter: Only show the error messages of this IP address 202.152.170.254 Apply Filter: Only show the error messages of this session 88d4d9b04dcb833ba634683ab8501ee0
Apply Filter: Only show the error messages of this URL http://rowanto.6te.net/forum/index.php?action=googlemap
Apply Filter: Only show the errors with the same message
8: Undefined variable: first
File: /home/vhosts/rowanto.6te.net/forum/Themes/default/GoogleMap.template.php (eval?)
Line: 553
Apply Filter: Only show the error messages of this member rathgrith47 Yesterday at 06:54:31 PM
Apply Filter: Only show the error messages of this IP address 202.152.170.254 Apply Filter: Only show the error messages of this session 88d4d9b04dcb833ba634683ab8501ee0
Apply Filter: Only show the error messages of this URL http://rowanto.6te.net/forum/index.php?action=profile
Apply Filter: Only show the errors with the same message
8: Undefined variable: message
File: /home/vhosts/rowanto.6te.net/forum/Themes/default/languages/Who.english.php (eval?)
Line: 218
This is the screenshot...
http://img146.imageshack.us/img146/8120/untitled2pe.jpg
I've tried the default theme.. it's the same error..
And the one I modified to work for dilbermc theme also has the same error.
Everyone busy?
There`s a file here somewhere in this thread that you have to upload and overwrite the old one. then it should work. Can`t think of the name of it right now though....googlemaps.php or something I think. This is the file your looking for:
GoogleMap.php
find that, upload and overwrite the exsisting one, that might help.
Isn't that for the IE fix?
I've do that.. but the problem is the pin won't show up...
Oh sorry, that might be a problem with the javascript or something along that line.
Quote from: razgriz47 on July 10, 2006, 11:22:44 AM
Isn't that for the IE fix?
I've do that.. but the problem is the pin won't show up...
I don't get it....
I have java fine here.. (can play yahoo's java games....)
I'm using firefox the latest version.
IE users also can see the map...
The problem is the pin won't show up..
I've read the entire topic.. but can't find a solution...
I use the version 0.55 of this mod.
Now I'm more confused.. can someone explain it?
And how to fix it? Anyone?
Hi Folks
Javascript is NOT Java.
Googlemaps & this mod, use Javascript,
they do NOT use Java.
You need to enable Javascript in your browser.
You also need to allow ActiveX to run.
Depending how many pins have been placed,
the pins may take quite some time to display.
HTH
ATB
Paul
Sorry for taking so long on getting the next version out, I am trying to work on it and not stress out with classes.
razgriz47, thats an interesting problem, I shall see what I can dig up on it...
poking at the mod on your site, its like its not processing the posted information, did anything fail on the install?
Quote from: adsl on July 07, 2006, 07:33:44 AM
I try mod but there isn't change, and not save in admin panel..
Please help :(
There's no problem in the installion.
Well there is, at first. Here's the story.
At first, I download it, then upload the package to the forum.
Then tried to install.. the test reports that some file failed the process... if I'm not mistaken, it's about execution.
Then I ignored it, I don't install. I just close the browser.
Then I tried again in a few hours.....
And the test reports everything is fine, not even a problem. So I install it.
Then I realized it can place pin and nothing show up. And in profile, you can only place pink colored pin.
Then I read the entire thread....
And do the IE fix.
Then I try to port the mod to dilbermc theme. It works alright, but still have the same problem.
I'm very positive that I have javascript.
I made a website that contain java, and everything run fine.
here's the link http://rowanto.6te.net
it's in the funworld section.
And about active x.
Are you sure? then so if someone use firefox, you can't view googlemap?
Btw, I've tested the page with firefox1.5, IE6, and Opera8.
And it's just the same.
The member of my 'not so famous' forum said they also got this problem.
It's not a very big deal if this working or not. Since my forum only contain a few people.
But it'll be a great addition if this map is working.
I think the problem is maybe because the server I host the forum is running safe mode. <- If I'm not mistaken, that's what you call it if the server don't allow you to upload file with space.
Btw, I apologize for my bad English.
Edit// Just want to say thanks for not ignoring me ^_~
Hi Folks
razgriz -
Java and Javascript are totally unrelated, except for having the same first 4 letters, (try Google).
I don't understand what http://rowanto.6te.net has to do with the MemberMap.
Your SMF forum is at - http://rowanto.6te.net/forum/
re: Googlemap
I signed up and tried to add a pin, on saving my profile, the pin was not displayed.
The Profile page map itself displays ok, no browser errors, so it should display my pin there.
The Member Map page, has at least 4 javascript errors, so might not display correctly anyway.
The Profile lat/lon data does not appear to be either written to, retained, or read from the database.
Have you run addsettings.php ?
ATTENTION: If you are trying to INSTALL this package, please access
it directly, with a URL like the following:
http://www.yourdomain.tld/forum/add_settings.php (or similar.)
Check -
Does your smf_members table contain -
a) The fields 'latitude' & 'longitude' ?
b) Do these contain numerical values or are they NULL ?
HTH
ATB
Paul
Well, I mean at the section "funworld" at http://rowanto.6te.net
The main page is written using javascript....
I don't know if you've to run add_settings.php
I'll try it right away....
Edit// I've extracted the add_settings.php from the package. Upload it manually then go to the url...
But nothing show up... Just a blank page... like when you type about:blank in your address bar...
This is the link http://rowanto.6te.net/forum/add_settings.php
Btw.. I thought that file was automatically executed when you install the package?
I'll try reinstalling.
Edit// Now I can't even uninstall
it show
1. Execute Modification smf1-1rc2.modification.xml Modification parse error
2. Execute Modification - Modification parse error
Edit// I forgot to check the smf_members table..
I run phpmyadmin and see that it does contain that field, but all of then contain "NULL"
So what's the problem...
Once again.. thanks for those who try to help ^_
/me needs break from writing papers for class....
Quote from: razgriz47 on July 12, 2006, 06:51:14 AM
There's no problem in the installion.
...
Then tried to install.. the test reports that some file failed the process... if I'm not mistaken, it's about execution.
Sounds like your saying it does fail, but with part that modifies the members table and where it inserts a basic set of settings. I am wondering if thats where your prolem is.
Quote from: razgriz47 on July 12, 2006, 06:51:14 AM
Then I realized it can place pin and nothing show up. And in profile, you can only place pink colored pin.
Then I read the entire thread....
And do the IE fix.
Then I try to port the mod to dilbermc theme. It works alright, but still have the same problem.
Yeah I think I went to your site with the test/test user/pass and looked at the vars, and saw it was submitting the lat/long, it was just not saving the point, which leads me again to to the DB as the problem. Also your only gonna see the red large pin in the profile page due to there is only gonna be one pin there, but on the world map they go small and if you have gender color enabled they will be red for female, blue for male, and green for the unspecified.
Quote from: razgriz47 on July 12, 2006, 06:51:14 AM
I'm very positive that I have javascript.
I made a website that contain java, and everything run fine.
here's the link http://rowanto.6te.net
it's in the funworld section.
I think its DB related, for everything I saw it was working fine.
Quote from: razgriz47 on July 12, 2006, 06:51:14 AM
And about active x.
Are you sure? then so if someone use firefox, you can't view googlemap?
Btw, I've tested the page with firefox1.5, IE6, and Opera8.
And it's just the same.
The member of my 'not so famous' forum said they also got this problem.
It's not a very big deal if this working or not. Since my forum only contain a few people.
But it'll be a great addition if this map is working.
Its all javascript, no active x, dunno who lead you to belive that....
See this for compatible browsers (http://local.google.com/support/bin/answer.py?answer=16532&topic=1499)
Quote from: razgriz47 on July 12, 2006, 06:51:14 AM
I think the problem is maybe because the server I host the forum is running safe mode. <- If I'm not mistaken, that's what you call it if the server don't allow you to upload file with space.
Btw, I apologize for my bad English.
Edit// Just want to say thanks for not ignoring me ^_~
It should not be cause it allows for other things to be submited via POST, and the mod uses the same method of data insertion into the DB, I just wonder if your DB is setup right after install.
Not a problem, I use to run a IRC network and had to decipher worse english, and I use to work tech support for an ISP, so I am use to bad english. If I am not careful, I might start using bad english due to being around it so much. I do try to at least help everyone to some extent that I can. I dont mean to ignore people at all if I can help it.
*EDIT*, this is what I get for not reading on to the end...,
Yea you should get a blank page when you run the add_settings.php by hand, it has nothing to display, although I am not sure if it would work due to it requires a few things SMF has defined, its been a while since I was in that file...
So you have the two feilds latitude and longitude in the members table...
Try this, edit yours or some members row and change there NULL value for lat/long to 5.5/5.5, save it, and load the map. Hopefully a pin will show, if not, then there is something very wrong, if it does, then its something in the code somewhere not saving the pin.
Quote from: iBrood on July 07, 2006, 05:03:58 AM
It is very difficult to locate myself on that map, especially when the window is so small, and I cannot use any searches. My city is in mainland India, so is impossible to find using the map. Is there any way to import google earth data/pins?
Not yet, next version when ever that is. They recently also include GeoCoding which might help your case, Iv been itching to try this out but have not had the time to really mess with it. I am hoping to get several new features people want into the next version, but may just stick with trying to fix these bugs while upgrading to APIv2.
Quote from: adsl on July 07, 2006, 07:33:44 AM
I try mod but there isn't change, and not save in admin panel..
Please help :(
Ok I am to guess that your saying the mod is not showing up in the tab/menu bar(s) and its not saving any changes made into the admin page?
Hi Folks
TLM -
QuoteIts all javascript, no active x, dunno who lead you to belive that....
Googlemaps do use ActiveX
I'm surprised you didn't know that ;D
ATB
Paul
Hello...
I just read your post and I edit it to 5.5 and 5.5.....
I edit the last member which nick is "basys".... I guess that's the person who is above me ^_~
And viola! His pin, which is a blue one(which means male).. shows up in africa...
See it for yourself....
And btw... when I edit it... at the null box.. it's checked....
does that means... that you can't change the number as long as it is checked as null?
I uncheck them first.. then I enter the number...
Here's a screenshot...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg215.imageshack.us%2Fimg215%2F1962%2Funtitled9al.jpg&hash=679b2bdece6878057764a272c65c47e282b0aefe) (http://nscf.co.nr)
Thank you Developer ^_
And is there any way to fix it?
Edit// After you write down 5.5/5.5, I have the thought that maybe.. it's because of the difference in number format... In my country 1/2 = 0,5 (notice the coma, and fullstop)That's why I set the number format to 1.234,00...
Then I set it 1234.00 and tried placing a pin....
It p'hailed....
Now it's been set back to 1.234,00
Ok so its just not storing the values upon submission, I might get to figuring out whats wrong with your setup then this weekend, is there any other way for me to contact you? That should not be a problem I dont think, question is does your db store numbers like that as well?
As for the NULL, its a simple way for me to keep that clean, if there is no value for that like some people will almost have.
Hi Folks
razgriz -
Confirm, a pin now displays on Membermap page.
Relocating my pin in my profile page map, doesn't update the location.
Data isn't being written to the table.
FYI
NULL is the default value.
The coords are in decimal degrees.
Google is your friend.
HTH
ATB
Paul
You can contact me through email.....
QuoteData isn't being written to the table.
So, why is that? Anyway to fix it?
I just made a new test user with user/pass=test2/test2 with the long/lat still "NULL"....
Thank you for sharing me all these information.
And it'll be even better if we can find a way to fix it ^_~
I will say I ran into the problem before when I was first creating the mod. I just dont remeber where the problem was, and it would appear that after placeing the point, it does load the lat/long into the user info var. So I am wondering about the post process, if its something I am not seeing there... I will know more when I can get home to my dev box.
As for the feild being NULL, it should not have any effect of being null or not if there is no value. Once you try to put anything in there it should remove that NULL flag/value. Again which makes me wonder about how the decimal is being saved in your database.
I noticed that there is support for 1.05 but not for 1.07? Wasn't 1.07 just a dot release fixing a bunch of problems in 1.05? I'm getting the error:
Install Actions for archive GoogleMapsMod-0_55.tar.gz:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Quote from: kaos1409 on July 13, 2006, 12:29:48 PM
I noticed that there is support for 1.05 but not for 1.07? Wasn't 1.07 just a dot release fixing a bunch of problems in 1.05? I'm getting the error:
Install Actions for archive GoogleMapsMod-0_55.tar.gz:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Yes there is support for 1.0.7 if I am not mistaken, the erro you give is an indication of a corrupt dload/upload, download it again and try again. I was mistaken 1.0.5 and 1.0.6 are all thats in the package-info.xml, if you want, try dloading it, open it in winrar or something, edit package-info.xml to have
<install for="1.0.5, 1.0.6", "1.0.7">
<uninstall for="1.0.5, 1.0.6", "1.0.7">
in the right place, all thats being done is adding , "1.0.7" to two lines
then save it and replace the file in the package and upload and try to install it.
Quote from: adsl on July 07, 2006, 07:33:44 AM
I try mod but there isn't change, and not save in admin panel..
Please help :(
Ok I am to guess that your saying the mod is not showing up in the tab/menu bar(s) and its not saving any changes made into the admin page?
[/quote]
1. I uploud mod and run. There is no problem.
2. Showing menü into the admin page. There is no problem.
But,
1. the mod is not showing up in the tab/menu bar(s)
2. its not saving any changes made into the admin page?
Note : I look at mysql, but didn't see anything about this mod. So I run add_settings.php manuel, but again , there isn't changes..
thanks for reply :)
QuoteI will say I ran into the problem before when I was first creating the mod. I just dont remeber where the problem was, and it would appear that after placeing the point, it does load the lat/long into the user info var. So I am wondering about the post process, if its something I am not seeing there... I will know more when I can get home to my dev box.
As for the feild being NULL, it should not have any effect of being null or not if there is no value. Once you try to put anything in there it should remove that NULL flag/value. Again which makes me wonder about how the decimal is being saved in your database.
Uh hu... I really thank you guys for being fast and caring ^_~
And It'll be even better if someone could give me the solution...
Quote from: adsl on July 13, 2006, 04:53:57 PM
Quote from: adsl on July 07, 2006, 07:33:44 AM
I try mod but there isn't change, and not save in admin panel..
Please help :(
Ok I am to guess that your saying the mod is not showing up in the tab/menu bar(s) and its not saving any changes made into the admin page?
1. I uploud mod and run. There is no problem.
2. Showing menü into the admin page. There is no problem.
But,
1. the mod is not showing up in the tab/menu bar(s)
2. its not saving any changes made into the admin page?
Note : I look at mysql, but didn't see anything about this mod. So I run add_settings.php manuel, but again , there isn't changes..
thanks for reply :)
[/quote]
is there anyone ? :(
Quote from: adsl on July 17, 2006, 06:47:14 PM
Quote from: adsl on July 13, 2006, 04:53:57 PM
Quote from: adsl on July 07, 2006, 07:33:44 AM
I try mod but there isn't change, and not save in admin panel..
Please help :(
Ok I am to guess that your saying the mod is not showing up in the tab/menu bar(s) and its not saving any changes made into the admin page?
1. I uploud mod and run. There is no problem.
2. Showing menü into the admin page. There is no problem.
But,
1. the mod is not showing up in the tab/menu bar(s)
2. its not saving any changes made into the admin page?
Note : I look at mysql, but didn't see anything about this mod. So I run add_settings.php manuel, but again , there isn't changes..
thanks for reply :)
is there anyone ? :(
[/quote]
Which version do you use, which language, which theme?
By default, there're no buttons defined for other languages/themes. However, I made two german buttons. One for default theme, one for this on found at my forums (can be downloaded here somewhere): www.nix-zu-tun.de.tf
Regards.
use default tema and 1.1.rc.2
I don't search button. İnformations don't go to mysql.
thanks for reply.
TLM,
Not sure what you're doing on the next version, but I notice the map was running in Google Maps Version 1. So I got to poking around and changed as many settings as I could find to Version 2.
Promising as it is...I get the map page to come up, but no map.
http://www.cigarfreaks.com/smf/index.php?action=googlemap
It's telling me that G_NORMAL_MAP on Line 69 Char 9 is undefined.
I've checked through everything pretty good and i don't think I missed anything.
As I have said before, next version is going to be v2. I am almost done with classes, which have been the main reason for the slow down, finals are tommarow, and the following week. I will admit I have been working on another project in my free time for it can be tested on my laptop when I have no network connection which is half if not all my free time right now.
Also next time you link me a page, make sure its viewable to guest... I should have never put those damn permissions in, people forget that, and I rather not sign up on everyones forum to try to troubleshoot....
Sorry I forgot about that. That's my test site...
Technically a real working site, but nobody uses it.
I just check I do have Guest's can Browse forum turned on.
Do you have to be logged in to view the map?
Quote from: fasterthanyours on July 19, 2006, 04:23:28 PM
Sorry I forgot about that. That's my test site...
Technically a real working site, but nobody uses it.
I just check I do have Guest's can Browse forum turned on.
Do you have to be logged in to view the map?
Stuipd/sarcastic answer, log out of the forum and see for your self...
Quote from: TLM on July 19, 2006, 10:56:06 AM
As I have said before, next version is going to be v2. I am almost done with classes, which have been the main reason for the slow down, finals are tommarow, and the following week. I will admit I have been working on another project in my free time for it can be tested on my laptop when I have no network connection which is half if not all my free time right now.
Also next time you link me a page, make sure its viewable to guest... I should have never put those damn permissions in, people forget that, and I rather not sign up on everyones forum to try to troubleshoot....
we r waiting it....
http://atlantis.mindlesstux.com/forum/index.php?action=gmembermap (IPv4/IPv6) - If you all are so impatitent and want to observe work in progress. Dont get excited if the you find the GoogleMapsMod2 dir in the projects folder, thats just a holding pin for all the files for right now.
As a small update for those that might have problems viewing the link in previous post, I decided to scrap what I had and start completely from scratch (mostly, some elements were salvageable) in hopes to make a less buggy version.
(Right now there is a permission problem which I will fix for a temporary viewing)
Quote from: adsl on July 18, 2006, 06:48:59 AM
use default tema and 1.1.rc.2
I don't search button. İnformations don't go to mysql.
thanks for reply.
You would not happen to be using PHP 5 would you?
Quote from: razgriz47 on July 14, 2006, 06:15:52 AM
QuoteI will say I ran into the problem before when I was first creating the mod. I just dont remeber where the problem was, and it would appear that after placeing the point, it does load the lat/long into the user info var. So I am wondering about the post process, if its something I am not seeing there... I will know more when I can get home to my dev box.
As for the feild being NULL, it should not have any effect of being null or not if there is no value. Once you try to put anything in there it should remove that NULL flag/value. Again which makes me wonder about how the decimal is being saved in your database.
Uh hu... I really thank you guys for being fast and caring ^_~
And It'll be even better if someone could give me the solution...
Same goes to you, PHP 5?
Quote from: TLM on July 20, 2006, 11:34:59 PM
http://atlantis.mindlesstux.com/forum/index.php?action=gmembermap (IPv4/IPv6) - If you all are so impatitent and want to observe work in progress. Dont get excited if the you find the GoogleMapsMod2 dir in the projects folder, thats just a holding pin for all the files for right now.
Jay I can finally see my house, because there's been an update to my city (near Hannover/Germany). :) I'm looking forward to it.
Did you use my translation I postet some pages ago? If you need anything else being translated, just tell me.
Quote from: bmhm on July 22, 2006, 05:43:06 AM
Jay I can finally see my house, because there's been an update to my city (near Hannover/Germany). :) I'm looking forward to it.
Did you use my translation I postet some pages ago? If you need anything else being translated, just tell me.
I think you ment Yay, cause my real name is not Jay. :P
I have not used the translation yet, I am workingon a complete re-write of the mod for right now. Once I get all the text and things layed out I will take what I currently have and request the rest.
Just want to say that you did a awesome job TLM with this great package *thumbsup*
greetz
how change the colours?
my theme it's black with text white and can't see usernames.
i can`t change a:link and a:visited in CSS theme because i don't like all links.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg83.imageshack.us%2Fimg83%2F6760%2Fgooglecf8.jpg&hash=21d49096f2ba6e4ae2ee51db5fc823f7999f6b7b)
http://www.simplemachines.org/community/index.php?topic=61213.msg424923#msg424923
Or if you would, check the DEFAULT themes css file for entrys you have to make into your custom theme. I dont remember if that effects things in the ballon or not, im pretty sure it does.
don't work for me.
at least i can see text add background-color: in .googleMaps
sample:
.googleMaps
{
background-color: #2A2A2A;
...
thanks
try adding this after that....
a.googleMaps:link, a.googleMaps:visited, a.googleMaps:hover
{
color: #000000;
font-size: small;
font-family: tahoma, sans-serif;
}
This is off the top of my head so I dunno if that will work...
/me goes back to work on the new version.
nothing.
thks, i like very much this mod.
fixed
for example...
.googleMaps a:link, a:visited, body
{
color: #000000;
}
cheers
Ok so I was close. :)
Thats what counts. I'll make the approiate edit into the new version due this weekend hopefully, forgot I had a few extra things todo, definatly by next wednesday if I dont make this weekend.
When i click "Member Map" in the admin menu it throws me back in the "basic features" field. Any idea how i can make the member map menu work in the admin panel?
Quote from: TLM on July 29, 2006, 01:27:12 PM
I'll make the approiate edit into the new version due this weekend hopefully, forgot I had a few extra things todo, definatly by next wednesday if I dont make this weekend.
I think I speak for most everyone when I say... I can't wait to see the new version. :)
Keep up the good work...
--sam
Well I figured I am killing everone waiting, so here, here is a little viniger.
Admin Area - Settings (http://www.mindlesstux.com/images/SMFMods/gmemmap1.png)
Admin Area - Default View Area (http://www.mindlesstux.com/images/SMFMods/gmemmap2.png)
Admin Area - Default View Area Finalized (http://www.mindlesstux.com/images/SMFMods/gmemmap2-final.png)
The profile areas have not changed much, just what the api changed in maps.
By no means are those images means of a finshed product (unless noted), heck you can see some debug stuff I left showing in one. :P I expect to get this out this week sometime. Thank god classes ended and that paper stack has gone away! (For 3wks at least)
*edit* Added 3rd link to a more complete default view page. *edit*
that looks great! can't wait for the new version anymore, would be really cool if it would be released soon ;D
I am doing my best right now to make sure its as much bug free as I can. Right now its mainly the making sure there are no problems submiting information in admin/profiles.
Then comes backporting to 1.0.7, and same process. I am temped to not support the 1.0x series anymore and just stick with latest, but I would be flamed to heck for doing so...
the new member map looks cool
Admin Area - Default View Area Finalized
SO tomorrow its going to be relase for 1.1RC2 version ?
im waiting
I have someone doing the inital testing for me right now to make sure it works like a user would expect. Then its off to packageing and testing on a few sites. So another day or so.
Hello and thanks for this great mod.
My members are loving it.
I have a js problem when clicking the usernames that put a pin on the map:
Error: myclick is not defined
Source File: javascript:myclick(26)
Line: 1
http://www.patientenfragen.net/index.php?action=googlemap
TestUser
test
Plz help
StarBuG
true, in my googlemap too.
when clicking the usernames nothing happens.
Mmmh, strange - I've no probs with clicking on the Usernames, works smooth and shows up the infobubble (same as when clicking on the pin) :-\
You are already using the new Maps StarBuG :o Did you modify the old Package?
greetz
Yes, I use google map v2 and modified the mod.
The change I made:
GoogleMap.template.php
<script src="http://maps.google.com/maps?file=api&v=1&key=', $modSettings['googleMapsKey'], '" type="text/javascript"></script>
changed to:
<script src="http://maps.google.com/maps?file=api&v=2&key=', $modSettings['googleMapsKey'], '" type="text/javascript"></script>
I also have the following lines in the GoogleMap.php which is not in the file that comes with the mod, but I am not sure what it does and why I have it:
Line 44 after echo and before // Globals.
function MakeMap() {
and line 178 after
alert("Sorry, the Google Maps API is not compatible with this browser");
}
and before
';
obExit(false);
I have the following
}
setTimeout(\'MakeMap()\', 500);
I think it was all but I am not sure because it was over 2 Month ago
I'm not sure if this has been suggested or not.
But I would like to see that an option be available to require new registars of your web site to place their pin on the map.
A similair mod is available for Gender on Registration.
http://mods.simplemachines.org/index.php?mod=407
Can this be adapted into your Member Map?
At admin panel it is not accepting the changes.
It is not getting enabled and also not accepting any changes done to it. I think it has not make changes to SQL. as the SQL version is 3.23.58. Running SMF 1.1 RC2.
OR can anybody provide me with the text file of creation of required SQL table entries.
Hi,
I installed the mod and ii works OK under FF but when i test with IE i don't see the marks (only breefly when i zoom in)
What is wrong here?
See first post for link to IE FIX.
anyone getting this error. I searched this thread but I might have missed something. The map works great, no problems at all, but I get this in the error log:
Quote8: Undefined variable: last
File: /var/www/***/**.****.com/easyc_info/htdocs/forum/Themes/default/GoogleMap.template.php (main_above sub template - eval?)
Line: 708
Quote from: TLM on August 10, 2006, 01:02:25 PM
See first post for link to IE FIX.
Yes i installed that but i still have the problem :(
Isnt there any support on this MOD or what... I am stucked at this thing I have already posted and again I am quoting it here.......
QuoteAt admin panel it is not accepting the changes.
It is not getting enabled and also not accepting any changes done to it. I think it has not make changes to SQL. as the SQL version is 3.23.58. Running SMF 1.1 RC2.
OR can anybody provide me with the text file of creation of required SQL table entries.
Please help.
Nobody?? :(
I will help you both once I get to where I am going. I am currently moving from one location to another.
aaho, off the top of my head, if your good at sorta looking at the code and understanding, look at the add_settings.php to see what sql changes are made, the settings go in the smf_settings, and there should be one update query for you to do. You will have to pull this info on your own, there is no sql file.
Webrunner, you complain but give no link + user/pass login.
I really should not be supporting this, I have the next version being tested right now.
ok now here you go.
Its from Settings.php
########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 0;
# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';
now what?
I am unable to get the stuff what these statement means, What I have so far sorted is thats some file or query is already present.
Can you please what to do?
Quote from: TLM on August 12, 2006, 10:53:02 PM
Webrunner, you complain but give no link + user/pass login.
Sorry, that wasn't meant to be an complaint.
I can't give you a link because i am not having the mod installed right now (no point in leaving a mod that isn't working installed).
I'll wait for the next version!
Keep up the good work!
I don't understand why isn't there a new version of Google Member Map using Google Maps API version 2. All you have to do is go to the mod's files and change:
http://maps.google.com/maps?file=api&v=1&key=
to:
http://maps.google.com/maps?file=api&v=2&key=
...or am I missing something here? I haven't tested it with pins etc.
EDIT: Hmmm, it doesn't show the pins on the /index.php?action=googlemap
There are much more detailed maps in API version 2, for example I now have all the roads of Athens, Greece. With version 1 I had nothing.
Great work!!!
Just wonder how to add custom fields from users profile to be displayed at Google Map Info Window?
There is still the problem of the javascript error when clicking on usernames below the map, who set their pin.
See Reply #532
Any solution for this problem??
Anyone tried this mod with RC3?
O.
I guess there is no support for this Mod no more?...
Quote from: StarBuG on August 07, 2006, 09:53:37 AM
Yes, I use google map v2 and modified the mod.
I did the changes that you mention in that message, but it still doesn't show the pins on the map...
I know a new version of googlemaps is under development.
Has anyone tried the current version with RC3??
O.
I would imagine changing the version # in the "package-info.xml" file would let you install it, but you might not be able to uninstall it that way.
I have to install all hacks by hand and for me it works with rc3
Hi guys,
I've just installed the 0.55 version in RC2 with default theme, but when I want to load it (?action=googlemap) I get "unable to load 'main' template" - why is that? :(
Does anybody have any idea where the problem may be?
Thanks a lot,
David
...edit...
well, nobody answers, :( .... I hope the new version comes out soon :D
I've got one site running RC3 Doesn't work.
I've got onesite running RC2 with the update does work.
I've got one site running RC2 with the update the index.php?action=googlemap doesn't work, but the Google map show up in the users profile for editing their pins.
What gives?
Have not updated the mod for RC3,
As for your second RC2, other mods probally got in the way somehow.
When I get more free time I am tring to get the new version out but curse my life keeps interupting me.
Take your time and make the best mod you can. I love the work so far... keep it coming. :)
--sam
Couple of quick things... First I have had this mod installed for a long time now. Since .47 I believe. Been through all the changes and am using it on a custom theme (Helios Multi at the moment)
Running RC2 on the forum it is installed in, and the mod has been with me through all the RC upgrades and I have just followed my notes to upgrade the mod manually. Everything works like a charm.
Then I go to my error log and I see the side bar error. Read this thread and found the "just enable the sidebar and it works" posts, and off I set to find the side bar enable option place.
This is when I found the real problem... maybe it is just me, but I dunno. I am currently on RC2, Helios Multi RC2, and GM .55
When I go to Admin>>Features and Options>>Member Map err... member map is not there... my url changes to sa=googlemap;<<insertkeycodehere, blah blah>> but I stay on the main F&O menu!!
The spot where all the options for the member map were are gone, the place to insert your API key is gone... I have nothing.
I don't really worry about not haveing the Admin menu as I don't ever use it, but if I need it to enable the sidebar to clear out my error log, then I am in a world of hurt, yes?
Ideas? Suggestions? Thanks...
RC3 and TP 0.9.5
http://historyhuntersinternational.org/index.php?action=googlemap (http://historyhuntersinternational.org/index.php?action=googlemap)
Nice mod and with pins in member profile, but no pins on the main map.
Any ideas?
Quote from: TLM on August 31, 2006, 08:27:59 PM
but curse my life keeps interupting me.
Amen, brother.
Quote from: TLM on January 31, 2006, 08:26:45 AM
Quote from: antracit on January 31, 2006, 03:01:08 AM
Will this Great Mod follow ???
Count me in for translation.
Yes I will fix the mod for v2 of the API sometime before there is the forced change over to v2. They will give web people a one month time to change over.
And for what languages?
Quote from: oscar2001 on January 31, 2006, 03:04:56 AM
Tried it using Internet explorer(I use Fire Fox ) and just get a pop up error saying the operation was aborted... Got some other people to to look to and they got the same. Even your testing sites do it with IE..
Argh, this is what I get for not testing with IE again...
Anyway attached should be a fix that will work, I cant test it right now for that I am stuck in class where I cant use FTP to upload... Make a backup of your existing first because I cant say if my fix works or not. I really should install apache/mysql back on to my laptop for testing purposes when in class.
(clicky (http://groups.google.com/group/Google-Maps-API/msg/2ef899c37be5256a))
*EDIT* First file fix removed, next attached file is better. */EDIT*
OMG please tell me how I update Helios Multi and get IE to work for GoogleMaps - in fact just tell me where in the GoogleMap.php in Sources or the template I can modify it - yes yes I know I'm a noob but none of the post above helps - it just tells me I have to introduce a timeout...
*EDIT* OK So I need to sit in the corner with the dunce hat on... I hadn't logged in so completely missed the File Download - DOH! Thanks for the fix - working fine now! :D :D :D */EDIT*
Hello! Just wanted to throw in my support for this mod - I am eagerly anticipating it for RC3. :D
The new GoogleMap.php worked great for the IE issue. I am having one issue. When clicking on one of the names in the sidebar I am getting a javascript error
Error: myclick is not defined
Source File: javascript:myclick(29)
Line: 1
Anyone else running into this issue?
Thanks
I've installed the mod on one of my forums ok but on another I get
Quote1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/Load.php Test successful
3. Execute Modification ./Sources/ManagePermissions.php Test successful
4. Execute Modification ./Sources/ModSettings.php Test failed
5. Execute Modification ./Sources/Profile.php Test successful
6. Execute Modification ./Themes/default/style.css Test successful
7. Execute Modification ./Themes/default/index.template.php Test successful
8. Execute Modification ./Themes/default/Profile.template.php Test successful
9. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
10. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
11. Execute Modification ./Themes/default/languages/Who.english.php Test successful
Can anyone advise please?
If you open the install.xml or the modification.xml file and browse through it you should be able to find the edits you need to add to the ModSettings.php file. What you would do is back everything up especially the ModSettings.php file and then download it and add the edits to it manually. If that doesn't work revert to the backup you had and your no worse off. Most likely this is another mod interfering with this one.
Thanks Bigguy - I think that's beyond my wit though :(
I wouldn't know what to look for to edit.
There is a bit of editing to do. What version of SMF are you using. ??? If you would like me to edit the file for you I probably could.
I'm using 1.1 RC2 - if you can help at all that'd be greatly appreciated :)
If you could send me your modsettings.php file I will see if I can modify it for you.
I too am looking forward to RC3 support.
RC3 Enabled - Download Here (http://path-to-peace.net/forum/Packages/GoogleMapsMod5.zip)
Enjoy ;D
Demo On RC3 : http://path-to-peace.net/forum/index.php?action=googlemap
user: test
Pass: test
It works A-OK for me
BUT Use at your own risk!
why does it search for all these lines
'post_group' => $profile['post_group'],
'post_group_color' => $profile['post_group_color'],
'group_stars' => str_repeat('<img src="' . str_replace('$language', $context['user']['language'], isset($profile['stars'][1]) ? $settings['images_url'] . '/' . $profile['stars'][1] : '') . '" alt="*" border="0" />', empty($profile['stars'][0]) || empty($profile['stars'][1]) ? 0 : $profile['stars'][0]),
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),]]></search>
in load.php? even the first line on its own is distinct, using that many lines just makes it less compatible to other mods (for example mods which change star behaviour)...
also, I found it useful to have the maps shown in the profile only on demand, since it's rather bulky otherwise. If anyone else wants to have that, just replace this line
<div id="map" style="width: 600px; height: 350px; color: #000000;"></div>
with this
<div id="map" style="width: 600px; height: 350px; color: #000000; display: none;"></div>
<div id="hmap"><a href="#" onclick="if(GBrowserIsCompatible()) LoadMap();">Show Map</a></div>
add these lines
document.getElementById(\"hmap\").style.display = 'none';
document.getElementById(\"map\").style.display = 'block';
right below
function LoadMap() {
and remove these lines
}
if (GBrowserIsCompatible()) {
window.onload=LoadMap;
entirely, all in profile.template.php...
I used Akulion's verison for RC3, and it installed fine. I modified my templates to allow it to function (I think... it all looks like it's there...), and it appears fine in the Forum Profile part of the site (I added my pin sucessfully).
However, when I try to actually go to the map, I get an error - it then occured to me that I have my SMF embedded in Joomla! (1.0.11) - has anyone else either had an issue, or gotten it to sucesfully work, in an AMF / Joomla integration?
Thank you!
I used to have Joomla and the googlemap but I couldn't get it to work so I had to use Joomla's version of the google map and it worked fine. I'm sure there is a fix for this though somewhere here by now.
Quote from: Bigguy on October 02, 2006, 06:15:59 PM
I used to have Joomla and the googlemap but I couldn't get it to work so I had to use Joomla's version of the google map and it worked fine. I'm sure there is a fix for this though somewhere here by now.
I was thinking of that myself, but I would prefer to keep all the Profile informaiton in SMF, rather than in 2 locations (SMF and Joomla). Most of the "community" aspect of my site is centered on the SMF part, while the rest of the site is static / informational, and users rarley visit their Joomla profile, if at all. (The SMF / Joomla Bridge makes the Joomla profile redundant, just use the SMF one. ;) )
RC3 , upgrade version of this mod & screenie of the mod pls ;D
I just install akulion version for RC3 and i find some minor problems.
1. The style.css part of the mod dont seem to work.
I change the color text from there but the text is always the same ( i think it take the color from the default body color of the style.css ).
2. It does not recognize any gender of my members forum even if they already had select a gender.
Without those minor problems it will be a great conversion from akulion ;)
P.S. Sorry for my bad english...
Quote from: Yngwiedis on October 04, 2006, 01:34:40 AM
I just install akulion version for RC3 and i find some minor problems.
1. The style.css part of the mod dont seem to work.
I change the color text from there but the text is always the same ( i think it take the color from the default body color of the style.css ).
2. It does not recognize any gender of my members forum even if they already had select a gender.
Without those minor problems it will be a great conversion from akulion ;)
P.S. Sorry for my bad english...
Thanks. Awesome mod ! :D
Is there anyway of getting this mod applied to SMF1.08? It bailed during installation :(
Cheers
sorry i forgot to add a test account - totally forgot membermap was for "members only settings"
added to my first post now
As for the style.css and gender issue - I dont seem to have that on my forum at all, so have no clue why its doin that for u
Well... i just noticed that is working perfect if i set the forum language in english.
The 2 problems occured if i set the forum language in another language.
Is there anything i have to see if i use another language ?
Thank you for any help.
Quote from: Yngwiedis on October 05, 2006, 01:29:59 AM
Well... i just noticed that is working perfect if i set the forum language in english.
The 2 problems occured if i set the forum language in another language.
Is there anything i have to see if i use another language ?
Thank you for any help.
yup just had a look
u will have to translate these into ur language from english and then add to your language file
from Modifications.english.php:
$txt['googleMap'] = 'Map';
$txt['googleMapGreenPinGD'] = 'Someones Pin';
$txt['googleMapGreenPinNG'] = 'No Gender';
$txt['googleMapBluePin'] = 'Male';
$txt['googleMapRedPin'] = 'Female';
$txt['googleMapPurplePin'] = 'Cluster of pins';
$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Click here to go place your pin if you have not already.</a>';
$txt['googleMapDisclaimer'] = 'Place your pin as close as you feel comfortable doing so.';
$txt['cannot_googleMap_view'] = 'Sorry, you\'re not allowed to view the Member Map.';
$txt['permissionname_googleMap_view'] = 'View Member Map';
$txt['permissionhelp_googleMap_view'] = 'Allow the people to view the Member Map. If not set, the people will not see the map.';
$txt['cannot_googleMap_place'] = 'Sorry, you\'re not allowed to place a pin for the Member Map.';
$txt['permissionname_googleMap_place'] = 'Place Pin on Member Map';
$txt['permissionhelp_googleMap_place'] = 'Allow the people place there pin the Member Map. If not set, the people will not be able to place there pins.';
and then in Modsettings.English.php
find:
$txt['karmaLabel'] = 'Karma label';
$txt['karmaApplaudLabel'] = 'Karma applaud label';
$txt['karmaSmiteLabel'] = 'Karma smite label';
Then add the fillowing after it (translate before adding)
$txt['googleMapsEnable'] = 'Enable the Google Member Map';
$txt['googleMapsEnableLegend'] = 'Show a Pin Legend';
$txt['googleSidebar'] = 'Where to show sidebar';
$txt['googleMapsKey'] = 'The key from the Google Maps API Page';
$txt['googleMapsPinGender'] = 'Should the pins reflect users gender?';
$txt['googleMapsPinNumber'] = 'Number of max pins to show on map';
$txt['googleMapsType'] = 'The map type to show';
$txt['googleMapsDefaultLat'] = 'The default Latitude';
$txt['googleMapsDefaultLong'] = 'The default Longitude';
$txt['googleMapsDefaultZoom'] = 'The defualt Zoom';
$txt['googleMapsEnableClusterer'] = 'Enable Pin Clustering';
$txt['googleMapsMinMarkerCluster'] = 'Minimum Pins Per Cluster';
$txt['googleMapsMaxVisMarker'] = 'Maximum Visable Pins On Map';
$txt['googleMapsMaxNumClusters'] = 'Max Number of Clusters';
$txt['googleMapsMaxLinesCluster'] = 'Max Number of lines in Cluster Info Box';
$txt['googleMapFO'] = 'Member Map';
I dont knok much about language packs, but it may be a good idea to ask the person who made the languages package for your specific language on how to go about this
Quote from: Valodim on October 01, 2006, 07:04:40 AM
why does it search for all these lines
'post_group' => $profile['post_group'],
'post_group_color' => $profile['post_group_color'],
'group_stars' => str_repeat('<img src="' . str_replace('$language', $context['user']['language'], isset($profile['stars'][1]) ? $settings['images_url'] . '/' . $profile['stars'][1] : '') . '" alt="*" border="0" />', empty($profile['stars'][0]) || empty($profile['stars'][1]) ? 0 : $profile['stars'][0]),
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),]]></search>
in load.php? even the first line on its own is distinct, using that many lines just makes it less compatible to other mods (for example mods which change star behaviour)...
I did that cause i did not really look at the code, I used a diff file from original src and converted it by hand into xml for the package. That would be why...
Quote from: Valodim on October 01, 2006, 07:04:40 AM
also, I found it useful to have the maps shown in the profile only on demand, since it's rather bulky otherwise. If anyone else wants to have that, just replace this line
<div id="map" style="width: 600px; height: 350px; color: #000000;"></div>
with this
<div id="map" style="width: 600px; height: 350px; color: #000000; display: none;"></div>
<div id="hmap"><a href="#" onclick="if(GBrowserIsCompatible()) LoadMap();">Show Map</a></div>
add these lines
document.getElementById(\"hmap\").style.display = 'none';
document.getElementById(\"map\").style.display = 'block';
right below
function LoadMap() {
and remove these lines
}
if (GBrowserIsCompatible()) {
window.onload=LoadMap;
entirely, all in profile.template.php...
You dont mind if I steal this for the next version? I found it bulky but could not think of how to fix that. Although I am gonna have to re-work part of this, for I am trying to pull the javascript out of the profile and put it in its own file.
Quote from: smashmash on October 04, 2006, 03:48:41 AM
Is there anyway of getting this mod applied to SMF1.08? It bailed during installation :(
Cheers
I dont suppose you can upgrade to 1.1rc2(soon to be 3) could you? I really dont have time to back port.
akulion,
I dont suppose once I get the next version done I can get you to take that down for thats using the old API.
Quote
akulion,
I dont suppose once I get the next version done I can get you to take that down for thats using the old API.
sure man - if u want i can take it down now - just say the word anytime :)
I'm having a problem in Intermet Explorer.
looking at the map gives the following error ( see screenshot, sorry in dutch)
and shows a non existing page after that.
Am i missing something?
Quote from: Webrunner on October 06, 2006, 02:49:21 PM
I'm having a problem in Intermet Explorer.
looking at the map gives the following error ( see screenshot, sorry in dutch)
and shows a non existing page after that.
Am i missing something?
good catch - im getting that too
il look into it a bit later but I doubt ill be able to fix that - but it only occurs in IE and in FF and Opera it runs just fine. Very strange
Hold on
just found it!!
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
There is an IE fix posted there - we should apply it and see ::)
That is an old patch. You would expect that the newer version has the patch included. Did you try it?
nope havent tried yet
still too busy trying to answer support questions on another forum and also answering debate questions on one other while working on my site lol
ill try it out soon enough :)
just tried it out
yes it fixes the problem right up :D
but get the file from this post:
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
upload to ur forum/Sources folder and replace the old one...now working on IE,FF and Opera
u can check on my site b4 updating
user: test
pass: test
addy: http://path-to-peace.net/forum
:D
Quote from: akulion on October 05, 2006, 10:11:59 AM
Quote from: Yngwiedis on October 05, 2006, 01:29:59 AM
Well... i just noticed that is working perfect if i set the forum language in english.
The 2 problems occured if i set the forum language in another language.
Is there anything i have to see if i use another language ?
Thank you for any help.
yup just had a look
u will have to translate these into ur language from english and then add to your language file
from Modifications.english.php:
$txt['googleMap'] = 'Map';
$txt['googleMapGreenPinGD'] = 'Someones Pin';
$txt['googleMapGreenPinNG'] = 'No Gender';
$txt['googleMapBluePin'] = 'Male';
$txt['googleMapRedPin'] = 'Female';
$txt['googleMapPurplePin'] = 'Cluster of pins';
$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Click here to go place your pin if you have not already.</a>';
$txt['googleMapDisclaimer'] = 'Place your pin as close as you feel comfortable doing so.';
$txt['cannot_googleMap_view'] = 'Sorry, you\'re not allowed to view the Member Map.';
$txt['permissionname_googleMap_view'] = 'View Member Map';
$txt['permissionhelp_googleMap_view'] = 'Allow the people to view the Member Map. If not set, the people will not see the map.';
$txt['cannot_googleMap_place'] = 'Sorry, you\'re not allowed to place a pin for the Member Map.';
$txt['permissionname_googleMap_place'] = 'Place Pin on Member Map';
$txt['permissionhelp_googleMap_place'] = 'Allow the people place there pin the Member Map. If not set, the people will not be able to place there pins.';
and then in Modsettings.English.php
find:
$txt['karmaLabel'] = 'Karma label';
$txt['karmaApplaudLabel'] = 'Karma applaud label';
$txt['karmaSmiteLabel'] = 'Karma smite label';
Then add the fillowing after it (translate before adding)
$txt['googleMapsEnable'] = 'Enable the Google Member Map';
$txt['googleMapsEnableLegend'] = 'Show a Pin Legend';
$txt['googleSidebar'] = 'Where to show sidebar';
$txt['googleMapsKey'] = 'The key from the Google Maps API Page';
$txt['googleMapsPinGender'] = 'Should the pins reflect users gender?';
$txt['googleMapsPinNumber'] = 'Number of max pins to show on map';
$txt['googleMapsType'] = 'The map type to show';
$txt['googleMapsDefaultLat'] = 'The default Latitude';
$txt['googleMapsDefaultLong'] = 'The default Longitude';
$txt['googleMapsDefaultZoom'] = 'The defualt Zoom';
$txt['googleMapsEnableClusterer'] = 'Enable Pin Clustering';
$txt['googleMapsMinMarkerCluster'] = 'Minimum Pins Per Cluster';
$txt['googleMapsMaxVisMarker'] = 'Maximum Visable Pins On Map';
$txt['googleMapsMaxNumClusters'] = 'Max Number of Clusters';
$txt['googleMapsMaxLinesCluster'] = 'Max Number of lines in Cluster Info Box';
$txt['googleMapFO'] = 'Member Map';
I dont knok much about language packs, but it may be a good idea to ask the person who made the languages package for your specific language on how to go about this
I made all this changes when i make the installation of the mod.
So the problem is not from the language strings.
Yngwiedis I have no clue why it wont work for other languages
ur best bet would be to wait for the authors update
Quote from: TLM on October 05, 2006, 10:20:38 PM
You dont mind if I steal this for the next version? I found it bulky but could not think of how to fix that. Although I am gonna have to re-work part of this, for I am trying to pull the javascript out of the profile and put it in its own file.
sure, no prob.
akulion
this was one of those mods I always wanted to get to work and make into a tp mod instead of smf mod lol, so if you have some successes with it let me know.
Quote from: StormLrd on October 08, 2006, 09:00:56 AM
akulion
this was one of those mods I always wanted to get to work and make into a tp mod instead of smf mod lol, so if you have some successes with it let me know.
of course :D anything for u bro!
Quote from: akulion on October 08, 2006, 10:05:27 AM
Quote from: StormLrd on October 08, 2006, 09:00:56 AM
akulion
this was one of those mods I always wanted to get to work and make into a tp mod instead of smf mod lol, so if you have some successes with it let me know.
of course :D anything for u bro!
danka m8
Quote from: Yngwiedis on October 07, 2006, 08:08:16 AM
Quote from: akulion on October 05, 2006, 10:11:59 AM
Quote from: Yngwiedis on October 05, 2006, 01:29:59 AM
Well... i just noticed that is working perfect if i set the forum language in english.
The 2 problems occured if i set the forum language in another language.
Is there anything i have to see if i use another language ?
Thank you for any help.
yup just had a look
u will have to translate these into ur language from english and then add to your language file
from Modifications.english.php:
I dont knok much about language packs, but it may be a good idea to ask the person who made the languages package for your specific language on how to go about this
I made all this changes when i make the installation of the mod.
So the problem is not from the language strings.
Got it? ;D Rename/copy that file and it should work fine. I already did a german one.
RC3 and TP.
No version of this mod shows member pins on the main map, on my site:
http://historyhuntersinternational.org/index.php?action=googlemap (http://historyhuntersinternational.org/index.php?action=googlemap)
Login: Test/Test
The member pin shows fine in the Profile.
I'd really appreciate some advice here :)
Thanks!
Quote from: WhatsUp on October 12, 2006, 06:37:16 AM
RC3 and TP.
No version of this mod shows member pins on the main map, on my site:
http://historyhuntersinternational.org/index.php?action=googlemap (http://historyhuntersinternational.org/index.php?action=googlemap)
Login: Test/Test
The member pin shows fine in the Profile.
I'd really appreciate some advice here :)
Thanks!
i see a 7 pins on ur map - plus the one i placed there also shows up
so i guess u figured it out :)
akulion
Thanks for checking it. It's good to know that it's working for somebody.
It has never worked for me in any browser and even now, the pins do not appear in FF; in IE7, I get an error message saying it cannot open the page...
that is very weird
have u applied the fix for it?
its only for IE though - but still worth a try
Golden Rule #1: Make a backup before applying the patch
here is where it is mentioned:
http://www.simplemachines.org/community/index.php?topic=61213.msg757032#msg757032
Fixed the IE problem - I can now enter. Many thanks for that.
Still no pins, but if you can see them, the fault must be with me and my browsers, which is fine. As long as it works for others.
Cheers!
i dont know why only u cant see the pins
im using FF and see them fine:
screenshot of ur site membermap:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg174.imageshack.us%2Fimg174%2F6555%2Fawc54um4.jpg&hash=1848f375b2107610925b2a329786502a26527078)
Wow! It is really good to see that. Why not in my FF I cannot imagine. Maybe a security setting.
At least this explains why nobody is complaining ;)
Thanks.
Guess I posted this in the wrong thread...sorry, but here is the problem I am having:
I have been trying to install Google Member map on SMF 1.1 RC2 but I keep getting:
7. Execute Modification ./Themes/default/index.template.php Test failed
Anybody know a quick fix for this or a way to manually install this mod.
Hello
I've jsute installed the googlemap on my SMF forum (RC2)
but I ran into problem :(
When installing it, the installer said it has error in modsettings.php...
So I did complete the installation by and (the problem was in adind the admin tabs hs I have several other mod intalled it finded not the layout, followed by karma)
well...
I've add a moddsetting.french.php... right
but each time I try to save my settings for enabling googlemap, the action forum/index.php?action=featuresettings2;save;sa=googlemap
lead to this error :
8: Undefined variable: setArray
Fichier: ...../forum/Sources/ManageServer.php
Ligne: 486
Could you help me ?
Quote from: SkyRanger on October 12, 2006, 03:09:56 PM
Guess I posted this in the wrong thread...sorry, but here is the problem I am having:
I have been trying to install Google Member map on SMF 1.1 RC2 but I keep getting:
7. Execute Modification ./Themes/default/index.template.php Test failed
Anybody know a quick fix for this or a way to manually install this mod.
you have to search for smf1-1rc2.modification.xml ..
here juste follow instructions made for Themes/default/index.template.php
there is a little difference between your template and the isntructions that make the installer not work.
So I can install the Mod as normal and skip the index.template.php file, then just go back and edit the the file without any problems?
Yes you should be able to. I think all it edits in the index.template.php file is a button for the map.
I can not find the IE fix file. Can someone post a Link to the file.
Quote from: sweetdeath on October 13, 2006, 08:29:56 AM
I can not find the IE fix file. Can someone post a Link to the file.
look 9 posts above u :P
Quote from: akulion on October 13, 2006, 09:33:35 AM
Quote from: sweetdeath on October 13, 2006, 08:29:56 AM
I can not find the IE fix file. Can someone post a Link to the file.
look 9 posts above u :P
I have allready done this but I´m found only the following code. But I don´t know what i shoud do with it.
<div id="map" style="width: 300px; height: 200px"></div>
<script type="text/javascript">
//<![CDATA[
var map;
function MakeMap() {
map = new GMap(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.setMapType(G_SATELLITE_TYPE);
map.centerAndZoom(new GPoint(-127.09081, 50.585065), 4);
}
setTimeout('MakeMap()', 500);
//]]>
</script>
u just have to upload and replace the file on ur server with the one attatched to this post:
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
the file goes in Sources folder in the forum root :)
Hello
since I had no answer to my pb, I did modify the xml to adapte it to my SMF board.
I uninstall and reinstall...
finaly it works
but :(
but I've got only details about italy ... aboslutly not road, no city in France :(
S/o can help me ?
EDIT : in fact it doesn't work at all... I've got a lot of erros in my errorlog... And I an't fix them :(
Undefined index: googleMap
Fichier: ..../forum/Themes/default/MessageIndex.template.php (eval?)
Ligne: 645
Undefined index: googleMap
Fichier: .../forum/Themes/default/languages/CustomProfile.french.php (eval?)
Ligne: 645
Undefined index: googleMap
Fichier: .../forum/Themes/default/Display.template.php (eval?)
Ligne: 645
Quote from: akulion on October 13, 2006, 11:40:38 AM
u just have to upload and replace the file on ur server with the one attatched to this post:
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
the file goes in Sources folder in the forum root :)
I must be blind. I can not find an attatchment at this post:
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
Quote from: sweetdeath on October 13, 2006, 12:39:43 PM
Quote from: akulion on October 13, 2006, 11:40:38 AM
u just have to upload and replace the file on ur server with the one attatched to this post:
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
the file goes in Sources folder in the forum root :)
I must be blind. I can not find an attatchment at this post:
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
lol
look after
IE likes to complain more than FF...it says:
* GoogleMap.php (16.9 KB - downloaded 122 times.)
I just love this MOD! It is fantastic. One problem that I however encountered is that many people will not point their pin as they forget to edit their profile once they have registered.
I thus wondered if it is possible to have my users place their pin uppon the registration? ???
I think this would be really good.
If anyone knows how to implement the Google Map into / uppon the registration temple please kindly let me know.
Thank you!
Hello
I'm quite desapointed has I don't receive any help :(
Quote from: piwaille on October 13, 2006, 11:48:14 AM
Hello
since I had no answer to my pb, I did modify the xml to adapte it to my SMF board.
I uninstall and reinstall...
finaly it works
solved
Quote from: piwaille on October 13, 2006, 11:48:14 AM
but :(
but I've got only details about italy ... aboslutly not road, no city in France :(
S/o can help me ?
lo had road and citys of england...
I also solved that ... had to change googleMap.template to make it use v2 instead of v1
Quote from: piwaille on October 13, 2006, 11:48:14 AM
EDIT : in fact it doesn't work at all... I've got a lot of erros in my errorlog... And I can't fix them :(
Undefined index: googleMap
Fichier: ..../forum/Themes/default/MessageIndex.template.php (eval?)
Ligne: 645
Undefined index: googleMap
Fichier: .../forum/Themes/default/languages/CustomProfile.french.php (eval?)
Ligne: 645
Undefined index: googleMap
Fichier: .../forum/Themes/default/Display.template.php (eval?)
Ligne: 645
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.parapentiste.info%2Fforum%2FSmileys%2Fdefault%2Fhelp.gif&hash=56ad43e2156a045cf5b3f9aec1408b9556597136)
not solved... I'm even still looking for the reason !
all errors append to line #645 ... even if the file constit of a few 10 lines
HELP me please (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.parapentiste.info%2Fforum%2FSmileys%2Fdefault%2Fsos.gif&hash=85883546211c4710144c212762936c3de7af05e7)
Quote from: akulion on October 12, 2006, 10:19:48 AM
Quote from: WhatsUp on October 12, 2006, 06:37:16 AM
RC3 and TP.
No version of this mod shows member pins on the main map, on my site:
http://historyhuntersinternational.org/index.php?action=googlemap (http://historyhuntersinternational.org/index.php?action=googlemap)
Login: Test/Test
The member pin shows fine in the Profile.
I'd really appreciate some advice here :)
Thanks!
akulion
Fixed the problem, thanks. It now works even for me.
i see a 7 pins on ur map - plus the one i placed there also shows up
so i guess u figured it out :)
I'm unfortunately having a strange problem with my Google Member Map. It used to work fine but now my members are getting the following error when wanting to access the map:
Sorry, you're not allowed to view the Member Map.
I as administrator can still access it without problems so I assumed that some permission might not be set correct?
I would be very greatefull for any advice as to what's wrong.
Thank you!
Sincerly,
Christian
look under ADMIN ---> PERMISSIONS (and then select a group to modify from this scren)
there under general settings is the setting for allowing googlemap access
Thank you very much for your reply.
I had allready checked the permission but it only lists the following for me under General:
View forum statistics
View the memberlist
View Who's Online
Search for posts and topics
View Contact Page
Change other people's karma
Should it be there? I can't find it anywhere.
If it is not displayed there what could be the reason? Or is there also the possibility to edit the coresponding file manualy to grant the permission to my users? If yes what file would I have to edit?
Thank you very much for your thoughts and help!
This is how it should look:
General
---------------------------
View forum statistics
View the memberlist
View Who's Online
Search for posts and topics
Change other people's karma
View Member Map
Place Pin on Member Map
---------------------------
If the checkboxes dont appear AT ALL then the reason why it is not showing up for u is because ur googlemap didnt get installed properly.
But if you see the checkboxes but no text next to them, then thats a simple reason that the text strings need to be added to the language file.
So which is it? no check boxes at all or just missing text near checkboxes?
here are instructions for both instances:
Checkboxes dont show up at all - fix
Go to your forum root folder and enter the Sources folder.
Download the ManagePermissions.php via FTP
- make a backup of the file 1st -
Then open the file in a good text editor and make changes as below:
look for:
'view_mlist' => false,
'who_view' => false,
'search_posts' => false,
'karma_edit' => false,
Add AFTER it this:
'googleMap_view' => false,
'googleMap_place' => false,
Then in the same file look for:
'profile_server_avatar',
'profile_upload_avatar',
'profile_remote_avatar',
'profile_remove_own',
Add AFTER it this:
'googleMap_view',
'googleMap_place',
Thats all.
Now if Text now showing up next to checkboxes - fix
open Theme/theme_name/languages/Modifications.english.php
Add before the ?> this:
$txt['googleMap'] = 'Map';
$txt['googleMapGreenPinGD'] = 'Someones Pin';
$txt['googleMapGreenPinNG'] = 'No Gender';
$txt['googleMapBluePin'] = 'Male';
$txt['googleMapRedPin'] = 'Female';
$txt['googleMapPurplePin'] = 'Cluster of pins';
$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Click here to go place your pin if you have not already.</a>';
$txt['googleMapDisclaimer'] = 'Place your pin as close as you feel comfortable doing so.';
$txt['cannot_googleMap_view'] = 'Sorry, you\'re not allowed to view the Member Map.';
$txt['permissionname_googleMap_view'] = 'View Member Map';
$txt['permissionhelp_googleMap_view'] = 'Allow the people to view the Member Map. If not set, the people will not see the map.';
$txt['cannot_googleMap_place'] = 'Sorry, you\'re not allowed to place a pin for the Member Map.';
$txt['permissionname_googleMap_place'] = 'Place Pin on Member Map';
$txt['permissionhelp_googleMap_place'] = 'Allow the people place there pin the Member Map. If not set, the people will not be able to place there pins.';
Just remember check in the theme folder ur using - if it have that file then u need to add - if it dosent have that file then u should check under Themes/default/languages/ hope that helps
Thanks a lot! :)
Thsi has solved the problem!
Thank you! :)
ur welcome :)
Quote from: akulion on October 01, 2006, 06:24:28 AM
RC3 Enabled - Download Here (http://path-to-peace.net/forum/Packages/GoogleMapsMod5.zip)
Enjoy ;D
Demo On RC3 : http://path-to-peace.net/forum/index.php?action=googlemap
user: test
Pass: test
It works A-OK for me
BUT Use at your own risk!
Hi,
I have just upgraded to RC3, downloaded the package and then the package manager says by 1. and 2. Modifikation Parse-Error:
1. Modifikation ausführen smf1-1rc2.modification.xml Modifikation Parse-Error
2. Modifikation ausführen - Modifikation Parse-Error
So do I have to install this manually?
Thanks!
thats the english pack
for languages other than english u will probably have to do something else
i dont know about the language files since i dont use them myself - so no luck here :(
Quote from: akulion on October 20, 2006, 09:58:28 AM
thats the english pack
Is there an upgrade for using google's API V2 ?
If you zoom at france, there is absolute no road, nothing :(
just england and italy are populated :(
If you try to replace (on google.template) V=1 by V=2 ... you a all the details... but no more pins :(
I have made an update for the API V2. Have a look at http://www.uitkampen.nl/index.php?action=googlemap .
I only need the modify the clustering javascript file.
Quote from: fagao on October 20, 2006, 03:14:00 PM
I have made an update for the API V2. Have a look at http://www.uitkampen.nl/index.php?action=googlemap .
I only need the modify the clustering javascript file.
thanks a lot for your answer !
I've uploaded your clusterer.js to my site... but it doesn't work :'(
I'm too tired... i will look tomorrow ... but I don't know what I could look for
piwaille solution a la maison mere tu leur feras une traduction apres moi je suis nul en anglais.
Pour les anglais qui me comprennent et qui ne sont pas comme moi.
correction du mod pour que :
- les epingles apparaissent de la bonne couleur sur toute les langues.
- Mod compatible Ie (Ie 7 compris)
- rajout de variable de langues oublier par l'auteur.
Soon here
Quote from: Bigdove1 on October 21, 2006, 11:10:57 AM
piwaille solution a la maison mere tu leur feras une traduction apres moi je suis nul en anglais.
Pour les anglais qui me comprennent et qui ne sont pas comme moi.
correction du mod pour que :
- les epingles apparaissent de la bonne couleur sur toute les langues.
- Mod compatible Ie (Ie 7 compris)
- rajout de variable de langues oublier par l'auteur.
Soon here
So ... bigdove ask's me to translate : he will soon release a new version with a lto a correction
- pins will show in the right color in every language
- IE correction, even for IE7
- some corrections about sentences which where hard coded and will now be able to be translate
Quote from: fagao on October 20, 2006, 03:14:00 PM
I have made an update for the API V2. Have a look at http://www.uitkampen.nl/index.php?action=googlemap .
I only need the modify the clustering javascript file.
Do you have a copy of Clusterer.js ? I would like to give it a try.
Cheers
Dan Fulton
I think I understand the Clusterer.js / v=2 combination ...
Set v=2 on line 35 in GoogleMap.template.php
then
disable clustering in the admin settings
And you have version 2 with pins, but no clustering!
http://www.allotments4all.co.uk/joomla/component/option,com_smf/Itemid,57/action,googlemap
Cheeers
Dan
I know I keep saying this but the next version is in the works. If you really want the cluster thing, look at it, its something I used from someone, they have a newer version on there site.
I am trying to make this next version as much bug free and have new features. That and life are whats making me take so long in development on this.
I installed the Google Member Map mod on RC3, and changed the map to V2 for display and member pin placement.
Works great, looking forward to the cluster thingggyyy, working in the next version.
Thanks for sharing a great mod with us.
Can not install this mod on my rc3 SMF. Please, help.
I looked into the package and saw no smf1-1rc3.modification.xml in it.
Keep reading upwards. Someone modified for RC3 and posted the link in a post.
I found it, thanks, but I have an error with IE browser...
Quote from: dzembak on November 07, 2006, 02:42:15 PM
I found it, thanks, but I have an error with IE browser...
apply IE fix
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
Quote from: akulion on November 07, 2006, 04:37:40 PM
Quote from: dzembak on November 07, 2006, 02:42:15 PM
I found it, thanks, but I have an error with IE browser...
apply IE fix
http://www.simplemachines.org/community/index.php?topic=61213.msg470855#msg470855
thank you! it works! :D
Quote from: dzembak on November 07, 2006, 02:42:15 PM
I found it, thanks, but I have an error with IE browser...
Hi,
excuse me for being so blind but I just can't find it. Could you please tell me where did you find smf1-1rc3.modification.xml ?
Thanks a lot,
Dave
GoogleMapsMod for RC3:
this package - http://path-to-peace.net/forum/Packages/GoogleMapsMod5.zip
from this post - http://www.simplemachines.org/community/index.php?topic=61213.msg775948#msg775948
after that
I went to this post - http://www.simplemachines.org/community/index.php?topic=61213.msg470472#msg470472
and downloaded this GoogleMap.php with fixed IE bug for uploading it to my SMF/Sources dir - http://www.simplemachines.org/community/index.php?action=dlattach;topic=61213.0;attach=13209
Now, I can see a map, but it`s not final... I see no users or pins on my map
Disable the clustering and you will see pins ;)
Quote from: Webrunner on November 09, 2006, 08:02:22 AM
Disable the clustering and you will see pins ;)
sorry, what do you mean?
Quote from: dzembak on November 09, 2006, 08:09:36 AM
Quote from: Webrunner on November 09, 2006, 08:02:22 AM
Disable the clustering and you will see pins ;)
sorry, what do you mean?
Go to Admin->Features and Options->Member Map and uncheck Clustering.
Quote from: Slack on November 09, 2006, 09:48:28 AM
Go to Admin->Features and Options->Member Map and uncheck Clustering.
Thanks, I can see pins, but still no member list...
Running:
1.1/R3
TP 0.95
Was able to get the mod installed in the forums.
Cannot get flags to show on "main" Map.
No member list on "main: Map.
"Clustering" is disabled.
Am getting this error:
Undefined index: googleMap
File: /home/tumble/public_html/gc/Sources/GoogleMap.php
Line: 297
Any Ideas?
I just started my first forum using SMF last week. I have 12? users or so. They are already crying for member maps. Now I wish I wasn't running RC 1.3 >:( My forum is very location specific. I'll make a donation as soon as this sucker is ready for RC 1.3 and I get it to work!
SMF Rocks!!!!
- Joe www.filipino-michigan.com
Brilliant mod, but I can't quite get it to work properly with my forum, it seems to be a problem with my modsettings.php file - I've just installed the mod and trying to tick the box to Enable it - when I click SAVE the page refreshes and goes back to the first page of 'Features and Settings', I then click the MemberMap tab again but it hasn't saved my settings.
Any ideas?
Okay, still got the problem in my last post BUT for now I've manually activated and populated the API key, HOWEVER when I click the new MAP option that appears in the navigation for the forum, the page starts to load, but before any map appears, I get an IE error stating...
' Internet explorer cannot open the internet site .....
Operation Aborted'
Any ideas?
Ok, once again I've just downloaded the new GoogleMaps.php file and the IE fix is working nicely ALTHOUGH I'm getting a Javascript object error (pins are appearing though...)
ITs a 'Getobjectbyelementid' error?
Hi!
When is this great mod updated so I can install it on SMF 1.1 RC3 ?
//Micke
Absolutely, looking forward to the RC3 release.
well looks like 1.1 final is gona be here soon
any news on when this mod will be available for 1.1 after its release?
Really? Do we know when?
I'm not bothering with a port to RC3, certainly not if Final is imminent!!
Cheers, Ash
Well if SMF is anything like me, they will release 1.1 final over the holidays, I do have a new version I have been slowly pecking at when I have bits of free time. But I have no clue when I will get it finshed.
Quote from: ashleyhall on November 28, 2006, 09:09:10 AM
Really? Do we know when?
I'm not bothering with a port to RC3, certainly not if Final is imminent!!
Cheers, Ash
i dont know when but i do know its been released to the charter members already so its out basically but only to the exclusive club for now - im guessing we may have to wait for a month or so - dunno really
Wow, its already out, so soon after RC3?? I have to wonder what the point was releasing it? And feel incredibly sorry for all those that spent ages porting their forums and mods across!!
Hence why I held back and stuck with RC2, and will do until the Final it out ;o)
There's a massive changelog between RC3 and 1.1 ..
If smf had not draged out getting 1.1 out while I was a charter member...
So why bother releasing RC3 at all if the changes are so drastic? They'd might as well held on till Final?
I am still running RC2 and would like to upgrade to final but dont want to loose my members map, any news on when the google map will be released for final?
In the new year maybe?
O.
1.1 Final is out :D
Looking forward to the 1.1 compatible mod :D
TLM is massively busy.
Hopefully he'll do something after his exams are over. I for one know that financial bribery doesn't work with him. ;D
dang! another wait!! lol
well good luck on his exams - may he pass with flying colors :D
looking forward to whenever he can update this :D
This and the *cough* rss injector *cough* mod..
I'm waiting patiently for the 1.1 version. I think TLM is very busy though. His forum on http://www.mindlesstux.com looks like it's having a few issues he'll probably want to work on first.
- Joe
Quote from: nite0859 on December 04, 2006, 05:45:38 PM
This and the *cough* rss injector *cough* mod..
As far as its going, is the change to simplepie and figure out how to do one or two more things. Its no longer a mod at all, dispite the requests...
Quote from: nite0859 on December 04, 2006, 05:19:52 PM
Hopefully he'll do something after his exams are over. I for one know that financial bribery doesn't work with him. ;D
Yes, lets hope! As for bribery, I take that in forms of people doing my evil homework for certain classes. :P
Quote from: JoeLansing on December 04, 2006, 06:24:39 PM
I'm waiting patiently for the 1.1 version. I think TLM is very busy though. His forum on http://www.mindlesstux.com looks like it's having a few issues he'll probably want to work on first.
- Joe
Yeah, I thought it would be a quick upgrade but SMF is broke somewhere or it broke something...
Quote from: akulion on December 04, 2006, 05:42:46 PM
dang! another wait!! lol
well good luck on his exams - may he pass with flying colors :D
looking forward to whenever he can update this :D
This week is study week and next is finals, after that two weeks then back to the grind of classes again. Yes, If I do pass with flying colors, I know a book that is gonna be obliterated... this very same book im taking a moment break from to respond... This very same book I am hoping will be in a million peices or more by the end of the year...
If you cant tell I really hate this class, so if you see a movie on youtube about a guy taking a shotgun to a psychology book and unloading about oh a few boxes of ammo into the book, thats probally me...
As long as they did not change the major sections I work with on the mod, it should go rather quickly to 1.1. Granted I am not expecting an easy update but should be possible from my 20 min glance at code. That update on my site took place during a class I dont care about, where I could not reach my home box to dev but can reach my live site.
Once I get closer to a final product I'll be giving out info about my personal package server for a few people to test the mod before release. Iv learned my lesson about releasing buggy software, no one understands its broke but works.
Send me the new buggy stuff..:) I've never installed your package yet. I can try it on an RC3 system, and then try upgrading to 1.1, or just install it on a almost virgin 1.1 (only 1 theme installed), you choose. Or I could try both for you and see how it goes? I do a full backup before changes so I'm not much of a whiner when something breaks. I do want Dilber MC theme 1.1 compatible before I upgrade to 1.1 though. If I can get Dilber MC and Member Maps working on 1.1 I won't ask Santa for anything else..:) I've got a nice AK-47 you can use 30 round clips with to bump fire at that book you hate. Nothing like a little constructive destruction to lower the blood pressure..:) - Joe
ok I got this to work for 1.1
BUT please know this - I am NOT the author of this mod so there may be things which do not function as expected which I have no clue about!
However on my page it seems to be working just fine.
For installing and changing settings:
You will have to go in via PHP myadmin and DISABLE the clustering.
To disable it go to your database click on PHP MYadmin and once you get the database layout in front of you select the table smf_settings
browse through the values until you come to: googleMapsEnableClusterer set this to 0
For new installs you will want to put in your API key in the feild: googleMapsKey
And if required (eventhough I set the value to enable by default) but if require to activate the map by setting this value to 1: googleMapsEnable
For some reason the settings no longer save via the admin panel so they have to be changed via phpmyadmin.
Well thats all ur mod will be enabled by default and I can just hope it works for u.
This is just a TEMPORARY solution for those who DESPERATELY need this mod and is not the OFFICIAL release from the AUTHOR!
Download (http://path-to-peace.com/forum/Packages/GoogleMapsfor1_1ALPHA.zip) (includes IE fix, V2 of map - but clustering will not work!)
Demo Here (http://path-to-peace.com/forum/index.php?action=googlemap)
Thaks a lot akulion, this works!!!! Finally :D
....
LOL... well, worked for a while until the webmaster closed my site because of 50-100% sever overload.
Do I need my own server to make this work?
http://www.charlestonreefers.org/forum/index.php?action=googlemap
I'm get an error now with my Google Map
Bottom left of IE "Error on Page" (The little yellow exclamation)
So when I double click on it:
Line: 421
Char: 5
Error: 'x' is null or not an object
Code: 0
URL: http://www.charlestonreefers.org/forum/index.php?action=googlemap
Anyway, the portion in the profile works fine. Just not the map.
It shows the list of people with placed Pins, but nothing else.
No pins
well I dont know about the error probably a Javascript error (since clustering wont work)
also check to see if u have clustering disabled - that it required for the map to work.
If not try to disable it via PHPmyadmin since it may not disable through the admin panel (at least it didnt in my case)
are you sure about the smf_settings?
I have it running but my api key is wrong, opened phpmyadmin and
searched in smf_settings but with no luck
can you help me?
thanks
em
there are likely to be multiple pages for that table - it has all the settings to do with all the mods and stuff
and yup pretty sure its in there - try browsing page by page that table (ull see a drop down list for pages at the bottom) when the table is displayed in "browse" mode
My mistake you were right!!
thanks!!
only problem is that when I want to see the membermap the membermap is empty
but the map works if I go to profile, any idea?
thanks
em
u have to set the googleMapsEnableClusterer set this to 0 in the phpmyadmin smf_settings table
or else it wont work
yep I did that already with phpmyadmin is there something else I should/could check?
thanks
em
nope thats all really - worked for me just fine after that - so have no clue why its not working for u...
I think it would be best to wait for the official release - this one I put is just "for desperate needed" (like me lol)
When is this great mod upgraded to SMF 1.1 Final boards?
Appearently my problem was the clustering...Go figure, it used to work lol
its been mentioned in the past as well (before 1.1 final) that the clustering JS file was causing the mod to stop working for some reason
I guess we can only wait for the creator of the mod to finish - until then we can officially panic lol
lol
Hey your link for download above isn't working for me.
try now - the link was messed up
worked...I have a Tiny Portal with SMF 1.1 I want to try it on.
oki doki but use at ur own discretion :P
I got it to work for me on 2 sites and one other guy got it to work as well
but some people had problem installing, so just be careful and dont force install if u get any errors on "apply mod"
Thx , I've installed the mod and it seems to work .
I've a error :
http://www.***.be/Forum/index.php?action=googlemap;sa=.js
Apply Filter: Only show the errors with the same message
8: Undefined index: googleSidebar
File: /customers/***.be/***.be/httpd.www/Forum/Sources/GoogleMap.php
Line: 103
http://www.***.be/Forum/index.php?action=googlemap;sa=.js
Apply Filter: Only show the errors with the same message
8: Undefined index: googleSidebar
File: /customers/***.be/***.be/httpd.www/Forum/Sources/GoogleMap.php
Line: 100
http://www.***.be/Forum/index.php?action=googlemap
Apply Filter: Only show the errors with the same message
8: Undefined index: googleSidebar
File: /customers/***.be/***.be/httpd.www/Forum/Themes/default/GoogleMap.template.php (map sub template - eval?)
Line: 27
8: Undefined index: googleSidebar
File: /customers/***.be/***.be/httpd.www/Forum/Themes/default/GoogleMap.template.php (map sub template - eval?)
Line: 22
Any idea ?
Great MOD ! ;)
Is it going to be an install package for SMF 1.1 ?
I used to have the other «Member Map» MOD, running on 1.0.9, but this one looks great using the Google Earth interface ;)
tks ;)
eventually it will be updated - but currently the author is having exams so the release for 1.1 may be delayed a bit
Quote from: akulion on December 12, 2006, 10:37:30 PM
eventually it will be updated - but currently the author is having exams so the release for 1.1 may be delayed a bit
Thanks ;)
I'm looking forward
I hope there will be a solution for the error :
8: Undefined index: googleSidebar
really soon. The error log has to be emptied regularely now.
Maybe somebody else already has a solution for this ??
wohoooo... it functions on smf 1.1.1 and TP 0.97
but somehow I couldn't implement the link in the menue bar of the enterprise theme cause the way it is implemented seems to be an older method. Not compatible with §context , so I put it together with profile as it is for everybody who registered. but would be nice if this could be changed...
the smf simple gallery for example did make no problem...
thanks
CHIG
Do you also have the same errors ? It works on my 1.1.1 but it keeps giving me these errors when I look at my profile or look at the map.
no errors while looking at the map, there is just one member so fa who got an error while setting his pin the first time, but the second try it worked fine...
I get no errors either while looking at the map, but there are errors logged in the error-log. If you switch the error-logging on, will there be errors reported there when you look at the map and / or look at profiles ?
just had a look and no error appeared... :-)
Well, I have to do it for the 5th time then.....thanx !
Ehm.....which package did you use ??
I took the "alpha" version from Akulion: http://path-to-peace.com/forum/Packages/GoogleMapsfor1_1ALPHA.zip
No clustering and no sidebar
Same I'm using, clustering : not activated, Sidebar : No sidebar
But still those errors. Have tried it 6/7 times and everything seems ok, but still those errors. It just won't work without it generating errors. And a java-script error when I open the map :(
-> question : what to do with the index.php in the package ? I left it, but do I have to upload it somewhere ??
I've installed a fresh and clean testboard, using the default template, English and used the "ALPHA" version to install the mod. Everything went fine, but I still get the same errors.
Or you guys did something to get rid of these errors, or the error logging on your boards is off, or someting else is going on, but the fact is that the errors keep on being logged.
- what to do with the inde.php file added to the mod, is this only for use with TP ?
- where in the mysql DB can I find the setting for turning the sidebar on or off ?
I hope that the problems will be resolved .....
I've written a RC1 version of the MOD for the use with SMF1.1 and 1.1.1. I think clustering and sidebar will work. If you want to try it, you do it on own danger (I think that's really bad english - sorry).
If you got any problems, please post them. I will try to help.
Thx and enjoy.
FoneBone
EDIT:
- english & german language is included
Thanks, though I got this on attempting to install on 1.1.1
4. Execute Modification ./Sources/ModSettings.php Test failed
I did not proceed.
Will this release work?
Maybe I'll try your version, but can somebody tell me what to do with the supplies index.php in the package ?
Quote from: Webby on January 02, 2007, 07:32:36 AM
Maybe I'll try your version, but can somebody tell me what to do with the supplies index.php in the package ?
nothing.... it is not necessary.
Ok, because I've got almost everything working now (except for those error messages....).
Oh, and the sidebar works, but when I click a member's name, it gives me a javascript error :
"object expected" or something like that.
And....is the problem in this version fixed with writing the settings to the Db from the admin center ?
I tried the 1.1.1 mod above, after a bit of tweaking, (deleting the german references and manually adding in the style.css changes) the mod installed..
All the admin functions are there along with the link on the theme page, but non of the pins show on the map, but if I look in my profile my pin is there..
I previously had google map 0.51 working with 1.1rc2
also getting js errors in the forum error log
Sorry, made a simple mistake with the js-script.... hope it's fixed now.
Something not right, pins still don't show on the map..and still lots of js errors
Also I note in the package-info file it says
Quote<require-file name="Clusterer.js" destination="$themedir" />
but the file is actually called Cluserer2.js in the package
Quote from: Motorhead on January 02, 2007, 02:32:52 PM
Something not right, pins still don't show on the map..and still lots of js errors
Also I note in the package-info file it says
Quote<require-file name="Clusterer.js" destination="$themedir" />
but the file is actually called Cluserer2.js in the package
You are right... i've changed it.
:) It's probably something really simple for the pins not showing, not sure on the error codes it throws up..
Something I did notice was that the package doesn't seem to install everything, I went through the info files and then checked the folders on my server after the install and some files it should have installed weren't there..
Manually installing didn't solve the missing pins though :(
Everything seems to be working just dandy, except it won't load up the map that I need to put my pin into, so I had to uninstall the mod until I can fix this problem.
Any solutions? Thanks for your time!
I am still getting this error on install:
4. Execute Modification ./Sources/ModSettings.php Test failed
If I installed anyway, would this produce a fatal error?
Quote from: WhatsUp on January 02, 2007, 03:14:27 PM
I am still getting this error on install:
4. Execute Modification ./Sources/ModSettings.php Test failed
Same error (along with failed tests for my German support files that I don't have).
I get the same error as well when trying to install.
Okay, I've changed a few things. Maybe this will work.
Getting the following error thrown out by php...
Fatal error: packageinstall(): Failed opening required '/Library/WebServer/Documents/smf/Packages/temp/GoogleMapsMod-0_60RC5/add_settings.php' (include_path='.:/usr/lib/php') in /Library/WebServer/Documents/smf/Sources/Packages.php on line 549
Checked the ownership and permissions on the Packages directory. I'll look into it some more when I get into the office (Silly day job... gah!).
Not sure whats up with that version, it shows as installed in package manager..
But nothing is working, no admin page, no map link nothing !!!
Didn't show any errors on the install
Quote from: Motorhead on January 03, 2007, 11:22:55 AM
Not sure whats up with that version, it shows as installed in package manager..
But nothing is working, no admin page, no map link nothing !!!
Didn't show any errors on the install
I confirm this.
you have to change to the default theme and to enable google maps in the admin center
I was in the default scheme, it didn't give me the admin section to enable maps
your previous versions gave me all the admin options, just created errors in the forum error log and didnt display any pins..
It may be package manager playing up though, I've just installed another mod and it didn't seem to apply any of the changes to the files it was supposed to
Quote from: Motorhead on January 03, 2007, 12:29:59 PM
I was in the default scheme, it didn't give me the admin section to enable maps
Same here.
Here we go again...
So far it has worked for me with one install error on the index.template.php file. That, I think was only because I have so many mods going. The admin panel show and so does the map I just have to set the coordinates I guess now.
However everything is working great but the map in the member profile does not show. The box is there for it but it is not showing.
It works for me now, everything ! And the errors in the error-log are gone also !! Great work !
One question : the zoom in the profile is approximately whole Europe, how can I chage that to a zoom of (for instance) the Netherlands ?
Thanx !
I get errors for this file, which is not in the package so I take it it's being read remotely:
maps2.69.api.js (line 290)
and I am getting errors in the errorlog. all to do with the sidebar:
Quote from: Webby on January 03, 2007, 03:12:48 PM
It works for me now, everything ! And the errors in the error-log are gone also !! Great work !
mind telling us what you did?
I had several version mixed and now I have used the latest version to MANUALLY change all the files. And that seemed to work for me.
I use the Ig-Oh theme, dutch-utf8 and everything is ok now.
Just one question about the zoom in the profile ;)
I cant install.....its telling me this:
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
I even 777'd my packages dir.
make a temp directory inside your packages folder and chmodd them both to 777.
Well done :) the install still tells me there's a problem with the style.css update but I ignored it, and the maps working fine...I'll go back and change that manually..
So far no error logs appearing
brilliant..
Now to be a real pain, I've got it working with the default theme, but I also use babylon
I've been through the modification file and one of the theme specific files it changes isn't in the Babylon theme folder.
Quote<file name="$themedir/Profile.template.php">
<operation>
Thats if Im right in assuming the above code relates to changes in a specific theme folder ??
Quote from: Motorhead on January 03, 2007, 04:46:01 PM
Now to be a real pain, I've got it working with the default theme, but I also use babylon
I've been through the modification file and one of the theme specific files it changes isn't in the Babylon theme folder.
Quote<file name="$themedir/Profile.template.php">
<operation>
Thats if Im right in assuming the above code relates to changes in a specific theme folder ??
no, $themedir is always the default theme. when there is no profile.template.php in the babylon-dir it uses the default one (I think)
I had a feeling that was the case, think only file needs changing in the Babylon folder then is the index.template
should work then :)
cheers
Quote from: Webby on January 03, 2007, 03:12:48 PM
It works for me now, everything ! And the errors in the error-log are gone also !! Great work !
One question : the zoom in the profile is approximately whole Europe, how can I chage that to a zoom of (for instance) the Netherlands ?
Thanx !
This is set in the admin area.
Quote from: Bigguy on January 03, 2007, 03:16:40 PM
I get errors for this file, which is not in the package so I take it it's being read remotely:
maps2.69.api.js (line 290)
and I am getting errors in the errorlog. all to do with the sidebar:
Ditto. Map button works great, map in the profile shows the zoom and movement buttons - but no map.
I certainly hope someone can help us out on this. :)
Quote from: binaryspiral on January 03, 2007, 11:05:37 PM
Quote from: Bigguy on January 03, 2007, 03:16:40 PM
I get errors for this file, which is not in the package so I take it it's being read remotely:
maps2.69.api.js (line 290)
and I am getting errors in the errorlog. all to do with the sidebar:
Ditto. Map button works great, map in the profile shows the zoom and movement buttons - but no map.
Quote from: WhatsUp on January 03, 2007, 08:45:30 PM
Quote from: Webby on January 03, 2007, 03:12:48 PM
It works for me now, everything ! And the errors in the error-log are gone also !! Great work !
One question : the zoom in the profile is approximately whole Europe, how can I chage that to a zoom of (for instance) the Netherlands ?
Thanx !
This is set in the admin area.
Nope, this is the zoom when you open the map as a whole, not when you see the map in your profile.
So again, where can I change this, I think somewhere in GoogleMap.template.index.php ??
Quote from: Webby on January 04, 2007, 03:53:02 AM
Quote from: WhatsUp on January 03, 2007, 08:45:30 PM
Quote from: Webby on January 03, 2007, 03:12:48 PM
It works for me now, everything ! And the errors in the error-log are gone also !! Great work !
One question : the zoom in the profile is approximately whole Europe, how can I chage that to a zoom of (for instance) the Netherlands ?
Thanx !
This is set in the admin area.
Nope, this is the zoom when you open the map as a whole, not when you see the map in your profile.
So again, where can I change this, I think somewhere in GoogleMap.template.index.php ??
The focus of the map - e.g. Netherlands, or Europe - is determined in the admin area, and the altitude (zoom) as you say, in one of the mod files.
Quote from: Webby on January 04, 2007, 03:53:02 AM
Quote from: WhatsUp on January 03, 2007, 08:45:30 PM
Quote from: Webby on January 03, 2007, 03:12:48 PM
It works for me now, everything ! And the errors in the error-log are gone also !! Great work !
One question : the zoom in the profile is approximately whole Europe, how can I chage that to a zoom of (for instance) the Netherlands ?
Thanx !
This is set in the admin area.
Nope, this is the zoom when you open the map as a whole, not when you see the map in your profile.
So again, where can I change this, I think somewhere in GoogleMap.template.index.php ??
You can change the zoom in the Theme/default/profile.template.php.
search for this:
function LoadMap() {
var map = new GMap2(document.getElementById(\"map\"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(" . $context['member']['googleMap']['latitude'] . "," . $context['member']['googleMap']['longitude'] . "), 4, ". $modSettings['googleMapsType'] .");
To change the zoom, modify the '4' to something between '1-16'. 16 is very near, 1 is the whole world.
Thanx, I changed it into "9", that's close enough. Exactly what I asked for.
Thanx again !!
Quote from: Webby on January 04, 2007, 05:19:22 AM
Thanx, I changed it into "9", that's close enough. Exactly what I asked for.
Thanx again !!
LOL!
One question : the zoom in the profile is approximately whole Europe, how can I chage that to a zoom of (for instance) the Netherlands ?
I got the following error on installing the mod with the package manager:
10. Execute Modification ./Sources/ManagePermissions.php Test failed
Version RC6 and the default theme. Install it anyway?
Any ideas? Thanks.
It may cause this failure, because you've got any other mods installed. The save way of installing is to implement the code by hand. Sorry. ::)
Just to say thanks FoneBone, fingers crossed version 6 worked a treat for me, must be frustrating trying to get something working for everybody...
I still got a style.css test failure when installing but ignored it and all is well..even managed to get it working with the Babylon Theme :) although I've yet to put a link in the index.template, but selecting Babylon theme and entering the googlemap url manually proves it works :) with no errors showing
Quote from: WhatsUp on January 04, 2007, 05:30:01 AM
Quote from: Webby on January 04, 2007, 05:19:22 AM
Thanx, I changed it into "9", that's close enough. Exactly what I asked for.
Thanx again !!
LOL!
One question : the zoom in the profile is approximately whole Europe, how can I chage that to a zoom of (for instance) the Netherlands ?
Don't know what's so funny, but with the "9" it shows me the upper half of the Netherlands, so I'm satisfied with that :)
when i go to hit the "install now" button....i get this error....
Quote
Fatal error: packageinstall() [function.require]: Failed opening required '/xxxxx/xxxx/xxxxxxx/xxx/website/Packages/temp/./add_settings.php'
(include_path='.:/usr/local/lib/php') in /xxxxx/xxxx/xxxxxxx/xxx/website/Sources/Packages.php on line 549
No help on this at all. ??? ???
Quote from: Bigguy on January 04, 2007, 12:17:43 AM
I certainly hope someone can help us out on this. :)
Quote from: binaryspiral on January 03, 2007, 11:05:37 PM
Quote from: Bigguy on January 03, 2007, 03:16:40 PM
I get errors for this file, which is not in the package so I take it it's being read remotely:
maps2.69.api.js (line 290)
and I am getting errors in the errorlog. all to do with the sidebar:
Ditto. Map button works great, map in the profile shows the zoom and movement buttons - but no map.
@Goad
you have to create a new folder called temp inside the Package folder and CHMOD it to 777
@Bigguy and binaryspiral
this error is really mysterious, because it shows the error in the api.js from google. i have no idea, how to fix this. maybe you are able to try this mod on a clean installation of the forum.
I did try this on a clean install and I still get the same.
Quote from: FoneBone on January 04, 2007, 12:40:02 PM
@Goad
you have to create a new folder called temp inside the Package folder and CHMOD it to 777
i did! :(
Okay, I've found another little mistake. Maybe this caused the problems.
whats the mistake, mine seems to be working perfect, is it something I need worry about ??
If you put up the altered code and file I could go in and alter it rather than a new install !!
cheers
same problem
Difference between RC6 and 7 is the version of the api-file has changed from 1 to 2:
Look in your Profile.template.php
if (($modSettings['googleMapsEnable']) && (allowedTo('googleMap_view'))) {
if(isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude'])) {
echo '
<tr>
<td class="windowbg" colspan="2">
<script src="http://maps.google.com/maps?file=api&v=1&key=' . $modSettings['googleMapsKey'] . '" type="text/javascript"></script>
to:
...
src="http://maps.google.com/maps?file=api&v=2& ...
Nothing special, but I thought it could cause the problem of Bigguy.
Sorry, but I've no other idea.
That's ok thanks for trying. I even downloaded the maps api file and uploaded it to my root of SMF thinking that would take care of it but it didn't. Thanks for trying.
Quote from: Goad on January 04, 2007, 10:40:19 AM
when i go to hit the "install now" button....i get this error....
Quote
Fatal error: packageinstall() [function.require]: Failed opening required '/xxxxx/xxxx/xxxxxxx/xxx/website/Packages/temp/./add_settings.php'
(include_path='.:/usr/local/lib/php') in /xxxxx/xxxx/xxxxxxx/xxx/website/Sources/Packages.php on line 549
I still get this error.... :(
I wish i never upgraded to 1.1.1, I have had nothing but problems with EVERY component since.
I made a clean install of SMF and tried to install the Map Mod first. Everything went OK, it only says that he skipped the german files. After finishing the installation nothing changed in the Forum. No admin area ...
Quote from: millworky on January 04, 2007, 06:50:52 PM
I made a clean install of SMF and tried to install the Map Mod first. Everything went OK, it only says that he skipped the german files. After finishing the installation nothing changed in the Forum. No admin area ...
Ik think this has to do with the missing language files. Upload them manually or change the excisting ones by adding the missing lines.
You are right, I uploaded the german language files and set the permissions of some files more to 777. No all works great on Xtrac.de
Test with version 0.60 RC7 on the defaut theme with SMF 1.1.1
In the admin Panel, the map works fine, no problem.
In the user profil, all is displayed except the map. There is a script error but I can't find it.
Thanks for your hints and tips.
QuoteIn the user profile, all is displayed except the map.
Same here.
I just installed it on my RC3 forum, manually had to do the managepermissions.php edits, but it works.
Theres only one problem, you can place your pin and it shows up in the profile, but it doesnt show up on the MAP tab at the top of the forum......no pins show up on it. But it lists all the names of people who have placed pins.
See what I mean
http://www.trailerparkboys.info/thepark/index.php?action=googlemap
The pins show if I turn off clusters completely in the settings. Weird. Is there a fix for that?
We can't see anything because you have guest viewing off.
I've found another mistake and solved it. One of my new members wasn't able to point its location on the map, because the map wasn't displayed in the profile. Now it will ;D
It still will not show in the profile for me. It does install with no problems except for index.template.php but I figure that is just the button. I have cleared cache and temp files also. I get these errors:
GM_MenuCommander
maps2.69.api.js (line 290)
I am using FF 2.0
When I use firebug in FF 2.0 and hover my mouse over the map it shows me this line of code:
<div style="overflow: hidden; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;">
Quote from: Bigguy on January 07, 2007, 04:15:53 PM
When I use firebug in FF 2.0 and hover my mouse over the map it shows me this line of code:
<div style="overflow: hidden; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;">
On which site do you get this error? On the googlemap site or somewhere in the profile? I'm able to open the map in Firefox 2.0.0.1 de without any problem. And I've searched for this line of code in the source of the map and the profile, without any results ???
Can you post me a link to your map, please?
Regards.
Would you like a test account made for you so you can try it out. I can PM you the details if you like
Now, work great in the user profile.
Some suggestions :
0. A little adaptation for translation in main menu : "Member Map" is displayed in all languages
solution
add a line for Modifications.French.php : $txt['googleMapFO'] = 'Members Map';
change in GoogleMap.Template.php :
<div id="googlemap" class="titlebg" style="padding: 4px;">Member Map</div>
by
<div id="googlemap" class="titlebg" style="padding: 4px;">', $txt['googleMapFO'], '</div>
Also in file "GoogleMap.php" in the function Map() :
change$context['page_title'] = 'Member Map';
by$context['page_title'] = $txt['googleMapFO'];
1. Is it possible to add a custom legend for each member ? The custom legend will be also displayed in the general map with the name of the member and his avatar.
2. Is it possible to add a BBC tag like this : [googlemap=lat,long,size_x,size_y,zoom]text[/googlemap] ? The result is displayed in the topic. It will be usefull for positionning installation, customer and ... .
Thansks again.
I know I thanked you once before in a PM but I wanted to do it publicly, thanks FoneBone for all your work. We now have a Googlemap working on SMF Helper. Just perfect. ;)
Yep, thanks Fonebone -- your last revision did the trick. :)
I am still getting this on install thru' PM:
11. Execute Modification ./Sources/ModSettings.php Test failed
I have uninstalled some non-vital mods, but no joy.
If I install anyway, is this likely to break SMF?
I think the Thank You mod is the problem (at least I think it is for me). Uninstall that, then try and install the latest release candidate.
Quote from: Goad on January 04, 2007, 05:05:06 PM
Quote from: Goad on January 04, 2007, 10:40:19 AM
when i go to hit the "install now" button....i get this error....
Quote
Fatal error: packageinstall() [function.require]: Failed opening required '/xxxxx/xxxx/xxxxxxx/xxx/website/Packages/temp/./add_settings.php'
(include_path='.:/usr/local/lib/php') in /xxxxx/xxxx/xxxxxxx/xxx/website/Sources/Packages.php on line 549
I still get this error.... :(
I wish i never upgraded to 1.1.1, I have had nothing but problems with EVERY component since.
still getting it with RC8 :(
Can anyone help me out?
Have you installed other mods. ??? Is your "Package" folder chmodded to 777, if not do that and see if there is a temp folder in that folder if not create one and chmod it to 777. See if that helps.
I would like to thank all of you for testing all the release candidats and posting the problems with them. ;D
Quote from: FoneBone on January 08, 2007, 09:56:09 AM
I would like to thank all of you for testing all the release candidats and posting the problems with them. ;D
Thank you for helping TLM with the mod and working on these release candidates.
Quote from: Bigguy on January 08, 2007, 01:29:56 AM
Have you installed other mods. ??? Is your "Package" folder chmodded to 777, if not do that and see if there is a temp folder in that folder if not create one and chmod it to 777. See if that helps.
i have other packages that were installed, but got whiped out (just like this one) when i upgraded to 1.1.1.
I have also added the temp dir and chmod'd it to 777 and I get the same error.
im beyond frustrated :(
In your Admin panel under packages, go to options. At the bottom you will see:
"Change all file permissions throughout the forum such that:"
Change it to:
"All files are writable."
And click change file permissions and try once more to install.
Uninstalled so many mods that my site is now only half functional.
Did the chmod thing, still get:
11. Execute Modification ./Sources/ModSettings.php Test failed
I have now have to ask: is this mod more valuable than the six that I deleted to try and get it to work, and the answer is no.
You should be able to get it all back installed after you install this mod. Of course it is your decision if you don't want to. If that is the only error you are getting then I would say you are close to installing this. You have 3 choices 1.) you can forget about it 2.) you can uninstall the other mods, install this one and then reinstall the rest. Or 3.) install with the errors and add the changes manually to the file it failed on. I am sorry you are having problems. If I can help in any way I will. :)
That's a kind, offer - thanks!
OK, now installed.
It seems to work ok >:(
Trying to reach Features and Options I get this:
Fatal error: Cannot redeclare modifygooglemapsettings() (previously declared in Sources/ModSettings.php:354) in Sources/ModSettings.php on line 395
Clearly I need to know how to mod files manually. Your advice most appreciated.
In your sources directory find the file Modsettings.php and open it with an editor. ( I prefer php designer 2007) After you open it find:
'layout' => 'ModifyLayoutSettings',
'karma' => 'ModifyKarmaSettings',
Before that add:
'googlemap' => 'ModifyGoogleMapSettings',
Then find:
'karma' => array(
'title' => $txt['smf293'],
'href' => $scripturl . '?action=featuresettings;sa=karma;sesc=' . $context['session_id'],
'is_last' => true,
),
Before that add:
'googlemap' => array(
'title' => $txt['googleMapFO'],
'href' => $scripturl . '?action=featuresettings;sa=googlemap;sesc=' . $context['session_id'],
'is_last' => true,
),
Then find:
// This function basically just redirects to the right save function.
Before that add:
'googlemap' => 'ModifyGoogleMapSettings',
Then find:
$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=karma';
$context['settings_title'] = $txt['smf293'];
Before that add:
function ModifyGoogleMapSettings()
{
global $txt, $scripturl, $context, $settings, $sc;
$config_vars = array(
// Map - On or off?
array('check', 'googleMapsEnable'),
array('check', 'googleMapsEnableLegend'),
'',
// Key, pins static/gender/membergroup
array('text', 'googleMapsKey'),
array('check', 'googleMapsPinGender'),
array('int', 'googleMapsPinNumber'),
array('select', 'googleMapsType', array('G_NORMAL_MAP' => 'Map', 'G_SATELLITE_MAP' => 'Satellite', 'G_HYBRID_MAP' => 'Hybrid')),
array('select', 'googleSidebar', array('No Sidebar', 'Sidebar Right', 'Sidebar Bottom')),
'',
// Default Location/Zoom
array('float', 'googleMapsDefaultLat', '25'),
array('float', 'googleMapsDefaultLong', '25'),
array('int', 'googleMapsDefaultZoom'),
'',
// Clustering Options
array('check', 'googleMapsEnableClusterer'),
array('int', 'googleMapsMinMarkerCluster'),
array('int', 'googleMapsMaxVisMarker'),
array('int', 'googleMapsMaxNumClusters'),
array('int', 'googleMapsMaxLinesCluster'),
);
// Saving?
if (isset($_GET['save']))
{
saveDBSettings($config_vars);
redirectexit('action=featuresettings;sa=googlemap');
}
$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=googlemap';
$context['settings_title'] = $txt['googleMapFO'];
prepareDBSettingContext($config_vars);
}
These are the edits for that file. BEFORE doing anything BACKUP that file so if you screw up you can put the original back. Hope this helps.
Almost... ;)
Parse error: syntax error, unexpected T_DOUBLE_ARROW in Sources/ModSettings.php on line 160
This is the code:
159 }
160 'googlemap' => 'ModifyGoogleMapSettings',
161 // This function basically just redirects to the right save function.
Can you post your file please and I will see what I can do.
I farked something up,
I've been following this thread and trying different versions of this map - but something happened that duplicated the "Map" buttons with the last version, so I uninstalled it. Now I've got duplicate map areas in the Forum Profile pages of my users.
I figured I could just do a restore on the /Sources files - but that hasn't fixed it. I've got extensive backups from the last few days and weeks... I really just want it back to normal, so I need to know what file(s) did this change that would cause this?
Try uploading a fresh copy of profile.template.php That might solve the problem.
Quote from: Bigguy on January 08, 2007, 09:33:47 PM
Can you post your file please and I will see what I can do.
Thanks!
Well, I hope this works for you. Backup before trying please:
Closer yet :D
I can now get into Features and Options, which is a big improvement, but when I enter Member Map, get:
Fatal error: Call to undefined function: modifygooglemapsettings() in Sources/ModSettings.php on line 315
Still, I look on the bright side: the whole site works, including this mod, just that I cannot alter the focus of the map (which I may be able to do in the d/base).
I very much appreciate your help on this, Bigguy!
The edit just doesn't want to go where it is supposed to go. I am still trying.
Try this, I am just wondering if this works for you. I had to leave out a line but it debugs ok. The line I left out was the one causing the error. Try it and see:
'googlemap' => 'ModifyGoogleMapSettings'
No difference... same error on line 315.
Interesting, considering the change you made.
Then it must be another one of the edits. I will try again tomorrow. Sorry this didn't work out for you.
My site is much better off than before, so I thank you for that, as well as your efforts.
Thanks. I just don't understand why it debugs with no errors and then doesn't run with or without that edit. I will try a clean copy tomorrow and see if that works.
i think we need an official update on this lol
everyones going wild for this - including me
the modification I made worked, but then one fine day poof...it stpped working :(
RC8 That is attached to a post here somewhere works for most people. It is working at my site.
I give up....I have tried everyones suggestions here.....but i still cant get it to work, along with other mods. I think the upgrade to 1.1.1 really broke it bad.
Can i create a new forum....set up and install everything, then backup the threads and posts only and restore them to the new site without changing any of the forum settings/mods/etc?
I know this isnt a place for backup/restore questions, but i just want to know if its possible, if it is, I will research further in other areas.....
thanks for all your help.
Well WhatsUp, I have tried this again and still have got no further. The "unexpected T_DOUBLE_arrow" error it gives because of this line:
'googlemap' => 'ModifyGoogleMapSettings',
believe it or not is because of this:
=>
I have tried everything to get this to work and for some reason it just won't. I am sorry. Maybe someone here that is more skilled at this can help out. The code around that area is this:
// Select the right tab based on the sub action.
if (isset($context['admin_tabs']['tabs'][$context['sub_action']]))
$context['admin_tabs']['tabs'][$context['sub_action']]['is_selected'] = true;
// Call the right function for this sub-acton.
$subActions[$_REQUEST['sa']]();
}
// This function basically just redirects to the right save function.
function ModifyFeatureSettings2()
{
global $context, $txt, $scripturl, $modSettings, $sourcedir;
isAllowedTo('admin_forum');
loadLanguage('ModSettings');
// Quick session check...
checkSession();
It tells us that the line of code is to go above this:
// This function basically just redirects to the right save function.
I have tried that and a number of other combonations and still I get a parse error.
Well, Bigguy, you have given this your best efforts, for which I am grateful.
Yes, it is the => where the problem lies. Maybe somebody can offer a solution. I hope so.
Cheers!
i just dont get it....WTF is going on!!!
I have a fresh install of 1.1.1 on a fresh database....the first thing i do is go to install the member map (RC8) and I get the same flippin error!
Fatal error: packageinstall() [function.require]:
Failed opening required '/homepages/29/xxxxxx/htdocs/scjb-test/Packages/temp/./add_settings.php'
(include_path='.:/usr/local/lib/php') in /homepages/29/xxxxx/htdocs/scjb-test/Sources/Packages.php
on line 549
Is your "Packages" Folder chmodded to 777 and is there a temp folder inside that that is also chmodded to 777 ???
Quote from: Bigguy on January 09, 2007, 06:07:51 PM
Is your "Packages" Folder chmodded to 777 and is there a temp folder inside that that is also chmodded to 777 ???
yes. :-\
Ok try going into the admin panel to "Packages" then to "Options" Go to the bottom to this:
Change all file permissions throughout the forum such that:
and change it to:
All files are writable.
Then click change permissions. It might help.
hey guys this is what happend for me
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg296.imageshack.us%2Fimg296%2F5386%2Fawc5ot5.jpg&hash=21e9f8ff6671a10479fdbe48a299f3dc4282b864)
the map wont come the center AT ALL
what to do?
furthermore the pins wont save anymore either
The info in the pin pop up is hard to read???? Anyway to change the color, or is this controlled by the link color in the css?
I think my problem is i'm using the helios theme. I have added the appropriate lines to the css file, but it doesn't seem to change anything. Any suggestions?
Khaos
@ akulion: Looks like your zoom is to close. Also have you set your long and latt for centering the map. ??? There is a post here with links on it where you can find out the exact lat and long you need. I think it is somewhere on this page:
http://mapki.com/wiki/Knowledge_Base
i think its a lat lon problem
ill have to check up on that in detail a bit later
Quote from: kaptkhaos on January 09, 2007, 11:53:04 PM
The info in the pin pop up is hard to read???? Anyway to change the color, or is this controlled by the link color in the css?
I think my problem is i'm using the helios theme. I have added the appropriate lines to the css file, but it doesn't seem to change anything. Any suggestions?
Khaos
Ok, I got the side panel to change colors, but the links are still not responding. The popup on the map and the sidepanel, where it displays username, these are still ~white, which makes them very unreadable. I have set the style.css file under a.google...:link to color: #000000, this doesn't seem to make a difference. Any ideas?
Quote from: Bigguy on January 09, 2007, 06:42:27 PM
Ok try going into the admin panel to "Packages" then to "Options" Go to the bottom to this:
Change all file permissions throughout the forum such that:
and change it to:
All files are writable.
Then click change permissions. It might help.
ive tried this, i get the same error
anyone have any ideas on what my issue is? :-\
Yeah when I try to install this it also asks for FTP username and password. I type in my admin info and it just comes back to the same screen. I have tried changing the permissions in the options panel but it asks for the ftp info also. Where do I setup that FTP info.
Can I just install this stuff manually..
I am running on a local server so I don't have an ftp setup or anthing..
thanks
Mike
Try manually putting the mod zip file in the packages folder and running it. Some packages won't install locally without ftp setup. Also are you installing the rc8 version from a few posts back. ??? This is the one that works.
yes i'm trying to use the rc8. I was able to get the package into smf but it wont install when i click on apply mod.. I have even tried unzipping it in the packages folder..
check permissions on package folder and the temp folder inside it and see if they are set to 777 if not change them. Maybe that will help not sure though
how do I change them. I don't have an ftp. If I check the properties in windows it says it's not write protected..
Ok well it looks like I got it installed. But I don't seem to see it anywhere, or any way in the admin panel to access the features. in the onld one it was listed next to Karma in the features and options menu..
I have even tried your modsettings changes and that doens't work either.
I am unable to unistall it also it seems..
Thanks
Mike
Can anyone tell me anything?
I am still trying to install this module....not sure why anymore... I am getting "Test Failed" messages now. This is a fresh clean install of SMF 1.1.1.
I have CHMOD'd the packages folder and all object within to 777, including the directory named "temp" I have created. Also, within the packages options section of SMF, I have set the setting to "All files are writable." As soon as I save this setting, it resorts back to "Only the standard files are writable." without any errors.
Installing this package will perform the following actions: Type Action Description
1. Extract File ./Sources/GoogleMap.php
2. Extract File ./Themes/default/Clusterer2.js
3. Extract File ./Themes/default/GoogleMap.template.php
4. Extract File ./Themes/default/images/google_earth_feed.gif
5. Extract File ./Themes/default/images/english/googlemap.gif
6. Extract File ./Themes/default/images/german/googlemap.gif
7. Execute Code add_settings.php
8. Execute Modification ./index.php Test successful
9. Execute Modification ./Sources/Load.php Test successful
10. Execute Modification ./Sources/ManagePermissions.php Test successful
11. Execute Modification ./Sources/ModSettings.php Test failed
12. Execute Modification ./Sources/Profile.php Test successful
13. Execute Modification ./Themes/default/style.css Test successful
14. Execute Modification ./Themes/default/index.template.php Test failed
15. Execute Modification ./Themes/default/Profile.template.php Test successful
16. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.german.php Skipping file
18. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
19. Execute Modification ./Themes/default/languages/ModSettings.german.php Skipping file
20. Execute Modification ./Themes/default/languages/Who.english.php Test successful
21. Execute Modification ./Themes/default/languages/Who.german.php Skipping file
Goad
The only line that matters is that of the failure. If you check earlier posts, you will see that I reported the exact same problem repeatedly. Also that I eventually installed the latest version of the mod, followed by what then happened.
I never got into the mod's admin interface, however I was able to set the map focus and zoom level by modding add_settings.php:
// List settings here in the format: setting_key => default_value. Escape any "s. (" => \")
$mod_settings = array(
'googleMapsEnable' => '0',
'googleMapsEnableLegend' => '1',
'googleMapsKey' => '',
'googleMapsPinGender' => '1',
'googleMapsPinNumber' => '250',
'googleMapsType' => 'G_HYBRID_TYPE',
'googleMapsDefaultLat' => '0.00000000000',
'googleMapsDefaultLong' => '0.00000000000',
'googleMapsDefaultZoom' => '16',
'googleMapsEnableClusterer' => '1',
'googleMapsMinMarkerCluster' => '5',
'googleMapsMaxVisMarker' => '150',
'googleMapsMaxNumClusters' => '5',
'googleMapsMaxLinesCluster' => '10',
Other than this work-round, it works fine.
Good luck.
I know that I am only concerned about the failing lines...which are important ones. I went ahead and installed it anyways even though there was failed lines on the test....it still doesnt work at all. no options in the admin interface, nothing the profile and ?action=googlemap doesnt do anything either.
...and yes, I am using the latest version (RC8)
@ Mikeobwan: If your on a windows box doing this make sure read only is off in the properties of the file or folder you are trying to set permissions for.
@ Goad: Open up the install.xml file and find those lines and add them to your files.
Quote from: Bigguy on January 15, 2007, 04:35:32 PM
@ Goad: Open up the install.xml file and find those lines and add them to your files.
would this be considered a manual install? I dont mind copying and pasting code, just want to know what goes where without breakin stuff.
I will go poke around with that file and see what I can come up with.
thanks.
Yes this would be a manual install but you should install the mod first and then apply ONLY the edits that failed.
Quote from: Bigguy on January 15, 2007, 10:04:32 PM
Yes this would be a manual install but you should install the mod first and then apply ONLY the edits that failed.
I installed it first then validated if the code was installed on successful files (ex: profile.template.php, load.php, etc) and there was no code there, and the map wasnt showing in the profile. I manually entered the code, and it is now showing in the profile as well as ?action=googlemap is now working. The only thing i dont see is the google map settings in the admin control panel. This is important because the map settings (focus point and zoom) are way off. I am going back to double check all files and code to make sure I didnt miss anything.
I am actually glad I am having to do this because it is really giving me a chance to learn php. ;)
Check modifications.english.php and see if those edits got done.
well, i broke something....
I went through and removed everything I have modified....and its still broken....
Quote
Fatal error: Cannot redeclare template_menu() (previously declared in /homepages/xx/xxxxxx/htdocs/scjb-test/Sources/Load.php(1733) : eval()'d code:62) in /homepages/xx/xxxxxx/htdocs/scjb-test/Sources/Load.php(1733) : eval()'d code on line 542
it was something in my index.template.php ....i overwrote it with the original one from my theme.....now i gotta start over.
well, I am getting close....but theres some quirks....
There is no text in the pin legend. There is just a green pin, but no text.
There is no map in users profiles who previously did not set their pins, but if they previously set a pin, their map shows up correctly, but they are not able to edit their location.
Also, I had to remove this line from the "map" link in order for it to show up. The map is enabled and I do have permissions to view it.
if (($modSettings['googleMapsEnable']) && (allowedTo('googleMap_view')))
Also, the text was not populating properly for the link.
so I changed this...
<a href="', $scripturl, '?action=googlemap">' , $txt['googleMap'] , '</a>
to this...
<a href="', $scripturl, '?action=googlemap">Member Map</a>
I know these are sloppy temp fixes.....but can anyone help me out to figure out whats broken?
Thanks!
Bigguy, any ideas?
Well, I would suggest going into the .xml file and going over the edits one more time. If text isn't showing this is more than likely the modifications.english.php file. Some of the code might be missing in it.
Quote from: Bigguy on January 15, 2007, 04:35:32 PM
@ Mikeobwan: If your on a windows box doing this make sure read only is off in the properties of the file or folder you are trying to set permissions for.
@ Goad: Open up the install.xml file and find those lines and add them to your files.
I got the package installed and it says it was successfull, but I have no map and no profile info. I don't seem to have a file called install.xml
And when I open my modifications file it has no mention of google
smf1-1-1.modification.xml is the name of the file that has all the edits in it. Were there any failures during install. ??? Have you gone to google to get your key and all that. ???
Quote from: Mikeobwan on January 17, 2007, 10:39:19 PM
Quote from: Bigguy on January 15, 2007, 04:35:32 PM
@ Mikeobwan: If your on a windows box doing this make sure read only is off in the properties of the file or folder you are trying to set permissions for.
@ Goad: Open up the install.xml file and find those lines and add them to your files.
I got the package installed and it says it was successfull, but I have no map and no profile info. I don't seem to have a file called install.xml
And when I open my modifications file it has no mention of google
this is the same problem I had.....it placed all the files correctly, but did not modify any php files....
the install.xml file he is referring to is actually called smf1-1-1.modification.xml
you can (at your own risk) check out this xml file in a text viewer (notepad) and disect the code and make the modifications to the php files yourself.
Since my upset when i upgraded to SMF 1.1.1, I have created a test site. Now all mods are applied and tested there before I go breaking my site again :(
Notepad is the last thing I would be opening a php file with. Get a good editor like this one:
http://www.mpsoftware.dk/phpdesigner.php
Ok I am getting somewhere now. I have the google map working, it even remembers all my pins and settings from before. The only thing I am missing is the map in the profile screen. I am using Helios as a theme and I noticed I don't have a Profile.template.php file in helios, do I use the one from the default. So I went ahead and edited the one in the default theme and it partially works. When i make the first edit and save it works but stuff looks out of place then I add this code
//Google Map Member Map
if (($modSettings['googleMapsEnable']) && (allowedTo('googleMap_place'))) {
echo '
<tr>
<td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td>
</tr><tr>
<td class="windowbg2" colspan="2" align="center">
<script src="http://maps.google.com/maps?file=api&v=2&key=' . $modSettings['googleMapsKey'] . '" type="text/javascript"></script>
<div id="map" style="width: 600px; height: 350px; color: #000000;" align="center"></div>
<div id="message" align="center">Click to place a point or click on your point to remove it.</div>
<div id="disclaimer" align="center">', $txt['googleMapDisclaimer'] ,'</div>
<input type="hidden" name="latitude" id="latitude" size="50" value="', $context['member']['googleMap']['latitude'], '" />
<input type="hidden" name="longitude" id="longitude" size="50" value="', $context['member']['googleMap']['longitude'], '" />
<script type="text/javascript">';
//Evil hack on this!!!
echo '
//' . chr(60) . chr(33) . chr(91) . chr(67) . chr(68) . chr(65) . chr(84) . chr(65) . chr(91);
echo "
function LoadMap() {
var map = new GMap2(document.getElementById(\"map\"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());";
if (isset($context['member']['googleMap']['longitude']) && isset($context['member']['googleMap']['latitude']) && !empty($context['member']['googleMap']['longitude']) && !empty($context['member']['googleMap']['latitude'])) {
echo "
map.setCenter(new GLatLng(" . $context['member']['googleMap']['latitude'] . "," . $context['member']['googleMap']['longitude'] . "), 13, " . $modSettings['googleMapsType'] . ");
var point = new GLatLng(" . $context['member']['googleMap']['latitude'] . "," . $context['member']['googleMap']['longitude'] . ");
var marker = new GMarker(point);
map.addOverlay(marker);";
} else {
echo "
map.setCenter(new GLatLng(0,0), 1, G_NORMAL_MAP);";
}
echo "
GEvent.addListener(map, 'click', function(overlay, point) {
if (overlay) {
map.clearOverlays();
document.getElementById(\"latitude\").value = \"\";
document.getElementById(\"longitude\").value = \"\";
} else if (point) {
map.clearOverlays();
map.addOverlay(new GMarker(point));
document.getElementById(\"latitude\").value = point.y;
document.getElementById(\"longitude\").value = point.x;
}
});
}
if (GBrowserIsCompatible()) {
window.onload=LoadMap;
}";
//Lets make another evil hack!
echo '
//' . chr(93) . chr(93) . chr(62);
echo "
</script>
</td>
</tr>";
}
and save it and I get this error message
Template Parse Error!
There was a problem loading the \Themes\default/Profile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------
parse error, unexpected T_STRING, expecting ',' or ';'
And lastly when I enter the admin page, I do have the option for Google map next to karma but when I click on it I just get a blank white page..
thanks for you patients and help
Mike
What line of code is that error on. that will help you our narrow it down.
in the install file it is on line 353 and I insert it into the profile file at line 1573
finally got some spare time and checked ut the membermap in detail
it was a missing edit in load.php - i made it a point to check all the files manually and much to my surprise found 2 missing edits! Completely untouched
so now working wonderfully!!
Thanks for this package :D
ok maybe i spoke too soon on internet explorer its REALLY screwy
have a look
http://path-to-peace.com/forum/index.php?action=googlemap
user: test
pass: test
no pins and when u drag the map it literally flies off ur screen
any ideas for a fix?
aku
I would like to make a site without forum with this script, do you know if it's posible to do it?
I just need a simple login that lets the user write his information (name, comment and upload a picture) and put his pin at the google map. Do you know how can I do it?
u could install tinyportal.net from tinyportal
then hide the forum link from the menu bar
that way you could have this mod available plus some other options as well like
articles
downloads
etc etc
have a look at my site http://path-to-peace.com/forum
thats what tinyportal does for the front end of your site...u can hide the forum easily by removing the forum link and the recent posts block
http://tinyportal.net
aku
Thanks! I will check it!
Hello,
I would like to make a french translation for this mod. Any hint where to start?
Cheers.
Hi,
just take a look at the smf1-1-1.modification.xml in the package.
Translate the passage where the Modifications.english.php
$txt['googleMap'] = 'Map';
$txt['googleMapGreenPinGD'] = 'Someones Pin';
$txt['googleMapGreenPinNG'] = 'No Gender';
$txt['googleMapBluePin'] = 'Male';
$txt['googleMapRedPin'] = 'Female';
$txt['googleMapPurplePin'] = 'Cluster of pins';
$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Click here to go place your pin if you have not already.</a>';
$txt['googleMapDisclaimer'] = 'Place your pin as close as you feel comfortable doing so.';
$txt['cannot_googleMap_view'] = 'Sorry, you\'re not allowed to view the Member Map.';
$txt['permissionname_googleMap_view'] = 'View Member Map';
$txt['permissionhelp_googleMap_view'] = 'Allow the people to view the Member Map. If not set, the people will not see the map.';
$txt['cannot_googleMap_place'] = 'Sorry, you\'re not allowed to place a pin for the Member Map.';
$txt['permissionname_googleMap_place'] = 'Place Pin on Member Map';
$txt['permissionhelp_googleMap_place'] = 'Allow the people place there pin the Member Map. If not set, the people will not be able to place there pins.';
and the ModSettings.english.php
$txt['googleMapsEnable'] = 'Enable the Google Member Map';
$txt['googleMapsEnableLegend'] = 'Show a Pin Legend';
$txt['googleSidebar'] = 'Where to show sidebar';
$txt['googleMapsKey'] = 'The key from the Google Maps API Page';
$txt['googleMapsPinGender'] = 'Should the pins reflect users gender?';
$txt['googleMapsPinNumber'] = 'Number of max pins to show on map';
$txt['googleMapsType'] = 'The map type to show';
$txt['googleMapsDefaultLat'] = 'The default Latitude';
$txt['googleMapsDefaultLong'] = 'The default Longitude';
$txt['googleMapsDefaultZoom'] = 'The defualt Zoom';
$txt['googleMapsEnableClusterer'] = 'Enable Pin Clustering';
$txt['googleMapsMinMarkerCluster'] = 'Minimum Pins Per Cluster';
$txt['googleMapsMaxVisMarker'] = 'Maximum Visable Pins On Map';
$txt['googleMapsMaxNumClusters'] = 'Max Number of Clusters';
$txt['googleMapsMaxLinesCluster'] = 'Max Number of lines in Cluster Info Box';
$txt['googleMapFO'] = 'Member Map';
stand and rename them to Modifications.french.php and ModSettings.french.php. Or you can copy the translated text right into these 2 files.
Hope you understand this very bad english :P
Regards
FoneBone
Quote from: akulion on January 20, 2007, 06:06:25 PM
ok maybe i spoke too soon on internet explorer its REALLY screwy
have a look
http://path-to-peace.com/forum/index.php?action=googlemap
user: test
pass: test
no pins and when u drag the map it literally flies off ur screen
any ideas for a fix?
aku
I've just tested it with IE, Opera and FF and it works, I see the pins. Just change your default zoom.
oh the new version wont work for me
i had to put in an old googlemap.php to make it work
so new one is still screwy for me..just have to live with it i guess atleast the old one works
Hi, I am using Member Map 0.55 with Forum version: SMF 1.1 RC2, everything was fine until a couple of months ago when all my pins disappeared, if you look at people's profiles they still have the pins, but on the main map it doesn't show any, I looked through this thread as best I could (there is a lot in here) but couldn't find anything, any help would be appreciated, thanks.
Hello,
can the Member Map be integrated into the registration form so a a new user can select his location when signing up in RC2?
Thank you,
Christian
Ok Bigguy a little update.
The map works and it can be seen in a members profile, but there doesn't seem to be a way for anyone to actually add a pin from their profile, or edit an existing pin??
any ideas..
Also the admin panel still does not work. I'm not sure if that's just the way it is
Thanks
Mike
Hi and Thanks a lot!!
I just updated Google Member Map to latest version from here, GoogleMapsMod-0_60RC8.zip. Got that one working almost immediately? Only thing was a conflict in index.template.php and the menu buttons. (An other mod interfered).
SMF 1.1.1 (Orstio Bridge and some mods)
Joomla 1.0.12 (Bridged with SMF)
Coppermine 1.4.10 (Bridged with SMF)
Antracit Blacksmith Portal (http://www.antracit.se/forum/component/option,com_frontpage/Itemid,1/lang,en/)
And the Membersmap (http://www.antracit.se/smf/index.php?action=googlemap)
:D :D
where is the actual download zip for rc8? i can't find ...
Page 52 about halfway down.
Thanks a lot ... i was blind! 8) Works great for me.
Just found a problem with my setup
I'm on smf 1.1.1
I thought the mod was working, but it appears members with out a pin can't add one or see the map...They can see the map when they click the link, but if they choose add a pin, it then takes them to there profile and the map is missing
All the zoom and map arrows are there and the space where the map should be, but no map and also the browser says error on page..
No errors in the forum error log.
Members who have got a pin, can see the map and can move there pins..
i had the same effect on www.xtrac.de, on a fresh install with the same version of google member map it worked without a problem. but with waiting a few days it worked on my big site again and i did nothing. maybe it is a bug or temporary malfunction in the google api.
Well I cant promise anything but I am back for now, last weekend I spent time reviewing the changes in SMF since 1.1RC3. I think I can pull this off again in a weekend or two, lets just hope I can package this thing properly and have it all work like I would like.
Hopefully I can find some old new code I had written somewhere.
It works great on my site (SMF 1.1) No errors in the log files or anything. If you need any of my files to check out you are more than welcome to them.
Great to see you back TLM. Looking forward to getting Google maps back on my 1.1.2 Forum :D
O.
I have just updated to 1.1.1 and it works on that version to.
Quote from: Bigguy on February 14, 2007, 12:15:41 PM
I have just updated to 1.1.1 and it works on that version to.
where can i download this mod?
-qubbah-
there is an rc8 version a couple pages back somewhere. It MIGHT work, but I can not be sure of that. BACKUP BEFORE TRYING
If someone has tried it on 1.1.2 let me know :)
O.
Quote from: Owain on February 14, 2007, 02:48:30 PM
If someone has tried it on 1.1.2 let me know :)
O.
Installed onto 1.1.1 and after upgrade to 1.1.2 it works perfectly.
Quote from: Bigguy on January 09, 2007, 12:27:36 AM
Try uploading a fresh copy of profile.template.php That might solve the problem.
I'm buying you... a pizza. :) Thanks Bigguy, I drilled down in there and found the backed up copy sitting there with a php~ extension. Whacked the current one and removed the tilde - and the site is happy once again.
I know this is a very late reply - but your help is much appreciated. Danke!
Glad I could help.
Hmmm suddently all my pins are not showing on the map....
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.fals.dk%2Fimageupload%2Freg%2Fimages%2F2913map10.jpg&hash=8acc186c61a772b49bcb271f425bdf58b08b79ac)
All the users with pins are stilll there in the list, but when i press there name, it just popup the same top corner (middle of nowhere)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.fals.dk%2Fimageupload%2Freg%2Fimages%2F7704map20.jpg&hash=f6ff75294003cc7e1c2c1213ebb0fa1c3bcb82a2)
If i go to my profile to see my pin, it just shows the world map.
If i re-ad a pins, it still wont show on the map :-(
This happent just yesterday, dont know whats wrong.
It has worked without problems since the day i installed it.
I am having the same problem - pins in Profile view, no pins on actual Map view.
I found the solution.
Somehow the codes was missing in sources/load.php
So i readded the codes from the install file manually and it works perfect again ;o)
Quote from: fals on February 28, 2007, 05:36:32 AM
I found the solution.
Somehow the codes was missing in sources/load.php
So i readded the codes from the install file manually and it works perfect again ;o)
Hi can you provide a bit more detail regarding your solution. Which code are you referring to? I installed the mod manually and added everything to all required files in the Sources dir but still no pins. :-(
In my case, i only needed to re-ad these lines in the Load.php
<file name="$sourcedir/Load.php">
<operation>
<search position="before"><![CDATA[
'post_group' => $profile['post_group'],
'post_group_color' => $profile['post_group_color'],
'group_stars' => str_repeat('<img src="' . str_replace('$language', $context['user']['language'], isset($profile['stars'][1]) ? $settings['images_url'] . '/' . $profile['stars'][1] : '') . '" alt="*" border="0" />', empty($profile['stars'][0]) || empty($profile['stars'][1]) ? 0 : $profile['stars'][0]),
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),]]></search>
<add><![CDATA[
'googleMap' => array(
'latitude' => $profile['latitude'],
'longitude' => $profile['longitude'],
),]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[
mem.buddy_list, mg.onlineColor AS member_group_color, IFNULL(mg.groupName, '') AS member_group,]]></search>
<add><![CDATA[
mem.buddy_list, mem.latitude, mem.longitude, mg.onlineColor AS member_group_color, IFNULL(mg.groupName, '') AS member_group,]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[
mem.notifyTypes, lo.url, mg.onlineColor AS member_group_color, IFNULL(mg.groupName, '') AS member_group,]]></search>
<add><![CDATA[
mem.notifyTypes, mem.latitude, mem.longitude, lo.url, mg.onlineColor AS member_group_color, IFNULL(mg.groupName, '') AS member_group,]]></add>
</operation>
</file>
Then it worked again :)
Maybe they where deleted by mistake, when i uninstalled some other mod.
Hm, I already had that in there. :(
Thanks though.
Still not working.
I've got SMF 1.1.2 by the way.
Could anyone please send me the RC8 version to my email "arvesolland at gmail dot com", or post an exact url to where i can download, have been looking through the pages here, and cannot find it at all :-[
Cheers
Hi,
It's on page 52 in this post (http://www.simplemachines.org/community/index.php?topic=61213.msg896627#msg896627)
I tried to install the file on page 52 but because I am already running 1.1.2 it says the instal failed because of version error.
Is there a way of installing this mod on 1.1.2 without going back to 1.1.1 first?
O.
Quote from: Owain on March 02, 2007, 08:38:38 AM
I tried to install the file on page 52 but because I am already running 1.1.2 it says the instal failed because of version error.
Is there a way of installing this mod on 1.1.2 without going back to 1.1.1 first?
O.
Yes, just install it manually.
Upload and run the php on your server and then manually edit the Source and Theme files as structured in the modifications xml file.
That worked for me, except for the 'no pins' issue I am still having! :(
I installed on 1.1.2 after modifying the install package xml per someone's suggestion. It did not get any errors. However, when in features and options, nothing will save. I make the changes, click save and they are lost. I get these errors in the error log:
8: Undefined index: pm_posts_per_hour
File: <snipped>/Sources/ModSettings.php
8: Undefined index: pm_posts_verification
File: <snipped>/Sources/ModSettings.php
8: Undefined index: max_pm_recipients
File: <snipped>/Sources/ModSettings.php
I tried uninstalling, then uninstalling the 1.1.2 update to go back to 1.1.1 and finally reinstalling the map mod. I still have the same problem.
Any thoughts?
I have not figured out why I could not save the settings. I changed them directly in MySQL and have the map up. I went into my profile and added a pin. When I go back to the map, it does not show up.
Quote from: LiveWire on March 08, 2007, 12:42:20 PM
I have not figured out why I could not save the settings. I changed them directly in MySQL and have the map up. I went into my profile and added a pin. When I go back to the map, it does not show up.
You are not alone - I am still having this issue. If anyone has been able to resolve this - please let us know! :)
Started back on page 1. Got it working to my satisfaction for now at page 44. I did not see the IE fix link before being so small and blue on blue. I got the pins to show up by disabling clustering. If the settings page was working for me, I would probably have figured it out just playing around with settings.
It would be nice if all the little fixes were combined into a new dowloadable install package before the next big version is released.
Quote from: Bigguy on January 09, 2007, 03:52:32 PM
Well WhatsUp, I have tried this again and still have got no further. The "unexpected T_DOUBLE_arrow" error it gives because of this line:
'googlemap' => 'ModifyGoogleMapSettings',
believe it or not is because of this:
=>
I have tried everything to get this to work and for some reason it just won't. I am sorry. Maybe someone here that is more skilled at this can help out. The code around that area is this:
// Select the right tab based on the sub action.
if (isset($context['admin_tabs']['tabs'][$context['sub_action']]))
$context['admin_tabs']['tabs'][$context['sub_action']]['is_selected'] = true;
// Call the right function for this sub-acton.
$subActions[$_REQUEST['sa']]();
}
// This function basically just redirects to the right save function.
function ModifyFeatureSettings2()
{
global $context, $txt, $scripturl, $modSettings, $sourcedir;
isAllowedTo('admin_forum');
loadLanguage('ModSettings');
// Quick session check...
checkSession();
It tells us that the line of code is to go above this:
// This function basically just redirects to the right save function.
I have tried that and a number of other combonations and still I get a parse error.
This is my problem. I've spent hours trying to figure this out. Did anyone ever find the solution or can someone help?
TIA!
I have the google map installed and running but for the life of me I can't remember how I got it going. I had some help from someone here in this thread. Did you download and try using the rc8 version that is posted back about 10 or so pages. ???
Quote from: Bigguy on March 15, 2007, 08:58:00 PM
I have the google map installed and running but for the life of me I can't remember how I got it going. I had some help from someone here in this thread. Did you download and try using the rc8 version that is posted back about 10 or so pages. ???
Yes & I followed your great instructions on hand modding the problem file. Unfortunately, I got stuck at the same place you did when trying to help WhatsUp. :(
Fingers crossed TLM will be back soon with a 1.1.2 version of googlemaps :D
O.
Hello there.
I've used 1.1.2 thai with manual google map installed, and it works fine.
However i go to http://googlemapsapi.blogspot.com/ (http://googlemapsapi.blogspot.com/) and see
some code interesting.
That's when anyone move the mouse over the pin, the block show "hi".
I try to insert code in googlemap.php but failed.
This 's the code i copy from that web site.
Quotevar point = new GLatLng(40.713956,-35.156250);
var marker = new GMarker(point, {draggable:true});
GEvent.addListener(marker, 'mouseover', function() {
marker.openInfoWindow('hi!');
});
map.addOverlay(marker);
Can anyone suggest me how to imply this code.
Moreover i want to say hi and "this is the xxx home "
when the user move mouse over the xxx pin.
how to adapt this code?
thank forward.
Hi all.
Thanks for all the info regarding the member map. After a lot of searching through the forum, I now have my map installed through the package manager on 1.1.2.
However, does anyone know how to alter the size of the balloon that appears when you click on a pin in the map. (The balloon shows user info, avatar, and links to the users profile). Currently, the data overspills the balloon. Hope that makes sense?
Cheers all.
It does that on mine sometime to but I found clicking on the pin again will actually resize the balloon to the proper dimensions. (Or for me anyway)
Quote from: Bigguy on March 24, 2007, 06:49:23 PM
It does that on mine sometime to but I found clicking on the pin again will actually resize the balloon to the proper dimensions. (Or for me anyway)
You're right, it does reseize when clicked twice. How funny! Any idea what could be causing the problem? Not a major issue, just thought it would be nice to be able to correct it.
I am not sure as I have not looked at the code closely yet, when I get a free moment I will look.
Quote from: LiveWire on March 09, 2007, 12:40:30 PM
Started back on page 1. Got it working to my satisfaction for now at page 44. I did not see the IE fix link before being so small and blue on blue. I got the pins to show up by disabling clustering. If the settings page was working for me, I would probably have figured it out just playing around with settings.
It would be nice if all the little fixes were combined into a new dowloadable install package before the next big version is released.
Does anybody know when the next version is going to be released? I'd rather start with something new instead of going through 60 pages of modifications and fixes. Sorry but....I'm looking for a replacement for Location Mod.
When its done?
Keep in mind as well I am having to work on it bit by bit when free time comes to me and I am not stressed. I can tell you this, clustering might be gone or different, have not decided yet. Gonna have ability for people to import there own custom .kml files for those people that want to use the map that way... Thats about all the major changes I can remember at this hour of the night, gg homework,
I am sorry for having to keep delaying this for such a long time, I hope it is worth the wait once I am done with it.
I am sure it will be. Looking forward to seeing the new version. ;)
i have a question about clustering, how is it implemented? do how close do pins need to be to eachother to be considered part of a cluster?
Quote from: TLM on March 28, 2007, 02:56:49 AM
When its done?
Keep in mind as well I am having to work on it bit by bit when free time comes to me and I am not stressed. I can tell you this, clustering might be gone or different, have not decided yet. Gonna have ability for people to import there own custom .kml files for those people that want to use the map that way... Thats about all the major changes I can remember at this hour of the night, gg homework,
I am sorry for having to keep delaying this for such a long time, I hope it is worth the wait once I am done with it.
Instead of "Frodo Lives!" it should be "TLM Lives!" ;D
/me grabs some spraypaint and heads to tag up some buildings.
Quote from: naitram on March 30, 2007, 10:24:19 AM
i have a question about clustering, how is it implemented? do how close do pins need to be to eachother to be considered part of a cluster?
I am not really sure, for I used someones clustering script, that I really should have asked first to distribute like I did. If memory serves me correcly, it works off of how close the pins are and figures with zoom level.
Quote from: nite0859 on March 31, 2007, 10:11:58 AM
Quote from: TLM on March 28, 2007, 02:56:49 AM
When its done?
Keep in mind as well I am having to work on it bit by bit when free time comes to me and I am not stressed. I can tell you this, clustering might be gone or different, have not decided yet. Gonna have ability for people to import there own custom .kml files for those people that want to use the map that way... Thats about all the major changes I can remember at this hour of the night, gg homework,
I am sorry for having to keep delaying this for such a long time, I hope it is worth the wait once I am done with it.
Instead of "Frodo Lives!" it should be "TLM Lives!" ;D
/me grabs some spraypaint and heads to tag up some buildings.
Just for that.../me flatlines
Quote from: naitram on March 30, 2007, 10:24:19 AM
i have a question about clustering, how is it implemented? do how close do pins need to be to eachother to be considered part of a cluster?
the clustering isnt work on my board. if i disable it the user pins are shown, but enabled the map is empty ;(
That is probably due to the changes in the google maps API and old script, therefor probably throwing a lot of js errors and you just don't see them?
I am wondering if a smaller maximum zoom can be set.
Some members are a bit afraid to define their exact location. Or, they could define it, if other members are not able to zoom too much.
For example see the map at www.frappr.com It doesn't zoom too much.
Also, why are the maps of the member map and the profile page, different? One has a zoom bar and it starts with the defined default zoom, the other has no bar and starts by showing the whole world.
I was playing around with my implementation of TLM's (much appreciated) Member Map - running on SMF 1.1.2. My clustering doesn't work at all, (I think it used to on an earlier SMF) nor does the map display in Internet Explorer. I use Safari and Firefox, on a Mac, and the map displays fine for me. (all 3000+ pins!) It takes a long time, but it works! :)
Besides the problem of most of my users not being able to use it in IE, I am running into a real scalability issue.... mainly due to my clustering not working.
so.... just put me on that list of patient, appreciative users. ;D
Just wondering what the latest progress is on this mod? I know your all very busy so no pressure :)
O.
Anybody can pack this mod for 1.1.1
im still waiting for this for a along time....
Hi Guys,
The mod is well installed on my SMF 1.1.2 + Tinyportal. I have the admin panel working: I disabled the clustering of pins. In the profile, everything seems to work well: I can enable and disable pins. When I launch the map, I can see the map with the correct zoom but no pins at all.
In IE, I have some errors: clusterer is undefined
Can anyone help me showing the pins ?
Ouahh I've just find the solution, I disabled the following lines in GoogleMap.php
// This is so we can try to cluster some of those pins together so the map does not get over loaded?
//var clusterer = new Clusterer( map );
//clusterer.icon = clusterIcon;
//clusterer.minMarkersPerClusterer = ' . $modSettings['googleMapsMinMarkerCluster'] . ';
//clusterer.maxVisibleMarkers = ' . $modSettings['googleMapsMaxVisMarker'] . ';
//clusterer.GridSize = ' . $modSettings['googleMapsMaxNumClusters'] . ';
//clusterer.MaxLinesPerInfoBox = ' . $modSettings['googleMapsMaxLinesCluster'] . ';
and
//if ($modSettings['googleMapsEnableClusterer'])
// echo '
// clusterer.AddMarker(marker, label);';
//else
And now the pins are showing up. So disabling clustering in Admin panel isn't enough, you also need to remove the code
So is anyone gonna update the package for 1.1.2 or not?
I would like to see it updated for 1.1.2 :)
PS: Storm, I see it on Tinyportals.com. You should post it here. Give me a pm.
i think this is the best time to make the latest google map mod. Why its take soo and very long time to make it.... is there no specialist about that...
Quote from: qubbah on May 27, 2007, 05:23:08 AM
i think this is the best time to make the latest google map mod. Why its take soo and very long time to make it.... is there no specialist about that...
Are you having trouble understanding the following........???
Quote from: TLM on March 28, 2007, 02:56:49 AM
When its done?
Keep in mind as well I am having to work on it bit by bit when free time comes to me and I am not stressed. I can tell you this, clustering might be gone or different, have not decided yet. Gonna have ability for people to import there own custom .kml files for those people that want to use the map that way... Thats about all the major changes I can remember at this hour of the night, gg homework,
I am sorry for having to keep delaying this for such a long time, I hope it is worth the wait once I am done with it.
It will be done when time allows! You just have to be patient like the rest of us! ;)
Thanks Brian, yes i had to fix several things in the package before it would install correctly. I also believe the reason you can't use cluster pins is that in the code it appears to be either or not both, If i manage to solve it i'll post the fix but in the meantime you can view the working model on my 1.1.2/TP9.83 site
just click my signature.
Hi, i'm wondering, if it is possible to add a search box, as it is explained here (http://www.google.com/apis/maps/documentation/index.html#Geocoding_Examples)
var map = new GMap2(document.getElementById("map"));
var geocoder = new GClientGeocoder();
function showAddress(address) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
alert(address + " not found");
} else {
map.setCenter(point, 13);
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml(address);
}
}
);
}
I tried but got error responses, so maybe you can help a french googlemap addict
Quote from: GuidO35 on May 28, 2007, 02:16:36 PM
Hi, i'm wondering, if it is possible to add a search box, as it is explained here (http://www.google.com/apis/maps/documentation/index.html#Geocoding_Examples)
var map = new GMap2(document.getElementById("map"));
var geocoder = new GClientGeocoder();
function showAddress(address) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
alert(address + " not found");
} else {
map.setCenter(point, 13);
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml(address);
}
}
);
}
I tried but got error responses, so maybe you can help a french googlemap addict
That would be pretty cool :)
Quote from: StormLrd on May 27, 2007, 10:52:24 AM
Thanks Brian, yes i had to fix several things in the package before it would install correctly. I also believe the reason you can't use cluster pins is that in the code it appears to be either or not both, If i manage to solve it i'll post the fix but in the meantime you can view the working model on my 1.1.2/TP9.83 site
just click my signature.
You PM me or email me on your site or SMF when you get it up so I know when to look ;)
if you got notifications set here, you'll know or simply the fact that your an active member on my site you should see a notice by someone on staff bro lol
seriously so far running without a hitch.
cool thanks storm :)
you mean email, pm, or post?
Hello,
I have a feature request:
- it would be great if there could be an option to show pins in a specific region (State, City), for example when most of the users are from one town or state.
For example like it is here (http://www.toytowngermany.com/xtra/maps/members.html):
View members in: Germany | Berlin | Munich | Worldwide
You can also see that here is the clustering already set, users can't place their pin, they can just select a location in their profile.
- And since googlemap can't be used as a picture, it would be great if the administrator could place some special pins, for example for meetups, sponsors, etc.
For example:
View: meetups | top bars | top locations
Thanks,
David
Try the one i put up here (http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373).
I changed the package info to match 1.1.2 and it installed fine in my setup (1.1.2 TP and loads of other mods)
Ok that one installed ok but its not letting me save the changes to activate the map to see if it worked ok
Ok I need some support. I have a ™ after my display name on my website. My username is Tuxie™ and it comes up as Tuxieâ¢.
How would I make it so the ™ actually shows up as it is in this post? :)
Thanks,
Brianjw
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
if I set permissions for a certain group to 'not allowed ' to watch a members map, I can still use a link http://forum_url/smf/index.php?action=googlemap and see all data (even add myself)...
So, this is wrong
SMF 1.1.2
GoogleMapsMod-0_60RC8-1.1.2
Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)
how can i make the menu button for google member map to use in menu section in dilbermc theme.
the default
// Google Maps Mod
if (($modSettings['googleMapsEnable']) && (allowedTo('googleMap_view')))
echo ($current_action == 'googlemap' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'googlemap' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=googlemap">' , $txt['googleMap'] , '[/url]
</td>' , $current_action == 'googlemap' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
the example for dilbermc
// The [calendar]!
if ($context['allow_calendar'])
echo'
<td align="center" class="menubg' , $current_action == 'calendar' ? '2' : '' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '[/url]
</td>';
Try this
I will have a code out in a second.
Ok here is one -
// Show the [googlemap] button.
echo'
<td align="center" class="menubg' , $current_action == 'googlemap' ? '2' : '' , '">
<a href="', $scripturl, '?action=googlemap">Member Map</a>
</td>';
(^-- this one is tested and it works, this is seen by guests and members)
Another one that wasn't tested, I think only seen by members:
// The [googlemap]!
if ($context['allow_googlemap'])
echo'
<td align="center" class="menubg' , $current_action == 'googlemap' ? '2' : '' , '">
<a href="', $scripturl, '?action=googlemap">Member Map</a>
</td>';
If I were you go for the first code because I don't think the second code will work. :)
thanks soo much...
the first is really working...
the second one im not put it yet...
what file i should open it to edit this
Click here to go place your pin if you have not already.
Quote from: brianjw on June 13, 2007, 05:34:23 PM
Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)
thats right - but its not elegant, because i would have to correct all links (profile etc) to hit the domain with the api. and then, when i leave the map? theres no possibility to chose the right domain.
isnt it possible to hardcode two apis in the googlemap.php? would be nice if it would work.
Quote from: qubbah on June 13, 2007, 07:51:14 PM
thanks soo much...
the first is really working...
the second one im not put it yet...
what file i should open it to edit this
Click here to go place your pin if you have not already.
You would go to /Themes/default/googlemap.template.php . It's in there ;)
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
help with this please? I run smf 1.1.2 and TP
It isn't compatible for version 1.1.2 if you downloaded the one at the modsite.
The one you want to download is the version: http://www.simplemachines.org/community/index.php?topic=61213.msg1118401#msg1118401
If that version doesn't work either, you may have other mods interfering with it.
Fantastic! At last I have the google map back on my forum :D
O.
Quote from: taucher on June 14, 2007, 06:19:39 AM
Quote from: brianjw on June 13, 2007, 05:34:23 PM
Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)
thats right - but its not elegant, because i would have to correct all links (profile etc) to hit the domain with the api. and then, when i leave the map? theres no possibility to chose the right domain.
isnt it possible to hardcode two apis in the googlemap.php? would be nice if it would work.
seems theres no solution?
How do I change the width of the googlemap within my profile section? I have a narrow theme and the googlemap pushes out the side, I have looked in the code and cant spot it. It seems to be about 600px wide. I can change the width of the main googlemap which is visiable to all users but can't seem to change the width within the profile settings.
Can anyone help me?
O.
Shouldn't this be "after"?
<operation>
<search position="before"><![CDATA[// This function basically just redirects to the right save function.
function ModifyFeatureSettings2()
{
global $context, $txt, $scripturl, $modSettings, $sourcedir;
isAllowedTo('admin_forum');
loadLanguage('ModSettings');
// Quick session check...
checkSession();
require_once($sourcedir . '/ManageServer.php');
$subActions = array(
'basic' => 'ModifyBasicSettings',
'layout' => 'ModifyLayoutSettings',
'karma' => 'ModifyKarmaSettings',]]></search>
<add><![CDATA[
'googlemap' => 'ModifyGoogleMapSettings',
]]></add>
</operation>
Quote from: taucher on June 19, 2007, 04:24:56 AM
Quote from: taucher on June 14, 2007, 06:19:39 AM
Quote from: brianjw on June 13, 2007, 05:34:23 PM
Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)
thats right - but its not elegant, because i would have to correct all links (profile etc) to hit the domain with the api. and then, when i leave the map? theres no possibility to chose the right domain.
isnt it possible to hardcode two apis in the googlemap.php? would be nice if it would work.
seems theres no solution?
Hi,
I also need this to work... or I will have to make for each domain a new copy of smf
Thanks a lot
I tried installing this but it didnt work so I used the uninstall and now am getting a TON of error messages in my logs and I just wanna go back and fix it all- so where do I need to go and fix the following things?:
1-Feature Settings- the member map stuff is still there- If I resintall the mod, this page doesnt comeup at all. Even when it was installed, it never recorded my changes cut I just want it gone now.
2-Profile Im assuming this is where someones location is supposed to show. Never saw a working version of this mod that I had access to the profiles so I couldve verified.
3-Error Log-I just deleted and Im already back to over 50 pages of errors in 5 minutes
Im attaching some screenshots
Help me ObiWan Kenobi!
Quote from: TheDel on June 21, 2007, 12:37:35 AM
I tried installing this but it didnt work so I used the uninstall and now am getting a TON of error messages in my logs and I just wanna go back and fix it all- so where do I need to go and fix the following things?:
1-Feature Settings- the member map stuff is still there- If I resintall the mod, this page doesnt comeup at all. Even when it was installed, it never recorded my changes cut I just want it gone now.
2-Profile Im assuming this is where someones location is supposed to show. Never saw a working version of this mod that I had access to the profiles so I couldve verified.
3-Error Log-I just deleted and Im already back to over 50 pages of errors in 5 minutes
Im attaching some screenshots
Help me ObiWan Kenobi!
1. Make sure that the following code is in/out(depending install or uninstall) the Modifications.english.php somewhere.
//--Begin Google Map--
$txt['googleMap'] = 'Map';
$txt['googleMapGreenPinGD'] = 'Someones Pin';
$txt['googleMapGreenPinNG'] = 'No Gender';
$txt['googleMapBluePin'] = 'Male';
$txt['googleMapRedPin'] = 'Female';
$txt['googleMapPurplePin'] = 'Cluster of pins';
$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Click here to go place your pin if you have not already.</a>';
$txt['googleMapDisclaimer'] = 'Place your pin as close as you feel comfortable doing so.';
$txt['cannot_googleMap_view'] = 'Sorry, you\'re not allowed to view the Member Map.';
$txt['permissionname_googleMap_view'] = 'View Member Map';
$txt['permissionhelp_googleMap_view'] = 'Allow the people to view the Member Map. If not set, the people will not see the map.';
$txt['cannot_googleMap_place'] = 'Sorry, you\'re not allowed to place a pin for the Member Map.';
$txt['permissionname_googleMap_place'] = 'Place Pin on Member Map';
$txt['permissionhelp_googleMap_place'] = 'Allow the people place there pin the Member Map. If not set, the people will not be able to place there pins.';
//--End Google Map--
Also what smf version are you running? It looks like you're running the default theme. Did you the new member map version here:
Quote from: brianjw on June 16, 2007, 08:32:41 AM
The one you want to download is the version: http://www.simplemachines.org/community/index.php?topic=61213.msg1118401#msg1118401
Brianjw :)
Hi,
I tried to install 0.6 mod and it pop ups the ftp error tellimg me that some permissions are wrong. The problem is that I don't have an ftp account.
Can somebody post the right permissisons to install this mod?.
Many many thanks.
This mod is awesome and I had it in 1.1rc2.
If you don't have ftp than how are you using SMF.
Again did you try to install the update for smf 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373
Permissions should be fine unless you somehow fumbled with them in the past - you may want to ask someone with more skill ;)
What SMF version are you using?
Helios Multi theme and the pin popup problem of not seeing the text, I finally got it after like 6 hrs (not a great css or php programer so please bare with me), This may also work with other themes (I have not triied) look for the css change for how to change the color.
in SOURCES\GoogleMap.php
LOOK FOR
<td style="white-space: nowrap;">' . $marker['title'] . '</td>
REPLACE WITH THIS
<td style="white-space: nowrap;"><span class="googleMaps">' . $marker['title'] . '</span></td>
LOOK FOR
<td style="white-space: nowrap;" colspan="2" align="left">' . $marker['blurb'] . '</td>
REPLACE WITH THIS
<td style="white-space: nowrap;" colspan="2" align="left"><span class="googleMaps">' . $marker['blurb'] . '</style></td>
Since only the THEMES\DEFAULT\style.css was changed edit THEMES\HELIOS MULTI\style.css
LOOK FOR
/* Tables should show empty cells. */
table
{
empty-cells: show;
}
ADD THIS AFTER ABOVE
/* Google Maps */
.googleMaps, .googleMaps a:link, .googleMaps a:visited, .googleMaps a:hover, p.googleMaps
{
color: #000088; /* You can change the color here */
font-size: small;
font-family: tahoma, sans-serif;
}
.googleMapsSidebar
{
color: #000000;
font-size: x-small;
font-family: tahoma, sans-serif;
margin: 10px;
background-color: #404040;
overflow: auto;
width: 150px;
height: 500px;
}
.googleMapsLegend
{
color: #000000;
font-size: x-small;
font-family: tahoma, sans-serif;
margin: 0px;
background-color: #404040;
overflow: auto;
}
/* Google Maps Links */
a.googleMapsLink:link, a.googleMapsLink:visited, a.googleMapsLink:hover
{
color: #000000;
font-size: small;
font-family: tahoma, sans-serif;
}
I have set the pin popup bubble text to DARKBLUE seems to work great with a white background!
Quote from: brianjw on June 24, 2007, 02:59:30 PM
If you don't have ftp than how are you using SMF.
Again did you try to install the update for smf 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373
What SMF version are you using?
Hi,
I'm using SMF 1.1.2, I use ssh and I upload my files through Winscp.
Yes, I did tried to install the 0.6 version you quote.
As I-m the server admin jeje I-ll install ftp and see what-s happen... when it-s a job I tried to avoid
Well lots of stuff involve ftp so its an advantage, just don't mess with anything you don't know - ask someone more experienced with the internet and ftp before doing it.
Quote from: Jippo on June 24, 2007, 04:55:40 PM
Helios Multi theme and the pin popup problem of not seeing the text, I finally got it after like 6 hrs (not a great css or php programer so please bare with me), This may also work with other themes (I have not triied) look for the css change for how to change the color.
I have set the pin popup bubble text to DARKBLUE seems to work great with a white background!
I'm not sure why but you have a lot of " " in your code up there that will likely screw up some of the guys that don't know to delete it out.
Ok thanks, I fixed my last post, thanks must have been the copy and paste wierd.
Quote from: Jippo on June 24, 2007, 10:30:36 PM
Ok thanks, I fixed my last post, thanks must have been the copy and paste wierd.
It worked well on my Helios.
Thanks for picking out my stupid errors I think I got them all in my origional post.
Quote from: Jippo on June 24, 2007, 10:44:18 PM
Thanks for picking out my stupid errors I think I got them all in my origional post.
Looks good. Thanks for the contribution.
Hi all,
I can't install too the google member map.
I go to the package manager, upload the googlemember0.6RC8.
Try to install the package and have a ftp information request. I give the pass and the login, click on proceed.
Nothing special happens and come back to the ftp information request ...
Have someone an idea ?
Quote from: krust on July 04, 2007, 05:31:48 AM
Hi all,
I can't install too the google member map.
I go to the package manager, upload the googlemember0.6RC8.
Try to install the package and have a ftp information request. I give the pass and the login, click on proceed.
Nothing special happens and come back to the ftp information request ...
Have someone an idea ?
Try the update if you're using 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373
If you're using 1.1.3, there has been no update released as of yet.
FTP information request means that one of the files needs to be chmoded. So type in all your information in the ftp thing for your site so it will do it for you ;)
Quote from: brianjw on July 04, 2007, 09:03:56 AM
Try the update if you're using 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373
If you're using 1.1.3, there has been no update released as of yet.
FTP information request means that one of the files needs to be chmoded. So type in all your information in the ftp thing for your site so it will do it for you ;)
Thx for the response but i'm using smf1.1.2 and the good las t version of google map ...
ANd the informations for the ftp are good, i'm sure of it ...
And I've CHMOD the directories needed (and the files in it)...
Quote from: krust on July 04, 2007, 09:08:33 AM
Quote from: brianjw on July 04, 2007, 09:03:56 AM
Try the update if you're using 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373
If you're using 1.1.3, there has been no update released as of yet.
FTP information request means that one of the files needs to be chmoded. So type in all your information in the ftp thing for your site so it will do it for you ;)
Thx for the response but i'm using smf1.1.2 and the good las t version of google map ...
ANd the informations for the ftp are good, i'm sure of it ...
And I've CHMOD the directories needed (and the files in it)...
I was having the problem with the FTP information and fixed it by correcting the line that asks for the path to the forum. It was different than the one the forum itself uses. I had to remove everything except /forum/, if memory serves me correctly.
I've just tried what you propose but that do nothing , always ftp informations request. Also tried other combination but no ... :-X
hello,
I want to know, if theres the possibility of installing the googlemembermap to the latest version of the SMF.
if there is, which version should be used?
Hi :)
- Yes, it works for smf 1.1.3! :D
- I got the last version installed on smf 1.1.3 and default theme
- downloaded from this post (http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373)
- CHMod all files modified in smf1-1-1.modification to 777
- installation without any errors, can uninstall as well
- tried to install manually as well, with the same result
- works by me for 4 languages (added them manually)
- I can set permissions for groups
- I can place and see the pin in the profile (in IE and FF),
- I can see the map in the profile (in IE, FF and Opera),
- I can see the map (in IE, FF and Opera)
- I can see admin panel and change map type, zoom, etc.
- I can't see the sideBar or placed pins and I get 4 logErrors :(
Quote....index.php?action=googlemap;sa=.js
8: Undefined index: googleSidebar
..../Sources/GoogleMap.php
Line: 111
Quote/index.php?action=googlemap;sa=.js
8: Undefined index: googleSidebar
.../forum/Sources/GoogleMap.php
Line: 108
Quote/index.php?action=googlemap
8: Undefined index: googleSidebar
.../forum/Themes/default/GoogleMap.template.php (eval?)
Line: 27
Quote/index.php?action=googlemap
8: Undefined index: googleSidebar
.../forum/Themes/default/GoogleMap.template.php (eval?)
Line: 22
-
I disabled clustering and deleted settings in googlemap.php like in this post (http://www.simplemachines.org/community/index.php?topic=61213.msg1096019#msg1096019)
- Now I get NO logErrors and I can see the map and pins in IE and FF (can't see pins in Opera) :)
- Can anyone make the pins show also in Opera please?
Thanks!
David
Quote from: Dejv on July 10, 2007, 08:06:36 AM
- Can anyone make the pins show also in Opera please?
Opera is a completely worthless browser. Tell your members to switch to IE and/or FireFox. They're all free.
Quote from: taucher on June 19, 2007, 04:24:56 AM
Quote from: taucher on June 14, 2007, 06:19:39 AM
Quote from: brianjw on June 13, 2007, 05:34:23 PM
Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)
thats right - but its not elegant, because i would have to correct all links (profile etc) to hit the domain with the api. and then, when i leave the map? theres no possibility to chose the right domain.
isnt it possible to hardcode two apis in the googlemap.php? would be nice if it would work.
seems theres no solution?
... edit
Hi,
I got it working for more domains. Each domain needs to have its own forum source and themes because of different themes_dir and themes_url variable. I created a copy of the default theme in smf_themes table
and then just changed in Load.php
// Load a theme, by ID.
function loadTheme($ID_THEME = 0, $initialize = true)
to
// Load a theme, by ID.
function loadTheme($ID_THEME = 4, $initialize = true)
I hope this is right, but it works so far
4 is the ID of the copied default theme with right theme_url and theme_dir
Now it works... so far :)
hello,
I tried to install the 0.60 RC8 version of GMM on my 1.1.3 SMF-board, but when Im using the packet-manager, I get the error message "No Action defined!"
can anybody tell me anything bout that message and perhaps gimme a kind of soultion?
thanks a lot
I don't believe this version of the member map is compatible with 1.1.3. However, I do know it does work with 1.1.2. Try modifying the files to see if it will install correctly.
what do I have to do?
do I have to modify the XML files? What changes are needed?
How about a feature that a members location displays in their profile too, but with only their pin.
ok, I made it - the installation was successfull but what do I have to do now? I dont find any information in my ACP. shouldnt there be an option in the Features & Options tab?
Quote from: Skoell on July 30, 2007, 12:30:35 PM
ok, I made it - the installation was successfull but what do I have to do now? I dont find any information in my ACP. shouldnt there be an option in the Features & Options tab?
Yes there should be an option in there. Check in the install.xml file (or the xml file other than package-info.xml) and open up each file as you find them and see if the code that was supposed to be inserted into the file is in each file. Then if your theme has it's own Modifications.english.php then add the code from the default theme to the custom themes. If you use utf8 you may have to manually install the modifications.english-utf8.php or if you have a different language same thing ;)
Hope you understand and this helps you :)
Brianjw
so, you say I should the mod install manually? does the package installer not work correctly? or is it a common problme of the googlemod?
It depends. I doubt it's the mod though.
Install it even with the error and manually install the files with errors ;)
Hello,
I use the last version 60rc8 on Smf 1.1.3
I have to modify the fitter, so that that functions automatically, but not being very good in English.
I wanted to know, if it were possible to make a zoom on the chart with the caster of the mouse?
so yes. Which end of code added and or?
thank you because version 60 functions very well at home.
Quote from: Bigdove1 on August 08, 2007, 02:36:51 AM
I wanted to know, if it were possible to make a zoom on the chart with the caster of the mouse?
so yes. Which end of code added and or?
thank you because version 60 functions very well at home.
There already is a zoom feature on the chart. But just so you know for the future changes to the chart will have to be asked to google since we're using their charts for this mod. ;)
ok for me :D
on the other hand, I saw a sympathetic option on step badly of site.
In Sidebar to place on the right, some add in front of the name of the members, the icon corresponding has their Gender.
I knows or that this exchange in the code.
But I do not find the variable that it y is needed added.
that would give better a visualization of Sidebar.
can you help me??
googlemap.php fichier source ligne 97 - 118
Quote// A function to create the marker and set up the event window
function createMarker(point, icon, name, html) {
var marker = new GMarker(point, icon);
GEvent.addListener(marker, "click", function() {
map.getCenter(point);
marker.openInfoWindowHtml(html);
});
// save the info we need to use later for the sidebar
gmarkers = marker;
htmls = html;
// add a line to the sidebar html';
if ($modSettings['googleSidebar'] == 1)
echo '
sidebar_html += \'<a href="javascript:myclick(\' + i + \')">\' " Here "+ name + \'</a><br /> \';';
if ($modSettings['googleSidebar'] == 2)
echo '
sidebar_html += \'<a href="javascript:myclick(\' + i + \')">\' + name + \'</a>, \';';
echo '
//Now that we cached it lets return the marker....
i++;
return marker;
}
Any WORKING version for Dilber MC, AA New Damage, Default . SMF 1.1.3
Please can you modify it for me, so i can be more simple :S I tried one but it gives me error in the package installation
so PLEASE and THANKS
to install in 1.1.3
you must go in the xml and add 1.1.3 to the list of versions it will install on
that code is a 'circut breaker' for the script so you dont corrupt SMF from a bad version
In this post I have attached a zip file of this mod that has been updated.
It will work in all 1.1 versions. 1.0 versions aren't supported and 2.0 will not be supported when it gets here. ;)
Install via package manager. If it has errors, other mods are interfering with it. Do a manual install if it fails to install.
NOTE: If you have custom actions mod or custom profile fields mod installed, you will have to manually install the ModSettings.php file.
I get this error when I try your new version of 0.60 for 1.1.3 on a 1.1.3 forum:
QuoteFatal error: PackageInstall() [function.require]: Failed opening required 'E:\www\www.airsoftretreat.com\forums/Packages/temp/./add_settings.php' (include_path='.;C:\php5\pear') in E:\www\www.airsoftretreat.com\forums\Sources\Packages.php on line 552
I don't know what that could be. It worked while testing on a fresh install of 1.1.3 and also worked on a website filled with mods so I don't know what to tell you. :(
I've installed GoogleMapsMod-0_60RC8-1.1.3.zip on SMF 1.1.3 and working on FF but not on IE7. I can see only a portion of map.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg507.imageshack.us%2Fimg507%2F2774%2Fgooglemapil1.th.jpg&hash=5d86920170617ed9cfc2f11ee4d087b276ecec50) (http://img507.imageshack.us/my.php?image=googlemapil1.jpg)
Bottom left of IE "Error on Page" (The little yellow exclamation)
So when I double click on it:
Line: 94
Char: 13
Error: ''document.getElementByld(...)'' is null or not an object
Code: 0
URL: http://www.---/forum/index.php?action=googlemap
But the map in the member profile works fine on FF and IE7
I only allowed it to be used for more versions. I am not the creator so I am not used to the code nor can I help you with these things. Please ask other people or the mod creator "TLM". However, this looks like a problem with the googlemap (google) not your website.
I've been trying with IE6 also and the problem persists.
Nobody can help me?
Well, I have manually installed the previous RC8 version on 1.1.3.
So try to install it manually
***edit***
Have checked that issue with OPERA again, its showing pins and names in opera as well!
one problem I am having, is that I am using a modified theme, and I BELIEVE I have it set as default, considering it says so under the theme settings, but for some reason, when I go to install this mod, it is still installing to the /Themes/Default theme. Any idea what can be done to change this?
All modification packages install to the default CORE theme. If you are using a custom theme then manual edits will have to be done.
Hi,
would it be possible to make the googlemap navigation show on mouse-over? There are always some pins behind them.
And to show the lat and long on the left-top corner?
And to hide the right-bottom map by default?
Example here (http://deu.archinform.net/ort/2979.htm)
Thanks,
David
For the part with the lat-lon being on the top left corner -
You will have to contact google or that website as this is the member map itself. The mod doesn't modify any part of googles map, it just adds it.
Hiding -
If you want it to appear by expand, collapse buttons - I think I might be able to help you here.
However if you want it to appear by mouse-over you will need to look at http://dynamicdrive.com/dynamicindex1/index.html and modify your own script out of those.
thanks for your work on this mod :)
Quote from: brianjw on July 10, 2007, 06:24:05 PM
Opera is a completely worthless browser. Tell your members to switch to IE and/or FireFox. They're all free.
Opera has been free for years now my friend, and is imvho somewhat superior to Firefox :P
Hi,
is it possible to make the usernames at the bottom and "homepage names" in the popup work also in utf8?
Its not so necessary, just two users so far, but just wondering it this could be done.
I use utf-8 language files.
Thanks,
David
SMF 1.1.4 + TinyPortal
Everything works on the map just fine except I get all sorts of errors in the admin error log
Quote
8: Undefined index: googleSidebar
File: .../nesportbikes.com/forum/Sources/GoogleMap.php
Line: 111
Quote
8: Undefined index: googleSidebar
File: .../nesportbikes.com/forum/Sources/GoogleMap.php
Line: 108
Quote
8: Undefined index: googleSidebar
File: .../nesportbikes.com/forum/Themes/default/languages/Post.english.php (eval?)
Line: 27
Quote
8: Undefined index: googleSidebar
File: .../nesportbikes.com/forum/Themes/default/languages/Post.english.php (eval?)
Line: 22
I tried the fix posted a few pages back but all I got was a parse error and the map wouldn't load at all then.
Any ideas?