Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) New 'MemberMap' Mod Beta 2 YaBB 2.6.11 (Read 7795 times)
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Jan 6th, 2015 at 4:54am
Print Post  
Hello

Descrition:
.
In this version we use the "Google Maps API JavaScript v3" (no API key needed)

+ Functions
    +Generally
        - This mod will add a Member Map to your board
        - Members can select a Country and pin their locaion (set Marker) on the Map
        - Guests (only if allowed) and Members can view the members location in the Member Map, Profile-view and in Posts

    +Administrator
        - Enable/Disable Member Map for Guests or all Members
        - Ask for Location/Country/Pin Marker on Registration (Disable/Optional/Required)
        - Set on/off 'Member Map' Button to Tabs Menue on Forum
        - Enable/Disable show Country/Map infos in threads
        - Enable/Disable allow users to hide Country/Map infos in threads
        - Map Style settings
          (Control style, Zoom style, Marker mouseover ....)
        - Map MarkerClusterer settings
          (Different markers are combined into a cluster, depending on the zoom level.)
        - Rebuild Member Map function
    +Members
        - Member can enable/disable show Country/Map infos in threads (User CP)(If Admin allow)
        - Select their country (Flag) and pin their locaion(set Marker) on the Map


Screenshots: (Picasa Gallery)

MemberMap




Profile View


My Center


Display/Post


User CP


Register


Admin Center


Installation:

1) Upload the folder "MemberMap" with all files to your "public_htm/yabbfiles/ModImages" directory 

     public_html/yabbfiles/ModImages/MemberMap/mapIcons/*.png                  (binary mode!)
     public_html/yabbfiles/ModImages/MemberMap/css/*.css                        (ASCII mode!)
     public_html/yabbfiles/ModImages/MemberMap/js/*.js                        (ASCII mode!)

2) Upload (in ASCII mode) the "MemberMap Sources Files" to ....

     cgi-bin/yabb2/Admin/Settings_MemberMap.pm      

     cgi-bin/yabb2/Languages/English/MemberMap.lng
     cgi-bin/yabb2/Languages/English/MemberMapCountry.lng

     cgi-bin/yabb2/Languages/Sources/MemberMap.pm
     cgi-bin/yabb2/Languages/Sources/miniMap.pm      


3) Install the mod with the BoardMod Software or manually and upload (in ASCII mode):

     cgi-bin/yabb2/AdminIndex.pl

     cgi-bin/yabb2/Admin/ManageTemplates.pm
     cgi-bin/yabb2/Admin/ModList.pm
     cgi-bin/yabb2/Admin/NewSettings.pm

     cgi-bin/yabb2/Languages/English/Menu.lng

     cgi-bin/yabb2/Sources/AdvancedTabs.pm
     cgi-bin/yabb2/Sources/Display.pm
     cgi-bin/yabb2/Sources/MyCenter.pm
     cgi-bin/yabb2/Sources/Profile.pm
     cgi-bin/yabb2/Sources/Register.pm
     cgi-bin/yabb2/Sources/SubList.pm
     cgi-bin/yabb2/Sources/System.pm
     cgi-bin/yabb2/Sources/TabMenu.pm

     cgi-bin/yabb2/Templates/default/Display.template
     cgi-bin/yabb2/Templates/default/MyCenter.template
     cgi-bin/yabb2/Templates/default/MyProfile.template
     cgi-bin/yabb2/Templates/default/Register.template

     cgi-bin/yabb2/Variables/Settings.pm

Credits:

Goggle Maps is a registered trademark of Google Inc.
The author declines every responsability about this software

Big thx go's also to Mike Williams Google Maps API (v2) Tutorial
Community Church Javascript Team
http://econym.org.uk/gmap
« Last Edit: Jan 30th, 2015 at 3:01pm by ..:X.T.C:.. »  

MemberMap_Y2611_beta2.zip ( 164 KB | Downloads )
MemberMap_Y2611_german_lng.zip ( 0 KB | Downloads )

Back to top
WWW  
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #1 - Jan 12th, 2015 at 3:21pm
Print Post  
Hello

OK ... new ZIP in first post (version Beta 2) ....

What is new?
Fix a display bug reported by 'Cj3apage'

Edit some words in English/MemberMap.lng

Changed "Amerika" to "America"
"Button to Tabs Menue on Forum?" to "Button to Tabs Menu on Forum?"
"entrys" to "entries"


If you don't want deinstall Beta 1 ... you can use Bugfix Mod attach in this post (Beta 1 to Beta 2)

lg XTC
  

MemberMap_Beta1_Bugfix.zip ( 0 KB | Downloads )

Back to top
WWW  
IP Logged
 
shodam1
New Member
*
Offline


I Love YaBB 2!

Posts: 7
Joined: Jan 17th, 2009
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #2 - Feb 16th, 2015 at 7:52pm
Print Post  
Hello,
I'd like to report a strange behaviour (bug?) by this mod. It's regarding the map icon in threads. It seems that when somebody with map entry posts in thread all subsequent posts are also marked with the same map icon (eg. posts of the users which don't have any map entry). The links by all posts of all users lead to the same map position of the user with map entry. Thread looks like this:
post 1 - user A - no map entry, no map icon
post 2 - user B - map entry, map icon leading to position of user B
post 3 - user A - no map entry BUT map icon leading to position of user B

shodam
  
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #3 - Feb 20th, 2015 at 5:48pm
Print Post  
Hello

shodam1 wrote on Feb 16th, 2015 at 7:52pm:
Hello,
I'd like to report a strange behaviour (bug?) by this mod.

Thx for report .... will check that  Wink

lg XTC
  

Back to top
WWW  
IP Logged
 
shodam1
New Member
*
Offline


I Love YaBB 2!

Posts: 7
Joined: Jan 17th, 2009
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #4 - Mar 22nd, 2015 at 9:30pm
Print Post  
Hi,
I'd like to report one more possible bug in this mod. Repeatedly strange pins appear on the map in the middle of Atlantic (see the attached screenshot). They don't belong to any member and they're all at the same place. After rebuilding of member map database they disappear but soon they're back. Unfortunately I can't tell exactly which steps lead to this behaviour but one member reported that he pinned the right location and after saving he was always automatically moved to the equator...
  

map.png ( 188 KB | Downloads )
map.png
Back to top
 
IP Logged
 
shodam1
New Member
*
Offline


I Love YaBB 2!

Posts: 7
Joined: Jan 17th, 2009
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #5 - Mar 23rd, 2015 at 8:55pm
Print Post  
one more thing... When I click on the pin on the map to get information about that user,  the map automatically zooms out to some "standard zoom" setting (map shows the whole country). With many users/pins on the map it means that I get immediately lost. And sometimes it works the other way round - it zooms all the way in and the chosen pin is not on the screen. I would expect that the zoom remains the same regardless clicking on the pins until it's intentionally changed.

P.S.: Please take my reports only in a positive way! I like this mod very much and it's very important for my forum.

Thank you!
  
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #6 - Mar 25th, 2015 at 4:58pm
Print Post  
Hello

It could be that this not realy a bug .... what have you set by the Map MarkerClusterer settings?

I can remember me when i have test the Mod and set the value too high ... there was a problem with the Marker.

lg XTC
  

Back to top
WWW  
IP Logged
 
shodam1
New Member
*
Offline


I Love YaBB 2!

Posts: 7
Joined: Jan 17th, 2009
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #7 - Mar 26th, 2015 at 8:02pm
Print Post  
I used the standard setting (cluster size 3, grid size 10) but it works in the same way even if I switch it off completely. I simply can't zoom in on the city and click on individual pins. After first click the map zooms out to country level.
  
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #8 - Mar 26th, 2015 at 8:47pm
Print Post  
Hello

shodam1 wrote on Mar 26th, 2015 at 8:02pm:
I simply can't zoom in on the city and click on individual pins. After first click the map zooms out to country level.

Is there a link to your Forum .... so i can view the source code in the Browser!?

maybe the javascript locations are brocken  Huh

Code (Javascript)
Select All
    var locations = [
....
....
....
]; 



lg XTC
  

Back to top
WWW  
IP Logged
 
shodam1
New Member
*
Offline


I Love YaBB 2!

Posts: 7
Joined: Jan 17th, 2009
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #9 - Mar 27th, 2015 at 7:49pm
Print Post  
my forum is at www.astro-forum.cz
  
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #10 - Mar 28th, 2015 at 6:01pm
Print Post  
Hello

When i check the source code .... i see some emty lat/lon values!

Can you check the Settings @members Giftmacher, jirkah, Vodolaz, pivocz, Volodus

lg XTC
  

Back to top
WWW  
IP Logged
 
shodam1
New Member
*
Offline


I Love YaBB 2!

Posts: 7
Joined: Jan 17th, 2009
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #11 - Mar 29th, 2015 at 8:43am
Print Post  
Yes, that's the problem with users located on the equator. For example user "chalus1" has no lat/lon values in his profile or .vars file but still there's a record in membermap.db: chalus1|||||cz
The result is that he's not in the pin-list but he has a pin with his name on the map (0 lat/ 0 lon).

edit: So I tried the map function with "test-user" and the result is clear. When the user just picks the country (which visually seems not related to membermap) and doesn't put the pin on the map, the entry in the database is created with zero values. This should probably be corrected in the next version Wink 

edit2: BTW the entries remains in the database even if all values incl. counry are deleted. That means for the users that it's impossible to take their pins out of the map.
  
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #12 - Mar 29th, 2015 at 9:47am
Print Post  
Hello

Thx for feedback .... will fix that in the next Version  Wink

lg XTC
  

Back to top
WWW  
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #13 - Mar 31st, 2015 at 3:43am
Print Post  
Hello

@shodam1

Can you replace your Sources/MemberMap.pm with attach MemberMap.pm on your Server ....

This should fix the emty lat/long display on Map.

lg XTC
  

MemberMap.zip ( 4 KB | Downloads )

Back to top
WWW  
IP Logged
 
shodam1
New Member
*
Offline


I Love YaBB 2!

Posts: 7
Joined: Jan 17th, 2009
Re: New 'MemberMap' Mod Beta 2 YaBB 2.6.11
Reply #14 - Apr 1st, 2015 at 6:44pm
Print Post  
Thanks a lot but I'm afraid there must be something wrong with that file - replacing it made my map completely disappear. There's just member list but no map.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint