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)
-   -   New Posting Features - Phoogle! An interactive Google Maps mapping system. (https://vborg.vbsupport.ru/showthread.php?t=141584)

ThePiston 03-13-2007 07:48 PM

worked on this build when it didn't work before: http://googlemapsforum.com/showthread.php?p=5#post5 good job! I can't post the example code though - how can I post the "how to" without making the code create maps?

magnus 03-13-2007 07:52 PM

vBulletin, by default, has [noparse][/noparse] BBCode. Simply encase the example within those tags.

Example:
  • [noparse][b]This is bold[/b][/noparse]
Code:

[b]This is bold[/b]

The plugin also adds an example to the BBcode help page @ /misc.php?do=bbcode -- I will be adding a editor button once I'm sure the framework is stable. :P

Glad to hear it's working!

ThePiston 03-13-2007 07:58 PM

one problem, this is what I get in the popup window: "Array['passedAddress']}"

magnus 03-13-2007 08:05 PM

Quote:

Originally Posted by ThePiston (Post 1202771)
one problem, this is what I get in the popup window: "Array['passedAddress']}"

What popup window?

ThePiston 03-13-2007 08:09 PM

my bad, it works, sorry

magnus 03-13-2007 08:11 PM

Actually, I found what you're talking about. I missed a brace.

In your phoogle_mapcodebits template:

FIND
HTML Code:

marker{$g}{$post['postid']}.openInfoWindowHtml("$validPoints[$g]['passedAddress']}");
REPLACE WITH
HTML Code:

marker{$g}{$post['postid']}.openInfoWindowHtml("{$validPoints[$g]['passedAddress']}");
I've updated the .xml in the original post. This would only rear it's head if you didn't pass a title to the marker.

Woops! :P

bashy 03-13-2007 08:31 PM

Now theres no blank map but it shows
[map]1600 Pennsylvania Avenue NW, Washington, DC 20500[/map]

ThePiston 03-13-2007 08:32 PM

where do i find "phoogle_mapcodebits template" ?
**edit** NM, i did a search in templates, found it, thanks

magnus 03-13-2007 08:34 PM

Quote:

Originally Posted by ThePiston (Post 1202794)
where do i find "phoogle_mapcodebits template" ?

AdminCP > Style Manager > [Your Style] > Phoogle Templates

magnus 03-13-2007 08:36 PM

Quote:

Originally Posted by bashy (Post 1202792)
Now theres no blank map but it shows
[map]1600 Pennsylvania Avenue NW, Washington, DC 20500[/map]

Need this information


All times are GMT. The time now is 09:15 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.01133 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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