Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Volstate Posted March 14, 2014 Posted March 14, 2014 I cannot wait for this to get out of beta and get to full release :smile: xtech 1
VR6Pete Posted March 23, 2014 Posted March 23, 2014 Hi there. Any indication when custom markers will return? Thanks Pete
jimkeypro Posted March 29, 2014 Posted March 29, 2014 Hiya, You might get it to work, you might not. The new template that this would go in is function mapInfoBox($memberData) { $IPBHTML = ""; //--starthtml--// $IPBHTML .= <<<EOF <php> $avatar = IPSMember::buildProfilePhoto($memberData, 'small'); </php> {$avatar} EOF; //--endhtml--// return $IPBHTML; } You would need to strip out all of the old HTML that's no longer used and just add {$sig} This information will be cached to a public place on your website and may cause the map to load slower (since there's going to be quite a bit more data to load) Sorry - which template needs to be edited ???
kotperski Posted March 30, 2014 Posted March 30, 2014 Hi all. Nice addon overall, users generally like it. I've installed it, everything works good except one thing: When user adds his/her location, the infobox popup shows null string instead of user's name. But this null can be clicked (it's inside A tag) and it points to the user's profile. Only one user (from moderator group) has his name displayed properly. All permissions are set. How can I fix this issue? After quick look it seems like s.display_name (in jq.membermap.js) containts wrong value.
stoo2000 Posted March 30, 2014 Posted March 30, 2014 Sorry - which template needs to be edited ??? mapInfoBox Hi all. Nice addon overall, users generally like it. I've installed it, everything works good except one thing: When user adds his/her location, the infobox popup shows null string instead of user's name. But this null can be clicked (it's inside A tag) and it points to the user's profile. Only one user (from moderator group) has his name displayed properly. All permissions are set. How can I fix this issue? After quick look it seems like s.display_name (in jq.membermap.js) containts wrong value. I've seen it on a few installs so far, a number of them seem to rectify themselves. Haven't tracked down the cause for it yet. Theoretically it shouldn't be possible.
Clover13 Posted March 30, 2014 Posted March 30, 2014 Nice clean upgrade, no issues once I got a Bing API key. Only thing I had to manually update were the images that land under master styles directory and copy them over to my skin style images directory. Few recommendations (I haven't read through the entire thread, so please ignore any duplicate requests): 1) The number of members on that map is no longer shown (previously at the bottom left of the Member Map) 2) The popup dialog box is quite dark, dark fonts on dark background. Can customize this through the css styling and templates, but just a consideration for a global change. 3) Would be a great enhancement to have some level of member list and search on the map page to find where a given member is (without going into their profile) or to show what members are in a certain area (like a radius search). 4) Maybe have an option to show the member names in some way rather than just a number on the map and requiring a click to see who it is. At least at a certain zoom level, start to expose the member names rather than just a number. I can see the grouping at a higher elevation but once zoomed in there is a UX value to having them exposed and making things more efficient to see the respective member names. All in all, great work as usual stoo! Looking forward to the final release! :smile:
Dmacleo Posted March 30, 2014 Posted March 30, 2014 mapInfoBox I've seen it on a few installs so far, a number of them seem to rectify themselves. Haven't tracked down the cause for it yet. Theoretically it shouldn't be possible. possible this is php 5.5 issue with the opcode cache enabled?
jimkeypro Posted April 5, 2014 Posted April 5, 2014 Sorry - which template needs to be edited ??? Still a little lost here - mapinfo contains this info currently <php> $avatar = IPSMember::buildProfilePhoto($memberData, 'small'); IPSText::getTextClass('bbcode')->parse_html = $memberData['g_dohtml']; IPSText::getTextClass('bbcode')->parse_nl2br = 1; IPSText::getTextClass('bbcode')->parse_smilies = 0; IPSText::getTextClass('bbcode')->parse_bbcode = 1; IPSText::getTextClass('bbcode')->parsing_section = 'signatures'; IPSText::getTextClass('bbcode')->parsing_mgroup = $memberData['member_group_id']; IPSText::getTextClass('bbcode')->parsing_mgroup_others = $memberData['mgroup_others']; $memberData['signature'] = IPSText::getTextClass('bbcode')->preDisplayParse( $memberData['signature'] ); $memberData['signature'] = $this->registry->getClass('output')->getTemplate('global')->signature_separator( $memberData['signature'] ); $sig = str_replace(array('"', "n", "r"), array("'", '', ''), $memberData['signature']); $memberData['prefix'] = str_replace('"', "'", $memberData['prefix']); </php><div class='left def'>{$avatar}</div><div class='left text'><h3><a href='{parse url="showuser={$memberData['member_id']}" template="showuser" seotitle="{$memberData['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$memberData['members_display_name']}</a><span class='ieHide'>{parse template="user_popup" group="global" params="$memberData['member_id'], $memberData['members_seo_name']"}</span></h3><p>{$memberData['prefix']}{$memberData['g_title']}{$memberData['suffix']}</p><if test="($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']) || $this->memberData['g_is_supmod'] == 1"><p class='remMarker'><a href='{parse url="module=membermap&action=removeMarker&do={$memberData['member_id']}" base="publicWithApp" template="removeMarker" seotitle="false"}' title='{$this->lang->words['modRemoveMarker']}'>{parse replacement="rep_down"} {$this->lang->words['modRemoveMarker']}</a></p></if></div><br clear='all'/>{$sig} So all of that needs to be removed and replaced with the code you advised ?
Soniceffect Posted April 5, 2014 Posted April 5, 2014 Still a little lost here - mapinfo contains this info currently So all of that needs to be removed and replaced with the code you advised ? Is it not the template you should be editing? That looks like a php file (although havent looked either lol)
stoo2000 Posted April 5, 2014 Posted April 5, 2014 Still a little lost here - mapinfo contains this info currently So all of that needs to be removed and replaced with the code you advised ? You certainly should revert your member map template customisations from 1.0.9, they won't work at all with 2.0 If you do add any extra content to the template, it will be available to every visitor regardless of any setting for viewing signatures etc.
jimkeypro Posted April 5, 2014 Posted April 5, 2014 You certainly should revert your member map template customisations from 1.0.9, they won't work at all with 2.0 If you do add any extra content to the template, it will be available to every visitor regardless of any setting for viewing signatures etc. OK. Reverting gave this : <php> $avatar = IPSMember::buildProfilePhoto($memberData, 'small'); </php> {$avatar} But adding {$sig} to the end did nothing ............
P15-D24 Posted April 9, 2014 Posted April 9, 2014 Did the upgrade successfully and installed new Bing API key. Map come up but none of the old entires appear. What step did I miss?
P15-D24 Posted April 9, 2014 Posted April 9, 2014 Never mind, recached mmFileCacheCount and the old members reappeared. :smile: Soniceffect and stoo2000 2
jimkeypro Posted April 14, 2014 Posted April 14, 2014 OK. Reverting gave this : But adding {$sig} to the end did nothing ............ ? Bump ... PS - Happy to buy this mod if a premium version were made with greater customisation out of the box ............ xtech 1
CaptJeff Posted April 16, 2014 Posted April 16, 2014 HI Stuart! Any progress on the Custom marker ability? Also please remember I would love to have a filter that someone could choose to see only specific custom markers. Example ... I have a map full of fruit markers, Apples, pears, oranges, grapes, peaches, Love to have a drop down menu to select "Show me only Apples" on the map.. Love the program and hope all things are well with you. Jeff
CaptJeff Posted April 16, 2014 Posted April 16, 2014 O Poo. Forgot the whole reason I came on here. I have most likely asked this question before but is there a way I can be notified via an email when someone puts a new marker on the map. I would love to know when my members are putting a pin in the map. Jeff Draffi 1
.Ian Posted April 17, 2014 Posted April 17, 2014 O Poo. Forgot the whole reason I came on here. Jeff Glad you did. Reminded me that I need to book a balloon ride with you for my wife and me.
CaptJeff Posted April 17, 2014 Posted April 17, 2014 www.thompsonaire.com Pray for good weather. Our weather here has not been good this spring. Jeff stoo2000 1
Adam84 Posted April 20, 2014 Posted April 20, 2014 Hello! Thanks for the work, looks really nice and works smooth.. maybe a few suggestions from my side: Option to add a List of Users which added their location to the map and a option to filter marks by groups, for example show only marks from group1, only from group2, show from all An Integration in IP.Calendar when Creating Events would be WOW!!!
Legion of Honor Posted April 25, 2014 Posted April 25, 2014 For some reason it will not let me change my location or let my membership add their locations. ANy ideas? The buttons are there, but when they get clicked, nothing happens.
stoo2000 Posted April 25, 2014 Posted April 25, 2014 For some reason it will not let me change my location or let my membership add their locations. ANy ideas? The buttons are there, but when they get clicked, nothing happens. The most likely scenario is that you already have jQuery included on the page, but it is an old version. Updating jQuery to 1.7.2 or newer 1.x will provide the required functionality.
Legion of Honor Posted April 27, 2014 Posted April 27, 2014 The most likely scenario is that you already have jQuery included on the page, but it is an old version. Updating jQuery to 1.7.2 or newer 1.x will provide the required functionality. How do I check this? I am not sure how to proceed on how to upgrade to JQuery 1.7.2
stoo2000 Posted April 27, 2014 Posted April 27, 2014 How do I check this? I am not sure how to proceed on how to upgrade to JQuery 1.7.2 What's your URL? I'll have a look and advise
Legion of Honor Posted April 27, 2014 Posted April 27, 2014 What's your URL? I'll have a look and advise www.legionofhonorclan.com/ you wont be able to see anything other than what is allowed and the membermap is not allowed..is there something i can do to check? when i use my console I get this: so I guess its 1.6.4? /*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */
stoo2000 Posted April 28, 2014 Posted April 28, 2014 www.legionofhonorclan.com/ you wont be able to see anything other than what is allowed and the membermap is not allowed..is there something i can do to check? when i use my console I get this: so I guess its 1.6.4? /*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */ 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>
Recommended Posts