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)

bigtomisin 04-12-2006 05:39 AM

link? well this is the link to the map on the forum but all the user groups are set to no http://detourproduction.com/forum/vbgooglemap.php

bigtomisin 04-12-2006 05:43 AM

here is the error that comes up

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

bigtomisin 04-12-2006 06:21 AM

ok finally got it fixed. thx for the help.

stonyarc 04-12-2006 06:48 AM

Quote:

Originally Posted by bigtomisin
ok finally got it fixed. thx for the help.

Great, Enjoy !!!!

Cajun 04-12-2006 10:12 AM

Quote:

Originally Posted by stonyarc
Make sure you run it on the forum.

Can you post an accessible link so I can check?

I have it in the forums and not vba. Here is the link:

http://www.dccombat.com/dccombatvb/vbgooglemap.php

and my test site:

http://www.digital1network.com/testf...bgooglemap.php

Andy R 04-12-2006 12:51 PM

I just upgraded to v 2.0.1 but get a JavaScript error. You can see the error at this page:
http://www.airstreamforums.com/forums/vbgooglemap.php

I checked all my templates and none of them have been changed....

stonyarc 04-12-2006 03:44 PM

Quote:

Originally Posted by Andy R
I just upgraded to v 2.0.1 but get a JavaScript error. You can see the error at this page:
http://www.airstreamforums.com/forums/vbgooglemap.php

I checked all my templates and none of them have been changed....

YES you did change it

Code:

title = "<a rel="nofollow" class=gmlink href='member.php?u="+ userid +"'>"+ title +"</a>";
isn't correct please revert the templates or write the correct code !!

Code:

title = "<a rel=\"nofollow\" class=gmlink href='member.php?u="+ userid +"'>"+ title +"</a>";

stonyarc 04-12-2006 03:58 PM

Quote:

Originally Posted by Cajun
I have it in the forums and not vba. Here is the link:

http://www.dccombat.com/dccombatvb/vbgooglemap.php

and my test site:

http://www.digital1network.com/testf...bgooglemap.php

Did you always have the error ?

The error is on the read markers line

Did you change the write permissions to 777?

Cajun 04-12-2006 04:18 PM

Quote:

Originally Posted by stonyarc
Did you always have the error ?

The error is on the read markers line

Did you change the write permissions to 777?

Yes to all.

Andy R 04-12-2006 04:46 PM

Quote:

Originally Posted by stonyarc
YES you did change it

Ok, thanks for spotting the problem. It was not the template but actually vBSEO that has an option for the following
Quote:

Relnofollow ALL Dynamic Pages
Enable this option to prevent search engines from following ALL dynamic links. Some examples are: 'Post Reply' links, 'Quote' links and 'Quick Reply' or 'Search' links. These pages have non-relevant (or "noise") content which should not be indexed by search engines , resulting in better SEO.
Once I disabled that option then the JavaScript error was gone and everything is working great! Thanks!

stonyarc 04-12-2006 04:46 PM

Quote:

Originally Posted by Cajun
Yes to all.

Can you try disabling the pager function?

I used your exact javascript code and it works.

bashy 04-12-2006 05:47 PM

Quote:

Originally Posted by stonyarc
Did you revert all 4 templates?

I would if the option was highlighted :(

I still have that popup showing :(

Me is lost :(

bigtomisin 04-12-2006 06:14 PM

i cant see the map after i installed it. i reverted the templates an still cant see it.

stonyarc 04-12-2006 06:58 PM

Quote:

Originally Posted by bigtomisin
i cant see the map after i installed it. i reverted the templates an still cant see it.

Please post a link so I can check.

This is way too few information to identify (TIP FOR ALL)

bigtomisin 04-12-2006 08:04 PM

<a href="http://detourproduction.com/forum/vbgooglemap.php" target="_blank">http://detourproduction.com/forum/vbgooglemap.php</a>

also how do i reduce the width of the map once i get it up?

stonyarc 04-12-2006 08:14 PM

Quote:

Originally Posted by bigtomisin
http://detourproduction.com/forum/vbgooglemap.php

also how do i reduce the width of the map once i get it up?

In the vbgooglemap_display_map

Code:

          <!-- map -->
                  <div width="800px">
               
                               
               
                <fieldset style="width:800px">

To the width you want

and


Quote:

<div id="map" style="width: 800px; height: 400px;"></div>
to

Code:

<div id="map" style="width: 550px; height: 275px;"></div>
That should fix that.

Don't forget to click install !!!!

gavinzac 04-12-2006 08:32 PM

[high]* gavinzac sighs
[/high]

this was working fine yesterday but i've upgraded and now its giving me the "this API key was registered for somewhere else" error.
the key i'm using is for http://www.speakout.biz/forum .
the link to my google map is http://www.speakout.biz/forum/VBGooglemap.php

i've also tried registering a key just for www.speakout.biz but that doesnt work either.

stonyarc 04-12-2006 08:36 PM

All,

A little sample of things to come in 2.0.2

http://www.xboxusersgroup.com/images/sample02.jpg

This includes
- list pages for the members on the map with pagination
- tab support in the balloon
- !!!!!!!!!!! DIRECT LINK TO YOUR LOCATION !!!!!!!!!!!

This means users will be able to add a link to their signature, profile or somewhere else that will bring the one that clicks directly to the map with the set zoomlevel and the location of the user.

(This feature will be added to the 2.0.2 but is in fact intended for the hotspot edition).

stonyarc 04-12-2006 08:37 PM

Quote:

Originally Posted by gavinzac
[high]* gavinzac sighs
[/high]

this was working fine yesterday but i've upgraded and now its giving me the "this API key was registered for somewhere else" error.
the key i'm using is for http://www.speakout.biz/forum .
the link to my google map is http://www.speakout.biz/forum/VBGooglemap.php

i've also tried registering a key just for www.speakout.biz but that doesnt work either.

Gavin,

The link should be http://www.speakout.biz/forum/vbgooglemap.php lower case because that has changed.

It should work fine after you change that. (it's indicated in the pdf)

Tyegurl 04-12-2006 08:45 PM

Quote:

Originally Posted by stonyarc
All,

A little sample of things to come in 2.0.2

http://www.xboxusersgroup.com/images/sample02.jpg

This includes
- list pages for the members on the map with pagination
- tab support in the balloon
- !!!!!!!!!!! DIRECT LINK TO YOUR LOCATION !!!!!!!!!!!

This means users will be able to add a link to their signature, profile or somewhere else that will bring the one that clicks directly to the map with the set zoomlevel and the location of the user.

(This feature will be added to the 2.0.2 but is in fact intended for the hotspot edition).


nice ideas!!! i like them a lot!

stonyarc 04-12-2006 08:46 PM

Quote:

Originally Posted by Tyegurl
nice ideas!!! i like them a lot!


Those aren't ideas anymore: They are working !! :)

bashy 04-12-2006 08:50 PM

After seeing mateys post with regards to the same issue and then seeing your reply Stony, I have now sorted mine, I didnt quite understand about the VBGooglemap.php untill i see there was 2 of them on the ftp.....I edited the link and all is well, Thanks Stony :)

I take it i can remove the VBGooglemap.php one?

bigtomisin 04-12-2006 08:50 PM

that fixed the size but it still didnt show up on the sreen

stonyarc 04-12-2006 08:54 PM

Quote:

Originally Posted by bashy
After seeing mateys post with regards to the same issue and then seeing your reply Stony, I have now sorted mine, I didnt quite understand about the VBGooglemap.php untill i see there was 2 of them on the ftp.....I edited the link and all is well, Thanks Stony :)

I take it i can remove the VBGooglemap.php one?

Go for the kill :cool:

bashy 04-12-2006 08:56 PM

Cheers m8....Great improvement...I take it our avatars aint gonna work though pmsl...

gavinzac 04-12-2006 08:59 PM

Quote:

Originally Posted by stonyarc
Gavin,

The link should be http://www.speakout.biz/forum/vbgooglemap.php lower case because that has changed.

It should work fine after you change that. (it's indicated in the pdf)

oh, excellent, thanks. i hadnt realised, i set the FTP to overwrite everything.

stonyarc 04-12-2006 09:02 PM

Quote:

Originally Posted by bigtomisin
that fixed the size but it still didnt show up on the sreen

Your problem is being caused by


Code:

<body onload="javascript:GetPos()">
As the googlemap requires an onload done by window.onload=Load_Map

These come into conflict as only one can be loaded.

I think it's the menu cookie from mkp

gavinzac 04-12-2006 09:16 PM

sorry to be a pain
http://www.speakout.biz/forum/vbgooglemap.php
it doesnt seem to want to come up for me. permission problems? it should be, because i have admins allowed to see teh map.

Lance Carbuncle 04-12-2006 09:37 PM

Quote:

Originally Posted by stonyarc
All,

A little sample of things to come in 2.0.2

http://www.xboxusersgroup.com/images/sample02.jpg

This includes
- list pages for the members on the map with pagination
- tab support in the balloon
- !!!!!!!!!!! DIRECT LINK TO YOUR LOCATION !!!!!!!!!!!

This means users will be able to add a link to their signature, profile or somewhere else that will bring the one that clicks directly to the map with the set zoomlevel and the location of the user.

(This feature will be added to the 2.0.2 but is in fact intended for the hotspot edition).

Wow! I am thrilled to know I was able to make a contribution by planting the seed for this idea! ........ Of course you expanded on it beyond my vision! :up:

Having this cross-reference ability is really going to add quite a bit of functionality to this already awesome hack! Having the ability to link directly to hotspots in threads and have them in a list will be insane!

So am I correct that the hotspot edition will be a separate map that we can run on the same vb install? it would be nice to not have them cluttered with all the member markers.

Thanks again for this great community tool. I am organizing a symposium, and my users are using it to figure out carpools and group transportation by looking at where others are on the map!

Lance

stonyarc 04-12-2006 10:17 PM

Great ideas deserve credit Lance.


The hotspot version will of course not influence the member version. No interaction is planned.

As you can expect I'm integrating some of the features of the hotspot version directly in the member versions as they are of a true added value.

Look at the screenshots for more :banana: :banana:


http://www.xboxusersgroup.com/images/sample02.jpg
http://www.xboxusersgroup.com/images/sample03.jpg

MrNase 04-12-2006 10:34 PM

Quote:

Originally Posted by stonyarc
All,

A little sample of things to come in 2.0.2

http://www.xboxusersgroup.com/images/sample02.jpg

This includes
- list pages for the members on the map with pagination
- tab support in the balloon
- !!!!!!!!!!! DIRECT LINK TO YOUR LOCATION !!!!!!!!!!!

This means users will be able to add a link to their signature, profile or somewhere else that will bring the one that clicks directly to the map with the set zoomlevel and the location of the user.

(This feature will be added to the 2.0.2 but is in fact intended for the hotspot edition).

Is the online thing we've talked about also coming or do you plan to release it later? :)

Cajun 04-12-2006 10:55 PM

Quote:

Originally Posted by stonyarc
Can you try disabling the pager function?

I used your exact javascript code and it works.

Ok I turned off the pager system and still have the problem.

stonyarc 04-12-2006 10:57 PM

Quote:

Originally Posted by MrNase
Is the online thing we've talked about also coming or do you plan to release it later? :)

Why do you think I build in TAB support ;)

stonyarc 04-12-2006 11:13 PM

Quote:

Originally Posted by Cajun
Ok I turned off the pager system and still have the problem.

Cajun the error doesn't make any sense.

He's looking for the marker in the XML but as you can see in the markers.xml its all there

The only thing out of the ordinary that I see is

Code:

<link rel="alternate" type="application/rss+xml" title="DC Forums Home RSS Feed" href="external.php?type=RSS" />
Can you please disable to test ? It might be causing the effect on the xml because it's in the xml get function

Cajun 04-12-2006 11:26 PM

Quote:

Originally Posted by stonyarc
Cajun the error doesn't make any sense.

He's looking for the marker in the XML but as you can see in the markers.xml its all there

The only thing out of the ordinary that I see is

Code:

<link rel="alternate" type="application/rss+xml" title="DC Forums Home RSS Feed" href="external.php?type=RSS" />
Can you please disable to test ? It might be causing the effect on the xml because it's in the xml get function


Its off and same thing.

Tyegurl 04-13-2006 03:21 AM

stonyarc...can i ask a silly question lol i know i just did but really...

lets say i don't use super mods (cuz i don't) is there a way to change that pin name and usergroup to something else? like event? or would i have to change the usergroup to a useage at all? i guess i would seeing as there are no supermods....well unless i add myself to it....but that would interfere with my location right?

do you understand what i want to do? think there is a way to do it? i don't want to have 2 googlemaps...

guess i could set up another dummy user lol so to speak....

Gizmo999 04-13-2006 10:59 AM

I can't get it to overwrite the old product with overwrite set to on
and get this this error

Importing Product, Please Wait...

[:]


Fatal error: Call to undefined function: delete_product() in /storage/www/clients/myforum/www/forum/admincp/plugin.php on line 1173


then tried uninstalling and get this

Fatal error: Call to undefined function: delete_product() in /storage/www/clients/myforum/www/forum/admincp/plugin.php on line 1050

Can anyone tell me what I'm doing wrong please ? :(

edit, fixed I deleted the old VBGooglemap.php before overwriting product

stonyarc 04-13-2006 11:02 AM

Quote:

Originally Posted by Gizmo999
I can't get it to overwrite the old product with overwrite set to on
and get this this error

Importing Product, Please Wait...

[:]


Fatal error: Call to undefined function: delete_product() in /storage/www/clients/myforum/www/forum/admincp/plugin.php on line 1173


then tried uninstalling and get this

Fatal error: Call to undefined function: delete_product() in /storage/www/clients/myforum/www/forum/admincp/plugin.php on line 1050

Can anyone tell me what I'm doing wrong please ? :(

Gizmo,

This is a vbulletin error it's not directly googlemap related. Are all plugin settings correct?

Can you try reverting the 4 googlemap templates before uninstalling? That might help.
______________________

I see you got it working

Don't forget to change http://ducati-upnorth.com/forum/VBGooglemap.php to all lower case. VBGooglemap.php can be dropped.

Gizmo999 04-13-2006 12:49 PM

Sorry Stonyarc, i left the main post and edited the end bit just in case anyone else did had the same problem :D

I've now altered all the old upper case to lower case and sorted Navigation out ,reverted my custom templates ( no need for the extra CSS) and its all working again.

great hack and support, I can't wait for the event hotspots addition it'll make a big difference for my events forums.

stonyarc 04-13-2006 01:10 PM

Quote:

Originally Posted by Gizmo999
Sorry Stonyarc, i left the main post and edited the end bit just in case anyone else did had the same problem :D

I've now altered all the old upper case to lower case and sorted Navigation out ,reverted my custom templates ( no need for the extra CSS) and its all working again.

great hack and support, I can't wait for the event hotspots addition it'll make a big difference for my events forums.

Thanks and try to promote this hack as much as possible :)


All times are GMT. The time now is 09:34 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.02235 seconds
  • Memory Usage 1,860KB
  • 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
  • (7)bbcode_code_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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