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)

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


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