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)

silurius 11-09-2005 10:26 PM

Hey Stony,

Have some additions for your roadmap. Are any of these even remotely doable for v1.0.4?
  • Tie one or more custom or standard user profile fields to VBGooglemap, such that users who specify, say, their zip code or longitude/latitude coordinates in their profile automatically show up on VBGooglemap
  • Tie one or more custom or standard calendar event fields in the same way, such that events that have locations defined show up in the map.
  • Allow for multiple VBGooglemaps, so that there could be customized views of events, users, or whatever else might come up (views, different map instances, whatever)
  • Driving directions to locations on the VBGooglemap
If I found away to do even one of the above, this extension would instantly jump up to killer app status on my forum.

stonyarc 11-09-2005 10:36 PM

Quote:

Originally Posted by silurius
Hey Stony,

Have some additions for your roadmap. Are any of these even remotely doable for v1.0.4?
  • Tie one or more custom or standard user profile fields to VBGooglemap, such that users who specify, say, their zip code or longitude/latitude coordinates in their profile automatically show up on VBGooglemap
  • Tie one or more custom or standard calendar event fields in the same way, such that events that have locations defined show up in the map.
  • Allow for multiple VBGooglemaps, so that there could be customized views of events, users, or whatever else might come up (views, different map instances, whatever)
  • Driving directions to locations on the VBGooglemap
If I found away to do even one of the above, this extension would instantly jump up to killer app status on my forum.

It's like you read my mind on the functions I want to integrate :smoke:

The multiple googlemaps are in the works (including image support) but it's a whole lot of work. Together with vbstatextended this is my first vbulletin mod.

Events and hotspots are already on the roadmap.

The zip code is a tricky one due to the international character. I could make it a custom one specific for the states, UK or canada if only Google would hurry with the detailed Europe maps.

Quote:

If I found away to do even one of the above, this extension would instantly jump up to killer app status on my forum
Not yet that status ?????? :devious: :devious:

stonyarc 11-09-2005 10:44 PM

All,

Version 1.0.3 is now online

Major Changes

The XML has no longer issues with special characters by adding a forced encoding statement. This was mainly an issue on Internet Explorer.

This makes the preparsing of the strings no longer needed. the only thing that is still captured is the ' ". The rest of special chars is allowed (encoding="ISO-8859-1") => performance is way better now so a lot of markers can be handled.

Some people got the error from an onload statement. The load of the maps is now done differently so that error should be gone.

I left 1.0.2 online to if you need to revert but I don't think so.

Please upgrade to the latest version

Sorry If I work that fast on the version but I want this to be a big App !!!!
I'll release on every milestone I reach so you'll have to keep up, sorry

JJR512 11-09-2005 11:16 PM

Quote:

Originally Posted by stonyarc
As you can see I entered my marker without any problem
http://www.jjr512.com/VBGooglemap.php?do=showmain

I'm afraid this might be a local setting problem. But I'll surely check to make sure.
BTW Version 1.0.3 is just around the corner.

/edit

I updated the version to 1.0.3. I think the error will be gone now.

* starts uploading the new version

I see that you did it OK.

However, I still cannot.

I suspected it was a local computer problem, as you do. However, I'm home now, and earlier I was at work. It's IE6 on both computers, but at work is Win98, and at home is WinXP. I get the exact same problem and error messages. I also upgraded to 1.0.3 and it didn't help. I've cleared my cache and restarted all browsers. I don't know what else to try.

JJR512 11-09-2005 11:24 PM

I know what the problem was.

When I originally loaded VBGooglemap.php (both at work and at home), and got the full-width map, I started playing around with the map, scrolling around and zooming in. Then I clicked the Your Entry button and started getting that error message. I checked the googlemap table in the database just now, and saw that there was an entry for me, with all data except latitude and longitude. I deleted my record and reloaded the page and clicked Your Entry, and now the page appears to work just fine.

So the problem is that if somebody starts playing with the map before clicking that button, apparently a partial record is created in the database. But then when the script loads that partial record, it's choking on not finding the data it's expecting to find.

The best fix I can think of is to not make a record in the database if all the data isn't there.

stonyarc 11-09-2005 11:43 PM

Quote:

Originally Posted by JJR512
I know what the problem was.

When I originally loaded VBGooglemap.php (both at work and at home), and got the full-width map, I started playing around with the map, scrolling around and zooming in. Then I clicked the Your Entry button and started getting that error message. I checked the googlemap table in the database just now, and saw that there was an entry for me, with all data except latitude and longitude. I deleted my record and reloaded the page and clicked Your Entry, and now the page appears to work just fine.

So the problem is that if somebody starts playing with the map before clicking that button, apparently a partial record is created in the database. But then when the script loads that partial record, it's choking on not finding the data it's expecting to find.

The best fix I can think of is to not make a record in the database if all the data isn't there.

Thanks for the catch. I'll build something to remedy the problem

dan35 11-09-2005 11:54 PM

Quote:

Originally Posted by stonyarc
Dan,

A member can delete that himself. Just click your location, check the delete function and click update location.

There is no admin delete yet. So as admin go the googlemap table and remove the entry or use the backend function to login as user.

Thank you, Stonyarc :)

Installed 1.0.3

silurius 11-10-2005 12:26 AM

Quote:

Originally Posted by stonyarc
The multiple googlemaps are in the works (including image support) but it's a whole lot of work. Together with vbstatextended this is my first vbulletin mod.

This actually ranks lowest on my list but would be a "nice to have".

Quote:

Events and hotspots are already on the roadmap.
Oh OK, must have missed that.

Quote:

The zip code is a tricky one due to the international character. I could make it a custom one specific for the states, UK or canada if only Google would hurry with the detailed Europe maps.
Longitude/latitude would be a nice fallback for this, but I suspect most users would have no idea.

Quote:

Quote:

Originally Posted by silurius
If I found away to do even one of the above, this extension would instantly jump up to killer app status on my forum

Not yet that status ?????? :devious: :devious:
Er, it certainly is from my perspective I should have said! I'm just noticing that a lot of people don't input their info, and so the map has the appearance of being under-utilized at this stage.

Quote:

Originally Posted by stonyarc
All,

Version 1.0.3 is now online

Major Changes
...

Works beautifully so far, thanks for the update!

reteep 11-10-2005 07:29 AM

Thanks holmes, update ran through fine!

TygerTyger 11-10-2005 07:43 AM

Upgrade worked fine for me. If zipcodes/postcodes were to be implemented I'd prefer them to be optional, as the databases are very sizable and if you can stick a pin in where you want they're not really necessary.

Aside from member avatars showing up in the boxes (or even custom images) and admin functions I'm happy as it is.


All times are GMT. The time now is 05:09 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.02555 seconds
  • Memory Usage 1,757KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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