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)

Mrdby 10-28-2007 01:21 PM

someone fix this hack.

caliman 10-29-2007 04:11 AM

Quote:

Originally Posted by Ambassador (Post 1370320)
change this line in /includes/functions_vbgooglemapme.php
// $db->query_first("SET NAMES 'utf8'");

and in /includes/cron/vbgooglemapme_cron.php
// $vbulletin->db->query_first("SET NAMES 'utf8'");


Mine looks just like that. What do I change it too?

Ambassador 10-29-2007 08:55 PM

Quote:

Originally Posted by caliman (Post 1370860)
Mine looks just like that. What do I change it too?

change
PHP Code:

$db->query_first("SET NAMES 'utf8'"); 

to
PHP Code:

$db->query_first("SET NAMES 'utf8'"); 

or remove this two line

change in /includes/cron/vbgooglemapme_cron.php
PHP Code:

$text_file "<"."?"."xml version=\"1.0\" encoding=\"UTF-8\"""?"."><markers>\n"

to
PHP Code:

$text_file "<"."?"."xml version=\"1.0\" encoding=\"ISO-8859-1\"""?"."><markers>\n"

this work

rotor 10-30-2007 09:07 PM

I'd like a custom map made for my site ......

Stonyarc if you could either email or PM me I'd be very appreciative ....

rotor

darkakira 11-01-2007 04:43 PM

Ok. I keep reading and reading, and there is nothing I have seen yet to answer me, so I'm posting.

Heres the Deal.

I install the mod. I set permissions to marker.xml, i check the files, I generated my google API key for my domain, set the API number in settings, added cron job.

Heres the issue. NO MAP! Nothing. Like... white space when I browse to the page. I don't know why, but it is irritating. I am running vb 3.6.8. Any help would be nice.

TSM2 11-01-2007 05:45 PM

There seems to be some problem pulling the settings into the template, im having the same problem as you.

TSM2 11-01-2007 06:26 PM

Ok, on line 64 of vbgooglemapme.php, comment the line out.
Code:

$vbulletin->vbgooglemapme = unserialize($vbulletin->vbgooglemapme);
For some reason you dont need to unserialise the data. Dunt know why, im not good in vb but seems its not needed.

darkdiver 11-03-2007 08:02 AM

Hello folks,

now we are more and more users to have BIG PROBLEMS with Highslide and Googlemaps. So is there no help for us ?

Regards
Eric

birdie 11-03-2007 09:49 PM

We have installed it - working perfectly!

One thing I would like to change and can not see how to do it. In the general settings, I have set the default zoom of map to 1. I have set the Default zoom of the maps when using a link to show the marker to 6. When you click 'Show on map' from the list of users who have added a marker, the zoom of the map does go to 6 (great).

I have encouraged users to use the BB code that is generated to add 'My Location' to their signatures. When you click on the 'My Location' link in user signatures, it goes to the map with a zoom of 1 (not great) and you can not see which marker it was. I would like it to go to the default zoom of 6.

Any ideas on how to change it to a 6 when they click on 'My Location'.

BTW - this is an awesome mod --- the few users that have set markers are enjoying it and it makes them engage more with the site and helps build the sense of 'community'.

Added:
I can do it manually, by getting the user to change the 1 to a 6 in the BB code they paste into their signature (I can also do it via user profile in AdminCP).

caliman 11-04-2007 01:21 AM

Quote:

Originally Posted by Ambassador (Post 1371442)
change
PHP Code:

$db->query_first("SET NAMES 'utf8'"); 

to
PHP Code:

$db->query_first("SET NAMES 'utf8'"); 

or remove this two line

change in /includes/cron/vbgooglemapme_cron.php
PHP Code:

$text_file "<"."?"."xml version=\"1.0\" encoding=\"UTF-8\"""?"."><markers>\n"

to
PHP Code:

$text_file "<"."?"."xml version=\"1.0\" encoding=\"ISO-8859-1\"""?"."><markers>\n"

this work

Thanks buddy!


All times are GMT. The time now is 05:01 AM.

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.01995 seconds
  • Memory Usage 1,758KB
  • 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
  • (1)bbcode_code_printable
  • (8)bbcode_php_printable
  • (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