[ABD] Phoogle (Google) Map

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
cichlides.be
Registered User
Posts: 50
Joined: Fri Dec 28, 2007 2:49 am
Contact:

Re: [BETA] Phoogle (Google) Map

Post by cichlides.be » Fri Apr 04, 2008 8:56 am

BassFace wrote:
cichlides.be wrote:No it's OK, I wait the next version of this mod ! for the dubble bubbel
thank's
I'm still not really clear about what you mean by the double bubble. Could you explain more? ;)
Ok, babyface sorry my english is bad
I see i this page Two bubble for the presentation of member
For the exemple : Babyface and Comment
In the phoogle I just install i have just 1 bubble and the name in the bubble is in the extreme right of the bubble, below the cross.
The dubble bubble is already integread in this mod ?

screen of my phoogle :
http://www.cichlides.be/mg.bmp
Sorry for my bad english, i'm Belgian /URL = http://www.cichlides.be / Installed MOD.

User avatar
BassFace
Registered User
Posts: 783
Joined: Tue Dec 02, 2003 7:10 pm
Location: Aurora, CO

Re: [BETA] Phoogle (Google) Map

Post by BassFace » Fri Apr 04, 2008 3:21 pm

Thank you for the images - I understand now. :D The 'double bubble' is called Tabbed InfoWindows in the Google API. The phpbb3 version of the Phoogle MOD does not use the tabbed infowindows, it uses the max infowindow, like you have. I don't know why your title is aligned to the right like that, it should be centered.

I will give the tabbed windows another look, as alot of people have asked for it - maybe I'll offer a tabbed version and a max version of the phoogle MOD. :D

Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

Re: [BETA] Phoogle (Google) Map

Post by Daryl Grant » Sun Apr 06, 2008 2:00 am

I just attempted to install this. I made all the edits and the SQL came up successful.

Though as soon as I went to install the UCP module I knew something was wrong.. the modules were not listed as they are in the install instructions.

Here are my ACP modules

Image

Im guessing they should not be titled like that???

When I try to access the phoogle page in the UCP I get this error.
Image

When I try to access the ACP module page I get this error
Image

When installing the mod I was using PHP4.2 and I have updated to PHP Version 5.2.4 to see if it made any difference and alas It did not..

Also what is strange is that even though I have refreshed the theme, images and purged the cache the phoogle icon is not showing on the index page (not even a blank space)

I have double checked everything and cannot see any errors.

User avatar
cichlides.be
Registered User
Posts: 50
Joined: Fri Dec 28, 2007 2:49 am
Contact:

Re: [BETA] Phoogle (Google) Map

Post by cichlides.be » Sun Apr 06, 2008 6:43 am

BassFace wrote:I will give the tabbed windows another look, as alot of people have asked for it - maybe I'll offer a tabbed version and a max version of the phoogle MOD. :D
Thank's BassFace,
I would often come on the forum to see whether there is the new one.
I have of it already water has the mouth.
Here another image, I use the template of Swanky,
My "phoogle_body.html" is not again perfect but this gives a really beautiful effect !


http://www.cichlides.be/images/divers/p ... screen.jpg

in a friendly way

MG
Sorry for my bad english, i'm Belgian /URL = http://www.cichlides.be / Installed MOD.

User avatar
BassFace
Registered User
Posts: 783
Joined: Tue Dec 02, 2003 7:10 pm
Location: Aurora, CO

Re: [BETA] Phoogle (Google) Map

Post by BassFace » Sun Apr 06, 2008 2:30 pm

Daryl Grant wrote:I just attempted to install this. I made all the edits and the SQL came up successful.

Though as soon as I went to install the UCP module I knew something was wrong.. the modules were not listed as they are in the install instructions.

Here are my ACP modules

Image

Im guessing they should not be titled like that???

When I try to access the phoogle page in the UCP I get this error.
Image

When I try to access the ACP module page I get this error
Image

When installing the mod I was using PHP4.2 and I have updated to PHP Version 5.2.4 to see if it made any difference and alas It did not..

Also what is strange is that even though I have refreshed the theme, images and purged the cache the phoogle icon is not showing on the index page (not even a blank space)

I have double checked everything and cannot see any errors.
I see from your images you don't use phpbb_ as your database table prefix. Did you edit the sql statements in the install file to use your table prefix? You can safely delete the tables that were installed with the 'stock' phpbb_ prefix, as your board will not see them.

About the module names, it would appear that a file didn't get completely edited or uploaded. Search the install xml file (in your browser, use 'Find') for ACP_PHOOGLE_USERS to find which file needs looking at again. (I don't have the files on this PC, but maybe constants.php?)

Let me know how it goes - we'll figure it out! :D

Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

Re: [BETA] Phoogle (Google) Map

Post by Daryl Grant » Sun Apr 06, 2008 2:44 pm

Hi BassFace, thx for answering..

I will go through all the edits again so that should not be a problem.. however concerning the SQL statement.

Im unsure as to what prefix to use as everything else begins with phpbb_ (as seen in this pic)

Image

Actually I realise this is not a mod error and is a result of my noobness concerning SQL statements so sorry for cluttering up your thread. :oops:

Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

Re: [BETA] Phoogle (Google) Map

Post by Daryl Grant » Sun Apr 06, 2008 4:35 pm

Mr Bassface, please forget everything Ive said... I been so stupid..

After doing all the edits I had replaced the files with the original ones and not the edited files.. DOH :oops: :oops: :oops:

Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

Re: [BETA] Phoogle (Google) Map

Post by Daryl Grant » Sun Apr 06, 2008 6:02 pm

Sorry im back with one problem..

The map appears fine in the ACP I can see it fine and scoll and zoom etc, but upon clicking the phoogle link on the index page and from within the UCP the map window is grey.. ?

Image

User avatar
cichlides.be
Registered User
Posts: 50
Joined: Fri Dec 28, 2007 2:49 am
Contact:

Re: [BETA] Phoogle (Google) Map

Post by cichlides.be » Sun Apr 06, 2008 6:13 pm

Perhaps your "Initial Zoom Level" is too much in your config mod phoogle !?
Sorry for my bad english, i'm Belgian /URL = http://www.cichlides.be / Installed MOD.

Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

Re: [BETA] Phoogle (Google) Map

Post by Daryl Grant » Sun Apr 06, 2008 7:12 pm

Thx for the advice , I have set it to 1 and its still grey... I will keep playing with it.

User avatar
BassFace
Registered User
Posts: 783
Joined: Tue Dec 02, 2003 7:10 pm
Location: Aurora, CO

Re: [BETA] Phoogle (Google) Map

Post by BassFace » Sun Apr 06, 2008 7:40 pm

Daryl Grant wrote:Thx for the advice , I have set it to 1 and its still grey... I will keep playing with it.
It might be a javascript error caused by a map marker. Go into the ACP and check all the User map markers and event map markers - make sure every marker is completely filled out - width, height, shadow image, etc.

Check that stuff, then post your map page's source code from the browser into a Code block here and I'll take a look.

Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

Re: [BETA] Phoogle (Google) Map

Post by Daryl Grant » Sun Apr 06, 2008 7:48 pm

Hi Bassface.. not sure if you wanted all of this code.. I clicked on the phoogle link on my index page, and then on the browser I selected VIEW / SOURCE and this is what I got.

Code: Select all

<!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" dir="ltr" lang="en-gb" xml:lang="en-gb" xmlns:v="urn:schemas-microsoft-com:vml">
<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="en-gb" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>THE GUILD &bull; Phoogle Map</title>

<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:      
	
	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
	      The phpBB Group is not responsible for the content of this page and forum. For more information
	      about phpBB please visit http://www.phpbb.com
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = 'Enter the page number you wish to go to.:';
	var on_page = '1';
	var per_page = '';
	var base_url = '';
	var style_cookie = 'phpBBstyle';
	var onload_functions = new Array();
	var onunload_functions = new Array();

			if (0)
		{
			var url = './ucp.php?i=pm&mode=popup';
			window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
		}
	
   /**
* Window popup
*/
function popup(url, width, height, name)
{
   if (!name)
   {
      name = '_popup';
   }

   window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes, width=' + width);
   return false;
}
	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (i = 0; i <= onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (i = 0; i <= onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}

// ]]>
</script>
<script type="text/javascript" src="./styles/prosilver/template/styleswitcher.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/forum_fn.js"></script>

<link href="./styles/prosilver/theme/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="./style.php?sid=394174c51901ce23c5d6beda9130fc04&id=1&lang=en" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="./styles/prosilver/theme/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="./styles/prosilver/theme/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="./styles/prosilver/theme/large.css" rel="alternate stylesheet" type="text/css" title="A++" />


</head>

<body id="phpbb" class="section-phoogle ltr">

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">
		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<div id="site-description">
				<a href="./index.php" title="Board index" id="logo"><img src="./styles/prosilver/imageset/site_logo.gif" width="139" height="52" alt="" title="" /></a>
				<h1>THE GUILD</h1>
				<p>God Wills it!</p>
				<p style="display: none;"><a href="#start_here">Skip to content</a></p>
			</div>

					<div id="search-box">
				<form action="./search.php" method="post" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="Search for keywords" class="inputbox search" value="Search…" onclick="if(this.value=='Search…')this.value='';" onblur="if(this.value=='')this.value='Search…';" /> 
					<input class="button2" value="Search" type="submit" /><br />
					<a href="./search.php" title="View the advanced search options">Advanced search</a> 				</fieldset>
				</form>
			</div>
		
			<span class="corners-bottom"><span></span></span></div>
		</div>

		<div class="navbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<ul class="linklist navlinks">
							<li class="icon-home"><a href="./index.php" accesskey="h">Board index</a> </li>
							<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" class="fontsize" title="Change font size">Change font size</a></li>

							</ul>

						<ul class="linklist leftside">
				<li class="icon-ucp">
					<a href="./ucp.php" title="User Control Panel" accesskey="u">User Control Panel</a>
						 (<a href="./ucp.php?i=pm&folder=inbox"><strong>0</strong> new messages</a>) &bull;  
					<a href="./search.php?search_id=egosearch">View your posts</a>
									</li>
			</ul>
			
			<ul class="linklist rightside">
			<li class="icon-phoogle"><a href="./phoogle.php?mode=everyone" title="Map of Users' Locations">Phoogle Map</a></li><li class="icon-contact"><a href="./contact.php" title="Contact board administration">Contact</a></li>									<li class="icon-ucp"><a href="./arcade.php" title="Play games in the Arcade">Arcade</a></li>
													<li class="icon-rules"><a href="./faq.php?mode=rules" title="Board Rules">Rules</a></li>
				<li class="icon-faq"><a href="./faq.php" title="Frequently Asked Questions">FAQ</a></li>						
				<li class="icon-members"><a href="./memberlist.php" title="View complete list of members">Members</a></li>					<li class="icon-logout"><a href="./ucp.php?mode=logout&sid=394174c51901ce23c5d6beda9130fc04" title="Logout [ Daryl ]" accesskey="l">Logout [ Daryl ]</a></li>
							</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>

	</div>

	<a name="start_here"></a>
	<div id="page-body">
			<script src="http://maps.google.com/maps?file=api&v=2&hl=en&key=ABQIAAAAtu_3g_3rXaTdSCbT_vQQ3RT__3lOFSklPQLSHIarbWlk0Var7xQJCTmgZR8R-TGJ3UqxBukwyBvQJg" type="text/javascript"></script>
<script src="./includes/phoogle/extmaptypecontrol.js" type="text/javascript"></script>
<script type="text/javascript">

		var icon1 = new GIcon();
		icon1.image = "./images/phoogle/markers/admin.png";
		icon1.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon1.iconSize = new GSize(15, 23);
		icon1.shadowSize = new GSize(35, 23);
		icon1.iconAnchor = new GPoint(7, 23);
		icon1.infoWindowAnchor = new GPoint(5, 1);

		var icon2 = new GIcon();
		icon2.image = "./images/phoogle/markers/moderator.png";
		icon2.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon2.iconSize = new GSize(15, 23);
		icon2.shadowSize = new GSize(35, 23);
		icon2.iconAnchor = new GPoint(7, 23);
		icon2.infoWindowAnchor = new GPoint(5, 1);

		var icon3 = new GIcon();
		icon3.image = "./images/phoogle/markers/wink.png";
		icon3.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon3.iconSize = new GSize(15, 23);
		icon3.shadowSize = new GSize(35, 23);
		icon3.iconAnchor = new GPoint(7, 23);
		icon3.infoWindowAnchor = new GPoint(5, 1);

		var icon4 = new GIcon();
		icon4.image = "./images/phoogle/markers/eek.png";
		icon4.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon4.iconSize = new GSize(15, 23);
		icon4.shadowSize = new GSize(35, 23);
		icon4.iconAnchor = new GPoint(7, 23);
		icon4.infoWindowAnchor = new GPoint(5, 1);

		var icon5 = new GIcon();
		icon5.image = "./images/phoogle/markers/evil.png";
		icon5.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon5.iconSize = new GSize(15, 23);
		icon5.shadowSize = new GSize(35, 23);
		icon5.iconAnchor = new GPoint(7, 23);
		icon5.infoWindowAnchor = new GPoint(5, 1);

		var icon6 = new GIcon();
		icon6.image = "./images/phoogle/markers/twisted.png";
		icon6.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon6.iconSize = new GSize(15, 23);
		icon6.shadowSize = new GSize(35, 23);
		icon6.iconAnchor = new GPoint(7, 23);
		icon6.infoWindowAnchor = new GPoint(5, 1);

		var icon7 = new GIcon();
		icon7.image = "./images/phoogle/markers/surprised.png";
		icon7.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon7.iconSize = new GSize(15, 23);
		icon7.shadowSize = new GSize(35, 23);
		icon7.iconAnchor = new GPoint(7, 23);
		icon7.infoWindowAnchor = new GPoint(5, 1);

		var icon8 = new GIcon();
		icon8.image = "./images/phoogle/markers/geek.png";
		icon8.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon8.iconSize = new GSize(15, 23);
		icon8.shadowSize = new GSize(35, 23);
		icon8.iconAnchor = new GPoint(7, 23);
		icon8.infoWindowAnchor = new GPoint(5, 1);

		var icon9 = new GIcon();
		icon9.image = "./images/phoogle/markers/ubergeek.png";
		icon9.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon9.iconSize = new GSize(15, 23);
		icon9.shadowSize = new GSize(35, 23);
		icon9.iconAnchor = new GPoint(7, 23);
		icon9.infoWindowAnchor = new GPoint(5, 1);

		var icon10 = new GIcon();
		icon10.image = "./images/phoogle/markers/razz.png";
		icon10.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon10.iconSize = new GSize(15, 23);
		icon10.shadowSize = new GSize(35, 23);
		icon10.iconAnchor = new GPoint(7, 23);
		icon10.infoWindowAnchor = new GPoint(5, 1);

		var icon11 = new GIcon();
		icon11.image = "./images/phoogle/markers/smiley.png";
		icon11.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon11.iconSize = new GSize(15, 23);
		icon11.shadowSize = new GSize(35, 23);
		icon11.iconAnchor = new GPoint(7, 23);
		icon11.infoWindowAnchor = new GPoint(5, 1);

		var icon12 = new GIcon();
		icon12.image = "./images/phoogle/markers/cool.png";
		icon12.shadow = "./images/phoogle/markers/phoogle_shadow.png";
		icon12.iconSize = new GSize(15, 23);
		icon12.shadowSize = new GSize(35, 23);
		icon12.iconAnchor = new GPoint(7, 23);
		icon12.infoWindowAnchor = new GPoint(5, 1);

		var icon1e = new GIcon();
		icon1e.image = "./images/phoogle/events/for_sale.png";
		icon1e.shadow = "./images/phoogle/events/for_sale_s.png";
		icon1e.iconSize = new GSize(24, 21);
		icon1e.shadowSize = new GSize(44, 21);
		icon1e.iconAnchor = new GPoint(12, 21);
		icon1e.infoWindowAnchor = new GPoint(5, 1);

		var icon2e = new GIcon();
		icon2e.image = "./images/phoogle/events/sport.png";
		icon2e.shadow = "./images/phoogle/events/sport_s.png";
		icon2e.iconSize = new GSize(29, 30);
		icon2e.shadowSize = new GSize(42, 30);
		icon2e.iconAnchor = new GPoint(15, 30);
		icon2e.infoWindowAnchor = new GPoint(5, 1);

		var icon3e = new GIcon();
		icon3e.image = "./images/phoogle/events/house1.png";
		icon3e.shadow = "./images/phoogle/events/house1_s.png";
		icon3e.iconSize = new GSize(18, 21);
		icon3e.shadowSize = new GSize(34, 21);
		icon3e.iconAnchor = new GPoint(9, 21);
		icon3e.infoWindowAnchor = new GPoint(5, 1);

		var icon4e = new GIcon();
		icon4e.image = "./images/phoogle/events/for_sale2.png";
		icon4e.shadow = "./images/phoogle/events/for_sale2_s.png";
		icon4e.iconSize = new GSize(24, 24);
		icon4e.shadowSize = new GSize(42, 24);
		icon4e.iconAnchor = new GPoint(12, 24);
		icon4e.infoWindowAnchor = new GPoint(5, 1);

		var icon5e = new GIcon();
		icon5e.image = "./images/phoogle/events/car_red.png";
		icon5e.shadow = "./images/phoogle/events/car_red_s.png";
		icon5e.iconSize = new GSize(18, 17);
		icon5e.shadowSize = new GSize(31, 17);
		icon5e.iconAnchor = new GPoint(9, 17);
		icon5e.infoWindowAnchor = new GPoint(5, 1);

		var icon6e = new GIcon();
		icon6e.image = "./images/phoogle/events/knife_fork.png";
		icon6e.shadow = "./images/phoogle/events/knife_fork_s.png";
		icon6e.iconSize = new GSize(32, 32);
		icon6e.shadowSize = new GSize(50, 30);
		icon6e.iconAnchor = new GPoint(16, 32);
		icon6e.infoWindowAnchor = new GPoint(5, 1);
var map = null;
var sbmarkers = [];
function myclick(i)
{
	GEvent.trigger(sbmarkers[i], "click");
}
function toggleGroup(whichType) 
{
	for (var i = 0; i < sbmarkers.length; i++) 
	{
		var marker = sbmarkers[i];
		if(sbmarkers[i].type == whichType)
		{
			if (marker.isHidden()) 
			{
				marker.show();
			} 
			else 
			{
				marker.hide();
			}
		}
	}
}
function showmap()
	{
	//<![CDATA[
	if (GBrowserIsCompatible())
	{
	map = new GMap2(document.getElementById("map_canvas"));
	map.getContainer().style.overflow="hidden";
function wheelevent(e)
{
	if (!e)
	{
		e = window.event
	}
	if (e.preventDefault)
	{
		e.preventDefault()
	}
	e.returnValue = false;
	}
GEvent.addDomListener(map.getContainer(), "DOMMouseScroll", wheelevent);
map.getContainer().onmousewheel = wheelevent;
map.enableDoubleClickZoom();
map.enableContinuousZoom();
map.enableScrollWheelZoom();
GEvent.addListener(map, "moveend", function()
		{ 
		var center = map.getCenter();
		var zoomLevel = map.getZoom();
		document.phoogle_map.map_center.value = center.toString();
		document.phoogle_map.init_zoom.value = zoomLevel.toString();
}); // end of addListener inner function 

// init a var to collect points to auto-fit map to markers
var bounds = new GLatLngBounds();
map.setCenter(new GLatLng(14.604847155053898, 103.359375), 1, G_NORMAL_MAP);

map.addControl(new GLargeMapControl());
map.addMapType(G_PHYSICAL_MAP);
map.addControl(new ExtMapTypeControl({showTraffic: true, showTrafficKey: true}));

	var point0 = new GLatLng(52.043222, -4.470786);
	var options = 
		{
		icon:icon1,
		title:"Daryl"
		};
	var marker0 = new GMarker(point0, options);
	marker0.type = "admin";
	GEvent.addListener(marker0, "click", function() {
		map.savePosition();
	var polyOptions = {geodesic:true, clickable:false};
			var polyline_shadow = new GPolyline([point0, point0], "#000000", 3, .6, polyOptions);
			var polyline = new GPolyline([point0, point0], "#FFFF00", 2, 1, polyOptions);
			map.addOverlay(polyline_shadow);
			map.addOverlay(polyline);
		var maxContent = "<br/><img src=\"./download/file.php?avatar=2_1202182769.jpg\" width=\"94\" height=\"150\" alt=\"User avatar\" /><br/><dl class=\"details\" style=\"width: 80%;\"><dt>E-mail address:</dt><dd><a href=\"mailto:atrg24@dsl.pipex.com\">E-mail Daryl</a></dd><dt>MSNM/WLM:</dt><dd><a href=\"./memberlist.php?mode=contact&action=msnm&u=2\" onclick=\"popup(this.href, 550, 320); return false;\">Send MSNM/WLM message</a></dd><dt>Website:</dt><dd><a href=\"http://www.darylgrant.co.uk\">http://www.darylgrant.co.uk</a></dd><br/><br/><dt>Location:</dt><dd>West Wales</dd><dt>Interests:</dt><dd>Jap porn</dd><br/><label>Comment</label><br/><br/></dl>";
		var maxTitle = "<b>Daryl</b>";	
		var dist = point0.distanceFrom(point0);
		var distance = (dist/1609.344);
		var distance_text = "<div>Daryl is " + formatNumber(distance,2,',','.','','','-','') + " miles from you</div>";
		marker0.openInfoWindowHtml("<div><b>Daryl</b></div><br/><div><a href=\"./memberlist.php?mode=viewprofile&u=2\">Profile</a>&nbsp;&bull;&nbsp;<a href=\"ucp.php?i=pm&mode=compose&u=2\">Send private message</a></div><div><a href=\"./ucp.php?i=zebra&add=Daryl\">Add Friend</a>&nbsp;&bull;&nbsp;<a href=\"./ucp.php?i=zebra&mode=foes&add=Daryl\">Add Foe</a></div></div><br />" + distance_text,	
			{
				maxContent: maxContent,
		 		maxTitle: maxTitle
			} );
		
		var iw = map.getInfoWindow();
		GEvent.addListener(iw, "closeclick", function() 
		{
			map.returnToSavedPosition();
		});
		GEvent.addListener(marker0, "infowindowclose", function() 
		{	
	 		map.removeOverlay(polyline_shadow);
			map.removeOverlay(polyline);
		});
	});
	sbmarkers[0] = marker0;
	map.addOverlay(marker0);
	bounds.extend(point0);


		// ===== determine the zoom level from the bounds =====
		map.setZoom(map.getBoundsZoomLevel(bounds));

		// ===== determine the centre from the bounds ======
		map.setCenter(bounds.getCenter());

	//]]>
	}
	}

	window.onload = showmap;
	window.onunload="GUnload();"
	</script>

<style>
#map_canvas 
{
	position: relative;
	height: 550px; 	
	width: 650px;
	border: 4px inset #03699C;
	vertical-align: middle;
	color: #000;
}
#userblock 
{
	position:relative;
	padding-left:5px;
	margin-bottom:10px;
	width:150px;
	height:180px;
	z-index:1;
	overflow: auto;
	background-color: #FFFFFF;
	border:inset #006699;
	text-decoration: none;
	vertical-align:top;
}
#userblock a { text-decoration:none;	}
#userblock a:hover { text-decoration:none; background:#DDD;	}
#eventblock 
{
	position:relative;
	padding-left:5px;
	margin-bottom:10px;
	width:150px;
	height:120px;
	z-index:1;
	overflow: auto;
	background-color: #FFFFFF;
	border:inset #006699;
	text-decoration: none;
	vertical-align:top;
}
#eventblock a { text-decoration:none;	}
#eventblock a:hover { text-decoration:none; background:#DDD;	}
</style>
<script language="javascript">
// number formatting function
// copyright Stephen Chapman 24th March 2006, 10th February 2007
// permission to use this function is granted provided
// that this copyright notice is retained intact

function formatNumber(num,dec,thou,pnt,curr1,curr2,n1,n2) {var x = Math.round(num * Math.pow(10,dec));if (x >= 0) n1=n2='';var y = (''+Math.abs(x)).split('');var z = y.length - dec; if (z<0) z--; for(var i = z; i < 0; i++) y.unshift('0');y.splice(z, 0, pnt); if(y[0] == pnt) y.unshift('0'); while (z > 3) {z-=3; y.splice(z,0,thou);}var r = curr1+n1+y.join('')+n2+curr2;return r;}
</script>
<body onLoad="showmap()" onUnload="GUnload()">
<h2><a href="./phoogle.php?mode=everyone">Phoogle Map</a></h2>
<div class="forabg" align="center">
			<div class="inner">
				
				<span class="corners-top"><span></span></span>

<form method="post" action="./phoogle.php?mode=everyone" name="phoogle_map">
<table border="0" align="center" cellpadding="10" cellspacing="0">
  <tr> 
	<td height="25" align="center" nowrap="nowrap" class="panel">&nbsp;</td>
	<td height="25" align="center" nowrap="nowrap" class="panel">
			</td>
	</tr>
  <tr> 
	<td width="650px" rowspan="2" align="center" class="panel">
		<div id="message" style="color:#FF0000">&nbsp;</div>
		<!-- Phoogle Google Map -->      
	    <div id="map_canvas" style="width: 650px; height: 550px"></div>
				<span class="panel">Admin Marker:&nbsp;<img src="./images/phoogle/markers/admin.png" alt="Site Admin" />&nbsp;&nbsp;Moderator Marker:&nbsp;<img src="./images/phoogle/markers/moderator.png" alt="Moderator" /></span>
				</td>
	<td class="panel">			</td>
	</tr>
  <tr>
  	<td valign="top" class="panel">
	<div class="panel">Mapped Users&nbsp;(<a href="javascript:void(0);" alt="Total Members with Set Map Points" title="Total Members (with set map points)">1</a>&nbsp;total)</div>
	<div id="userblock" align="left">
	<a href="phoogle.php?mode=everyone"><span>All Members</span></a><br /><a href="javascript:myclick(0)"><span style="color:#AA0000">Daryl</span></a><br />	</div>
		<!--<div>
		<input type="text" value="100" name="show" class="inputbox medium"/>
		<input name="change_show" type="submit" class="input button2" id="change_show" value="Show" />
		</div>-->
  	<div id="user_search">
	<input name="user_search" type="text" class="inputbox medium" id="user_search" value="Find a user..." onFocus="this.select();" onBlur="if(this.value=='')this.value='Find a User...';" onClick="if(this.value=='Find a User...')this.value='';" />
  		<input type="submit" name="search" value="&nbsp;Go&nbsp;" class="input button2" />
	</div>
	</td>
  	</tr>
	<tr>
		<td align="center" class="panel">
		<div class="clear">&nbsp;</div>
		<div class="panel"><br />
		Show:&nbsp;
		<label>
			<input name="show_admin" type="checkbox" onClick="toggleGroup('admin');" checked />
			Administrators</label>
		<label>
			<input name="show_moderator" type="checkbox" onClick="toggleGroup('moderator');" checked />
			Moderators</label>
		<label>
			<input name="show_user" type="checkbox" onClick="toggleGroup('user');" checked />
			Users</label>
				</div>
		<div class="clear">&nbsp;</div>
		<div><select name="group_select" id="group_select" onChange="location.href=this.value;">
						 <option selected="selected" disabled="disabled">Pick a Group</option><option value="./phoogle.php?mode=events">Events</option><option value="./phoogle.php?mode=groups&group_id=2">Registered</option><option value="./phoogle.php?mode=groups&group_id=3">Registered Coppa</option><option value="./phoogle.php?mode=groups&group_id=4">Global Moderators</option><option value="./phoogle.php?mode=groups&group_id=5">Administrators</option><option value="./phoogle.php?mode=groups&group_id=11">Patient</option><option value="./phoogle.php?mode=groups&group_id=15">Art Critic</option><option value="./phoogle.php?mode=groups&group_id=16">Team One</option><option value="./phoogle.php?mode=groups&group_id=17">Team Two</option></select>	
		</div>
		
		
	</td>
		<td align="center" class="panel">&nbsp;</td>
	</tr>
	
	<tr>
	<td colspan="2" class="bg1">
	<ul class="linklist">
	<li class="rightside pagination">Page <strong>1</strong> of <strong>1</strong>	</li>
	</ul>	</td>
	</tr>
		<tr>
	<td align="center" colspan="2">
		<fieldset>
			<input name="map_center" type="hidden" id="map_center" size="60" />
			<input name="init_zoom" type="hidden" id="message" size="60" />
		</fieldset>	</td>
	</tr>
</table>
</form>
</div>
<div align="center" class="syntaxbg">phpBB3 Phoogle Map MOD v0.2.0 by BassFace</div>

<div class="clear"></div>
<span class="corners-bottom"><span></span></span>
</div>

</div>

<div id="page-footer">
	
	<div class="navbar">
		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="linklist">
			<li class="icon-home"><a href="./index.php" accesskey="h">Board index</a></li>
							<li class="rightside"><a href="./memberlist.php?mode=leaders">The team</a> &bull; <a href="./ucp.php?mode=delete_cookies">Delete all board cookies</a> &bull; All times are UTC [ <abbr title="Daylight Saving Time">DST</abbr> ]</li>
		</ul>

		<span class="corners-bottom"><span></span></span></div>
	</div>
<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.

	The phpBB Group : 2006
//-->

	<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
		<br /><strong><a href="./adm/index.php?sid=394174c51901ce23c5d6beda9130fc04">Administration Control Panel</a></strong><br />
<br /> 
<p><center><SCRIPT LANGUAGE="JavaScript"> 

</SCRIPT></center><p> 
	</div>
</div>

</div>

<div>
	<a id="bottom" name="bottom" accesskey="z"></a>
	</div>

</body>
</html>

Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

Re: [BETA] Phoogle (Google) Map

Post by Daryl Grant » Mon Apr 07, 2008 2:03 am

Just a little update

I went ahead and installed it for Subsilver and everything is fine (the map appears perfectly).. so the problem must be with the prosilver edits, even though I have checked them many time I will keep on looking. :D

volvomad
Registered User
Posts: 48
Joined: Fri May 04, 2007 7:44 pm

Re: [BETA] Phoogle (Google) Map

Post by volvomad » Tue Apr 08, 2008 12:48 pm

BassFace wrote:
volvomad wrote: What is the easiest way to import 2.0.x user phoogle data into your 3.0.x version?
Wow, ya know, I haven't thought about it! :o I'll have to see if there's a way to do it - the usernames or user_ids would have to match between v2 and v3 - I'll check it out. :geek:
Any success with this yet BassFace?

User avatar
BassFace
Registered User
Posts: 783
Joined: Tue Dec 02, 2003 7:10 pm
Location: Aurora, CO

Re: [BETA] Phoogle (Google) Map

Post by BassFace » Tue Apr 08, 2008 8:13 pm

Sorry, I've had some paying web dev work to take care of. As soon as I can, I'll get back to the MOD. 8-)

Locked

Return to “[3.0.x] Abandoned MODs”