
johno
Unwanted photo block when adding a 3rd column in profile!!!!!!!!!!!!!!!!!!!!!!!!!!
Comments
| zmoos | 51 days ago![]() |
![]() | ![]() | |
![]() | Yes, I can confirm this bug as well... i just haven't gotten around to reporting yet. I figured it was SO obvious that it would have been taken care of already. But I guess people aren't using the 3rd column too much yet. BTW, I'm not sure of people will take your post too seriously since you posted it twice, and with dozens of exclamation points. | ![]() |
![]() | ![]() | ![]() |
| johno | 51 days ago![]() |
![]() | ![]() | |
![]() | zmoos....yeah the posting more than once was actually a genuine mistake as I kept pressing the back button on my browser, each time I did that it posted a NEW post. Then when I went to delete them I was unable to, silly actually, that should be a function. The exclamation marks were my desperate attempt to get someone to notice this as I posted it a few days back and had no response. Anyway I managed to get it fixed from looking at an earlier post. Thanks | ![]() |
![]() | ![]() | ![]() |
| LHAdmin | 51 days ago![]() |
![]() | ![]() | |
![]() | Rats. I'm just new testing that. I brought attention to it before the 6.1.1 patch. I thought (hoped) it had been resolved with the patch. Nope! I see the membership types aren't being updated correctly still either in the Users list. I hope this gets corrected soon. | ![]() |
![]() | ![]() | ![]() |
| AndreyP | 51 days ago![]() |
![]() | ![]() | |
![]() | To fix make changes in 'BxBaseProfileView.php' .. look an necessary code: function showBlockPhoto( $iCol, $bNoDB = false ) { $iPID = 0; if( $iCol == 1 ) { $iPID = $this -> _iProfileID; $sNickName = $this -> _aProfile['NickName']; } elseif( $iCol == 2 ) { if( !$this -> _aProfile['Couple'] ) return; $iPID = $this -> _iProfileID; //$iPID = (int)$this -> _aProfile['Couple']; $sNickName = $this -> _aProfile['NickName'] . '(2)'; } if ($iPID > 0) { $oPhotos = new ProfilePhotos( $iPID ); $oPhotos -> getActiveMediaArray(); if( $this -> _aProfile['Couple'] && $iCol != 1 ) { $aCoupleInfo = getProfileInfo($this->_aProfile['Couple']); if ($aCoupleInfo['Picture']==0) { $oPhotos = new ProfilePhotos( $this->_aProfile['Couple'] ); $oPhotos -> getActiveMediaArray(); } $ret = $oPhotos -> getMediaBlock($aCoupleInfo['PrimPhoto'], true); } else { $ret = $oPhotos -> getMediaBlock(0); } if ($bNoDB) { return DesignBoxContent( _t( '_PROFILE Photos', $sNickName ), $ret, 1 ); } else { echo DesignBoxContent( _t( '_PROFILE Photos', $sNickName ), $ret, 1 ); } } } | ![]() |
![]() | ![]() | ![]() |
| gohanz | 50 days ago![]() |
![]() | ![]() | |
![]() | Hello, I'm not good in programming, so do I just copy paste the code to replace the existing one? I am also having this problem. Thanks!! | ![]() |
![]() | ![]() | ![]() |
| LHAdmin | 50 days ago![]() |
![]() | ![]() | |
![]() | If you do a comparison to the code you have now versus what Andry porivded, is there are only 3 lines of code that are different and need to be added are: $iPID = 0; if ($iPID > 0) { } (at the end) | ![]() |
![]() | ![]() | ![]() |
Post a Comment
Please login to post a comment.



































