By Julien Camus on Tuesday, 18 July 2017
Posted in General
Replies 1
Likes 0
Views 162
Votes 0
Hello Raymond,

Removing Photos and friends from below the top toolbar (without completely disabling photos and friends) would also be done as an override?

Also, the "Discover section" like shown attached. How can we remove this?

Finally, any way we can completely disable the "friends" pages. I don't want users to browse users on the site. Just want to use ES for groups. (This part... if you could tell how to do it without doing it yourself yet... would be nice).

Thanks!

Julien
Hello Julien,

Yes, any changes you made on the toolbar should be done as a template override.

You may remove the "Discover" section of the toolbar by removing the codes below from /components/com_easysocial/themes/frosty/toolbar/default.php



<?php if ($this->my->hasCommunityAccess()) { ?>


<?php if (!$this->isMobile()) { ?>
<div class="popbox-dropdown-nav__item ">
<span class="popbox-dropdown-nav__link">
<div class="o-flag">
<div class="o-flag__image o-flag--top">
<i class="popbox-dropdown-nav__icon fa fa-search"></i>
</div>
<div class="o-flag__body">
<div class="popbox-dropdown-nav__name"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_DISCOVER');?></div>
<ol class="g-list-unstyled popbox-dropdown-nav__meta-lists">
<li>
<a href="<?php echo ESR::users();?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_BROWSE_USERS');?>
</a>
</li>
<li>
<a href="<?php echo ESR::search(array('layout' => 'advanced'));?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_ADVANCED_SEARCH');?></a>
</li>

<?php if ($this->config->get('points.enabled')) { ?>
<li>
<a href="<?php echo ESR::leaderboard();?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_LEADERBOARD');?></a>
</li>
<?php } ?>

<?php if ($this->config->get('apps.browser')) { ?>
<li>
<a href="<?php echo ESR::apps();?>"><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_APPS');?></a>
</li>
<?php } ?>
</ol>
</div>
</div>
</span>
</div>
<?php } ?>

<?php } ?>


If you want to turn off friends altogether, you can disable it from the settings under Settings > General, http://take.ms/3LN7W
·
Tuesday, 18 July 2017 22:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post