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)

magnus 03-13-2007 11:41 AM

Quote:

Originally Posted by Tralala (Post 1201625)
And when I create a third map in a thread, it has three markers on it... it's as if all of the maps reference the maps that come before it on the same page.

I also noticed I could not include two maps in single post... it only displays the last one. I tested with multiple refreshes.

Hrm. I can tell what's happening, but for the life of me I cannot figure out why. As mentioned before, I'm working on a different handling system for the [map] tag. I had to 'tweak' things to make them fit within BBcode standards, which I wasn't happy about.

magnus 03-13-2007 11:41 AM

Quote:

Originally Posted by Darat (Post 1201492)
I'm having the same type of problems as Tralala, I can let you have access to my devforum if you want to check it out.

Just out of curiosity, are you using PHP4, too?

Tralala 03-13-2007 03:56 PM

Quote:

Originally Posted by magnus (Post 1202444)
Hrm. I'm using PHP5. I wonder..

I'm going to try downgrading.

Thanks for the continued work, magnus. I certainly appreciate it as this mod looks like it'd be a great addition to my forum.

ThePiston 03-13-2007 04:03 PM

this would be perfect for my new site www.googlemapsforum.com but alas I have same problem - no map, just blank space. I use dreamhost and I uploaded the new php file, sill all white :(

Tralala 03-13-2007 04:28 PM

Quote:

Originally Posted by ThePiston (Post 1202614)
this would be perfect for my new site www.googlemapsforum.com but alas I have same problem - no map, just blank space. I use dreamhost and I uploaded the new php file, sill all white :(

Just FYI, the map doesn't show up via an AJAX QuickReply or QuickEdit... but it does if you refresh the page. Did you try that?

magnus 03-13-2007 05:15 PM

Ok, we're getting somewhere. Just need to clean up the code and package it. I've eliminated the need for an external file (functions_phoogle.php). I'm also using the default vB_XML_Parser() class instead of using my own.

A few minutes more of testing, and I'll upload it.

One thing to note is I've changed the way multiple points are added to the map. No longer will separate [map][/map] tags per post work. The new format is:

Code:

[map=Point 1;Point 2]Address 1;Address 2[/map]
Not sure how friendly that is.. so, unless someone has a better idea? :P

ThePiston 03-13-2007 05:21 PM

Quote:

Originally Posted by Tralala (Post 1202632)
Just FYI, the map doesn't show up via an AJAX QuickReply or QuickEdit... but it does if you refresh the page. Did you try that?

yep, tried that... i have another google map mod that does come up so the key is right.

lightmajestic 03-13-2007 05:47 PM

I have the same issue with the blank square. Let me know if you need to see any of my settings etc. I'd love to use this.

cheers
Rick

magnus 03-13-2007 07:14 PM

Update:
v1.1.0
  • Eliminated need for functions_phoogle.php
  • Modified way [map] tags are parsed
  • Moved previously static html to templates
  • Changed way multiple locations per posts is defined (separated by ;)
  • Added check for cURL() if not, uses file_get_contents()

[hr]-[/hr]
If you are upgrading you may delete the functions_phoogle.php uploaded previously to your /forum/includes/ directory as it is no longer needed.

Remember, if you're having problems please read this post first!

magnus 03-13-2007 07:29 PM

Quote:

Originally Posted by bela-meaad (Post 1200679)
why can`t we use
latitude & longitude
as Value?

isn`t good idea?

Thanks

I'll add it in the next release once I'm sure the basic framework is working across multiple installs.


All times are GMT. The time now is 03:14 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.01193 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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