hiding blue pad locks

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.

Quote · 29 Dec 2011

Did you find a solution yet?

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 19 May 2012
 
 
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.