vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=99920)

GuaRRand 11-03-2005 07:35 PM

Quote:

Originally Posted by stonyarc
Because they have a large zipcode / L&L database behind it.

http://earth-info.nga.mil/gns/html/cntry_files.html this one has about all zipcodes and locations in the world except US.

I could mix up a super global DB for the zipcodes but than it would be very hard on diskspace and your database server if you don't have enough performance in there.

I got no probs with that :D
Throw it in there!! :)
(or maybe make a lite and full version!?!?)

DJ XtAzY 11-03-2005 09:12 PM

does running this hack have a high server load?

TTG 11-03-2005 09:49 PM

Was working well for a few hours .. 7 members added their info and all disappeared !?

banshee 11-03-2005 10:07 PM

Quote:

Originally Posted by bitg
I am having the same color issues in my vbgooglemap. white on white text.

Can you help?

Me to how can I add in the Font color to make the bubbles text darker?

stonyarc 11-03-2005 10:29 PM

Quote:

Originally Posted by TTG
Was working well for a few hours .. 7 members added their info and all disappeared !?

TTG,
Can you please put a URL?
It's probably a data problem in the text field

/Edit

TTG,

It's the users Stevie Jay that is causing the problem he posted in his text field ?.

This is a non escaped character. Quick fix edit the googlemap table and remove the special character from name and text.

I'll modify the escape code.

stonyarc 11-03-2005 10:30 PM

Quote:

Originally Posted by banshee
Me to how can I add in the Font color to make the bubbles text darker?

I'll drop in a how to

TTG 11-03-2005 10:33 PM

Quote:

Originally Posted by stonyarc
TTG,

Can you please put a URL?

It's probably a data problem in the text field

Clicky here


Thanks stonyarc .. problem now solved.

Colejo 11-03-2005 10:34 PM

Quote:

Originally Posted by stonyarc
Any tips on fixing that are welcome.

I know someone has to know how to do this. Anyone?

stonyarc 11-03-2005 11:25 PM

Minor update for people with the DocumentElement Error

This is most of the time caused by a user that has used very special characters in the text file. I'm working on a full check but there are a lot of them like ? and many others.

Special Characters in text => STATUS IN PROGRESS, I CHANGED THE STR_REPLACE WITH A BROADER ONE TO HANDLE MORE SPECIAL CHARACTERS SO THE RISK OF FAILING BECAUSE OF SPEC CHARS IS ALMOST RESOLVED => Download and overwrite VBGooglemap.php

Remember this is still a beta but it's going quite well I think

stonyarc 11-03-2005 11:41 PM

Quote:

Originally Posted by banshee
Me to how can I add in the Font color to make the bubbles text darker?

Ok here it goes

To edit the color of the text displayed in the balloon

Go to the VBGooglemap_display_map template
(It also occurs in the other templates but it's currently not used YET)

look for

Code:

               
if ( (type=="yellow") || (type=="red") ){
title = "<a href='/'>"+ title +"</a>";
}
var content = "<div align=\"center\"><strong>"+title +"</strong></div>" + "<hr width=\"100\"/><div align=\"left\" style=\"width: 20em\">" + text +"</div>";

and change this to

Code:

               
if ( (type=="yellow") || (type=="red") ){
title = "<a href='/'><font color='#000000'>"+ title +"</font></a>";
}
var content = "<div align=\"center\"><strong><font color='#000000'>"+title +"</font></strong></div>" + "<hr width=\"100\"/><div align=\"left\" style=\"width: 20em\"><font color='#000000'>" + text +"</font></div>";

You can change the #000000 to anything you like

I'll make the font color a admincp option to add. This should make life easier for some.


All times are GMT. The time now is 02:51 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.02286 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)bbcode_code_printable
  • (7)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