[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.
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 »

Got the user groups working: what a chore! :twisted:
Still working on the Search (it's on the page, but doesn't do anything yet).
With User Group select box closed
With User Group select box closed
ScreenShot029.jpg (107.52 KiB) Viewed 242 times
With User Group select box open
With User Group select box open
ScreenShot028.jpg (107.17 KiB) Viewed 238 times
User avatar
Sammy Sandbag
Registered User
Posts: 184
Joined: Fri May 23, 2003 2:07 am
Location: Savannah, GA
Contact:

Re: [BETA] Phoogle (Google) Map

Post by Sammy Sandbag »

Looks awesome BassFace, keep up the good work!
-Sammy
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 »

Thanks Sammy! :D
Finally got the username search working, thanks to some kind folks in the Mod Writers discussion area. 8)
Search will yield a map like the buttons in user's Profile or under posts:
Result of a search for 'Skippy'
Result of a search for 'Skippy'
ScreenShot031.jpg (85.34 KiB) Viewed 230 times
And I managed to get the User Group name to show in the heading, where the User's username would appear on an individual map:
User Group result with Heading
User Group result with Heading
ScreenShot030.jpg (92.97 KiB) Viewed 228 times
Now I'd like to make the initial/default map type (Map/Satellite/Hybrid) selectable from the ACP. I think that'll about do it for features. This will be release 1.0.5, but upgrading should be very simple - most changes are in the included Phoogle files, not the phpbb edited files.
pjjacobs
Registered User
Posts: 179
Joined: Wed Nov 15, 2006 8:08 pm

Re: [BETA] Phoogle (Google) Map

Post by pjjacobs »

Very nice BassFace...its come a long way
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 »

Cool, the initial/default map type (Map/Satellite/Hybrid) will now be selectable from the ACP. 8) Now to examine setting permissions for usergroups to show on map, and maybe user level permission to view map.
pjjacobs
Registered User
Posts: 179
Joined: Wed Nov 15, 2006 8:08 pm

Re: [BETA] Phoogle (Google) Map

Post by pjjacobs »

BassFace wrote: Cool, the initial/default map type (Map/Satellite/Hybrid) will now be selectable from the ACP. 8) Now to examine setting permissions for usergroups to show on map, and maybe user level permission to view map.


Where can we get the updated files? please
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 »

pjjacobs wrote: Where can we get the updated files? please

Nowhere. :razz:
I'll want to try it out on my demo site before I release anything. And if the Permission features happen, this will quickly be replaced by another version with them included.
Again, it should be just overwriting the Phoogle included files, a new entry or two into the lang_ files, and a little sql (for flavor :lol:) to add some new config values to the db. 8) I'll try it out tonight and put together a zip if all goes well.
SHventures
Registered User
Posts: 4
Joined: Thu May 03, 2007 1:06 pm
Location: Orlando, FL
Contact:

Re: [BETA] Phoogle (Google) Map

Post by SHventures »

BassFace,

I played around with your demo. This is the coolest thing I have ever seen. You are the man.
Check out the Samford Stogies
pjjacobs
Registered User
Posts: 179
Joined: Wed Nov 15, 2006 8:08 pm

Re: [BETA] Phoogle (Google) Map

Post by pjjacobs »

Ok, so far only one issue i have come across...if one of the members co-ordinates is wrong, the whole map doesnt load...my one friend for some dumb reason copied his co-ordinates from Google Earth and the whole map didnt show...maybe you must "lock" the co-ordinates field? i.o.w. the co-ordinates only change when you change it on the map
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 »

SHventures wrote: BassFace,

I played around with your demo. This is the coolest thing I have ever seen. You are the man.

Thanks! I hope the MODDB team agrees with you! :lol:
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 »

pjjacobs wrote: Ok, so far only one issue i have come across...if one of the members co-ordinates is wrong, the whole map doesnt load...my one friend for some dumb reason copied his co-ordinates from Google Earth and the whole map didnt show...maybe you must "lock" the co-ordinates field? i.o.w. the co-ordinates only change when you change it on the map


The only way to do it is to hide that text field. It's a strange thing about html forms - if a field is "hidden", it can still be submitted and it's value modified (via javascript in this instance), but it can't be seen. On the other hand, you can set a field to 'disabled' and it can be seen but not modified like Phoogle map needs it to change the user's location.

Sooo, let's try this...
Open templates/subSilver/profile_add_body.tpl
FIND

Code: Select all

<input name="map_center" type="text" class="post" id="map_center" value="{MAP_CENTER}" size="60" maxlength="60" />
REPLACE WITH

Code: Select all

<input name="map_center" type="hidden" class="post" id="map_center" value="{MAP_CENTER}" size="60" maxlength="60" />
To hide the text that labels that row (which may now look silly with no form field next to it)
FIND

Code: Select all

{L_PHOOGLE_CENTER}:
REPLACE WITH

Code: Select all

&nbsp;
This is probably something I should have done a long time ago actually. :roll:
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 »

The v1.0.3 demo site (link in my sig) is now running the new features - let me know ASAP if you find any problems. Thanks! 8)
User avatar
freddie
Registered User
Posts: 404
Joined: Sun Mar 31, 2002 1:40 pm
Location: Estes Park, USA
Contact:

Re: [BETA] Phoogle (Google) Map

Post by freddie »

using wildcards is not possible to search after a user, is it easy to implement ?
mgutt
Registered User
Posts: 346
Joined: Tue Sep 21, 2004 2:54 pm
Location: Germany, Sankt Augustin
Contact:

Re: [BETA] Phoogle (Google) Map

Post by mgutt »

How many users can be displayed on a map?

100 / 500 / 1000 / 5000 / 10000 ?
Forums: Honda || phpBB Categories Hierarchy
Mods: Spamfilter against bot registrations || Seo Urls
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 »

freddie wrote: using wildcards is not possible to search after a user, is it easy to implement ?

I don't know for certain, but it would probably involve regular expressions - ugh! :?
Post Reply

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