PDA

View Full Version : Major Additions - VBGooglemap Member Edition


Pages : 1 2 3 4 [5]

MediaHound
06-05-2010, 02:25 PM
I just installed this a couple of days ago, and the first couple of users that tried to use it (other admins of mine, as I like to do extensive testing) managed to break the pins, because of the XML validation error that others have referenced as "running the XML file".

The cause of the problem is that the pimage link isn't being parsed safely for XML.

Here's a fix that I think will work (at least it works for me -- I do NOT guarantee this, if it causes spontaneous combustion, fire, death, etc., I'm not to blame):

*** I JUST SAID THAT I DO NOT GUARANTEE THIS WILL WORK. I DISCLAIM ALL LIABILITY. YOU MUST BACK UP YOUR DATABASE AND ALL OF THE FILES RELATED TO THIS MODIFICATION, SO THAT YOU CAN RESTORE THEM IF NECESSARY. ***

In /forums/includes/cron/vbgooglemapme_cron.php:

Find:


Immediately ABOVE the text I have quoted, place the following text:



In the same file, find this:



Immediately BELOW the text that I have quoted, place this:



That should render all entities in the 'pimage' field safe for XML, so it will validate. However, that script is only called when the CRON job is executed... when someone edits their entry online, a different copy of that same script is called (which is really bad form, in my opinion, but hey, I didn't develop this...). That second copy is located at /forums/includes/functions_vbgooglemapme.php. You need to make the exact same changes in that file as I have mentioned above.

Now... I am not claiming that this will solve everyone's issues. It more than likely will not. It will, however, fix problems with 'pimage' being the reason that the XML won't validate. I think that this will probably fix the problems that quite a few of you are happening.

Really old post of yours GeekDrew but the .txt file on your server is long gone. I need to apply this patch again and if you still have that (or anyone else reading), please let me know.

Also there are other fields that are in need of validation.
Has anyone gotten a bulletproof solution here yet?

Diablotic
06-09-2010, 09:26 AM
Any news on 4.0 version?

mierzwin
06-12-2010, 09:42 PM
ckgreenman, will the official version support upgrade from your one ? is it worth installing yours or just wait for official release ? i dont want my members to re-enter their location multiple times etc

thanks

kylek
06-14-2010, 06:34 PM
Hi,

did you get anywhere with this as i really would like to install it but have vmoods installed :(

I removed vmoods and replaced it with the newer dbtechs facebook status as they have included mood images in it, and with a bit of work you can run the same images that you use in vmoods.

This allows the markers to display properly using ckgreenman's version.

ckgreenman
06-28-2010, 12:59 PM
ckgreenman, will the official version support upgrade from your one ? is it worth installing yours or just wait for official release ? i dont want my members to re-enter their location multiple times etc

thanks

Sorry for the late response. From what I know (admitedly not much) about StonyArc's vb4 version there will be no upgrade patch from ANY version. that being said, the only real thing that needs to be saved is your xml file. As long as you have that all your marker data is safe.


If you DO decide to install my version, then all you will need to do is save your marker file, uninstall the product, and install the new version. I imagine that StonyArc would provide some means to import the data from the marker file.

Hope this helps

Amiga Harrison
07-01-2010, 11:38 AM
I've just installed the vB4 version and it seems to be working perfect. Great work on the update for this.

When first installed I also could not get the markers to appear, but to fix this all I had to do was edit my own entry [Your Entry] and click Update the information (without actually editing anything) and the markers all appeared, so it seems re-saving the data fixed it.

SuperGLS
07-07-2010, 07:54 PM
I followed the instructions ckgreenman laid out and when I click on the link for it I get this error.

https://vborg.vbsupport.ru/external/2010/07/39.png

Any ideas? I'm sure my API key is right, although I was updating from version 2.5.2 not 3.0.1 of this mod. If I go get a new API key, which one should I get? Will that mess up my marker data?

Thanks in advance!

HondaATC
07-10-2010, 09:21 PM
What are my options if my markers.xml file is blank, but they are still stored in the database?

HondaATC
07-11-2010, 12:10 AM
Fixed it. Apparently just adding one new marker re-freshes the markers.xml with the information from the database! :D

SuperGLS
07-12-2010, 02:00 PM
Any ideas on my error I'm getting above? Everything else seems to be working, but it's annoying to get a pop up error every time.

Happens in Firefox and Safari (and the other browsers too I'd imagine).

BarelyHangingOn
07-12-2010, 10:14 PM
What key? I am getting the wrong API key. I am copying it over correctly???????

Warning: unserialize() expects parameter 1 to be string, array given in [path]/vbgooglemapme.php on line 64

HondaATC
07-13-2010, 02:59 AM
make sure your giving google the exactly right address to process the key. If your on a subdomain, use the subdomain. If you have a htaccess that forces you to either remove or use the www, make sure that is correct as well.

BarelyHangingOn
07-13-2010, 08:25 AM
It still doesn't want to work.

Here is my website:
http://www.lab-retriever.net/board/

Here is my map:
http://lab-retriever.net/board/vbgooglemapme.php

The key is for:
http://lab-retriever.net

HondaATC
07-13-2010, 10:36 AM
Bummer...I have no idea then. Mine was doing the same thing, I got nitty gritty with my link address and then it worked?

Falcon Capt
07-29-2010, 09:05 PM
Ok I talked with StonyArc and even though he is working on an OFFICIAL vB4 release he has authorized me release my vB4 version of this mod (3.0.1-vb4 for lack of a better version).

INSTALL:

1. To Install, unpack the contents of the zip file onto your computer.
2. Upload the contents of the "upload" directory AS IS so that the vbgooglemapme.php file
resides in your forum root
3. In AdminCP go to "Manage Products" and click the "Add/Import" link at the bottom.
4. Under "Import Product", click the "Browse" button and specify the "product-vbgooglemapme.xml" file.
5. Click "Import"

To UPGRADE from 3.0.1 (if it's still installed after you upgraded to vB4):
1. In AdminCP, go to the VBGooglemapME Settings and record your googlemap API key,
2. In AdminCP, go to the "Manage Products".
3. Scroll down to VBGooglemapME and uninstall the product. (user markers are not deleted so existing markers)
4. Unpack the zip file.
5. Upload the contents of the "upload" directory. (The only files that changed are vbgooglemapme.php and incluces/functions_vbgooglemapme.php so copying those is sufficient)
6. import the new product file.
7. Go to VBGoogleMapME Settings and put in your googlemap API key (and any other settings).

Note: The permissions will not be correct when you upgrade so you will need to rebuild the bitmask by visiting the Usergroup Manager. The masks should rebuild on their own but make sure your group permissions are as you need them. Also, the "Member Map" link resides on in the Community drop down menu which is visible when you click the "Forum" tab.


NEW FEATURES:
In addition to being ported to vB4 I added a few features that had been suggested on this thread.
You can now select "Terrain" as a default map mode.
Terrain is a selectable mode when viewing the map.
You can now zoom the map using a Mouse Scroll wheel.


If you have any questions regarding THIS VERSION please feel free to contact me here or via PM.


Enjoy!!

I've installed this on my recently upgraded forums (from 3.8.5 to 4.0.5) and it was working fine but having one problem, the pins on the map keep disappearing. When someone adds a pin or something, they'll appear, but a little while later they are gone again. It appears this happens after the hourly Google Map Me CRON runs.

Need help!

lpetrich
07-30-2010, 06:36 PM
My first guess is that it's the result of misparsed characters - something that ZeroHour's fix ought to cure.

So you can try comparing before-cron and after-cron versions of the markers file.

Falcon Capt
07-30-2010, 09:50 PM
My first guess is that it's the result of misparsed characters - something that ZeroHour's fix ought to cure.

So you can try comparing before-cron and after-cron versions of the markers file.Where is "ZeroHour's" fix??? :confused:

DISREGARD: Found the fix and it appears to have resolved my issue on the vB4 ported mod... THANK YOU!

ZeroHour's Fix: https://vborg.vbsupport.ru/showthread.php?p=1456251#post1456251




.

Diablotic
08-06-2010, 08:38 AM
Any news on vB4 official release?

ckgreenman
08-11-2010, 11:54 AM
Any ideas on my error I'm getting above? Everything else seems to be working, but it's annoying to get a pop up error every time.

Happens in Firefox and Safari (and the other browsers too I'd imagine).

Have you tried just getting a new key?

What key? I am getting the wrong API key. I am copying it over correctly???????


Warning: unserialize() expects parameter 1 to be string, array given in [path]/vbgooglemapme.php on line 64

I'll look into this but it almost sounds like the key isn't getting copied correctly.

Any news on vB4 official release?

None yet. I'll see if I can get a hold of Stonyarc and ask.

ckgreenman
08-11-2010, 11:56 AM
I've just installed the vB4 version and it seems to be working perfect. Great work on the update for this.

When first installed I also could not get the markers to appear, but to fix this all I had to do was edit my own entry [Your Entry] and click Update the information (without actually editing anything) and the markers all appeared, so it seems re-saving the data fixed it.

I'm curious, did you make a backup of your markers.xml before installing the update?

ckgreenman
08-11-2010, 12:03 PM
Hi,

did you get anywhere with this as i really would like to install it but have vmoods installed :(

Sadly no. I've been extremely busy working on other projects (and enjoying the summer, lol).

In the interim I noticed someone found a workaround that provides similar fuctionality but doesn't use the vMoods mod.

ckgreenman
08-11-2010, 12:15 PM
Where is "ZeroHour's" fix??? :confused:

DISREGARD: Found the fix and it appears to have resolved my issue on the vB4 ported mod... THANK YOU!

ZeroHour's Fix: https://vborg.vbsupport.ru/showthread.php?p=1456251#post1456251




.

I thought I had implemented this fix. Turns out I missed the cron code. I'm packaging an updated version now.


EDIT: Fix uploaded please go HERE (https://vborg.vbsupport.ru/showpost.php?p=2036908&postcount=989) to get the updated package.

Tahooma
08-16-2010, 03:47 PM
Is there a chance to have this as some kind of map to show users interesting points ?
Means, that only the administrator is able to insert markers, but he has to be able to add multiple markers.
This would be a fantastic fit for my website.

BR
Tahooma

nazguluk
08-19-2010, 01:08 PM
Is it possible to remove the vB wrapper from this so I can use it as a Widget in vB4 CMS?

Falcon Capt
08-19-2010, 02:05 PM
I thought I had implemented this fix. Turns out I missed the cron code. I'm packaging an updated version now.


EDIT: Fix uploaded please go HERE (https://vborg.vbsupport.ru/showpost.php?p=2036908&postcount=989) to get the updated package.

Having one other weird problem with the mod in vB4.0.6.

When someone puts up a pin and it puts the "Map Me" link in their postbit, in posts their location displays correctly, but if they send me a PM and I click the link in their postbit in the PM, the link is to my pin, not theirs!

It seems the "Map Me" link works correctly when it is a post, but when it is a PM the link shows the location of the receiver of the PM, not the sender (even thought the "Map Me" link is in the sender's postbit in the PM).

Anyone else seeing this issue in vB4.x?

GoTTi
08-23-2010, 02:39 AM
still no talk about releasing this for 4.0?

Diablotic
08-23-2010, 09:29 AM
I am still waiting for 4.x release. This is such a great mod!

HondaATC
08-25-2010, 11:18 PM
Tip for those using this:

I had my markers disappear on me the other day. I couldn't figure out why. I loaded markers.xml in my browser and got a parse error with a copy of what line exactly was showing it. Turns out a user had posted a link to an attachment into his thumb tack, and the character messed it up. I removed the image link, deleted markers.xml via FTP, and then added myself back on, and markers.xml regenerated with the correction, and then the page loaded correctly showing all nearly 200 markers.

animens
10-30-2010, 12:43 PM
Hello, respected!

VBulletin 3.8.6 PL1
PHP 5.3.2
MySQL: 5.0.91-community

After installation i got next wrongs:
Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 215

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/init.php on line 393

Deprecated: Assigning the return value of new by reference is deprecated in /home/myaccount/public_html/includes/class_core.php on line 2552


There can be it of what at me on server PHP 5.3.2? If yes, that is whether possibility to solve this problem? Or can eat another similar mod?

In advance BIG thanks!

yotsume
11-07-2010, 07:47 PM
No pins are showing on the map?

I'm on vb3.7. It is installed.

How the heck do you get a pin to show on the map?

I entered my location and no pin shows on the map!

How can I fix this?

THANKS!

yotsume
11-08-2010, 05:32 AM
Hi,
This single reference, out of 32 pages, regarding the deletion of the $footer from the vbgooglemapme template has sorted my installation, thanks a million. Although I have absolutely no idea why it makes the markers appear...

Thanks again.
Ronseal


Well tried this and the markers still dont show.

Maybe this is just a trash mod and not working for vb3.7x?

yotsume
11-08-2010, 06:40 AM
Pure POS! Zero answers after reading all these wasted pages! UNINSTALLING!!!

aileron79
12-16-2010, 07:41 AM
Installed this version for vB 4.* (https://vborg.vbsupport.ru/showpost.php?p=2036908&postcount=989) and it works fine.

In case the pins do not show up they most likely have not been uploaded...

kjsmith84
12-16-2010, 06:56 PM
I dont feel like reading through 69 pages- can someone tell meif this works with 3.8?

Mellow
12-17-2010, 02:58 PM
Ok I talked with StonyArc and even though he is working on an OFFICIAL vB4 release he has authorized me release my vB4 version of this mod (3.0.1-vb4 for lack of a better version).

INSTALL:

1. To Install, unpack the contents of the zip file onto your computer.
2. Upload the contents of the "upload" directory AS IS so that the vbgooglemapme.php file
resides in your forum root
3. In AdminCP go to "Manage Products" and click the "Add/Import" link at the bottom.
4. Under "Import Product", click the "Browse" button and specify the "product-vbgooglemapme.xml" file.
5. Click "Import"

To UPGRADE from 3.0.1 (if it's still installed after you upgraded to vB4):
1. In AdminCP, go to the VBGooglemapME Settings and record your googlemap API key,
2. In AdminCP, go to the "Manage Products".
3. Scroll down to VBGooglemapME and uninstall the product. (user markers are not deleted so existing markers)
4. Unpack the zip file.
5. Upload the contents of the "upload" directory. (The only files that changed are vbgooglemapme.php and incluces/functions_vbgooglemapme.php so copying those is sufficient)
6. import the new product file.
7. Go to VBGoogleMapME Settings and put in your googlemap API key (and any other settings).

Note: The permissions will not be correct when you upgrade so you will need to rebuild the bitmask by visiting the Usergroup Manager. The masks should rebuild on their own but make sure your group permissions are as you need them. Also, the "Member Map" link resides on in the Community drop down menu which is visible when you click the "Forum" tab.


NEW FEATURES:
In addition to being ported to vB4 I added a few features that had been suggested on this thread.
You can now select "Terrain" as a default map mode.
Terrain is a selectable mode when viewing the map.
You can now zoom the map using a Mouse Scroll wheel.


If you have any questions regarding THIS VERSION please feel free to contact me here or via PM.


Enjoy!!

UPDATE: Apparently I missed one of the fixes that ZeroHour had posted so I'm uploading a new version that includes this fix.

This worked great for me on 4.1... the only issue is it's not centered, might not be in it's own box.

Gamelobby
01-30-2011, 09:29 PM
Tip for those using this:

I had my markers disappear on me the other day. I couldn't figure out why. I loaded markers.xml in my browser and got a parse error with a copy of what line exactly was showing it. Turns out a user had posted a link to an attachment into his thumb tack, and the character messed it up. I removed the image link, deleted markers.xml via FTP, and then added myself back on, and markers.xml regenerated with the correction, and then the page loaded correctly showing all nearly 200 markers.

1. Removed the img link where..? (in the mod itself or from xml)
2. Deleted xml from FTP, (then uploaded it again later or mod recreated it by itself.?)
3. Added yourself back on in mod or to xml.? (my info never went away)


Thanks.
i think i did what you said, but it didn't work for me, is why im asking.

HondaATC
01-30-2011, 10:14 PM
Its been sometime since I did this but as I recall:

The tacks are stored in two places. One in a mysql table that actually propogates the xml file. I either edited the table directly in phpmyadmin or went to the settingsin admincp for this mod and found the user that had posted the link and removed it that way. It seems like there was a moderate users option or something for it, that had a list of all the users there location and comment data. Wherever that was, I deleted the info causing the the information that was causing the error in the xml from the database. And my own info from the database. Then I deleted the markers .xml completely, and I readded myself from the web interface, the modified database table re generated a correct xml file and it worked.

This was about 6 months ago so I can't remember entirely ;)

haninja
02-01-2011, 02:05 AM
I'm getting 'InfoTabs' is undefined when I click on a marker. Anybody encounter this? And I don't see the popups.

eh69
02-26-2011, 05:47 AM
Im using php 5.3.5 and xcache. I have error too:

Warning: unserialize() expects parameter 1 to be string, array given in [path]/vbgooglemapme.php on line 84

Fatal error: Call to a member function render() on a non-object in /usr/local/www/forum.x.org/vbgooglemapme.php on line 217

This error is missing when I click "flush cache" in vBOptimise, but missing on for one refresh. Next is showing again.

Or error is missing when I comment this line in vbgooglemap.php:
$vbulletin->vbgooglemapme = unserialize($vbulletin->vbgooglemapme)
Map is showing - its not correct key problem.

Second problem - markers is dont adding to my marker.xml file, its looking that:
%
<?xml version="1.0" encoding="UTF-8"?><markers>
<!-- (c) 2006 StonyArc -->

</markers>


Im using iso8859-2 enconding on my site.


EDIT
I found fix for that.

1. find this line
$vbulletin->vbgooglemapme = unserialize($vbulletin->vbgooglemapme)

and replace with this line
// $vbulletin->vbgooglemapme = unserialize($vbulletin->vbgooglemapme)

2. in googlemap admin cp disable small map preview :)

vwdforum
03-10-2011, 12:13 PM
I've tried to use this in vb 4.1.2 but it doesn't work, anyone using it now?

kylek
03-10-2011, 04:47 PM
Yes, have it running on two sites using 4.1.2. Did you try the updated package found here - https://vborg.vbsupport.ru/showpost.php?p=2036908&postcount=989

Sworm
03-15-2011, 08:00 PM
Has this mod tryed on 3.8.x versions?

Jezlad
05-20-2011, 08:15 AM
I'm getting a popup that reads...

This web site needs a different Google Maps API key. A new key can be generated at http://code.google.com/apis/maps/signup.html.


Any ideas?

HondaATC
09-26-2011, 08:50 PM
OK. I just had to mess with this again to get the markers working. Instructions for anyone that is having issues.

Go to your website and load markers.xml in your browser window (http://www.yourforum.com/forum/markers.xml)

You should see an error about a parsing error. It'll give you some information like a line, and if you read the code you'll see a username. Copy this.

Load the AdminCP, VbGoogleMap ME Full Settings. Use ctrl + F to search for the username you got from the error in your browser window. Select that user and delete them.

Login to your ftp account, find markers.xml and delete it.

Make a BLANK new file called markers.xml in your favorite text editor. Upload it where the original was you just deleted.

CHMOD this new markers.xml to 777

Go to the Members map, click on"Your Entry/New Marker"

Scroll down, click update the information.

Load markers.xml again in your browser window. If you have another parse error, repeat the entire process (including deleting and re-uploading a blank markers.xml file).

If you deleted the last entry that was causing the problem, you should see the full list of all the entries, in Firefox the file will look different and it'll start with:

<markers><!-- (c) 2006 StonyArc -->

At which point you can go back to your members map, and it'll load all the markers! It might take a few tries to get all the ones removed causing the problem, but when you do it'll start working right again. Its important to delete the markers.xml file via FTP and upload a new one, because it'll be re-populated from the database with the changes you've made. If you DONT remove and upload the blank file, the markers.xml file WONT be repopulated by the changes you made in the database and you'll have the same problem.

Anything with an "&" I found to be an issue with the script whether it was in the name, the comments, or in the image link associated with it.

Ncturnal
09-27-2011, 07:54 AM
All of that is completely unnecessary. When you go tot the markers.xml file and find the username that is causing the parsing error, simply edit that user's entry and remove whatever is causing the issue. I'd recommend turning of the description field as that has been a bigger source of issues. Special characters are usually the cause, such as ' and <. A ' in the username will cause problems, so in some cases you may have to rename a user.

HondaATC
09-30-2011, 07:20 PM
Its my experience deleting from the markers.xml file is not enough as there is a database table where the names and locations are stored, and as soon as a new entry is added it will re-populate the xml file with the old one unless you delete it from the database as well.

Ncturnal
09-30-2011, 08:03 PM
Its my experience deleting from the markers.xml file is not enough as there is a database table where the names and locations are stored, and as soon as a new entry is added it will re-populate the xml file with the old one unless you delete it from the database as well.

No one said anything about deleting it from the markers.xml file, in fact there's nothing there to delete. The sole purpose of going to the markers.xml file is to find out which user's entry is causing the problem so you can go and edit their entry, which fixes it in the database. While your method may work, it is still convoluted and unnecessary.

dariyos
11-19-2011, 09:32 AM
hello, got n script error on showing my entry or showing the entries of the users: Skript: http://maps.gstatic.com/intl/de_ALL/mapfiles/377a/maps2.api/main.js:36

____________
vbulletin 4.1.7

patracy
11-28-2011, 01:10 PM
Has anyone had issues with the "show on map" link simply dumping the user back to the main view of the map? I've tried tweaking the zoom setting in the CP. But it just shows the main map view. I see the link is formed correctly.

Derwin
12-19-2011, 06:26 PM
Has anyone got this updated and working in the vbulletin 4 software?

If not, is there any other program that can be used in vb4? I'm wanting something that will show the members username on the map, and not just a pin, just like this program.

Unfortunately, I've installed this and it is not working on vb4. I get the following errors:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: vbgooglemapme_legend in [path]/includes/functions.php on line 4293

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: vbgooglemapme_display_map in [path]/includes/functions.php on line 4293

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: vbgooglemapme_menavbar in [path]/includes/functions.php on line 4293

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4293

Parse error: syntax error, unexpected T_STRING in /home/clubnook/public_html/forum/vbgooglemapme.php(583) : eval()'d code on line 1

Fatal error: Call to undefined function construct_forum_jump() in /home/clubnook/public_html/forum/vbgooglemapme.php on line 585

BGObsession
02-11-2013, 12:57 AM
I'd also like to know if anyone's gotten this working with vB4? I would gladly pay to have this mod adjusted...

Falcon Capt
02-11-2013, 01:11 AM
I'd also like to know if anyone's gotten this working with vB4? I would gladly pay to have this mod adjusted...

I've been using it with vB4 for years, but I can't remember what I did to make it work...

BGObsession
02-11-2013, 10:16 PM
Okay guys, have it working fine (from what I can see) on my 'in development' 4.2.0 site. I used the upgraded files here https://vborg.vbsupport.ru/showpost.php?p=2036908&postcount=989 and it's working. Make sure you have the ‘Enable or disable the small map control’ set to ‘No’ so your markers show up, otherwise, works great.

It isn't centered, which I'd love to get a fix for, and I also would like to tweak the location/look of the 'dashboard' if anyone has any insight into that. I'm grateful to ckgreenman for the code update as, otherwise, I'd have had to start over or paid someone to figure this mod out. Awesome!

BGObsession
02-12-2013, 11:24 PM
Well, as soon as I got it working, my map now disappears with the following message:

'Google has disabled use of the Maps API for this application. See the Terms of Service for more information: http://www.google.com/help/terms_maps.html.'

Anyone know what that's all about?

silverd
03-07-2013, 06:53 PM
Well, as soon as I got it working, my map now disappears with the following message:

'Google has disabled use of the Maps API for this application. See the Terms of Service for more information: http://www.google.com/help/terms_maps.html.'

Anyone know what that's all about?

Google is using a different API now. The old V2 *should* still work.

silverd
03-07-2013, 06:58 PM
NOTE: Anyone having trouble with markers not displaying.

Double check your header/headinclude for any javascript conflicts.

An easy way to check is: In your vbgooglemapme template: with $header and $headerinclude. Add a random number to the variable to temporarily rule them out. IE $header1 $headerinclude1

Refresh maps page. If your markers pop-up, theres likely a javascript conflict.

From there, copy your headinclude page (or header) and narrow down the conflicting script. Once found, do a simple conditional to exclude execution on maps page.

IE <if condition="THIS_SCRIPT != 'vbgooglemapme'"><script blah blah></if>

*Ofcourse, be sure you dont need the excluded script to function on that page.

dknelson
04-10-2013, 02:09 PM
I have this installed and working OK on my VB 3.8.7. I had a problem with people entering the wrong information for the Image URL so I removed that field and don't use it.

My question is, how do I remove the "Image" tab from balloon that pops up on the map? I've read a LOT of the posts in this thread and I've seen where people have said that they removed it and I've seen several requests asking HOW it was removed but I've not found an answer to the question. Can somebody please help?

Falcon Capt
11-20-2013, 03:09 PM
Well now that Google has shut down the old map API (v2) and is only using the v3 API, anyone have a fix for this to make the map work again???

BGObsession
11-20-2013, 08:18 PM
Yes - I would like a fix for this too. Be a shame if this mod is broken forever!

buryka
11-21-2013, 09:15 AM
Please, return the map.

trotskid
11-24-2013, 09:36 AM
Yes - I would like a fix for this too. Be a shame if this mod is broken forever!

+1 :(

MariahMan
11-24-2013, 09:00 PM
+1 me too. My members love the map and now it's now broken :(

BGObsession
11-29-2013, 05:01 PM
Any of you genius coding folks have any input on how to fix this mod given the Google changes? We need a hero :)

Bryan Ex
12-01-2013, 01:33 PM
Here are the instructions to update the Google Maps API - https://developers.google.com/maps/documentation/javascript/v2/v2tov3?utm_source=welovemapsdevelopers&utm_campaign=v2_deprecation_announcement_oct13#mig rating

I'm not a coder but will try working through this to see if I can get it back online. Seems like this will be a tedious process.

EvilLS1
12-03-2013, 06:43 PM
I glanced at Googles instructions for updating and it seems we'd need to get the new key and add it to the VBGoogleMaps settings, and then make some changes in the vbgooglemapme.php file as well as the "vbgooglemapme_display_map" template. I tried a few things but no luck so far.

My members love this mod too.. Hopefully Stony or someone else can get it fixed.

compunerdy
12-04-2013, 10:44 PM
I am not getting any errors at all and when I view the xml file it parses fine but my map is blank..

BGObsession
12-06-2013, 01:02 AM
I am not getting any errors at all and when I view the xml file it parses fine but my map is blank..

I think that's what we're all seeing - but obviously without the mod placing member location pins, it's useless.

Bryan Ex
12-08-2013, 04:50 PM
Do either of you have Java error reporting turned off? Error icon in IE bottom right for me. I updated my key to API V3, updated the bootstrap info to the new format and key, then went through all files changing the old G prefix to google.maps (ie: Gicon > google.maps.icon>. Thought I had it but still no joy. Still getting the following errors...


Message: Object expected
Line: 249
Char: 4
Code: 0

Message: 'google.maps.Event' is null or not an object
Line: 275
Char: 3
Code: 0

Message: Script error
Line: 0
Char: 0
Code: 0
URI: http://maps.gstatic.com/intl/en_ca/mapfiles/api-3/15/4/main.js


Message: Script error
Line: 0
Char: 0
Code: 0
URI: http://maps.gstatic.com/intl/en_ca/mapfiles/api-3/15/4/main.js


Message: Script error
Line: 0
Char: 0
Code: 0
URI: http://maps.gstatic.com/intl/en_ca/mapfiles/api-3/15/4/main.js

trotskid
01-04-2014, 03:41 PM
Still no solution?

BGObsession
01-05-2014, 04:32 PM
Apparently not. I honestly can't believe that vbulletin hasn't created this functionality as part of core package. There's probably not a forum out there that wouldn't use it. Wish I had the tech skills to figure this one out.

Bryan Ex
01-05-2014, 04:52 PM
I've farmed it out as a paid modification but the first developer didn't resolve it. Just hired a second coder to try. I know that doesn't help the free mod folks much but I need to get this working again given it's importance on my site.

BGObsession
01-07-2014, 01:49 AM
If he solves it for you, could you let me know - I will definitely pay to get it working again.

Bryan Ex
01-10-2014, 10:13 PM
If he solves it for you, could you let me know - I will definitely pay to get it working again.

PM me if you want contact info to get your map fixed and I'll fill you in.

BGObsession
01-11-2014, 11:35 PM
Thanks Bryan - pm sent.

BGObsession
01-22-2014, 12:52 PM
For any version 4.2 folks, a member here has worked through fixes for this mod and did a great job getting the member map back up and running on my 4.2.1 site. If you are interested in a fix, I would recommend you contact him. (https://vborg.vbsupport.ru/member.php?u=434604)

Falcon Capt
01-26-2014, 01:33 AM
I just spent the last couple days dealing directly with vBNinja (https://vborg.vbsupport.ru/member.php?u=434604), he fixed my vBMemberMap and got me back up and running, he was a pleasure to deal with and very accommodating!

Highly recommended! :)

BGObsession
01-26-2014, 04:35 AM
All hail vBNinja!

silverd
06-24-2014, 02:58 PM
I also have a fix available. Not the same fix as VBNinja's. PM for info.

(Me and a JS friend developed a fix at the same time as VBNinja, so two are now available)

ozzy47
06-24-2014, 09:29 PM
Ok, do why not share in the thread? Why need for a pm?

compunerdy
08-18-2014, 10:33 PM
VBninja wants $100 for the working version.. Anyone else have a reasonable priced one or a free fix?