when you set your albums to private or any other the albums are replaces with a nice looking blue pad
like in
m/videos/albums/browse/all
m/photos/albums/browse/all
This will hide the nice looking useless blue pad locks site wide
/templates/base/scripts BxBaseSearchResultSharedMedia.php
around line 506 find this function
function displayAlbumUnit ($aData, $bCheckPrivacy = true) {
if (!$this->bAdminMode && $bCheckPrivacy) {
if (!$this->oPrivacy->check('album_view', $aData['ID'], $this->oModule->_iProfileId)) {
$aUnit = array(
'img_url' => $this->oTemplate->getIconUrl('lock.png'),
);
return $this->oTemplate->parseHtmlByName('album_unit_private.html', $aUnit);
}
}
replace red code with new one
return $this->aCurrent['restriction']['allow_view']['value'] = $this->aVisible;
soon ill post on how to remove the (blue pads) when viewing all files like in
m/videos/browse/all or m/photos/browse/all from showing up as well.