vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - DamnComp - MemberMap (https://vborg.vbsupport.ru/showthread.php?t=285479)

wally07 05-03-2013 03:27 AM

Quote:

Originally Posted by swiss-yeti (Post 2401274)
Running 4.2.0 PL3, German - MemberMap still NOT working

i've tryed also on two test-systems (4.2.0PL3) - NOT working
on "Update your locations" nothing happens - no function
system-cache i've cleared...no differend, NOT working :(

anyone has ideas whats wrong?
thx for help

I'm having the exact same problem. Mind telling me what the solution was?

Thanks in advance.

edit:
nevermind, I uninstalled.

EBZ2010 06-04-2013 12:54 PM

How can I remove the navigation tab or link from the navbar?

EBZ2010 06-12-2013 12:51 PM

Is there any assistance on this mod. I would like to remove the Map link from navbar. Can anyone help me with how to do that, thank you.

vb_nils 06-16-2013 06:22 AM

Just a little return of experience...

I was experimenting white pages using this mod (while it was working in the past). It was due to a lack of memory caused by the huge number of markers to display on the map.
I could change that by adding
Code:

ini_set("memory_limit", "256M");
just after the tag "<?php" in file dcMembermap.php (at the VB root)

While looking at the code, I can see that it is not optimized for huge number of markers.
I'll try to improve that and share a proposal ;)

vb_nils 06-16-2013 06:53 PM

For those who want to clustering the markers (when you have too much markers to display), I'm sharing with you the small changes I've performed.
http://imageshack.us/photo/my-images/402/z2xp.png/

* Download file markerclusterer_compiled.js from http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer
/src/markerclusterer_compiled.js


* Upload in folder "clientscript"

* In CP, Styles & Templates, search for "dcMembermap_js" template in your theme, and open it.
Note: if you are using several themes, this should be performed for each of your style.

* Search for
Code:

<script src="{vb:raw vboptions.bburl}/clientscript/dcMembermap.js" type="text/javascript"></script>
* Just after add
Code:

<script src="{vb:raw vboptions.bburl}/clientscript/markerclusterer_compiled.js" type="text/javascript">
* Open file dcMembermap.js from folder "clientscript"

* Search this block
Code:

// Parse through the given points and show the map
    var point, marker;
    for (i in points) {
        point = points[i];
        addMarker(point);
       
        if (point.userid == this_user.userid) my_point = point;
       
        if (search_type == "userid" && point.userid == search) {
            search_hit = point;
        }
        if (search_type == "username" && point.name.toLowerCase() == search.toLowerCase()) {
            search_hit = point;
        }
    }

* Just after, add
Code:

// clustering markers options
        var mcOptions = {gridSize: 50, maxZoom: 15};
        var markerCluster = new MarkerClusterer(map, markers, mcOptions);

Note: You may adapt the option values for your needs

* Search for
Code:

function addMarker(point) {
* At the end of the function (just before the closing bracket }), add
Code:

        // clustering markers
        markers.push(point.marker);

* Save and reupload the file

Of course, can be still improved ... especially using ajax to load the markers (other step) ;-)

Cheers

Ba'al 06-18-2013 04:18 AM

Quote:

Originally Posted by EBZ2010 (Post 2425755)
How can I remove the navigation tab or link from the navbar?

admincp>settings>nav. manager and remove the check out of the map box.

hohleweg 10-03-2013 04:08 PM

Hallo
Hat einer ein deutsches Sprachpaket zu diese MemberMap,.
Danke.
Gruß Jo

ozzy47 10-03-2013 05:07 PM

Quote:

Originally Posted by hohleweg (Post 2449703)
Hallo
Hat einer ein deutsches Sprachpaket zu diese MemberMap,.
Danke.
Gru? Jo

Please keep all posts in English.

Ba'al 10-03-2013 10:05 PM

Quote:

Originally Posted by ozzy47 (Post 2449718)
Please keep all posts in English.

Quote:

Hello
Has one a German language pack to this Membermap.
Thank you.
Greeting Jo
lol

ozzy47 10-03-2013 10:16 PM

Yes I knew what it was, with google translate, but the posts still need to be in English. :)


All times are GMT. The time now is 07:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01483 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete