[BETA] Phoogle (Google) Map

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
gansert
Registered User
Posts: 581
Joined: Wed Mar 08, 2006 8:48 pm
Location: KÖLN, GERMANY
Contact:

Re: [BETA] Phoogle (Google) Map

Post by gansert » Fri Mar 30, 2007 11:53 pm

BassFace wrote: Do you have:

Code: Select all

<script language="javascript">
function showOrNo() 
{
	for (var i=0; i<document.forms.length; i++)
	{
		if (document.forms[i].show_me[0].checked == true){
		document.getElementById('show_confirm').innerHTML='{L_PHOOGLE_SHOW_CONFIRM_YES}';
		} else {
		document.getElementById('show_confirm').innerHTML='{L_PHOOGLE_SHOW_CONFIRM_NO}';
		}
	}
}	
showOrNo();
</script>	
At the bottom of templates/subSilver/profile_add_body.tpl?



Yes, I had that in that file; however I replaced it with what you wrote here and now I am gettin' another error message :?
Attachments
mistake2.JPG
mistake2.JPG (148.01 KiB) Viewed 105 times

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 » Sat Mar 31, 2007 4:29 am

Could you translate that error message for me? :oops:

gansert
Registered User
Posts: 581
Joined: Wed Mar 08, 2006 8:48 pm
Location: KÖLN, GERMANY
Contact:

Re: [BETA] Phoogle (Google) Map

Post by gansert » Sat Mar 31, 2007 6:32 am

sorry :oops:

LINE: 550
SIGN(mark/symbol): 1
ERROR: Object expected
CODE: 0

User avatar
cherryworld4u
Registered User
Posts: 32
Joined: Wed Feb 14, 2007 7:39 pm

Re: [BETA] Phoogle (Google) Map

Post by cherryworld4u » Sat Mar 31, 2007 7:00 am

Hye BassFace,

The Above Mentioned fix isnt seems to be working with my phoogle map now there is no map and zooming bar in firefox browser also.

i hav editted phpbb_phoogle_class.php and insert ;\n in two places instructed according to ahaz but it isnt seems to be working for me.

i hav uploaded botth error pic after and before editting phpbb_phoogle_class.php
Attachments
error before editing phpbb_phoogle_class.php
error before editing phpbb_phoogle_class.php
pm.JPG (28.36 KiB) Viewed 81 times
error after edditing phpbb_phoogle_class.php
error after edditing phpbb_phoogle_class.php
pm1.JPG (30.05 KiB) Viewed 73 times
Last edited by cherryworld4u on Sat Mar 31, 2007 7:14 am, edited 1 time in total.

User avatar
cherryworld4u
Registered User
Posts: 32
Joined: Wed Feb 14, 2007 7:39 pm

Re: [BETA] Phoogle (Google) Map

Post by cherryworld4u » Sat Mar 31, 2007 7:12 am

i also got two more errors in register me and profile pages where phoogle map is present.
But phoogle map in these pages works very well but error are displayed when page loads

uploaded both error pics


plz give me fixx thnx
Attachments
error in opening profile page
error in opening profile page
profile.JPG (31.09 KiB) Viewed 80 times
error in opening register me page
error in opening register me page
register.JPG (30.9 KiB) Viewed 79 times

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 » Sat Mar 31, 2007 12:22 pm

cherryworld4u wrote: Hye BassFace,

The Above Mentioned fix isnt seems to be working with my phoogle map now there is no map and zooming bar in firefox browser also.

i hav editted phpbb_phoogle_class.php and insert ;\n in two places instructed according to ahaz but it isnt seems to be working for me.

i hav uploaded botth error pic after and before editting phpbb_phoogle_class.php


I think this error is due to this issue discussed earlier re: $parens

Open phoogle_map.php.
Find in 2 places

Code: Select all

$rep = array('\n','\r','<br /><br />');
Replace with

Code: Select all

$rep = array("\n","\r","<br /><br />");

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 » Sat Mar 31, 2007 12:27 pm

All these IE errors, makes me realize I need to find a better way to handle the show/hide of the text for "You WILL be shown..." and "You WILL NOT...". in the profile pages.

Even on the demo site, the message is reversed in IE, (click yes and the message says 'Not shown and vice versa). Man I hate IE!

I'll post a fix, and a new bug-fix release as soon as I can find a more reliable cross-browser way of handling that form event with javascript.

gansert
Registered User
Posts: 581
Joined: Wed Mar 08, 2006 8:48 pm
Location: KÖLN, GERMANY
Contact:

Re: [BETA] Phoogle (Google) Map

Post by gansert » Sat Mar 31, 2007 1:41 pm

Well, I suppose IE 7 is better than IE6

I am not gettin' an error message with that browser - at least it is not shown ;)

User avatar
cherryworld4u
Registered User
Posts: 32
Joined: Wed Feb 14, 2007 7:39 pm

Re: [BETA] Phoogle (Google) Map

Post by cherryworld4u » Sat Mar 31, 2007 3:41 pm

BassFace wrote: I think this error is due to this issue discussed earlier re: $parens

Open phoogle_map.php.
Find in 2 places

Code: Select all

$rep = array('\n','\r','<br /><br />');
Replace with

Code: Select all

$rep = array("\n","\r","<br /><br />");



Hye bassface

Thanx. Now map is showing in phoogle map but when i scroll the zoom bar it will not zooming but it comes in initial position. Remaining problems solved on zooming prob is here

plz chk my forum
http://www.cherryworld4u.org/forum/

thanx again for this fix

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 » Sat Mar 31, 2007 4:11 pm

Check your "Maximum Zoom" setting in the ACP. Set it to highest number for unlimited zoom-in. 8)
Last edited by BassFace on Sat Mar 31, 2007 8:01 pm, edited 1 time in total.

User avatar
cherryworld4u
Registered User
Posts: 32
Joined: Wed Feb 14, 2007 7:39 pm

Re: [BETA] Phoogle (Google) Map

Post by cherryworld4u » Sat Mar 31, 2007 6:34 pm

very very big thanx to BASSFACE for your corporation

Now I got my phoogle map working very well and fine


Thanx Thanx Thanx again

gansert
Registered User
Posts: 581
Joined: Wed Mar 08, 2006 8:48 pm
Location: KÖLN, GERMANY
Contact:

Re: [BETA] Phoogle (Google) Map

Post by gansert » Sat Mar 31, 2007 6:47 pm

BassFace wrote: Check your "Zoom Limit" setting in the ACP. Set it to 99 for unlimited zoom-in. 8)


is zoom limit same as Maximum Zoom Level in ACP??

Cause mine goes only till 17. No 99 there :?

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 » Sat Mar 31, 2007 8:06 pm

gansert wrote:
BassFace wrote: Check your "Zoom Limit" setting in the ACP. Set it to 99 for unlimited zoom-in. 8)


is zoom limit same as Maximum Zoom Level in ACP??

Cause mine goes only till 17. No 99 there :?

Yeah, sorry. :oops: I meant "Maximum Zoom", and I forgot it used a select box for setting it (long night, too tired to think :lol: ). 17 is (currently, AFAIK) the maximum zoom level 'officially' set by the Google Maps API, although there are some blog posts out there that tell you how to see higher levels in certain areas of the world.
I edited my post above to the correct phrase. 8)

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 » Sat Mar 31, 2007 9:07 pm

BassFace wrote: How about this:
There are two new icons added to the marker folder: admin.png and moderator.png. Then the map script checks user_level for admin or moderator status. If the user is an Admin or Moderator, their icon is forced to that new image. Also added a legend to reflect what those different icons mean. The normal users would not have access to those images.

Image


Does this feature (Special Icons for Admin/Moderator/Special Ranks) interest anyone else? In other words, is this feature worth developing? 8)

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 » Sat Mar 31, 2007 11:36 pm

gansert wrote: sorry :oops:

LINE: 550
SIGN(mark/symbol): 1
ERROR: Object expected
CODE: 0


hmmm, I'll look into this - yet another reason I need to find another solution for the javascript that switches the test based on the show_me value. :evil:

Post Reply

Return to “[2.0.x] MODs in Development”