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)

Kihon Kata 11-19-2005 12:59 PM

Quote:

Originally Posted by stonyarc
Well it's not a question of branding it. It's about giving the creator some credit for what he created.

If you put a reference to the author

Created by StonyArc on the bottom it's fine.

Just, "(c) your site" is not the correct way to brand something that is not your creation. I have to give credit too.

Making something brand free doesn't mean replacing my copyright by yours.

I know it's besides the point and I was wrong to change it, but beleive me, girls on my site about makeup/beauty don't give a rat's patooyee who makes what LOL.

Now, can we work on fixing it?

stonyarc 11-19-2005 01:00 PM

Quote:

Originally Posted by TonysDesigns
Sorry about that, STONY.

Same here, if someone can help me to get it to work.


Well as told before whatever I do I get

The following errors occurred during your registration:

Quote:

* That username is already in use. If you are tester_stonyarc and you have forgotten your password, click here.
Even though the ajax validator always says the name is available.

I've tried about 15 users

Kihon Kata 11-19-2005 01:03 PM

Quote:

Originally Posted by stonyarc
Well as told before whatever I do I get

The following errors occurred during your registration:



Even though the ajax validator always says the name is available.

I've tried about 15 users

whoa...strange how I can have so many register each day (100 yesterday).

*Goes to test it myself

stonyarc 11-19-2005 01:13 PM

Tony,

do you have msn

add stonyarc@hotmail.com

Andy R 11-20-2005 01:45 PM

For those of you wondering if you want to install this, it was very easy. Just follow the detailed instructions that Stoney includes in the .zip file.

It looks like this script is working fine (rendering) in Firefox. On my version if IE (6.0.29) The map seems to floating on the top left hand side of the page. I tried clearing my temporary internet files (cache) and closed all browser windows. When I reopen IE, I still get the same rendering errors (see attachment). Any ideas on how I can move forward troubleshooting this?

Thanks in advance, Andy

ConqSoft 11-20-2005 01:51 PM

Quote:

Originally Posted by stonyarc
Making something brand free doesn't mean replacing my copyright by yours.

When I paid for the branding free version of vBulletin, it allowed me to remove all references to Jelsoft, which is what I want to do in this case.

I'll take the map offline until I hear back on the status of a branding free version.

stonyarc 11-20-2005 02:01 PM

Quote:

Originally Posted by Andy R
For those of you wondering if you want to install this, it was very easy. Just follow the detailed instructions that Stoney includes in the .zip file.

It looks like this script is working fine (rendering) in Firefox. On my version if IE (6.0.29) The map seems to floating on the top left hand side of the page. I tried clearing my temporary internet files (cache) and closed all browser windows. When I reopen IE, I still get the same rendering errors (see attachment). Any ideas on how I can move forward troubleshooting this?

Thanks in advance, Andy

Andy,

This solution is quite simple.

This is caused by an imagemap on your forum that has the same name as the DIV of the googlemap

<map name="Map" id="Map"> is the name of your top image map.

Just rename the image map and the issue is solved.

<map name="Map2" id="Map2">

Greetz

Andy R 11-20-2005 04:22 PM

Awesome, I got it done and it is working perfectly, thanks for the great solution! Do you have any easy way to setup more then one instance of this so members can map calendar events? We are an Airstream trailer based community and members go to rallies all the time. I would love to see them on the same map, but am afraid that the rallies would get lost among all the members 'pins'. so I was thinking to use a second map for that. Is there a way to mark things using a different color on the same map?

Best regards,

Andy
Quote:

Originally Posted by stonyarc
Andy,

This solution is quite simple.

This is caused by an imagemap on your forum that has the same name as the DIV of the googlemap

<map name="Map" id="Map"> is the name of your top image map.

Just rename the image map and the issue is solved.

<map name="Map2" id="Map2">

Greetz


stonyarc 11-20-2005 05:49 PM

Quote:

Originally Posted by Andy R
Awesome, I got it done and it is working perfectly, thanks for the great solution! Do you have any easy way to setup more then one instance of this so members can map calendar events? We are an Airstream trailer based community and members go to rallies all the time. I would love to see them on the same map, but am afraid that the rallies would get lost among all the members 'pins'. so I was thinking to use a second map for that. Is there a way to mark things using a different color on the same map?

Best regards,

Andy

Andy,

As you can see in the first reply the roadmap includes all these features.

m.s 11-20-2005 06:22 PM

Hi,

is it possible to add a link, which have linked to a generated kml-file for google-earth?

stonyarc 11-20-2005 08:24 PM

Quote:

Originally Posted by m.s
Hi,

is it possible to add a link, which have linked to a generated kml-file for google-earth?

In what context.

You want to read out additional xml file that you already created in the past?

I'll have to check, do you have a link?

leeman 11-21-2005 11:10 AM

Uhmmm some how after a while all admin and mods markers disapeard ....
+ A few other users .....

Any ideas ....???

It show that there's supposed to be 18 markers but I can only see 6 .... What gives ???? :scratch:

m.s 11-21-2005 01:02 PM

Quote:

You want to read out additional xml file that you already created in the past?
Yes, that is what I want.

Here is the kml-Documentation from Keyhole:
http://www.keyhole.com/kml/kml_tut.html

I, Brian 11-21-2005 03:41 PM

Quote:

Originally Posted by m.s
Yes, that is what I want.

Here is the kml-Documentation from Keyhole:
http://www.keyhole.com/kml/kml_tut.html

I'd hate to sound a downer, but two of the key reasons for Google Maps to exist are to data mine users, and provide advertising to them.

It may be worth remembering that if you apply this to a forum, and ensure that your users are warned of the privacy issues in using such a system.

stonyarc 11-21-2005 04:10 PM

Quote:

Originally Posted by I, Brian
I'd hate to sound a downer, but two of the key reasons for Google Maps to exist are to data mine users, and provide advertising to them.
It may be worth remembering that if you apply this to a forum, and ensure that your users are warned of the privacy issues in using such a system.

The full release will include a severe privacy statement (this is still a beta). I warned several times in this thread for the privacy implications of such an application.

Even more so if you build it based on the real address

zoomforce 11-22-2005 06:41 AM

hey when can we see 1.04.. i just need the userid in the marker function, so that when you click on the name it goes to the user id.

thanks man!

lazytown 11-22-2005 06:48 AM

I'm all for giving the author credit. But what exactly does this mean?


Quote:

Non-Commercial. You may not use this work for commercial purposes.

m.s 11-22-2005 12:06 PM

Quote:

Originally Posted by zoomforce
hey when can we see 1.04.. i just need the userid in the marker function, so that when you click on the name it goes to the user id.

thanks man!

see: https://vborg.vbsupport.ru/showpost....&postcount=315

stonyarc 11-22-2005 04:20 PM

Quote:

Originally Posted by vissa
I'm all for giving the author credit. But what exactly does this mean?

This means that at this point you cannot build a business based on the tool. Or sell the tool for your own benefit.

The full link http://creativecommons.org/licenses/by-nc-sa/2.5/

Quote:

You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
I hope this explains it a bit.

ConqSoft 11-24-2005 02:16 PM

I haven't read through the thread lately to see if it had been reported, but I saw that users with ' (apostrophe's) in their username cause a DB error when trying to add themselves to the map.

benFF 11-25-2005 12:47 PM

Quote:

Originally Posted by stonyarc
So did anybody install it yet.

Please post your URL if you installed it. I'm really curious :smoke:

Is there an easy way to make this so only logged in users can see it?

stonyarc 11-25-2005 12:56 PM

It's indicated in the installer file

Quote:

6. add a link in the navbar template to VBGooglemap.php (depends if you want users to see it and when)

If you want only registered to see it

Code:

<if condition="$bbuserinfo['userid']">
<td class="vbmenu_control">
<a href="VBGooglemap.php">$vbphrase[googlemap]</a></td>
</if>

If you want everyone to see it

Code:

<td class="vbmenu_control">
<a href="VBGooglemap.php">$vbphrase[googlemap]</a></td>



benFF 11-25-2005 05:56 PM

Quote:

Originally Posted by stonyarc
It's indicated in the installer file

Yes I saw that, but its no good if they already know the link to the page. Can it be made so the "you dont have permission" screen shows up instead?

stonyarc 11-25-2005 10:45 PM

Quote:

Originally Posted by benFF
Yes I saw that, but its no good if they already know the link to the page. Can it be made so the "you dont have permission" screen shows up instead?

That will be included in the next version

This is covered by the custom usergrouppermission I added.

This version is currently in dev.

nexus851 11-26-2005 09:34 AM

My markers are not updating...

It sometimes update but most times it won't... Even after clearing cache and refresing page or reopening, it still doesnt show markers....

I followed every instructions and set permissions correctly.. so can be the problem???????


edited: I realized the problem... My "snow effect" module is causing it not to work... does anyone or the makers know how to put in a few codes to make it work with the "snow effect" module?????


Here is the header template that has the "snow effect codes" (only 1 template edit)

PHP Code:


<!-- Snow Effect(Small Big SnowFlakesby Blackpheonix to Dynamic Drive -->

<
script type="text/javascript" src="/forum/images/misc/snow.js">

</
script>

<
script language="JavaScript1.2">
  

  
//Configure below to change URL path to the snow image
  
var snowsrc="/forum/images/misc/snow.gif"
  
// Configure below to change number of snow to render
  
var no 10;

  var 
ns4up = (document.layers) ? 0;  // browser sniffer
  
var ie4up = (document.all) ? 0;
  var 
ns6up = (document.getElementById&&!document.all) ? 0;

  var 
dxxpyp;    // coordinate and position variables
  
var amstxsty;  // amplitude and step variables
  
var idoc_width 800doc_height 600;
  
  if (
ns4up||ns6up) {
    
doc_width self.innerWidth;
    
doc_height self.innerHeight;
  } else if (
ie4up) {
    
doc_width document.body.clientWidth;
    
doc_height document.body.clientHeight;
  }

  
dx = new Array();
  
xp = new Array();
  
yp = new Array();
  
am = new Array();
  
stx = new Array();
  
sty = new Array();
  
  for (
0no; ++ i) {  
    
dx[i] = 0;                        // set coordinate variables
    
xp[i] = Math.random()*(doc_width-50);  // set position variables
    
yp[i] = Math.random()*doc_height;
    
am[i] = Math.random()*20;         // set amplitude variables
    
stx[i] = 0.02 Math.random()/10// set step variables
    
sty[i] = 0.7 Math.random();     // set step variables
    
if (ns4up) {                      // set layers
      
if (== 0) {
        
document.write("<layer name=\"dot"+"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://dynamicdrive.com/\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/layer>");
      } else {
        
document.write("<layer name=\"dot"+"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"><\/layer>");
      }
    } else if (
ie4up||ns6up) {
      if (
== 0) {
        
document.write("<div id=\"dot"+"\" style=\"POSITION: absolute; Z-INDEX: "+"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");
      } else {
        
document.write("<div id=\"dot"+"\" style=\"POSITION: absolute; Z-INDEX: "+"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
      }
    }
  }
  
  function 
snowNS() {  // Netscape main animation function
    
for (0no; ++ i) {  // iterate for every dot
      
yp[i] += sty[i];
      if (
yp[i] > doc_height-50) {
        
xp[i] = Math.random()*(doc_width-am[i]-30);
        
yp[i] = 0;
        
stx[i] = 0.02 Math.random()/10;
        
sty[i] = 0.7 Math.random();
        
doc_width self.innerWidth;
        
doc_height self.innerHeight;
      }
      
dx[i] += stx[i];
      
document.layers["dot"+i].top yp[i];
      
document.layers["dot"+i].left xp[i] + am[i]*Math.sin(dx[i]);
    }
    
setTimeout("snowNS()"10);
  }

  function 
snowIE_NS6() {  // IE and NS6 main animation function
    
for (0no; ++ i) {  // iterate for every dot
      
yp[i] += sty[i];
      if (
yp[i] > doc_height-50) {
        
xp[i] = Math.random()*(doc_width-am[i]-30);
        
yp[i] = 0;
        
stx[i] = 0.02 Math.random()/10;
        
sty[i] = 0.7 Math.random();
        
doc_width ns6up?window.innerWidth document.body.clientWidth;
        
doc_height ns6up?window.innerHeight document.body.clientHeight;
      }
      
dx[i] += stx[i];
      if (
ie4up){
      
document.all["dot"+i].style.pixelTop yp[i];
      
document.all["dot"+i].style.pixelLeft xp[i] + am[i]*Math.sin(dx[i]);
      }
      else if (
ns6up){
      
document.getElementById("dot"+i).style.top=yp[i];
      
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i]);
      }   
    }
    
setTimeout("snowIE_NS6()"10);
  }

  if (
ns4up) {
    
snowNS();
  } else if (
ie4up||ns6up) {
    
snowIE_NS6();
  }

</
script>
 <!--/
Snow Effect(Small Big SnowFlakesby Blackpheonix to Dynamic Drive --> 


steven s 11-27-2005 01:01 AM

Very cool mod. I can't wait until my users use start using it.
Can I remove the link to xboxusers but keep the xbox text?

ThePimp 11-27-2005 03:13 AM

Markers aren't updating for me either. markers.xml is set to 777, and installed exactly as instructions outlined.

Any idea on how to fix this?

I added my info, and saved it, then checked markers.xml and it didn't add it to the file.

steven s 11-27-2005 11:16 AM

Mine installed with zero problems.
Are you sure you have the markers.xml file in the same directory as vB?

stonyarc 11-27-2005 11:21 AM

Quote:

Originally Posted by 1996 328ti
Mine installed with zero problems.
Are you sure you have the markers.xml file in the same directory as vB?

It has to be in the same dir as the VBGooglemap.php

stonyarc 11-27-2005 11:22 AM

Quote:

Originally Posted by ThePimp
Markers aren't updating for me either. markers.xml is set to 777, and installed exactly as instructions outlined.

Any idea on how to fix this?

I added my info, and saved it, then checked markers.xml and it didn't add it to the file.

ThePimp,

Do you have a link so I can check

nexus851 11-27-2005 11:42 AM

guys, i had "SNOW effect" installed that's why it didnt work... guess those two dont mix well.. When i uninstalled it, it worked fine again...

Maybe the programmer can find a way to make it co-exist without sacrificing functionality.... my ,.02cents

steven s 11-27-2005 06:22 PM

I'd love to have a small version of the map and have it displayed in a module for vBadvanced. I know that's beyond the scope of this.

buro9 11-27-2005 08:53 PM

Two request:

1) That in IE clicking the markers doesn't give a JavaScript error "Object doesn't support this property".

2) That a scrollable DIV on the right hand side lists all of the usernames, and clicking on a username centers that user on the map.

ImportPassion 11-28-2005 03:07 AM

Quote:

Originally Posted by buro9
Two request:

1) That in IE clicking the markers doesn't give a JavaScript error "Object doesn't support this property".

2) That a scrollable DIV on the right hand side lists all of the usernames, and clicking on a username centers that user on the map.

#1, something must be foobar on ur install, I don't get that on IE6.

#2, that would be cool and I think pretty easy.

THanks for this hack. I have been wanting to do this for some time. Now I don't have to. ;)

D

nexus851 11-28-2005 05:48 AM

2 critical options i think are:

1) Using zip code from users, it'll automatically track down your geographic location in the googlemap, so you dont have to manually do it yourself...

2)An icon link from the member profile when clicked will send viewer to the googlemap location of the member being viewed.

So, any idea when this will be released? =)

Robert Basil 11-28-2005 06:15 AM

Quote:

Originally Posted by nexus851
2)An icon link from the member profile when clicked will send viewer to the googlemap location of the member being viewed.

I would LOVE to see this but would also like to be able to include it in the postbit.

buro9 11-28-2005 07:42 AM

Quote:

Originally Posted by 7thgenCivic.Com
#1, something must be foobar on ur install, I don't get that on IE6.

It appears that a hack I was running on my own forum (not published) which shows user selectable World Timezones below the nav bar was setting a param of the same name as one used by the Google Maps API.

What fun trying to trace that bug :)

buro9 11-28-2005 01:00 PM

There's a bug with the insert statement. If the username contains an apostrophe then the insert fails.

Simple solution, find the INSERT statement in VBGooglemap.php (there's only one), and replace $newusername with addslashes($newusername)... I've added slashes to $newtext_map too as I think that would also suffer the same problem.

Oh... and I've had to change significantly the HTML. The stuff in the hack is great as a prototype, but none of it is XHTML Transitional compliant. Biggest error being the missing close </html> tag, readonly not having value is up there, as are <img> tags not having alt="", and a lack of self-closing <br />'s.

stonyarc, if you want me to submit back to you my HTML changes, just ask.

stonyarc 11-28-2005 04:07 PM

Quote:

Originally Posted by buro9
There's a bug with the insert statement. If the username contains an apostrophe then the insert fails.

Simple solution, find the INSERT statement in VBGooglemap.php (there's only one), and replace $newusername with addslashes($newusername)... I've added slashes to $newtext_map too as I think that would also suffer the same problem.

Oh... and I've had to change significantly the HTML. The stuff in the hack is great as a prototype, but none of it is XHTML Transitional compliant. Biggest error being the missing close </html> tag, readonly not having value is up there, as are <img> tags not having alt="", and a lack of self-closing <br />'s.

stonyarc, if you want me to submit back to you my HTML changes, just ask.

Buro 9,

Thanks for your efforts.

If you could send me your changes, I'll drop them in the next version.

buro9 11-28-2005 08:10 PM

Quote:

Originally Posted by stonyarc
Buro 9,

Thanks for your efforts.

If you could send me your changes, I'll drop them in the next version.

Done, sent to your admin email on your stonyarc domain.

Three files, two versions of the HTML as XHTML... one is a straight cleanup, the other includes changes to the layout to make it less cluttered and techy in appearance.


[edit]

And because I feel mean saying that and not allowing other people to have their mitts on it... and because this has a Share-Alike licence... attached are the three files I sent to stonyarc.

The three files are:
  1. PHP File change.txt = You need to make a one line change to VBGooglemap.php, this file tells you what the change is... basically escaping part of a querystring.
  2. product-VBGooglemap.XHTMLport.xml = Port of your HTML to valid XHTML Transitional (VB default encoding). If you just want the existing layout, publish this.
  3. product-VBGooglemap.XHTMLportWithNewLayout.xml = Port of my version of the XHTML, simply hides some of the techier things from most users, cleaner layout and friendlier as a result. If you want a cleaner layout, publish this.
Though these are beta... in that stonyarc hasn't tested them yet, etc.

However if you are running bog standard and want to try a newer version... apply the file change in the text file and uninstall the existing product and reinstall with one of the above product files.

If your'e at all cautious... just wait for stonyarc to do his thing, he's been incredibly supportive on this thread so I've no doubt the new version will arrive soon and be tested nicely :)


NOTE: DON'T EVEN THINK THAT THE ATTACHED FILES ARE SUPPORTED BY STONYARC OR MYSELF... THEY'RE NOT! I'M JUST SHARING ALIKE.


All times are GMT. The time now is 03:32 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.02698 seconds
  • Memory Usage 1,932KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (27)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
  • (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