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)

vwdforum 09-27-2009 07:03 PM

Quote:

Originally Posted by 4bidden (Post 1390087)
I killed the image tab all together and fixed the display issue that had to do with the small overview map.

See working version here - http://www.arizonaquads.com/forum/vbgooglemapme.php

For now, if you don't have any image problems (invalid chars such as &) but still your map is broken, try this.

In vbgooglemapme.php, find this on line 107
Code:

$smallmapcontrol = "
        map.addControl(new GOverviewMapControl(new GSize(150,150)));
        var overview = document.getElementById(\"memap_overview\");
        document.getElementById(\"memap\").appendChild(overview);";

and replace with this
Code:

$smallmapcontrol = "
        map.addControl(new GOverviewMapControl(new GSize(150,150)));";

That kept the small overview map and fixed the display issue.

I'll post back tomorrow how to remove all the info about images if people want.

Could you explain how to remove the image tab in the bubble?

vwdforum 09-27-2009 07:45 PM

www.vbulletin.org vBGooglemap Member Edition

"Location" in postbit

Insert avatar cron script and let the displaygroupid determine the map pin color

problem: only zooms to 10

"return here" phrase correction

dhtml member menu in postbit

img breaks load (just disable) no zoom on detail still

the ability to upload multiple waypoints?

I see were Google added a new Marker Manager Control!
This will allow you to reduce the markers as needed with zoom levels
.

$smallmapcontrol = (fix?)

is there some way to set 5 location per user ?

IMG MARKER FIX

Some feature requests / proposals:
Mousewheel zooming
Mousing over only pops up usernames instead of full-scale info balloons
Ability to select terrain

ZOOM?

To fix this SET NAMES error (to choose "Terrain" as a default map type: NEXT POST)

a single user that can add multiple links on there(?)

CORRECTIONS ZIP?

Is anyone else here willing to tell us their experiences with vbGoogleMap on 3.8.0 or 3.8.1?

eh69 10-02-2009 06:01 PM

any1 can sent me eng file?

i want translate this mod to polish.

papabear99 10-09-2009 06:41 PM

I very much like this function and it seems that we are aboot to ditch AME as well and purchase the Passive Video product

Quote:

Originally Posted by vwdforum (Post 1891256)
thanks, I've done what you've said, and not it works, bye bye AME!


accludetuner 10-26-2009 04:49 AM

working great on 3.8.4

Thank you!

GoTTi 10-27-2009 08:37 PM

Quote:

Originally Posted by ZeroHour (Post 1456251)
Right I have my first fix. I will be editing this post with future changes so you can refer back to it and bookmark it by clicking the post number to the right.

Fix for no markers shown:

Edit:

/includes/functions_vbgooglemapme.php:

Goto line 49 which should start:
PHP Code:

$text_file .= "<marker mapid=\" 

Replace that line with:
PHP Code:

$text_file .= "<marker mapid=\""htmlspecialchars($get_xml_marker["mapid"])."\"  title_map=\"".htmlspecialchars($get_xml_marker["title_map"])."\" lng=\"".htmlspecialchars($get_xml_marker["lng"])."\" lat=\"".htmlspecialchars($get_xml_marker["lat"])."\" userid=\"".htmlspecialchars($get_xml_marker["userid"])."\" username=\"".preg_replace("/\n|\r\n|\r/""",nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/"""nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["text_map"])))))."\" type=\"".htmlspecialchars($gettype['googlemapmetype'])."\" pimage=\"".htmlspecialchars($pimage)."\" />\n"


/includes/cron/vbgooglemapme_cron.php:

Goto line 58 which should start:
PHP Code:

$text_file .= "<marker mapid=\" 

Replace that line with:
PHP Code:

$text_file .= "<marker mapid=\"".htmlspecialchars($get_xml_marker["mapid"])."\"  title_map=\"".htmlspecialchars($get_xml_marker["title_map"])."\" lng=\"".htmlspecialchars($get_xml_marker["lng"])."\" lat=\"".htmlspecialchars($get_xml_marker["lat"])."\" userid=\"".htmlspecialchars($get_xml_marker["userid"])."\" username=\"".preg_replace("/\n|\r\n|\r/""",nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["username"])))))."\" text_map=\"".preg_replace("/\n|\r\n|\r/"""nl2br(addslashes(htmlspecialchars(trim($get_xml_marker["text_map"])))))."\" type=\"".htmlspecialchars($gettype['googlemapmetype'])."\" pimage=\"".htmlspecialchars($pimage)."\" />\n"

Run the scheduled task and your markers should return.
Basically I have modified the code to replace things like "&" with the xml safe "&amp;" so no matter what anyone enters for the fields the xml should still be safe.

More tweaks to come including integration of the display groups being marker colour.

that is not working

GoTTi 10-27-2009 08:52 PM

im not able to show any entered data. i entered the location for myself and its not loading on the map. what am i missing?

SorentoUltimate 10-31-2009 08:49 PM

Hello,

i need your help,

when i turn 'Enable or disable the small map control (disable for better performance)' enablei have problem, the map appear but no markers(see attached screenshot).
also i need your help to create a profile tab with the location of the user to the map

SorentoUltimate 11-08-2009 06:41 AM

Hello,

I need your help to create a profile tab with the location of the user to the map.
Can anyone allready make that?
If no, can anyone help to do that?

Thanks In Advance
SorentoUltimate

ivand 11-16-2009 08:17 PM

Quote:

Originally Posted by vwdforum (Post 1891036)
Hi Guys.

I've noticed the pins do not appear on vbgooglemaps if I have AME - The Automatic Media Embeder 2.5.5 enabled.

If I disable AME

Any idea how to fix this issue?

Thanks Mally

Hi, here is my simple fix for getting VBgooglemaps working when AME 2.5.5 is installed.

Go to the Plugin Manager and edit the "AME : Permission Hide" plugin (global_start).

Add in the beginning of the plugin code the following code:
Code:

if (THIS_SCRIPT != 'vbgooglemapme') {
At the end of the plugin code add a closing "}"

that's it


All times are GMT. The time now is 04:55 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.02162 seconds
  • Memory Usage 1,774KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (4)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