vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Member World Map Hack Request (https://vborg.vbsupport.ru/showthread.php?t=69519)

Nj?rd Eriksson 09-16-2004 01:21 PM

Member World Map Hack Request
 
There is a vBulletin 3 hack that permits members from Germany, Austria, and Switzerland to enter their ZIP codes via a field. If they do so, their location will be plotted on a map.

Example:
http://www.kampfkunst-board.info/forum/membermap.php

Here is the hack:
http://www.vbulletin-germany.com/for...ad.php?t=10817

I can imagine that this implementation has to rely on large data tables, linking the ZIP codes to a position on the map and the town's name. Hard to imagine that someone would compile all these data for the whole world.

However, there would be an easy alternative to it: Why not permit members to enter their lattitude and longitude and plot them then on a world map, like the aforementioned hack does with a map of the German-speaking countries.

I think that would be a great addition for everyone that runs an international vBulletin board (= really most people.)

I could imagine that many vBulletin board operators would even be willing to make a small PayPal donation for such a hack.

Comments, ideas, suggestions, and, above all, any master coder volunteers? ;)

Nj?rd Eriksson 09-16-2004 01:24 PM

Maybe everyone that would be interested in installing such a hack on his board can leave a brief comment. Thank you. :)

Johnny 09-16-2004 05:19 PM

that would be nice especially on very large message boards where their is too many profiles to look at to know who lives where and a world map would be a nice and easy way. i would like this feature as well.

Milorad 09-16-2004 06:55 PM

this would be very cool!

base 09-16-2004 09:19 PM

yup, would love to have something like this available too :)

Milesian 09-16-2004 09:27 PM

That would be an excellent idea, Njord :up:

UManiac 09-18-2004 06:24 PM

I would love to see something like this

speedracer68 09-25-2004 12:03 AM

Quote:

Originally Posted by UManiac
I would love to see something like this

I'd love a nice map of all my forum members. Heck, I'd pay decent money for it too.

Please somebody do this!

Here is the best I could do with a map program from Microsoft and it stinks!

http://www.pro-touring.com/map/

indie 09-25-2004 01:54 AM

yes, i'd like it too

Nj?rd Eriksson 09-29-2004 02:48 PM

Quote:

Originally Posted by indie
yes, i'd like it too

Maybe a coder will have mercy upon our souls. ;)

johnnyb 09-29-2004 05:21 PM

For sure!

dssart 11-22-2004 08:45 PM

I've been looking for something like this too, and I would also pay a few $$$. Don't like the idea about having the users post their own latitude or longitude though. It should be made so there is no thought necessary to participate, for example maybe a geographic-location field in the user registration can be made mandatory so that the user has to select a location from a drop down list of places

Andy R 01-09-2005 05:00 AM

Bump
Example: http://ktmtalk.com/index.php?act=membermap
Invision Version: http://www.theperfectpage.org/bb/ind...?showtopic=147

dssart 01-09-2005 01:47 PM

I agree, also check out towards the top, you can select different maps around the world to view...cool!

Andy R 01-21-2005 03:26 AM

Does anyone know of anyone working on this?

Deviant++ 01-24-2005 04:13 PM

the ipb 1 is nice

Andy R 02-12-2005 01:10 AM

Example: http://ktmtalk.com/index.php?act=membermap
Invision Version: http://www.theperfectpage.org/bb/in...p?showtopic=147

No one intersted in porting this?

MajorFm.com 02-19-2005 04:28 PM

I would install this hack aswell!

WreckRman2 04-22-2005 08:12 PM

Me too!

FightRice.com 04-23-2005 06:02 AM

Would be an awesome hack...

Right now we have something like this at our forums, but we have to add each user to the map one by one so its really not much anything like this i guess :-p

Trigunflame 04-23-2005 02:14 PM

I have a world-wide version, I have yet to release. Possibly in the future.

FightRice.com 04-23-2005 10:18 PM

Let me know when you decide to release, I wanna be the first to download it.

ranger2kxlt 06-28-2005 03:00 PM

Has anyone done anything for this yet? the IPB version is very nice looking.

tomshawk 06-28-2005 06:51 PM

Hows this guys

http://www.tech-unity.com/index.php?page=guestmap

Click the link in the center to create your own guestmap.

Take the code they give you, create a new template, call it MAP and paste the code in.

The take your index.php rename it to map.php or whatever, then

Search that file for

Code:

eval('print_output("' . fetch_template('FORUMHOME') . '");');
and replace it with

Code:

eval('print_output("' . fetch_template('MAP') . '");');
As you can see I used the vbAdvanced, but you dont need to.

Use the directions above and you are good to go. ;)

mkdevo 06-29-2005 11:57 AM

tomshawk - thank you!

however, my map isn't showing up.. i'm getting a button that you have to click on to view the map, but not the map itself...

tomshawk 06-29-2005 12:11 PM

Quote:

Originally Posted by mkdevo
tomshawk - thank you!

however, my map isn't showing up.. i'm getting a button that you have to click on to view the map, but not the map itself...

Link? I looked around your site real quick and did not see a link to it.

That and I made a small / er OK, a big goof

Copy your FORUMHOME Template, paste it into the new Map template

Then in the new MAP template find

<!-- main -->

<!-- /main -->

and replace everything in between it with the code they gave you.

My apologies, I was obviously sleep deprived when I posted last night.

mkdevo 06-29-2005 12:59 PM

ah.. i see what the problem was..

when you click on the 'get code' button on their site, it seems to just give you code for buttons that link to your map. once i went to my map from there, i was able to 'view source' and get the <iframe> code for the actual map.

i've added it as a block in my vBPortal. thanks again!

tomshawk 06-29-2005 01:22 PM

Quote:

Originally Posted by mkdevo
ah.. i see what the problem was..

when you click on the 'get code' button on their site, it seems to just give you code for buttons that link to your map. once i went to my map from there, i was able to 'view source' and get the <iframe> code for the actual map.

i've added it as a block in my vBPortal. thanks again!

I haven't played with the version of vbPortal, but...

On that page, is there a way to remove the right side blocks, because it is cutting off some of the map.

Glad you got it working though, Glad I could help ;)

Ike013 07-01-2005 09:44 AM

wouldn't it be better to link this to the ip of the member then to the zip-code?

at least I would prefere ;)

will add tonight a link to another type of worldmap and source code

http://www.xpenguin.com/plot.php

as promised

m0nde 07-02-2005 08:49 PM

I've seen this done in various ways. Here are few good examples:

vbulletin v2 (flash): https://vborg.vbsupport.ru/showthread.php?t=51731

vbulletin v3 (german): http://www.vbulletin-germany.com/for...ead.php?t=8740

Proprietary: http://climateapps2.oucs.ox.ac.uk/cpdnboinc/usermap.php

Proprietary: http://mappic.org

FlyBoy73 07-07-2005 01:02 AM

I'd like to see it be done strictly via the information the user places in their profiles. I would be willing to pay $$ for this hack or to add money to a pot for the designer.

m0nde 07-07-2005 04:12 AM

Quote:

Originally Posted by FlyBoy73
I'd like to see it be done strictly via the information the user places in their profiles. I would be willing to pay $$ for this hack or to add money to a pot for the designer.

Probably best to do it by IP address since databases are readily available to convert that into a geographic location. You could put something in the user profile allowing the user to opt out of having their location show up. The pin or icon could simply be a link to the member's user profile with the user's name shown on the pin.

Unfortunately I'm not skilled enough as a programmer to even approach creating something like this. Though I'm sure many people on this board could do it.

- Sid

FlyBoy73 07-07-2005 05:09 AM

That sounds even better. :)

Andy R 07-07-2005 02:50 PM

The version I posted in an earlier post that is working on Invision board works off a user profile field. This is often better because members may log into the forum from various computers. Also the IP databases are not that accurate. Right now I am in Dallas but MaxMind shows me in Seatle (Sprint IP from our T1 at work).
http://www.maxmind.com/app/lookup_city

Plus why add a dependancy of having to subscribe to an IP database when your member can explictly tell you where you are.

m0nde 07-07-2005 06:49 PM

Quote:

Originally Posted by organic-hosting
The version I posted in an earlier post that is working on Invision board works off a user profile field. This is often better because members may log into the forum from various computers. Also the IP databases are not that accurate. Right now I am in Dallas but MaxMind shows me in Seatle (Sprint IP from our T1 at work).
http://www.maxmind.com/app/lookup_city

Plus why add a dependancy of having to subscribe to an IP database when your member can explictly tell you where you are.

You're right of course. Your IP is not a good indicator of where you're logging in from since your ISP can be anywhere. I currently use a free geotracking IP database for my adserver and it's quite incomplete. A more comprehensive version has a monthly or yearly subscription.

There exists already a vBulletin v2.x compatible flash user map; has anyone who's competent with coding taken a look at this and seen if it's readily portable into 3.x or 3.5.x?

- Sid

mfarmerhi 07-30-2005 10:29 AM

Quote:

Originally Posted by Nj?rd Eriksson
There is a vBulletin 3 hack that permits members from Germany, Austria, and Switzerland to enter their ZIP codes via a field. If they do so, their location will be plotted on a map.

Example:
http://www.kampfkunst-board.info/forum/membermap.php

Here is the hack:
http://www.vbulletin-germany.com/for...ad.php?t=10817

I can imagine that this implementation has to rely on large data tables, linking the ZIP codes to a position on the map and the town's name. Hard to imagine that someone would compile all these data for the whole world.

However, there would be an easy alternative to it: Why not permit members to enter their lattitude and longitude and plot them then on a world map, like the aforementioned hack does with a map of the German-speaking countries.

I think that would be a great addition for everyone that runs an international vBulletin board (= really most people.)

I could imagine that many vBulletin board operators would even be willing to make a small PayPal donation for such a hack.

Comments, ideas, suggestions, and, above all, any master coder volunteers? ;)

The 2.2 version works like a charm on 3.0.7 if you follow the directions in this thread: https://vborg.vbsupport.ru/showthrea...205#post745205

Claygp 08-13-2005 02:49 AM

Quote:

Originally Posted by mfarmerhi
The 2.2 version works like a charm on 3.0.7 if you follow the directions in this thread: https://vborg.vbsupport.ru/showthrea...205#post745205

I followed those directions .. didn't work at all for me.. :disappointed:

Dorign 08-13-2005 07:33 AM

I'd be interested.

mfarmerhi 08-14-2005 01:59 AM

Quote:

Originally Posted by Dorign
I'd be interested.

??? Er... in what?
Quote:

Originally Posted by Claygp
I followed those directions .. didn't work at all for me..

Claygp, follow the instructions in my last post in that thread, re-do things carefully, experiment around a bit (although following the instructions in my last post will be most important) and I'm sure you'll get it.

It works great in 3.0.7

rnmcd 08-23-2005 04:58 PM

Quote:

Originally Posted by mfarmerhi
??? Er... in what?

Claygp, follow the instructions in my last post in that thread, re-do things carefully, experiment around a bit (although following the instructions in my last post will be most important) and I'm sure you'll get it.

It works great in 3.0.7

Do you happen to have a sample of another board running this mod?


All times are GMT. The time now is 04:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01250 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete