vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=123148)

steven s 09-05-2008 07:24 PM

I can't believe anyone is still using this.
It was a cool mod while it lasted.
I thought it was moved to the graveyard.
I seem to recall a warning about using this mod.

I'm hesitant to run anything that has no support from the author.

edytwinky 09-10-2008 10:13 PM

When I entered in my spot on the map, I got the following error:

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
SET NAMES 'utf8';

MySQL Error : Unknown system variable 'NAMES'
Error Number : 1193
Date : Wednesday, September 10th 2008 @ 07:12:03 PM
Script : http://---------.com/vbgooglemapme.php
Referrer : http://---------.com/vbgooglemapme.php?do=addelement
IP Address : 68.102.23.100
Username : EB 22
Classname : vb_database
On top of that there's an IE error that comes up:

Quote:

Line: 1026
Char: 3
Error: Invalid Pointer
Code: 0
URL: http:/xxxxx/vbgooglemapme.php

edytwinky 09-11-2008 02:46 AM

I got it to work with the fixes.

Is there any way to manually add people's locations for them?

drifterwolf 09-12-2008 11:04 PM

I'm having a weird problem with this and any help would be appreciated. I'm rather a newbie at this so be gentle with 'talking shop'.

I've installed the map and it works fine in the default style. I added the vb_dark style for the board, and I followed the instructions on uploading the images to the new style's directory. Though the map will not show up on the new style at all. It works fine in the default style, but is completely blank on the new style.

What am I doing wrong?

onrope 09-13-2008 03:19 AM

Well, I have done code edits listed here and that resulted in the members still not showing up.

Changing the theme back to default still had no effect.

Appears to be dysfunctional in IE as well as Fire Fox.

Anyone have any additional suggestions?

onrope 09-13-2008 03:24 AM

Quote:

Originally Posted by edytwinky (Post 1619595)
I got it to work with the fixes.

Is there any way to manually add people's locations for them?

Can you elaborate with all of the fixes you have done?

ATVTorture 09-13-2008 03:42 AM

We have this installed and have done the mod that onrope posted above but the markers don't show up. They show if you go to "your entry" but not on the main map. Any ideas anyone. We're running vb3.7.3 and have seen folks that have replied saying they're running 3.7 with no problems.

Thanks!

gwerzal 09-23-2008 12:59 AM

Hi i have this installed and everything looks ok except none of the markers are showing on the map at all.

I know a lot of other members have had this problem but i cant seem to find a fix.

I have it set to auto approve. i have gone through all the steps and am not new to installing mods so i have made sure everything is right.

I have changed the permisions of marker.xml to 777

The only thing i can think of is i have uploaded the images in the wrong place

I am using a custom style so i currently have the images in the folders

images/googlemapme

and

images/bluedeamon/googlemapme

I cant think of anything else it could be but if anyone can help it is very much appreciated.

The site i am trying to install on is UK Betting Tips

lpetrich 10-26-2008 05:53 PM

Some feature requests / proposals:
  • Mousewheel zooming
  • Mousing over only pops up usernames instead of full-scale info balloons
  • Ability to select terrain
I've found mousewheel zooming and terrain selection in the Google Maps API, but I'd like some hint as to where in the code to add it, like where the map pane is created. The info balloons are more complicated, but I think that I could handle them.

If I successfully make those changes, I'll post them here.

lpetrich 10-27-2008 12:45 AM

To make the changes I'd proposed, edit product-vbgooglemapme.xml and make these changes.

To make mousing over only show the username, change:

Line 550:
var marker = new GMarker(point, icon);
to
var marker = new GMarker(point, {icon:icon, title:username});

BTW, the former syntax for the GMarker constructor is now deprecated. What I substituted for "icon" is a GMarkerOptions object, which is a JavaScript property list.

To enable mousewheel zooming and terrain display, add these lines:

map.enableScrollWheelZoom();
map.addMapType(G_PHYSICAL_MAP);

after the following lines:

Line 598:
map = new GMap2(document.getElementById("memap"),$map_type);
Line 855:
map = new GMap2(document.getElementById("mapme"),$map_type);
Line 1129:
map = new GMap2(document.getElementById("mapme"),$map_type);

Be sure to reinstall it after you are done editing it.

I didn't try to add a "terrain" option to the possible default views, because it would take some coding in several places in the plugin, and I didn't try to add draggability to the marker placer, even though it only requires editing the product file.

To do the latter, you set draggable:true in the marker's options, then set up a GEvent listener that gets the "moveend" event and updates the displayed position accordingly.

And is the recentering after moving worth keeping?

ETA: when making mousing over only show the username, be sure to go to

Admin CP > Vbgooglemap ME > ME Settings > Enable the mouseover support on the markers?

and make it "No". That way, you will only get a marker's info bubble when you click on it.


All times are GMT. The time now is 11:25 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.01993 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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