The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
So I found the error logs, but there's nothing in any of them.
So, here is the exact code I'm trying to enter into the template. I had to remove some of the actual code to comply with the vb.org 20,000 character limit (actual size is around 195,000 characters), but it's just a repeat of the 'Define Marker' code, which creates each point on the map. Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">NorthwestFirearms.com Firearm-Related Resource Map</td> </tr> <tr> <td class="alt1"> <center> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>NWFA Resource Map</title> <meta name="title" content="MapBuilder - GoogleMap API Source Code Generator." /> <meta name="description" content="MapBuilder.net lets you tag locations on a map and publish it on your own site. Mapping is now easier than ever. It's free." /> <meta name="keywords" content="Google Maps API, PHP, AJAX, XML" /> <meta name="author" content="Andrew Bidochko. http://www.mapbuilder.net" /> <style type="text/css"> /* Generic map, side bar holder styles */ .MapBuilder {font: normal small verdana, arial, helvetica, sans-serif; font-size: 10pt; margin: 0px;} .MapBuilder a {text-decoration: none; color: #0066CC; background-color: transparent;} .MapBuilder a:hover {color: #F60; background-color: transparent;} .MapBuilder h1 {font-weight: bold; font-size: 16pt; color: #369; border-bottom: 2px solid #369;} /* Info Window styles */ .IW { width: 350px;} .IWContent {height: 120px; overflow:auto;} .IWCaption {font-weight: bold; font-size: 12pt; color: #369; border-bottom: 2px solid #369;} .IWFooter {margin-top: 5px; font-size: 8pt; } .IWFooterZoom {} .IWDirections{background-color:#FFF;} .MapBuilderSideBar {float:left; margin-left: 10px; } /* PDMarker */ div.markerTooltip { color: black; background-color: white; white-space: nowrap; margin: 0; padding: 2px 4px; border: 1px solid black; } </style> <!-- Please, request sign up for your own GMAP KEY at http://www.google.com/apis/maps/signup.html and replace 'GMAPKEY' entry with generated key in the line below. --> <script src="http://maps.google.com/maps?file=api&v=2&key=YOURGMAPKEY" type="text/javascript"></script> <script src="http://www.mapbuilder.net/js/api/google/v2.03/?UserName=joeylink&Map=68322&SideBar=Right" type="text/javascript"></script> <script type="text/javascript" src="http://www.mapbuilder.net/libs/pdmarker/pdmarker1.99e_custom.js"></script> <script type="text/javascript"> //<![CDATA[ // Global Variables // set map variable var map = null; //set up array of locations var aLocations = new Array; /*************************** Configuration Options ***************************/ /*PDMarker is used to display tooltips when the user hovers over the markers. * PDMarker is a LGPL library provided by Peter Jones. * For details see http://wwww.pixeldevelopment.com/pdmarker.asp */ var usePDMarker = true; // Create a base "tiny" red icon that specifies the shadow, icon dimensions, etc. var iconsm = new GIcon(); iconsm.image = "http://labs.google.com/ridefinder/images/mm_20_red.png"; iconsm.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png"; iconsm.iconSize = new GSize(12, 20); iconsm.shadowSize = new GSize(20, 18); iconsm.iconAnchor = new GPoint(6, 20); iconsm.infoWindowAnchor = new GPoint(5, 1); // Create a base "large" red icon that specifies the shadow, icon dimensions, etc. var iconbig = new GIcon(); iconbig.image = "http://www.google.com/mapfiles/marker.png"; iconbig.shadow = "http://www.google.com/mapfiles/shadow50.png"; iconbig.iconSize = new GSize(20, 34); iconbig.shadowSize = new GSize(37, 34); iconbig.iconAnchor = new GPoint(6, 34); iconbig.infoWindowAnchor = new GPoint(5, 1); // Custom Icon var iconcustom = new GIcon(iconbig); iconcustom.shadow = ''; function onLoad() { if (!GBrowserIsCompatible()) { document.getElementById("MapBuilderMap").innerHTML = "Unfortunately your browser doesn't support Google Maps.<br /> To check browser compatibility visit the following <a href=\"http://local.google.com/support/bin/answer.py?answer=16532&topic=1499\">link</a>."; return; } map = new GMap2(document.getElementById("MapBuilderMap")); var MB = new MapBuilder(map); map.addControl(new GLargeMapControl()); map.addControl(new GMapTypeControl()); // Center the map to the default location and set map type map.setCenter(new GLatLng(45.506346901083425, -121.17919921875), 6, map.getMapTypes()[0]); // Initialize variables var point = null; var footerHtml = null; var InfoHTML = null; var marker = null; /* Options used for PDMarker initialization: * label: tooltip text * opasity: tooltip opasity */ var options = {}; // Add locations point = new GLatLng(45.421231, -122.633026); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(0)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'Vancouver Trap Club'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">Vancouver Trap Club</div><div class=\"IWContent\">11100 NE 76th St<br>Vancouver, WA 98662<br>(360) 892-5005<br><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?t=22\"><br>Click here to review this range</a><br></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options, 183); map.addOverlay(marker); aLocations[183] = new Array(marker, "Vancouver Trap Club", InfoHTML, point); point = new GLatLng(47.623198, -122.159895); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(184)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'Wade\'s Eastside Guns & Indoor Range'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">Wade's Eastside Guns & Indoor Range</div><div class=\"IWContent\"><div id=\"post_message_1060\"><b><u></u></b>13570 Bellevue-Redmond Rd.<br>Bellevue, WA 98005<br>(425) 649-8560<br><br><a href=\"http://www.wadesguns.com/\" target=\"_blank\">http://www.wadesguns.com</a></div><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?t=264\"><br>Click here to review this range</a><br></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options, 184); map.addOverlay(marker); aLocations[184] = new Array(marker, "Wade's Eastside Guns & Indoor Range", InfoHTML, point); point = new GLatLng(47.199002, -122.434125); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(185)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'Welcher\'s Gun Shop Inc'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">Welcher's Gun Shop Inc</div><div class=\"IWContent\">6400 Pacific Ave<br>Tacoma, WA 98408<br>(253) 472-1113<br><br><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?t=1676\">Click here to review this business</a></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options, 185); map.addOverlay(marker); aLocations[185] = new Array(marker, "Welcher's Gun Shop Inc", InfoHTML, point); point = new GLatLng(46.132998, -122.939067); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(186)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'West Coast Loan & Gun Shop'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">West Coast Loan & Gun Shop</div><div class=\"IWContent\">1023 15th Ave<br>Longview, WA 98632<br>(360) 636 -1230<br><br><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?t=100\">Click here to review this business</a><br></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options, 186); map.addOverlay(marker); aLocations[186] = new Array(marker, "West Coast Loan & Gun Shop", InfoHTML, point); point = new GLatLng(47.88755, -124.344389); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(187)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'West End Sportsmen\'s Club'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">West End Sportsmen's Club</div><div class=\"IWContent\">P.O. Box 1036<br>Forks, WA 98331<br>(360) 374-5420<br><br><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?t=287\">Click here to review this range</a><br></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options, 187); map.addOverlay(marker); aLocations[187] = new Array(marker, "West End Sportsmen's Club", InfoHTML, point); point = new GLatLng(45.75521769752324, -123.4192943572998); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(188)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'Wheeler Road'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">Wheeler Road</div><div class=\"IWContent\"><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?t=107\">Click here to discuss this location</a><br></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_green.png"; marker = createMarker(point, InfoHTML, iconbig, options, 188); map.addOverlay(marker); aLocations[188] = new Array(marker, "Wheeler Road", InfoHTML, point); point = new GLatLng(45.147382, -122.57709); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(189)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'Wild Bill\'s Guns'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">Wild Bill's Guns</div><div class=\"IWContent\"><div id=\"post_message_24\">105 S Molalla Ave<br>Molalla, OR 97038<br>(503) 829-5153<br><br><a href=\"http://www.wildbillsguns.com/\" target=\"_blank\">http://www.wildbillsguns.com</a><br><br><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?t=23\">Click here to review this business</a><br></div></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options, 189); map.addOverlay(marker); aLocations[189] = new Array(marker, "Wild Bill's Guns", InfoHTML, point); point = new GLatLng(45.989084, -122.350845); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(190)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'Wolverton Mountain Gun Club - Ariel'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">Wolverton Mountain Gun Club - Ariel</div><div class=\"IWContent\">243 Williams Road<br>Ariel, WA 98603<br>(360) 887-0696<br><br><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?p=1058#post1058\">Click here to review this range</a><br></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options, 190); map.addOverlay(marker); aLocations[190] = new Array(marker, "Wolverton Mountain Gun Club - Ariel", InfoHTML, point); point = new GLatLng(45.648101, -122.519212); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(191)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'Wolverton Mountain Gun Club - Vancouver'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">Wolverton Mountain Gun Club - Vancouver</div><div class=\"IWContent\">14904 NE Orion St<br>Vancouver, WA 98682<br>(360) 513-9081<br><br><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?p=224#post224\">Click here to review this range</a><br></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options, 191); map.addOverlay(marker); aLocations[191] = new Array(marker, "Wolverton Mountain Gun Club - Vancouver", InfoHTML, point); point = new GLatLng(45.20894, -123.199129); footerHtml = "<div class=\"IWFooter\"><div class=\"IWFooterZoom\"><a href=\"javascript:void(0)\" onclick=\"ZoomMapTo(192)\">Zoom To</a></div></div>"; // Define Marker options = {opasity: 100, label:'Yamhill County Sportsmen\'s Association'}; InfoHTML = "<div class=\"IW\"><div class=\"IWCaption\">Yamhill County Sportsmen's Association</div><div class=\"IWContent\">PO Box 1265<br>McMinnville, OR 97128<br>(503) 434-9751<br><br><a target=\"_self\" href=\"http://www.northwestfirearms.com/forum/showthread.php?t=239\">Click here to review this range</a><br></div>" + footerHtml + "</div>"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options, 192); map.addOverlay(marker); aLocations[192] = new Array(marker, "Yamhill County Sportsmen's Association", InfoHTML, point); // And finnaly create sidebar createSideBar(); } //]]> </script> </head> <body onload="onLoad()" onunload="GUnload();"> <div id="MapBuilder" class="MapBuilder"> <h1>NWFA Resource Map</h1> <p>NorthwestFirearms.com Firearm-Related Resource Map</p> <div id="MapHolder" class="MapHolder" style="float:left;"> <div id="MapBuilderMap" style="width: 1024px; height: 768px;"></div> <!-- Please KEEP RESPECT to MapBuilder.net team and DO NOT DELETE line below if you want to keep MapBuilder service free. --> Created by <a href="http://www.MapBuilder.net">MapBuilder.net</a>. </div> <div id="MapBuilderSideBar" class="MapBuilderSideBar"> <div id="SideBarAction">Map Locations [<a id="SideBarActionLink" href="javascript:void(0)" onclick="ProcessLocationList()">-</a>]</div> <div id="LocationList" style="height: 748px; overflow:auto;"></div> </div> </div> </body> </html> <center> </td> </tr> </table> $footer </body> </html> ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|