vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Interactive Google Maps In Post (https://vborg.vbsupport.ru/showthread.php?t=235625)

Videx 01-23-2011 12:07 PM

FWIW, I finally got around to using Bing maps by changing the src line (the Google road names are still incorrect in my area). But I can't figure out how to automatically close the task area on the left. Oh well, this should hold me until Google gets around to correcting their map.
Quote:

"http://www.bing.com/maps/default.aspx?encType=1&where1={param}&output=embed "

BirdOPrey5 01-23-2011 12:47 PM

Just an fyi the "&output=embed" is just being ignored by Bing Maps, they don't have that option best I can tell. You are embedding the real Bing Maps page, the same one if you just went to the link.

The way to make Bing maps embedded is here: http://www.microsoft.com/maps/isdk/ajax/
But its complicated Javascript and only works based on latitude/longitude... there is no way to put a street address ans get and embedded map.

myke2008 01-30-2011 06:49 PM

Is there a way to stop the map from showing in the resent forums post widget?

Videx 01-30-2011 10:41 PM

Odd, my Recent Posts widget doesn't show the contents of the post, only the thread name and some other info. I think I'm using the built in one. Is this some modified widget? Do you have a link?

myke2008 02-01-2011 09:18 PM

I just avoid using this mod in the forum, I wanted to use it in the articles mostly anyway. I will just have to remove it if I can't find a way to block it out of the widget or a way to set permissions on it.

Videx 02-01-2011 11:41 PM

If you completely ignore questions then nobody can be of any help.

myke2008 02-03-2011 12:18 PM

Quote:

Originally Posted by Videx (Post 2157599)
If you completely ignore questions then nobody can be of any help.

was not ignoring you, as I said I am no longer using it on the forums, so if I gave you a link (the site is not live yet) it would not do any good anyway. I don't want to leave a huge google map skewed off the side of the page and bulging out the side of the resent posts widget, because it looks like sh*t.

This is a brand new install of vb 4.1.1 and this mod is basically the only mod that is installed.

The real question is, is there a way to set permissions on this or some how prevent the maps from showing in the resent posts widget? Maybe there is some way to stop it from being used in the forums? or prevent registered users from using it?

BirdOPrey5 02-03-2011 12:37 PM

Quote:

Originally Posted by myke2008 (Post 2158194)
was not ignoring you, as I said I am no longer using it on the forums, so if I gave you a link (the site is not live yet) it would not do any good anyway. I don't want to leave a huge google map skewed off the side of the page and bulging out the side of the resent posts widget, because it looks like sh*t.

This is a brand new install of vb 4.1.1 and this mod is basically the only mod that is installed.

The real question is, is there a way to set permissions on this or some how prevent the maps from showing in the resent posts widget? Maybe there is some way to stop it from being used in the forums? or prevent registered users from using it?

There is a mod "Advanced BBCode Permissions" for 3.x that still works fine on 4.x and allows you to enable or disable each BB Code per usergroup.

https://vborg.vbsupport.ru/showthread.php?t=122942

Videx 02-03-2011 02:23 PM

But if you disable everyone's permission to see the map bbcode, then what would be the point of using it?

I'm still not understanding why your Recent Posts widget shows entire posts and not just summaries like mine does. It seems to me that with the limited space in a sidebar you'll quickly fill the widget with a single post, making it useless.

Also, articles shouldn't be showing up in Recent Posts anyway, but that's a different subject entirely.

morrow 02-04-2011 02:19 AM

Is there a way I can create a widget for this for the CMS? See... I'd like to be able to add pinpoints and stuff to a google map. For example... I have a New York page. Within the NY page, I have say 6 restaurants and 2 pizza places. I'd like to have all of these displayed within a widget.

Thanks


All times are GMT. The time now is 01:06 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.01223 seconds
  • Memory Usage 1,740KB
  • 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
  • (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