Sometimes, you need to hide default photo Albums from Album Browse Page and Member Profile Page…there is a solution for do that!
Here…this modification will hide default Albums from members on Browse Albums Page
1. Open the file : ../application/modules/Album/controllers/IndexController.php
2. Search for the following code about line number 66
$select = $table->select() ->where("search = 1") ->order($order . ' DESC');
3. Add below:
$select->where('type IS NULL');
4. Finished
Further…this modification will hide default Albums from members on Member Profile Page
1. Open the file: ../application/modules/Album/Model/DbTable/Albums.php
2. Search for the following code about line number 78:
if(!empty($options['search'])&& is_numeric($options['search'])){ $select->where('search = ?', $options['search']); }
3. Add below:
$select->where('type IS NULL');
4. Finished
Looking for quality web hosting? Look no further than Arvixe Web Hosting!
any way to do this with HE albums?
Not at the moment sorry. You can post the idea of it on https://hireexperts.uservoice.com/forums/249457-socialengine
H-E may add it to their system