HomeUnityBlogs
 
 
mittalpatel

PHOTOS block on profile view page

I have installed the Dolphin+Ray+Orca for my site www.myuniverese.co.za . Now the problem is that on each profile it keeps showing PHOTOS block on the top of third column. I hadn't put any block named this. I tried to remove it but couldn't do that, it isn't there in Build Page View section. Moreover when I exchanged column 2 and 3, it was still there on the top of the last column. It was once removed when I made the page of 2 column ( Removed column 3 completely.). But I want to show 3 columns on my site so that solution is of no use.

So please tell me why it is coming there. It is a short of bug I guess so thought to inform you people.

Thanks a lot.

- Mittal Patel
http://www.MittalPatel.co.in
bad
0
good
 
 

Comments

jungtho
jungtho 52 days agocomment permalink
 
try this....

Open BxBaseProfileView.php



Go to line 197 :



It looks like this :

---

function showBlockPhoto( $iCol, $bNoDB = false )
{
if( $iCol == 1 ) {
$iPID = $this -> _iProfileID;
$sNickName = $this -> _aProfile['NickName'];
} elseif( $iCol == 2 ) {
if( !$this -> _aProfile['Couple'] )
return;

---



Change it to this:



---

function showBlockPhoto( $iCol, $bNoDB = false )
{
if( $iCol == 1 ) {
$iPID = $this -> _iProfileID;
$sNickName = $this -> _aProfile['NickName'];
} elseif( $iCol == 2 ) {
if( !$this -> _aProfile['Couple'] )
return;

} elseif( $iCol == 3 ) {
if( !$this -> _aProfile['Couple'] )
return;

---



Save and upload the file....
 
bad
0
good
 
View 1 replies to this comment
 
bostonerotic
bostonerotic(positive) 44 days agocomment permalink
 
Perfect, took care of the problem, Thank you!
 
bad
1
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
mittalpatel Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.383472204208