View Full Version : Vbulletin World Map System
Trigunflame
03-07-2006, 10:00 PM
Vbulletin World Map Plotting System
Show Your Guest/Members From All Over The World !!!
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=109819)
Summary:
The core of this system I developed approximately 3 years ago but was unable to practically distribute it on vborg due to the fact the GEOIP City Database was a very expensive software product; and it is needed to map IP Addresses to Global Lat/Lon Coordinates.
With the recent availability of a "Lite" version of the City Database I have decided to build from the ground up a new hack that utilizes it to display 2 map structures.
1. Plots Your Current Members/Guest Online available on the Whos Online Page.
2. Plots Your Registered Members last known Coordinates on the Member List Page.
3. Coordinates are calculated from IP Addresses stored in your Forums Database.
Features:
Automatic & Accurate plotting of your Guest & Members on the WorldMap.
WorldMap Page to view Both Maps, added to your navbar.
Enable WOL, Member Plotting Independently
Control Panel Options
Specify Plotting Image Type, Size, Color
Specify Opaque, Alpha Transparency
Support for Payed Full Version of City Database
Updates on Scheduled Task Interval
Map is shown small and expands on Mouseover, then contracts back.
Instructions:
1. Download Zip File
2. Read INSTALL.TXT
3. Run the crontask manually the first time, so it will generate your images.
4. Click Install if you like it :)
Updates:
3/14/2006 - Forgot to uncomment keep-alive code.
3/12/2006 12:54pm -
1. Added a new Realistic World map
2. Configuration Editor partially remade, allows easier selection of Maps.
3/8/2006 11:35pm - Added a worldmap.php Page, for viewing both maps.
3/8/2006 9:52am - Fixed the jpeg output problem.
Note:
The GEOIP Binary Database can be located here:
http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=109819)
MPDev
03-08-2006, 11:48 AM
Cool, will check it out.
Trigunflame
03-08-2006, 11:55 AM
Thanks, hope someone finds some use for it...
I got just the thing for this, thanks!
* Brad installs. :)
Tracer Gun Kata
03-08-2006, 12:07 PM
Installed...
However I am missing the image.. seems for me to be pointing to an image which does not exist in the worldmap folder..
http://www.onlinewarfare.net/forum/online.php?
Its looking for the image here:
http://www.onlinewarfare.net/forum/worldmap/worldmap_wol.png
**EDIT.. I missed out a step.. all working now.
Trigunflame
03-08-2006, 12:08 PM
Installed...
However I am missing the image.. seems for me to be pointing to an image which does not exist in the worldmap folder..
http://www.onlinewarfare.net/forum/online.php?
Its looking for the image here:
http://www.onlinewarfare.net/forum/worldmap/worldmap_wol.png
Run the crontask manually for the first time.
Tracer Gun Kata
03-08-2006, 12:09 PM
Posted at same time.. ran the CRON job and this was output -
Warning: fread(): supplied argument is not a valid stream resource in /worldmap/geoip/geoip.inc on line 398
Fatal error: error traversing database - perhaps it is corrupt? in /worldmap/geoip/geoip.inc on line 418
**EDIT.. I missed out a step.. all working now.
Trigunflame
03-08-2006, 12:19 PM
Posted at same time.. ran the CRON job and this was output -
Warning: fread(): supplied argument is not a valid stream resource in /worldmap/geoip/geoip.inc on line 398
Fatal error: error traversing database - perhaps it is corrupt? in /worldmap/geoip/geoip.inc on line 418
Go here and download the file at http://www.maxmind.com/app/geolitecity
and make sure you place it in the worldmap/geoip/ directory.
ie. yourforum/worldmap/geoip/GeoLiteCity.dat
If you havnt done that, I cant help you.
Tracer Gun Kata
03-08-2006, 12:20 PM
Go here and download the file at http://www.maxmind.com/app/geolitecity
and make sure you place it in the worldmap/geoip/ directory.
ie. yourforum/worldmap/geoip/GeoLiteCity.dat
If you havnt done that, I cant help you.
Sure I will do that now.. I could not find this on the initial instructions? Or am I just thick lol.
**EDIT.. I missed out a step.. all working now.
Trigunflame
03-08-2006, 12:22 PM
Sure I will do that now.. I could not find this on the initial instructions? Or am I just thick lol.
Im pretty sure its there in the install.txt
Gizmo5h1t3
03-08-2006, 12:27 PM
installed, and runs a treat...
but, im still having the same problem on my board that i have with the vbplaza hack...where it WONT display PNG images......
so i had to rename them all to JPG...to get it to work.
if anyone has a workaround or solutionas to getting PNGs to display correctly, id be grateful.
the hack isnt the problem, its a VB problem im told...(something to do with imagemagick, and GD...along with PHP)??
Trigunflame
03-08-2006, 12:32 PM
installed, and runs a treat...
but, im still having the same problem on my board that i have with the vbplaza hack...where it WONT display PNG images......
so i had to rename them all to JPG...to get it to work.
if anyone has a workaround or solutionas to getting PNGs to display correctly, id be grateful.
the hack isnt the problem, its a VB problem im told...(something to do with imagemagick, and GD...along with PHP)??
Well take note that I do provide the option in the control panel to switch the output to a jpg file.
Try that out and see if it works.
Tracer Gun Kata
03-08-2006, 12:32 PM
Im pretty sure its there in the install.txt
Yer.. I missed that step.. I have extracted the file and am uploading.. god damn I am thick today :ermm:
Gizmo5h1t3
03-08-2006, 12:34 PM
Well take note that I do provide the option in the control panel to switch the output to a jpg file.
Try that out and see if it works.
yes you do, and it was noted, but there were no jpeg files in the attached download??
as i said, i had to convert the png`s to jpg`s to get them to show.
what i didnt see was the instruction to run the cron job, to generate them...my bad...lol
not having a go mate, was just asking if anyone might be able to help.
was just hoping someone might be able to point me somewhere that explains why most people can see PNG`s, but others cant.....
Tracer Gun Kata
03-08-2006, 12:41 PM
All working now.. good stuff :classic:
http://www.onlinewarfare.net/forum/online.php?
Trigunflame
03-08-2006, 12:47 PM
yes you do, and it was noted, but there were no jpeg files in the attached download??
as i said, i had to convert the png`s to jpg`s to get them to show.
what i didnt see was the instruction to run the cron job, to generate them...my bad...lol
not having a go mate, was just asking if anyone might be able to help.
was just hoping someone might be able to point me somewhere that explains why most people can see PNG`s, but others cant.....
Ps. Redownload the zip file, and overwrite your current class_wmp.php with the new one, i made a fix.
Set the output type to jpeg in the control panel, and run the crontask it should output jpg type files.
It will automatically convert the files to jpeg format bro, GD image library takes care of that :)
Trigunflame
03-08-2006, 12:48 PM
Update:
Fix a problem do to a typo in the configuration that prevents jpegs from being available for output.
MorrisMcD
03-08-2006, 12:57 PM
Just to clarify.. This isnt like the Google Satellite Map thing where users place themself, is it?
Or from why I am gathering, this one will show up on whos online and automatically place them by their IP somewhere on the map?
Trigunflame
03-08-2006, 12:59 PM
Just to clarify.. This isnt like the Google Satellite Map thing where users place themself, is it?
Or from why I am gathering, this one will show up on whos online and automatically place them by their IP somewhere on the map?
Nope.. this is done automatically from the data in your Forums Database.
I was actually thinking about using the google/yahoo api.. but it wasnt realistic adding potentially hundreds of thousands of custom markers on a map system like those would be horrible resource wise.. not to mention the bandwidth needed to do it on each page load..
Thus this system build the image and saves it.. ie. no overhead.
MorrisMcD
03-08-2006, 01:01 PM
Nope.. this is done automatically from the data in your Forums Database.
I was actually thinking about using the google/yahoo api.. but it wasnt realistic adding potentially hundreds of thousands of custom markers on a map system like those would be horrible resource wise.. not to mention the bandwidth needed to do it on each page load..
Thus this system build the image and saves it.. ie. no overhead.
Ok.. Cool.. Thanks.. It looks pretty spiffy.. :) I will probably install this later tonight or sometime this week
Thanks!
ConqSoft
03-08-2006, 01:01 PM
EXCELLENT. Been wanting something like this, due to the resource issue (and lack of participation) of the manual Google maps. Installing now!
Thanks
Tracer Gun Kata
03-08-2006, 01:06 PM
Its a great little hack.. wondering if a coloured map is possible? White is a little bland.. or are you limited?
Trigunflame
03-08-2006, 01:09 PM
Its a great little hack.. wondering if a coloured map is possible? White is a little bland.. or are you limited?
Well I put the template maps in their own maps directory for a reason, it shouldnt be too hard to add support for more maps in the future.
GamerJunk.net
03-08-2006, 01:26 PM
Couldn't I create a second page for the map? Give the members the option of choosing the whos_online map version or the old whos_online?
Oddjob
03-08-2006, 01:29 PM
when i run the cron....
Warning: main(/home/webnoob/public_html/forums/./includes/cron/wmp.php): failed to open stream: No such file or directory in /admincp/cronadmin.php on line 64
Warning: main(): Failed opening '/home/webnoob/public_html/forums/./includes/cron/wmp.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 64
Done
Trigunflame
03-08-2006, 01:32 PM
when i run the cron....
Warning: main(/home/webnoob/public_html/forums/./includes/cron/wmp.php): failed to open stream: No such file or directory in /admincp/cronadmin.php on line 64
Warning: main(): Failed opening '/home/webnoob/public_html/forums/./includes/cron/wmp.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 64
Done
As said in the instructions.. the included wmp.php from the zip file must be placed in your vbulletin cron directory.
Trigunflame
03-08-2006, 01:33 PM
Couldn't I create a second page for the map? Give the members the option of choosing the whos_online map version or the old whos_online?
You can do whatever you want.. all the template edit does is add a lil javascript to handle the auto resize..
Other than that its just a simple <img> tag.
Oddjob
03-08-2006, 01:44 PM
As said in the instructions.. the included wmp.php from the zip file must be placed in your vbulletin cron directory.
I know, im a idiot....i just realized.
ConqSoft
03-08-2006, 01:50 PM
I'm smelling a Hack Of The Month here.... :D
Installed and working great:
http://www.fireblades.org/index.php?page=membermap
(Clickable for full size.)
Trigunflame
03-08-2006, 02:00 PM
Nice, like how you did that :)
Trigunflame
03-08-2006, 02:01 PM
Try the diamond pattern with a size of 1. Usually that looks the best for large numbers of locations.
ps. bah i double posted..
ConqSoft
03-08-2006, 02:03 PM
Take a look now. It's kinda hard to see the spread in the scaled down version, which is why I went with Dot and 5. Any other ideas?
Trigunflame
03-08-2006, 02:05 PM
Take a look now. It's kinda hard to see the spread in the scaled down version, which is why I went with Dot and 5. Any other ideas?
Yep looks good ;)
well, you could up the size.. but i would leave the diamond.. or go to the crosshair..
ConqSoft
03-08-2006, 03:10 PM
Suggestion for a future version perhaps:
Have it generate close-up maps of various regions. Like USA only, Europe, etc.
The Chief
03-08-2006, 03:17 PM
Would there be a way to just put the world map in a different location, like a completely different page?
ConqSoft
03-08-2006, 03:19 PM
You can put it wherever you like.. It's just an image. See my post at the bottom of Page Two for my location...
The Chief
03-08-2006, 03:38 PM
You can put it wherever you like.. It's just an image. See my post at the bottom of Page Two for my location...
awesome, but I have no idea how to create a custom page on vb, and do not want to install the HTML Template system... :(
MorrisMcD
03-08-2006, 03:53 PM
awesome, but I have no idea how to create a custom page on vb, and do not want to install the HTML Template system... :(
I imagine he did it using add a page with vBCMPS or something.. I am trying to figure it out now :D
ConqSoft
03-08-2006, 03:55 PM
Yes, I used CMPS. But there are some threads here on vbulletin.org that show you how to create a vB page. From there, all you have to do is add HTML to display the image.
MorrisMcD
03-08-2006, 03:58 PM
Yes, I used CMPS. But there are some threads here on vbulletin.org that show you how to create a vB page. From there, all you have to do is add HTML to display the image.
So I want to add a BBCODE page or a template page?
q8-star
03-08-2006, 03:59 PM
The hack is great ,looking forward for future updates :)
ConqSoft
03-08-2006, 04:03 PM
So I want to add a BBCODE page or a template page?
You can use either. If you allow inline IMG tag, then you can use BBCODE. I use TEMPLATE for all mine, just because that's the way I prefer it.
The Chief
03-08-2006, 04:18 PM
You can use either. If you allow inline IMG tag, then you can use BBCODE. I use TEMPLATE for all mine, just because that's the way I prefer it.
Having the possibility of putting it into a seperate page would bring alot more people into this hack...
Mabe Trigun should consider it ;)
projectego
03-08-2006, 04:56 PM
Sounds like a sexy hack, I will definatley give this a try. :)
* projectego clicks install
MorrisMcD
03-08-2006, 05:03 PM
Having the possibility of putting it into a seperate page would bring alot more people into this hack...
Mabe Trigun should consider it ;)
If you have vbadvanced' cmps intalled, it is very simple actually.. PM me if you need help
The Chief
03-08-2006, 05:09 PM
If you have vbadvanced' cmps intalled, it is very simple actually.. PM me if you need help
thanks for the offer Morris, but I don't have it installed, I have vB Drupal...
forumthemes
03-08-2006, 05:15 PM
All i can say wow i love this mod. awesome job!
ConqSoft
03-08-2006, 05:21 PM
Just curious, and I don't feel like looking when I can just ask, are you just grabbing their IP from their most recent post? And, using their registration IP if they haven't posted?
Holidazed
03-08-2006, 05:25 PM
Isn't this the same thing as the Google World Map addon?
ConqSoft
03-08-2006, 05:27 PM
Isn't this the same thing as the Google World Map addon?
Nope.
MorrisMcD
03-08-2006, 05:29 PM
Isn't this the same thing as the Google World Map addon?
On the google one, the users add a marker for themselves that identifies with them.
On this one, a map is generated based off the IP addresses of all your user total and currently online. A dot is put on the map for each user's last ip, but it doesnt tell you who it is (that would get messy:))
I really liked the google one.. But noone was using it.. I decided to keep both :D
Holidazed
03-08-2006, 05:32 PM
IC. My mistake. I will add this to my site as well.
MorrisMcD
03-08-2006, 06:40 PM
I got a couple PMs about making a CMPS page for this... Here are some simple instructions...
Is there any way of making this work without the GD Library, unfortunately my php was not compiled with GD :disappointed:
Holidazed
03-08-2006, 06:43 PM
I installed this and it works perfectly. A great addition to my sites. Thank you
Vizionz
03-08-2006, 06:50 PM
anyway to generate a map based on color to match some forums styles
i didnt look at the file. but can you just adjust the image in photoshop that its generating ? the markers onto
ConqSoft
03-08-2006, 06:58 PM
If you use PNG, the map is transparent (other than the countries), so your site background color should show through.
ConqSoft
03-08-2006, 07:00 PM
Is there any way of making this work without the GD Library, unfortunately my php was not compiled with GD :disappointed:
You should get your host to compile it in. It's useful for many things... attachment thumbnails, registration image verification, etc.
mat64
03-08-2006, 07:00 PM
Nice one ;)
SgtTechHead
03-08-2006, 07:47 PM
Very cool! Nice product, and definitly a breeze for the admin's to maintain...;)
Wachtmeister
03-08-2006, 08:00 PM
I got a couple PMs about making a CMPS page for this... Here are some simple instructions...
Thank you very much. This is my Worldmap (http://www.webgurus.de/index.php?page=worldmapsystem) now ;)
wattieuk
03-08-2006, 08:06 PM
really like this - thanks a lot for the addition. Is there any way to make the user name display when pointing to the marker on the map?
what if I have the commercial, full version of maxmind's ip2city db, does your hack support it?
You should get your host to compile it in. It's useful for many things... attachment thumbnails, registration image verification, etc.
This I know :) but it does not answer my original question :disappointed:
Trigunflame
03-08-2006, 11:11 PM
what if I have the commercial, full version of maxmind's ip2city db, does your hack support it?
Yes it is a dropin replacement, all you have to do is upload it and change the filename for the database in the admincp.
Trigunflame
03-08-2006, 11:12 PM
Having the possibility of putting it into a seperate page would bring alot more people into this hack...
Mabe Trigun should consider it ;)
Ill whip something up in a few minutes.
scottct1
03-08-2006, 11:59 PM
How do I run the cron?
I go to http://www.satelliteguys.us/includes/cron/wmp.php and get a blank page.
My world map directory which I chmoded to 777 does not have any graphics in it when it's done (just the php file)
What am I doing wrong?
(EDIT - Never Mind I am dumb and did not see the big RUN NOW button next to the cron job, all is well now)
ConqSoft
03-09-2006, 12:05 AM
Click the button beside the Scheduled Task that you added. It says "Run Now".
PixelFx
03-09-2006, 02:20 AM
Ok.. Cool.. Thanks.. It looks pretty spiffy.. :) I will probably install this later tonight or sometime this week
Thanks!
this looks like fun, thanks for releasing it :D
Trigunflame
03-09-2006, 02:37 AM
Update:
Added Support for A single Map Page, that will shows all your members as well as guest/members currently online.
Please do the following:
Uninstall product, reinstall product. And ovewrite all files already uploaded. Make sure to look at some of the changes in the install instructions as well to learn how to modify the navbar template.
MorrisMcD
03-09-2006, 02:43 AM
Update:
Added Support for A single Map Page, that will shows all your members as well as guest/members currently online.
Please do the following:
Uninstall product, reinstall product. And ovewrite all files already uploaded. Make sure to look at some of the changes in the install instructions as well to learn how to modify the navbar template.
What exactly changed? Is the single map page pretty much what a couple of us have set up? Is it dependant on cmps?
Trigunflame
03-09-2006, 02:49 AM
What exactly changed? Is the single map page pretty much what a couple of us have set up? Is it dependant on cmps?
No, it uses its own template. Look at screenshots.
SaN-DeeP
03-09-2006, 03:17 AM
another awesome addition, how is this addon different from
https://vborg.vbsupport.ru/showthread.php?t=99920
thanks.
Trigunflame
03-09-2006, 03:45 AM
another awesome addition, how is this addon different from
https://vborg.vbsupport.ru/showthread.php?t=99920
thanks.
If you read the hack description, you would know :)
Floris
03-09-2006, 05:14 AM
Good stuff, thanks for this :) I have a busy site where we have forums called usa, europe, etc .. so this will come in handy! :)
Trigunflame
03-09-2006, 09:20 AM
Thanks floris :)
ConqSoft
03-09-2006, 10:25 AM
Suggestion: Can you have it generate a Thumbnail of each map also (we define width in AdminCP)?
Trigunflame
03-09-2006, 10:49 AM
Suggestion: Can you have it generate a Thumbnail of each map also (we define width in AdminCP)?
That was my original idea, if you noticed in my class_wmp.php file where i had a @todo; the problem is in downsampling an image with crisp lines such as that map it will cause a very nasty blur.
The only way to correct this is with an unsharp filter, which I will have to find a suitable one or make one..
Hence the reason for the javascript resizer until such time.
Darat
03-09-2006, 10:52 AM
Its a great little hack.. wondering if a coloured map is possible? White is a little bland.. or are you limited?
I've colourised the map if you want to use it you can just replace your World100.png with this one - the filesize is somewhat larger!
Also in the original installation pack the PNG with transparency has the Mediterranean and a few other areas as solid, I've attached a corrected World100a.png.
Trigunflame
03-09-2006, 11:00 AM
Updated ;), will add them to zip file later.
creedmaniac
03-09-2006, 11:54 AM
i'm stuck on step 5...how do i extract the .dat from the .dat.gz?
ConqSoft
03-09-2006, 11:56 AM
WinZip will do it if you're on Windows. Or ftp it up to your server, telnet in, and use gzip to extract it.
creedmaniac
03-09-2006, 12:13 PM
thanks...guess i had a brainfart for a minute
i was also wondering if someone would be kind enough to show me how to turn the members list link into a dropdown that had the members list and the map in it?
creedmaniac
03-09-2006, 12:26 PM
also...in the readme...the two optional items...what do they do?..
Darat
03-09-2006, 12:31 PM
Add the maps to the top of the member's list and who's online pages.
MorrisMcD
03-09-2006, 12:34 PM
I've colourised the map if you want to use it you can just replace your World100.png with this one - the filesize is somewhat larger!
Also in the original installation pack the PNG with transparency has the Mediterranean and a few other areas as solid, I've attached a corrected World100a.png.
I added these maps... Well.. Overwrote the old ones with these I should say.. Then I reran the cron job... My maps didnt change.. am I forgetting to do something?
Darat
03-09-2006, 12:39 PM
If you are using the transparent option so that your background shows through you may not notice much has changed since all I did was set the Med sea to transparent.
If you are not using the transparent option then the new coloured map should appear - all I did was replace the old map in ./forum/worldmap/maps with the new one, ran the cron job manually and then refreshed the page and it used the new map.
Wachtmeister
03-09-2006, 12:46 PM
Hello,
great plugin! But does it really count online users & guests? i have 81 people online 15 users and 66 guests and only see about 20 red points. Is it, because most of them come frmo the same city or does it miss some?
ConqSoft
03-09-2006, 12:56 PM
It could miss some if the IP isn't in the database I guess. Plus, this is the LITE version of the database, so it may not be as complete as the one you can purchase.
creedmaniac
03-09-2006, 01:06 PM
will changing the minutes in the cron from 14,29,44,59 to 5 make it run every 5 minutes?
MorrisMcD
03-09-2006, 01:07 PM
If you are using the transparent option so that your background shows through you may not notice much has changed since all I did was set the Med sea to transparent.
If you are not using the transparent option then the new coloured map should appear - all I did was replace the old map in ./forum/worldmap/maps with the new one, ran the cron job manually and then refreshed the page and it used the new map.
ok.. yea.. i had to turn transparency off!! :D Thanks
ConqSoft
03-09-2006, 01:08 PM
If you want it to run every 5 minutes you would have to have several cron entries.
1st one: 5, 10, 15, 20
2nd one: 25,30,35,40
3rd one: 45,50,55,00
creedmaniac
03-09-2006, 01:11 PM
If you want it to run every 5 minutes you would have to have several cron entries.
1st one: 5, 10, 15, 20
2nd one: 25,30,35,40
3rd one: 45,50,55,00
thanks much...i think that all my questions...so maybe i'll shut up now :D
Trigunflame
03-09-2006, 01:41 PM
Thanks guys for helping with support while im working on other stuff :)
Mastar
03-09-2006, 02:29 PM
It would be cool if when click on the '+' it would show the username and the ip.
Maybe in the next version!!??
ConqSoft
03-09-2006, 02:50 PM
It would be cool if when click on the '+' it would show the username and the ip.
Maybe in the next version!!??
That's not really feasible for a site with a lot of members; They're all on top of each other (view my map). I think this hack is more just to show your coverage area.
If you want user detail, the Google Map hack (or www.frappr.com) would be a good choice.
Trigunflame
03-09-2006, 03:24 PM
It would be cool if when click on the '+' it would show the username and the ip.
Maybe in the next version!!??
This hack was created for the purpose of showing a generalized global perspective of your member base.
That being said, its not practical to load potentially several thousands of user coordinates into a client side google system like that on each page load.
1. Extra Bandwidth
2. More Memory Usage
Trigunflame
03-09-2006, 11:48 PM
thanks much...i think that all my questions...so maybe i'll shut up now :D
Ya I figured 15 minute interval would be a nice compromise for default values.
ConqSoft
03-10-2006, 12:04 AM
Will it mess anything up if I cut the "dead space" off the bottom of the original map images?
Trigunflame
03-10-2006, 12:05 AM
Will it mess anything up if I cut the "dead space" off the bottom of the original map images?
It shouldnt, but I havnt tried it so I don't know ;)
ConqSoft
03-10-2006, 12:37 AM
Yep, it does mess it up. :( I guess it plots from the bottom up. :)
Trigunflame
03-10-2006, 12:50 AM
Yep, it does mess it up. :( I guess it plots from the bottom up. :)
I doubt it, more than likely due to imagesize calculations that I perform for scaling coordinates to the map.
Setting static values for height/width on the x,y code that determines plot location would probably fix what you're trying to do.
this hack rocks! thank you!
Snake
03-10-2006, 09:16 AM
Great hack!
/me installs
Trigunflame
03-10-2006, 09:25 AM
Great hack!
* Aftermath installs
Why thankyou ;) :bunny:
This is pretty fancy.
Is it possible to not allow the enlarged map on mouse over and just leave the normal?
q8-star
03-10-2006, 07:30 PM
I've got a question and a suggestion :
Did you use phrases for this hack ? I was trying to find phrases using phrases search but didn't find any .If you didn't I hope you do with the next release ,this make life a bit more easy :)
Also since the search engines spiders could be a large factor ,keeping a track of them will be unrealistic indication about the forum guests .maybe you can add an option to exclude them .
Other than that I can say nothing but thanks again for that hack .
Lazarous
03-10-2006, 08:11 PM
Fantastic hack, thank you.
Quarterbore
03-10-2006, 10:00 PM
Simply awsome!
http://www.timeshareforums.com/worldmap.php#
d8tabyte
03-10-2006, 11:17 PM
This is pretty fancy.
Is it possible to not allow the enlarged map on mouse over and just leave the normal?
Edit:
Go into the maps template and remove the onmouse over function - works like a charm.
DementedMindz
03-10-2006, 11:53 PM
ok question on my All Members map its not showing nothing but on my Members/Guest Online map it displays it correctly what do you think would cause it from not showing on the first map?
Trigunflame
03-11-2006, 12:44 AM
I've got a question and a suggestion :
Did you use phrases for this hack ? I was trying to find phrases using phrases search but didn't find any .If you didn't I hope you do with the next release ,this make life a bit more easy :)
Also since the search engines spiders could be a large factor ,keeping a track of them will be unrealistic indication about the forum guests .maybe you can add an option to exclude them .
Other than that I can say nothing but thanks again for that hack .
1. There are several phrases used, somewhere around 10 I believe. So look harder, ;)
2. Not likely unless more people request it..
Trigunflame
03-11-2006, 12:45 AM
ok question on my All Members map its not showing nothing but on my Members/Guest Online map it displays it correctly what do you think would cause it from not showing on the first map?
They both should show up regardless if there is any data on them or not.. you sure both files are present in the maps directory?
DementedMindz
03-11-2006, 03:12 AM
sorry if i didnt word it right both map images are showing up but on All Members map its not logging the members location on it.... it will for online users on the Members/Guest Online but it dont display the mark for All Members... i see the red crosshair on Members/Guest Online but as for All Members it hasent logged one yet... any thoughts on why and sorry i didnt give more info in first post...
Trigunflame
03-11-2006, 05:46 AM
sorry if i didnt word it right both map images are showing up but on All Members map its not logging the members location on it.... it will for online users on the Members/Guest Online but it dont display the mark for All Members... i see the red crosshair on Members/Guest Online but as for All Members it hasent logged one yet... any thoughts on why and sorry i didnt give more info in first post...
No idea, no one else has reported this issue. You may not have any post on your forum?
ConqSoft
03-11-2006, 05:52 AM
Do you have this option turned on?
Log IP Addresses
For security reasons, you may wish to display the IP address of the person posting a message.
Trigunflame
03-11-2006, 08:24 AM
Do you have this option turned on?
Good idea :)
hotrod1
03-11-2006, 02:13 PM
Awesome, thanks!
DementedMindz
03-11-2006, 02:22 PM
i have it set to Display, but require administrator or moderator is that ok? im going to make another post in the forum also see if that works .... thanks for quick response ill let you know thanks
DementedMindz
03-11-2006, 02:25 PM
nope still nothing it still only shows them on Members/Guest Online but not on the other map
Trigunflame
03-11-2006, 02:33 PM
nope still nothing it still only shows them on Members/Guest Online but not on the other map
Have you many any significant changes to your vbulletin database tables?
DementedMindz
03-11-2006, 02:37 PM
nope not at all its really a new site im just starting... i have a few admins so it should log there ips and mine... and there is post in the forums
ConqSoft
03-11-2006, 02:58 PM
If you have it set to record the IP (whether shown or not), it should record for everyone; not just Admins. Unless you're using some hack to change the way it records IPs.
wrang
03-11-2006, 06:23 PM
Great product. I have a small forum in Scandinavia and a swedish spooken forum is it possible to just have the scandinavian contrys or just europe
DementedMindz
03-11-2006, 08:20 PM
If you have it set to record the IP (whether shown or not), it should record for everyone; not just Admins. Unless you're using some hack to change the way it records IPs.
nope not at all it displays tyhem when there online it just dont keep records of them when they leave on the top map the guest and members shows fine though
ConqSoft
03-11-2006, 08:26 PM
When you view a post by a user, there should be a little computer icon under each user's name.
It looks like this: https://vborg.vbsupport.ru/external/2010/03/16.gif
Clicking that should show you the IP address the user was at when they made that post. If you don't have that icon showing, then you don't have it set to log IPs.
DementedMindz
03-11-2006, 08:41 PM
yeah i have it showing im going to try and have a few people post and see if they show i think i got mine to log it now... i erased it and reinstalled it
vauge
03-12-2006, 12:43 AM
This is awesome!!
Is there a way to get a map like this?
http://www.hostip.info/yesterday.html
Thanks!
Trigunflame
03-12-2006, 01:44 AM
This is awesome!!
Is there a way to get a map like this?
http://www.hostip.info/yesterday.html
Thanks!
Yes thanks for the link, I will work on integrating that map ASAP.
Trigunflame
03-12-2006, 03:39 AM
PS. I have a new update ready but the file exceeds the upload limit.. will have to see if I can get an admin to upload it for me.
Trigunflame
03-12-2006, 10:43 AM
Still waiting for stefan, or brad to get on... then I can update this hack..
vauge
03-12-2006, 12:20 PM
I actually got it working with that pic, but it is like 500k - way too huge.
Moved it over slighty to be in line with the other maps.
Example: http://www.debatepolitics.com/worldmap.php
ZeroMage
03-12-2006, 12:48 PM
Hwo do you take out the auto resizing?
vauge
03-12-2006, 12:54 PM
I removed these from the template:
from the body onload remove (2x):
, $vboptions[wmp_defaultsize]
and from the table(2x):
<a href="#" onmouseover="wmpsu('wmp_members', 1080, 539)" onmouseout="wmpsd('wmp_members', $vboptions[wmp_defaultsize])">
Darat
03-12-2006, 03:22 PM
I actually got it working with that pic, but it is like 500k - way too huge.
Moved it over slighty to be in line with the other maps.
Example: http://www.debatepolitics.com/worldmap.php
Saved as a jpeg you can get it down to a reasonable 42k.
Trigunflame
03-12-2006, 03:50 PM
Update:
3/12/2006 12:54pm -
1. Added a new Realistic World map
2. Configuration Editor partially remade, allows easier selection of Maps.
DementedMindz
03-12-2006, 04:05 PM
damn Trigunflame your really coding alot here... and all of it is nice work thanks :)
Tracer Gun Kata
03-12-2006, 04:05 PM
Updated with no problems.. looks great ;)
steven s
03-12-2006, 04:14 PM
Updated with no problems.. looks great ;)
Same here. Gotta love plugins and those who are willing to share.
Thanks!:)
I just wish I could have a isolated version.
Something that only looks at a small geographic area.
wrang
03-12-2006, 04:45 PM
Hope for a help this time:
Is it possible to just have a map over europe or Scandinavia (Sweden/Norway/Denmark/Finland)
I just have a few member outside this contrys becouse its a swedsih spooken forum.
Hope for some answer
Betst regards
Trigunflame
03-12-2006, 04:47 PM
Hope for a help this time:
Is it possible to just have a map over europe or Scandinavia (Sweden/Norway/Denmark/Finland)
I just have a few member outside this contrys becouse its a swedsih spooken forum.
Hope for some answer
Betst regards
Not currently no, this is a World Map hack ;) For a limited area, you would be better of offering your members something like http://www.frappr.com/
wrang
03-12-2006, 05:05 PM
Thanks for the help Trigunflame !:bunny:
steven s
03-12-2006, 05:18 PM
I've installed this on two different boards, on two different servers.
The first server went without a hitch.
The second server is having problems with the .png files.
Warning: imagepng(): Unable to open blah blah blah.
The files all have the correct CHMOD settings.
GD is enabled. Works when I select jpeg.
I'm curious why this one installation doesn't work.:tired:
Trigunflame
03-12-2006, 05:23 PM
I've installed this on two different boards, on two different servers.
The first server went without a hitch.
The second server is having problems with the .png files.
Warning: imagepng(): Unable to open blah blah blah.
The files all have the correct CHMOD settings.
GD is enabled. Works when I select jpeg.
I'm curious why this one installation doesn't work.:tired:
Ok give me a couple min.
Trigunflame
03-12-2006, 05:26 PM
Ok give me a couple min. Now that I think about it, your 2nd server may not have libpng support. But you said it works with the jpeg output option?
If so, thats better anyway; typically a smaller filesize and you can control the compression.
steven s
03-12-2006, 05:40 PM
Now that I think about it, your 2nd server may not have libpng support. But you said it works with the jpeg output option?
If so, thats better anyway; typically a smaller filesize and you can control the compression.Thanks.
Looking at phpinfo
Is PNG Support Enabled the same as libpng support?
yinyang
03-12-2006, 05:53 PM
is it possible to do the same with only a map of say, USA?
Holidazed
03-12-2006, 06:04 PM
I installed this and it is giving me this error when the task runs.
No Value Given For GEOIP Database
Ideas?
Holidazed
03-12-2006, 06:05 PM
D'Oh! I forgot to import the plugin.
DementedMindz
03-12-2006, 08:29 PM
ok question im still have issues with it not keeping All Members marks on /worldmap.php it seems like when the cron runs it removes the marks would that cause it?
Trigunflame
03-13-2006, 06:15 AM
D'Oh! I forgot to import the plugin.
Yes that would probably cause it :)
Trigunflame
03-13-2006, 06:17 AM
ok question im still have issues with it not keeping All Members marks on /worldmap.php it seems like when the cron runs it removes the marks would that cause it?
The cron should be whats writing the data onto the map. No one else is having this issue, quite odd..
DementedMindz
03-13-2006, 10:46 PM
yeah im not sure but i have posted a few times in the forum so it should have logged me at least and it hasent logged me at all... it was there but after so long it goes away... i even triple checked the install and its flawless.... not to sure what could be causeing the problem.... when they are online it shows it perfect just if they post on the forum or anything else it will log it then erase it later....
Trigunflame
03-14-2006, 10:26 AM
Thats very odd, I will try to check it out later today.
heynurse
03-14-2006, 01:19 PM
I installed it, it worked great, but was killing my server load when it updated every 15 min, so I had to remove it. We had about 800 users on when I installed and tested it.
Still a great hack, thanks for sharing it! I copied the images of the maps when I had it installed, pretty cool!
ConqSoft
03-14-2006, 01:25 PM
You can turn off the Who's Online version; and set the task to just run once a day in your low-peak time.
Trigunflame
03-14-2006, 01:29 PM
I installed it, it worked great, but was killing my server load when it updated every 15 min, so I had to remove it. We had about 800 users on when I installed and tested it.
Still a great hack, thanks for sharing it! I copied the images of the maps when I had it installed, pretty cool!
Ya, it could be worse though ;), I optimized both of the queries it uses to get as few results as possible; so hopefully it shouldnt affect it to0 bad.
Trigunflame
03-14-2006, 01:37 PM
Update:
3/14/2006 - Forgot to uncomment keep-alive code.
heynurse
03-14-2006, 02:01 PM
You can turn off the Who's Online version; and set the task to just run once a day in your low-peak time.
true. I might try that at a latter time. Thanks for the tip.
DementedMindz
03-14-2006, 04:29 PM
Update:
3/14/2006 - Forgot to uncomment keep-alive code.
i didnt update this yet cause it finally started to keep track where is the keep alive at or do i need to update everything?
Trigunflame
03-14-2006, 04:40 PM
can leave it alone, u probably dont need it.
Trigunflame
03-14-2006, 07:39 PM
true. I might try that at a latter time. Thanks for the tip.
Click install btw, ;)
gavinzac
03-14-2006, 09:35 PM
this is great! is it possible to cut off antartica and siberia etc?
also, this has made me REALLY inquisitive. is it possible to make this output where people are in text format? like, i have a user in SOuth Africa, i want to know who it is. is it possible to have it say where a user is based in their member profile, using this database?
srpompon
03-14-2006, 10:42 PM
Hello, i get his error in my fist run:
Warning: Unexpected character in input: ' in /www/docs/orchidswamp.com/public_html/worldmap/geoip/geoipcity.inc on line 2066
Parse error: parse error, unexpected T_STRING in /www/docs/orchidswamp.com/public_html/worldmap/geoip/geoipcity.inc on line 2067
In my worldmap i have :
[us8 public_html]$ ls -alR worldmap
worldmap:
total 16
drwxr-xr-x 3 801 801 4096 Mar 14 23:31 .
drwxr-xr-x 32 801 801 8192 Mar 15 00:07 ..
drwxr-xr-x 2 801 801 4096 Mar 15 00:33 geoip
worldmap/geoip:
total 24344
drwxr-xr-x 2 801 801 4096 Mar 15 00:33 .
drwxr-xr-x 3 801 801 4096 Mar 14 23:31 ..
-rw-r--r-- 1 801 801 24887729 Mar 7 03:41 GeoLiteCity.dat
[us8 public_html]$
Please help,
Thanks!!
Ivan
heynurse
03-15-2006, 12:19 AM
Click install btw, ;)
I don't currently have it installed :) But I will definately click install when I re-install it ;)
headrat
03-15-2006, 08:53 AM
did I miss an area or code where I can change what is pulled up to be displayed. Right now it looks like it is only pulling up my subscribers, I would like it to display for every member. Any help in the coding and location to find it?
Trigunflame
03-15-2006, 08:58 AM
this is great! is it possible to cut off antartica and siberia etc?
also, this has made me REALLY inquisitive. is it possible to make this output where people are in text format? like, i have a user in SOuth Africa, i want to know who it is. is it possible to have it say where a user is based in their member profile, using this database?
People should already have a location field per vbulletin default.
While this system could be setup to automatically insert information into that profile field it probably wouldnt be a good idea; the GEOIP city lite database while being the best 'free' IP database is still not very accurate in terms of hitting your city direct on.
So you would most likely have profiles with many false positives; the map was created to be a 'general' observation of where your members/guest are scattered throughout the world.
Trigunflame
03-15-2006, 08:59 AM
Hello, i get his error in my fist run:
Warning: Unexpected character in input: ' in /www/docs/orchidswamp.com/public_html/worldmap/geoip/geoipcity.inc on line 2066
Parse error: parse error, unexpected T_STRING in /www/docs/orchidswamp.com/public_html/worldmap/geoip/geoipcity.inc on line 2067
In my worldmap i have :
[us8 public_html]$ ls -alR worldmap
worldmap:
total 16
drwxr-xr-x 3 801 801 4096 Mar 14 23:31 .
drwxr-xr-x 32 801 801 8192 Mar 15 00:07 ..
drwxr-xr-x 2 801 801 4096 Mar 15 00:33 geoip
worldmap/geoip:
total 24344
drwxr-xr-x 2 801 801 4096 Mar 15 00:33 .
drwxr-xr-x 3 801 801 4096 Mar 14 23:31 ..
-rw-r--r-- 1 801 801 24887729 Mar 7 03:41 GeoLiteCity.dat
[us8 public_html]$
Please help,
Thanks!!
Ivan
Maybe upload all the files first?
Trigunflame
03-15-2006, 09:01 AM
did I miss an area or code where I can change what is pulled up to be displayed. Right now it looks like it is only pulling up my subscribers, I would like it to display for every member. Any help in the coding and location to find it?
"SELECT post.ipaddress " .
"FROM " . TABLE_PREFIX . "post AS post, " .
TABLE_PREFIX . "user AS user " .
"WHERE user.userid = post.userid " .
"AND user.lastpost = post.dateline"
Its pulling up all of your members who have posted.
headrat
03-15-2006, 12:15 PM
So, is there a way to have to pull and plot all registered members?
ConqSoft
03-15-2006, 12:18 PM
It could be changed to fall back to their Registration IP I suppose. Not sure how it would affect performance to do two searches though.
headrat
03-15-2006, 12:23 PM
actually, I don't want it to do both, I only have one map showing
Just want to pull from the registration IPs, any idea as to how to code that and where?
headrat
03-15-2006, 12:48 PM
Oops, and what php are you pulling from, I can't seem to find that one.
headrat
03-15-2006, 01:07 PM
"SELECT post.ipaddress " .
"FROM " . TABLE_PREFIX . "post AS post, " .
TABLE_PREFIX . "user AS user " .
"WHERE user.userid = post.userid " .
"AND user.lastpost = post.dateline"
Its pulling up all of your members who have posted.
Is there a "SELECT register.ipaddress" I could use or something?
gavinzac
03-15-2006, 01:07 PM
People should already have a location field per vbulletin default.
While this system could be setup to automatically insert information into that profile field it probably wouldnt be a good idea; the GEOIP city lite database while being the best 'free' IP database is still not very accurate in terms of hitting your city direct on.
So you would most likely have profiles with many false positives; the map was created to be a 'general' observation of where your members/guest are scattered throughout the world.
yeah, i understand, i suppose what i'm looking for is a city - based version of the exisiting GEOIP Country Targeting. it would be extremely cool and allow for lots of new mods such as location determined forums, ads, language selection etc.
i know, i know, go ask in the other thread ;) its just that i've tried to do this myself by editing that code and it didnt quite work. im a jsp expert, not php :(
headrat
03-15-2006, 03:25 PM
anyone got anything on this and getting ALL the REGISTERED IPs to by shown?
ConqSoft
03-15-2006, 03:34 PM
To have it plot ALL registered members, and not just those that have posted, do this:
In class_wmp.php, change this:
"SELECT post.ipaddress " .
"FROM " . TABLE_PREFIX . "post AS post, " .
TABLE_PREFIX . "user AS user " .
"WHERE user.userid = post.userid " .
"AND user.lastpost = post.dateline"
To this:
"SELECT ipaddress " .
"FROM " . TABLE_PREFIX . "user"
It would be better to have it use their latest post IP if available, then fall back to their registration IP if they have never posted, but I haven't gotten around to trying to do that yet... Maybe the hack author will. ;)
headrat
03-15-2006, 04:04 PM
I think that did it, it at least put MORE on there.
ConqSoft
03-15-2006, 04:13 PM
Yeah, I have 5200 members who haven't posted, so switching to the Registration IP filled the map in even more.
I guess it depends on if you want to show all members, or only those members who participate.
Also, their Registration IP never changes, so if they move to a new location, their location on the map will remain the same. If you get the IP from their last post, it will always get their latest location.
There should be a way to combine the two and use the Registration IP if they have 0 posts. I may play around with it, unless the hack author wants to.... :D
srpompon
03-15-2006, 05:01 PM
Maybe upload all the files first?
I put all the files, and show the error...
:confused:
Thanks,
Ivan
cherylferraro
03-15-2006, 05:11 PM
Thank you so much for creating this!!!
I used ConqSoft's class_wmp.php change https://vborg.vbsupport.ru/showpost.php?p=925969&postcount=177 which worked well too.
It's my favorite new toy...
DementedMindz
03-15-2006, 06:55 PM
question now will this just change it for All Members or both?
ConqSoft
03-15-2006, 06:57 PM
All Members... The Who's Online map goes by the IP addresses of all members/guests that are currently online, so this doesn't have any affect on that.
DementedMindz
03-15-2006, 06:59 PM
ok thanks for the code and the quick response
Trigunflame
03-15-2006, 07:11 PM
I put all the files, and show the error...
:confused:
Thanks,
Ivan
From that FTP list command.. you were missing 3 files in the worldmap/geoip directory.
Trigunflame
03-15-2006, 07:34 PM
Vote Vbulletin World Map System OR Plugin Accelerator for HOTM (https://vborg.vbsupport.ru/showthread.php?p=926146)
Quarterbore
03-15-2006, 09:32 PM
Back to the server load issue mentioned a few pages back...
I think it would pay to redo the hack so that it only updates the MEMEBER map once a day (at an off time) and then have it do the calculations for the WHO IS ONLINE every 15-minutes... The server load has to come from plotting thousands of members (MEMBER MAP) as opposed to the dozens to hundreds (WHO'S ONLINE) so splitting the two tasks would save a lot of server load...
I am swamped with work but if nobody else beats me to it I will see about splitting the tasks so that seperate CRON jobs can make it run.
From one of my users:
Cool new feature!
I'm not sure what the purpose is for the shrinking/expanding maps. I think having the larges one only is fine unless we can actually zoom in on a region.
Any way to list the members when we mouse over a spot? I guess this only makes sense if we can zoom in to an individual marker.
Sigh-- there always has to be one who wants more! LOL, and from a non-donating user to boot!
https://vborg.vbsupport.ru/
DementedMindz
03-16-2006, 01:39 PM
i was just wondering why is the title of the page like this???
<title>$vboptions[bbtitle] - View All Thread Bans</title>
its on the worldmap.php page
Pvtiste
03-16-2006, 03:58 PM
Oh !! Very very good work guy Thanks a lot for your sharing ;)
How to display on the map who is who ? Is it possible ?
Thx !
ConqSoft
03-16-2006, 04:20 PM
Here's some ideas for added features, based on this:
http://clustrmaps.com/counter/maps.php?url=http://clustrmaps.com
How about an option to vary the size of the "dot" based on how many people in that area?
It also lets you click on areas to get a "zoomed" map of that area.
Keyser Soze
03-16-2006, 05:32 PM
wohoooo! what a nice hack...
installed it: http://forum.modopo.com/worldmap.php
Thank you so much!
Pvtiste
03-17-2006, 12:04 AM
installed it : http://pvtistes.net/upload/worldmap.php
Good work !
DementedMindz
03-17-2006, 01:19 AM
Here's some ideas for added features, based on this:
http://clustrmaps.com/counter/maps.php?url=http://clustrmaps.com
How about an option to vary the size of the "dot" based on how many people in that area?
It also lets you click on areas to get a "zoomed" map of that area.
thats a good idea i think.... i wish it would show who the member on the dot was maybe some sort of cache system could be used this way it aint using so much queries and resources have it update once a day or maybe twice a week for newer members it missed.... i know on a board with alot of members it may be a resource hog but if it only updated it once or twice a week and had that file cached it may save alot of resources too... maybe you and Trigunflame could get together and use his cached system and have it work with this to save it in cache..... just trying to give some ideas on improvement ... sorry if it sounds stupid :confused:
Trigunflame
03-17-2006, 01:01 PM
Back to the server load issue mentioned a few pages back...
I think it would pay to redo the hack so that it only updates the MEMEBER map once a day (at an off time) and then have it do the calculations for the WHO IS ONLINE every 15-minutes... The server load has to come from plotting thousands of members (MEMBER MAP) as opposed to the dozens to hundreds (WHO'S ONLINE) so splitting the two tasks would save a lot of server load...
I am swamped with work but if nobody else beats me to it I will see about splitting the tasks so that seperate CRON jobs can make it run.
I doubt its causing that much server load bro; Ive ran the script on a few forums with 80k+ members and noticed no such increase.
Trigunflame
03-17-2006, 01:01 PM
From one of my users:
Sigh-- there always has to be one who wants more! LOL, and from a non-donating user to boot!
http://www.x5world.com/images/smilies/slap.gif
Tell him to get frappr, not this ;)
Trigunflame
03-17-2006, 01:02 PM
i was just wondering why is the title of the page like this???
<title>$vboptions[bbtitle] - View All Thread Bans</title>
its on the worldmap.php page
Cause I copied a template from my other hack, ;) just a typo need to fix it.
DementedMindz
03-18-2006, 02:05 AM
Cause I copied a template from my other hack, ;) just a typo need to fix it.
was just letting you know :)... any plans for any future addons to this?
Nevermind. Figured it out.
DementedMindz
03-18-2006, 12:21 PM
did you run the task to create the images?
Thank you for this hack!
I was wondering if you've ever seen this one: http://forums.digitalpoint.com/usermap.php
Is there a way to get the balloons instead of the default user markings?
DementedMindz
03-18-2006, 12:34 PM
thats pretty cool i like how it shows the spiders too wow on lookin at it more it has alot of features
d8tabyte
03-18-2006, 12:44 PM
Yeah that one is sexy... need to figure out how they did it
Trigunflame
03-18-2006, 01:56 PM
I might make some code changes to incorporate something like that for users online; however for members plotting that would be inpractical.. specially if you have several tens/hundred thousand members.
ConqSoft
03-18-2006, 08:46 PM
Yep, the Google Maps get unwieldy with a lot of users.
Kacela
03-19-2006, 04:19 PM
Very nice!
* Kacela clicks Install!
* Kacela will be voting this for HOTM (https://vborg.vbsupport.ru/showthread.php?p=926146)
Only thing I dislike, is the auto-resizing on mouse-over; Is there any way to handle the sizing based on a percentage, rather than a fixed 1080 width? Other than that, my users and I love it!
cn_de
03-19-2006, 07:31 PM
we have got this output by running CronJob:
Warning: getimagesize(): PNG file corrupted by ASCII conversion in /worldmap/class_wmp.php on line 140
Could not get map size.
Could you help?
Trigunflame
03-19-2006, 07:58 PM
Very nice!
* Kacela clicks Install!
* Kacela will be voting this for HOTM (https://vborg.vbsupport.ru/showthread.php?p=926146)
Only thing I dislike, is the auto-resizing on mouse-over; Is there any way to handle the sizing based on a percentage, rather than a fixed 1080 width? Other than that, my users and I love it!
I opted not to because currently the GD imageresampling function is pretty bad, and without a good sharpening filter the map looks like crap when downsampled to a lower resolution due to the fine lines.
But yes it will hopefully be solved in the future.
Trigunflame
03-19-2006, 07:59 PM
we have got this output by running CronJob:
Could you help?
Yes, dont upload images in ASCII. Use binary mode with your FTP client.
Trigunflame
03-20-2006, 03:31 PM
Yep, the Google Maps get unwieldy with a lot of users.
No kidding, but for small amounts should be ok I think.
Im working on a couple paid projects currently, so I should be able to get back around on this stuff pretty soon.
DementedMindz
03-20-2006, 03:46 PM
i was wondering on my /worldmap.php page the top bar spaces out so far but doesnt on any other page what would cause this here is a image to show you what i mean....
https://vborg.vbsupport.ru/ (http://img481.imageshack.us/my.php?image=error3zw.jpg)
ConqSoft
03-20-2006, 03:50 PM
Also, there's a white line down the left side of the "Realistic" image. (easily seen on the dark background shown in the previous post)
I fixed the image on mine (filled it in when the ocean pattern for the top part, and the ice pattern for the lower part).
DementedMindz
03-20-2006, 03:58 PM
ahhh i see it now what you mean but how could i fix the private message bar?
DementedMindz
03-20-2006, 04:05 PM
here is the "Realistic" image fixed i made it max quality this way it looks better i can make it less of a quality but takes away when shown in full screen
Trigunflame
03-21-2006, 12:46 AM
Thanks, I have updated it on my local copy; will upload sometime later.
DementedMindz
03-21-2006, 01:11 AM
if you want to use it for future releases it might be better for me to lower the quality a bit cause its 203.87 kb while its not large some may think it is... its that way cause of the high quality this way when they click the image and make it larger it dont loose no resolution...i also made a few with boarders if anyone wants to see them... they look nice on a dark background... here is one i made i removed the oceans and beveled the land and then readded the oceans to give it more of a realistic feel it has a border also but looks nice on a dark background...
G_Man
03-21-2006, 02:21 AM
up and running.
I left the Who's Online Part off as it never seems caught up with who is actually online.
Love it though. Working Great. Thanks.
dieselpowered
03-21-2006, 03:18 AM
i was wondering on my /worldmap.php page the top bar spaces out so far but doesnt on any other page what would cause this here is a image to show you what i mean....
http://img481.imageshack.us/img481/7072/error3zw.th.jpg (http://img481.imageshack.us/my.php?image=error3zw.jpg)
I have that same problem...were you able to fix it?
dirtycrow
03-21-2006, 03:50 AM
any way to put this on VBA CMPS?
ConqSoft
03-21-2006, 03:52 AM
any way to put this on VBA CMPS?
Yep, I did it on my site, and someone typed up some simple instructions on how to create a CMPS Page to hold your maps:
https://vborg.vbsupport.ru/showthread.php?p=919434&highlight=CMPS#post919434
DementedMindz
03-21-2006, 04:59 AM
I have that same problem...were you able to fix it?
no i havent really looked into it to much im going to later today its more then likely the html code doing it :confused:
DementedMindz
03-21-2006, 05:10 AM
ok i found my problem in template wmp_maps the very first line should read
$stylevar[htmldoctype]
its not in there i added that and bam it was all fixed :) Trigunflame maybe thats something that needs to be added :)
dieselpowered
03-21-2006, 05:16 AM
ok i found my problem in template wmp_maps the very first line should read
$stylevar[htmldoctype]
its not in there i added that and bam it was all fixed :) Trigunflame maybe thats something that needs to be added :)
Well done, I added that and it fixed it as well :)
DementedMindz
03-21-2006, 05:19 AM
thanks lol im picky about things like that it makes things look better :) i wont stop till i fix things...
dieselpowered
03-21-2006, 05:23 AM
LOL ya I am like that too! :)
I am now trying to figure out why my links in my 2nd nav bar are not centered?
DementedMindz
03-21-2006, 05:25 AM
the easiest way to do that is get the code and use dreamweaver
Trigunflame
03-21-2006, 07:59 PM
ok i found my problem in template wmp_maps the very first line should read
$stylevar[htmldoctype]
its not in there i added that and bam it was all fixed :) Trigunflame maybe thats something that needs to be added :)
Ya I have it updated, im not gonna upload an update though until I make a few other changes, that way I dont have to do it 3-4 times.
Gripemaster
03-22-2006, 12:07 AM
Installed on my test forum... had to rename the png's to jpg's, all seems to have install fine with the exception of the images are not showing up...just the box with an X and they even expand and contract but without images. What might I have missed or done wrong?
ConqSoft
03-22-2006, 12:11 AM
You shouldn't have to rename any files.. Just choose the correct output type in the options...
Gripemaster
03-22-2006, 12:23 AM
You shouldn't have to rename any files.. Just choose the correct output type in the options...
did that, both ways... everything seems to be ok with the exception of missing images.
One thing I am not 100% sure of...in the ACP Options, the path to the .dat file, it says "(your_forum/worldmap/geoip/GeoLiteCity.dat)
I have the path as: testvb/worldmap/geoip/GeoLiteCity.dat
Is that correct?
ConqSoft
03-22-2006, 02:10 PM
It's supposed to just be: GeoLiteCity.dat
The filename only. The field description just shows you where it should be uploaded to; not that you should enter the full path.
Gripemaster
03-22-2006, 03:55 PM
Works like a charm...*Clicks Install*
dxguru
03-22-2006, 04:57 PM
Fantastic extension :)
Can I suggest ... instead of just the 2 maps (All Members & Members/Guests Online), split the Members/Guests Online into 2 seperate maps giving a total of 3.
Guest210212002
03-22-2006, 05:41 PM
/me clicks install
Guest210212002
03-22-2006, 05:44 PM
A killer feature of this would be to label the ticks for the members online with their member name. Probably a ton of work as you'd have to either slice the image or add alt tags based on x/y, but it'd be pretty freakin' cool. :)
ConqSoft
03-22-2006, 05:45 PM
Someone didn't read the whole thread.... :D
phonexpo
03-23-2006, 09:34 AM
Sorry guys I'm having a problem with this. I got the http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz file unzipped it and there's a Video CD Movie file ??? Is this right? If not can someone give me the correct file please. :)
Thank you !
ConqSoft
03-23-2006, 11:17 AM
It's not a VideoCD Movie file. You just have the .DAT extension associated as a VideoCD Movie file. Just upload it to the proper location.
ReadOrDie
03-23-2006, 06:00 PM
Warning: fread(): supplied argument is not a valid stream resource in /worldmap/geoip/geoip.inc on line 398
Fatal error: error traversing database - perhaps it is corrupt? in /worldmap/geoip/geoip.inc on line 418
What does this mean?
lazytown
03-23-2006, 10:53 PM
Awesome - thank you!
-vissa
phonexpo
03-23-2006, 11:18 PM
It's not a VideoCD Movie file. You just have the .DAT extension associated as a VideoCD Movie file. Just upload it to the proper location.
I have it uploaded (see pic) What have I done wrong ?
ConqSoft
03-23-2006, 11:18 PM
I dunno. What's wrong?
phonexpo
03-23-2006, 11:21 PM
Hi,
I just have a white screen here - http://phonexpo.net/worldmap.php
And the red X here - http://phonexpo.net/online.php
fabianv
03-23-2006, 11:34 PM
Hi.. awesome mod!
I have 1 question:
-Is there a way to remove the mouse over zoom effect and make the map a static size of 900px width? It would really look far better on my forums if the zoom effect was taken out.
Hope to get some feedback :cool:
This is great! I was searching vb.org for a mod like this but could never find out so you really have made my day ! :banana:
Ron1n
03-24-2006, 01:33 AM
this is a great mod - i really like this concept and the execution... no problems on any of my boards! i like the concept so much that i'm going to add this feature to a custom forum I wrote.
I might make some code changes to incorporate something like that for users online; however for members plotting that would be inpractical.. specially if you have several tens/hundred thousand members.
I believe the DP usermap is limited to the last 500 visitors. In any case, it's just a suggestion but you already have a great hack on your hands. Thank you!
ReadOrDie
03-24-2006, 03:29 AM
Please someone help me with my question.
fabianv
03-24-2006, 08:50 AM
Please someone help me with my question.
same here
tobe12
03-25-2006, 04:45 AM
I installed this and it works perfectly. A great addition to my sites. Thank you
ReadOrDie
03-25-2006, 08:03 PM
Please someone answer my question. It's been two days already.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.