HomeUnityBlogs
 
 
LHAdmin

Remove Profile Photo Block 6.1

While I have some challenges with the new profile builder, I understand it conceptually.  I've read others' posts regarding some potential "bugs."  One problem I have is that the member's Photo Block always appears in the left column of their profile page, even though I don't have that block in the builder!  This happens whether or not I have the "New Gallery Feature for Profile Photos" setting on in Advanced Settings.

Thoughts?
bad
0
good
 
 

Comments

MichelSwiss
MichelSwiss 114 days agocomment permalink
 
The position of this block is defined in templates/base/scripts/BxBaseProfileView.php
line 82: function getBlockCode_Topest($iColumn)... and is unmovable from the Admin Panel (but you can try to edit the script...)
 
bad
0
good
 
 
LHAdmin
LHAdmin 114 days agocomment permalink
 
Thanks for the info. That sounds like a step back in functionality from 6.005 where you had control of the photo block placement.
 
bad
0
good
 
 
johno
johno 113 days agocomment permalink
 
Yes I agree it is a step back, can it not be added back somehow? Also when creating a new/3rd column it places a mysterious Photo Block on the top. Anyone have a solution to this?
 
bad
0
good
 
 
famarx
famarx 96 days agocomment permalink
 
Hi, have you had any clue about this issue? I've commented line 82 as proposed but page doesn't change, I just don't know how to recompile it....
 
bad
0
good
 
 
jaminunit
jaminunit 51 days agocomment permalink
 
Yeah I would love to know an answer to this tol :)
the 3rd column mysterious Photo Block on top is doing my head in as well.

I would love to make the profile photo block smaller to.
 
bad
0
good
 
 
myfetishwp
myfetishwp 46 days agocomment permalink
 
Hi there,

If you want to remove it then you can change :

function getBlockCode_Topest($iColumn) {
return '<div class="page_block_container">' . $this->oProfileV->showBlockPhoto($iColumn, true) . '</div>';
}

to :
function getBlockCode_Topest() {
return '<div class="page_block_container">' . $this->oProfileV->showBlockPhoto('', true) . '</div>';
}
Not the most elegant way of doing things but then again it's not very elegant to start with.
I have not yet found how to move it to another column though.
 
bad
0
good
 
 
thenerve
thenerve 21 days agocomment permalink
 
writing the function written this way removes it cleanly in the 6.2.4 version:

function getBlockCode_Topest($iColumn) {
return '<div class="page_block_container"></div>';
}
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

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