News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Google Member Map

Started by TLM, December 18, 2005, 08:43:52 PM

Previous topic - Next topic

Furvert

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%  :(

TLM

#201
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.

Furvert

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.

TLM


v2maxx

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 failed
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    ./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?

TLM

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.

v2maxx

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

rgarrison

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

TLM

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.

Jeeva

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

carbonize

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.
C a r b o n i z e

damacguy

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?

Ray™

#212
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  

arcade-Only (over 800 Games)
http://www.arcade-only.com
Hand Made Ceramics
http://cbr.rranderson.com

Redeye

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

carbonize

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);
C a r b o n i z e

TLM

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...

damacguy

Thanks Carbonize and TLM!

carbonize

Thanks for the heads up TLM but profiles are already on Hybrid by default.
C a r b o n i z e

Muslickz

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

carbonize

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);


C a r b o n i z e

Advertisement: