Legion of Honor Posted April 28, 2014 Posted April 28, 2014 Yep, if you change the code reference to 1.7.2 (most likely in globalTemplate), so it would read... <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> Since I am using the Bing API key etc wouldnt that change the address?
Legion of Honor Posted April 28, 2014 Posted April 28, 2014 Thanks for your assistance...this is for the bing version so it was a matter of just changing the following. needed to add this: ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.min.js
stoo2000 Posted April 28, 2014 Posted April 28, 2014 Thanks for your assistance...this is for the bing version so it was a matter of just changing the following. needed to add this: ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.min.js Use the latest of the chosen branch, so use 1.7.2. Update your existing script tag though, don't just needlessly load another version of jQuery on the same page
Legion of Honor Posted April 28, 2014 Posted April 28, 2014 I had to revert as it wouldnt update my location. Here is what the file looks like: Where would I insert that script to make it function properly? <script type='text/javascript'> ipb.vars['bingApiKey'] = "{$apiKey}"; ipb.vars['mmCacheFiles'] = "{$this->caches['mmFileCacheCount']['members']}"; </script> <if test="$this->memberData['member_id'] && in_array('1', $perms)"> <ul class='topic_buttons'> <if test="$perms['delete'] && $exists"> <li class='important'> <a id='memberMapDelete' href='#' title='{$this->lang->words['buttonDeleteLocation']}'>{$this->lang->words['buttonDeleteLocation']}</a> </li> </if> <if test="($perms['add'] && !$exists) || ($perms['edit'] && $exists)"> <li> <a id='memberMapUpdate' href='#' title='<if test="!$exists">{$this->lang->words['buttonAddLocation']}<else />{$this->lang->words['buttonUpdateLocation']}</if>'> <if test="!$exists">{$this->lang->words['buttonAddLocation']}<else />{$this->lang->words['buttonUpdateLocation']}</if> </a> </li> </if> </ul> </if> <h1 class="ipsType_pagetitle">{IPSLib::getAppTitle('membermap')}</h1> <if test="$this->memberData['member_id'] && in_array('1', $perms)"> <form id='memberMapUpdateInput' class='clear' style='display: none;'> <h3 class='maintitle'><if test="!$exists">{$this->lang->words['buttonAddLocation']}<else />{$this->lang->words['buttonUpdateLocation']}</if></h3> <div class='ipsBox ipsPad'> <div class='ipsBox_container'> <input type='text' id='locationAddress' class='ipsPad' placeholder='{$this->lang->words['addressInputPlaceholder']}'> <span class='right'> <a href='#' id='currentLocation' data-tooltip='{$this->lang->words['tooltipCurrentLocation']}'> <img src='{$this->settings['img_url']}/membermap/currentLocation.png'> </a> <input type='submit' value='{$this->lang->words['buttonSave']}'> </span> </div> </div> </form> </if> <div id='memberMapCanvasWrapper' class='ipsBox ipsPad'> <div id='memberMapCanvas' class='ipsBox_container'></div> </div>
stoo2000 Posted April 28, 2014 Posted April 28, 2014 I had to revert as it wouldnt update my location. Here is what the file looks like: Where would I insert that script to make it function properly? You won't insert anything, you need to change the existing reference to jQuery, which is probably in globalTemplate. Think of this as completely separate to member map.
Legion of Honor Posted April 28, 2014 Posted April 28, 2014 I see plenty of text/javascript...but no trailing numbers for the older version inside the global template.
stoo2000 Posted April 28, 2014 Posted April 28, 2014 I see plenty of text/javascript...but no trailing numbers for the older version inside the global template. Try asking SkinBox for instructions to update jQuery, they'll be able to give you an answer.
jimkeypro Posted April 28, 2014 Posted April 28, 2014 stoo - can you advise re my outstanding question ?
bloom691 Posted April 28, 2014 Posted April 28, 2014 Hi - we are getting this error from a user: Fatal error: Call to a member function mapTemplate() on a non-object in /home/runetime/public_html/admin/applications_addon/other/membermap/modules_public/membermap/map.php on line 77 They are using a Mac.. but no one else seems to have a problem (from a PC). Any ideas? Thanks!
stoo2000 Posted April 28, 2014 Posted April 28, 2014 stoo - can you advise re my outstanding question ? I don't have an answer yet, this part of the code is subject to change. Hi - we are getting this error from a user: Fatal error: Call to a member function mapTemplate() on a non-object in /home/runetime/public_html/admin/applications_addon/other/membermap/modules_public/membermap/map.php on line 77 They are using a Mac.. but no one else seems to have a problem (from a PC). Any ideas? Thanks! Follow the first part of this: http://www.invisionpower.com/support/kb/_/manually-rebuild-skins-and-languages-from-xml-r42
oissela-73 Posted May 1, 2014 Posted May 1, 2014 Hi, I upgraded to Member Map 2.0.0 Beta 2 and now as Board Admin I am not able to delete user's locations... In Member Map Permissions Mask I set the permission to delete locations for Admin... An other little question... As you can see here under Antartic there is a big blank space... How can I show map fullscreen? Thanks
Legion of Honor Posted May 1, 2014 Posted May 1, 2014 Try asking SkinBox for instructions to update jQuery, they'll be able to give you an answer. yup....... edited the skin to be 1.7.2 and bam...thanks stoo :D
oissela-73 Posted May 2, 2014 Posted May 2, 2014 An other little question... As you can see here under Antartic there is a big blank space... How can I show map fullscreen?
marklcfc Posted May 2, 2014 Posted May 2, 2014 I assume you're aware but on the current version if 2 or more people have the same location, only 1 member will show. Previously, it used to list every member with that location.
xtech Posted May 5, 2014 Posted May 5, 2014 I am getting a small bug: when at the member map, when clicking on the name of a member it gets me this address: -> for the user bassman-1001, for example: http://communityname.com/index.phpuser/65929-bassman-1001/ This is a malformed URL (at least missing a slash) which redirects to the homepage. The right URL should be: http://communityname.com/index.php/user/65929-bassman-1001/ - or - http://communityname.com/user/65929-bassman-1001/ I believe this can be easily fixed at the code. Where can i change this? Thank you for your help!
Soniceffect Posted May 5, 2014 Posted May 5, 2014 I am getting a small bug: when at the member map, when clicking on the name of a member it gets me this address: -> for the user bassman-1001, for example: http://communityname.com/index.phpuser/65929-bassman-1001/ This is a malformed URL (at least missing a slash) which redirects to the homepage. The right URL should be: http://communityname.com/index.php/user/65929-bassman-1001/ - or - http://communityname.com/user/65929-bassman-1001/ I believe this can be easily fixed at the code. Where can i change this? Thank you for your help! I thought this was already fixed at one point. Could be wrong.
stoo2000 Posted May 5, 2014 Posted May 5, 2014 I am getting a small bug: when at the member map, when clicking on the name of a member it gets me this address: -> for the user bassman-1001, for example: http://communityname.com/index.phpuser/65929-bassman-1001/ This is a malformed URL (at least missing a slash) which redirects to the homepage. The right URL should be: http://communityname.com/index.php/user/65929-bassman-1001/ - or - http://communityname.com/user/65929-bassman-1001/ I believe this can be easily fixed at the code. Where can i change this? Thank you for your help! admin/applicatons_addon/other/membermap/sources/classes/mapLib.php Change line 169 from 'url' => $this->registry->getClass('output')->buildSeoUrl('showuser='.$members[$id]['member_id'], 'public', $members[$id]['members_seo_name'], 'showuser'), to 'url' => $this->registry->getClass('output')->buildSeoUrl($this->settings['board_url'] . '/index.php?showuser='.$members[$id]['member_id'], 'none', $members[$id]['members_seo_name'], 'showuser'), xtech 1
Volstate Posted May 6, 2014 Posted May 6, 2014 Just curious....how long do u think it will be until this comes out of beta?
oissela-73 Posted May 9, 2014 Posted May 9, 2014 unanswered questions: I upgraded to Member Map 2.0.0 Beta 2 and now as Board Admin I am not able to delete user's locations... In Member Map Permissions Mask I set the permission to delete locations for Admin... Is it norma? As you can see here under Antartic there is a big blank space... How can I remove it to show map in fullscreen? new question (issue): user's profile links broken in my member map after upgrading to v2.0 were ok but not the lost a slash in url... How can I fix it?
stoo2000 Posted May 9, 2014 Posted May 9, 2014 unanswered questions: I upgraded to Member Map 2.0.0 Beta 2 and now as Board Admin I am not able to delete user's locations... In Member Map Permissions Mask I set the permission to delete locations for Admin... Is it norma? As you can see here under Antartic there is a big blank space... How can I remove it to show map in fullscreen? [Admin] Delete functionality will return in a near-future version, users are currently able to remove their own markers. - If you need to do this you can manually delete the data from the member_map table and then rebuild the cache for the app. The blank space is because the map is zoomed all of the way out, this is caused by the marker that is placed in Antarctica. new question (issue): user's profile links broken in my member map after upgrading to v2.0 were ok but not the lost a slash in url... How can I fix it? http://community.invisionpower.com/topic/306966-member-map/page-87#entry2479824 (this is literally 3 posts before this one :sad: )
z1000-forum.de Posted May 31, 2014 Posted May 31, 2014 i took some time today to update our member maps after few months with non working old version based on google api. @stoo i just added some features to the version on my own. should i integrate them properly (and not like a quick fix) into the maps version and send it to you, so all users can use them!? my additional features are (of course all accessable in ACP): - disable the best fit zoom (i don't want to see all the world, because our members are mainly located in germany) - define initial center location - define initial zoom (in my case 10) - auto center to my location (if it is set) - set zoom when auto centering to my location (in my case 6) - set MapType (i.e. to road instead of automatic) - switch some map options (animate, showMapTypeSelector, showBreadcrumb) - set zoom of profile map (in my case 10) i think especially the center and zoom to my location is very useful, because it gives me what my users expect from the map. they want to find members in their region. i would like to see these features in the official version, anybody else? Draffi, bwj and Kjell Iver Johansen 3
stoo2000 Posted June 1, 2014 Posted June 1, 2014 i took some time today to update our member maps after few months with non working old version based on google api. @stoo i just added some features to the version on my own. should i integrate them properly (and not like a quick fix) into the maps version and send it to you, so all users can use them!? my additional features are (of course all accessable in ACP): - disable the best fit zoom (i don't want to see all the world, because our members are mainly located in germany) - define initial center location - define initial zoom (in my case 10) - auto center to my location (if it is set) - set zoom when auto centering to my location (in my case 6) - set MapType (i.e. to road instead of automatic) - switch some map options (animate, showMapTypeSelector, showBreadcrumb) - set zoom of profile map (in my case 10) i think especially the center and zoom to my location is very useful, because it gives me what my users expect from the map. they want to find members in their region. i would like to see these features in the official version, anybody else? Sure, feel free to email it over to me, I'll take a look and see what can be included. xtech and bwj 2
Recommended Posts