Remove Profile Photo Block 6.1

LHAdmin posted 7th of May 2008 in Community Voice. 7 comments.
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?
 
Comments
·Oldest
·Top
Please login to post a comment.
MichelSwiss
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...)
LHAdmin
Thanks for the info. That sounds like a step back in functionality from 6.005 where you had control of the photo block placement.
johno
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?
famarx
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....
jaminunit
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.
myfetishwp
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 see more to start with.
I have not yet found how to move it to another column though.
thenerve
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>';
}
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.086086988449097