By Adrián Egido on Tuesday, 29 March 2016
Posted in General Issues
Replies 3
Likes 0
Views 395
Votes 0
Hello guys, theres a few things I want to ask you about regarding the Easy Social profrile:

1- I would like to hide the "Activity log" and the "Video" options on the bar on the top of the profile (image1) but I can´t find where I can do it.

2- I would like to delete the title of the "Apps" (image2) and just leave it untitled is it possible? also I would like to hide the "browse" option I want to be the only one who manages wich apps can be installed and wich not, how can I do it?

3- I also want to delete the "videos counter" on that bar, wich did not exist before the last update of EasySocial I made.

Thank you guys for your time and effort!
Hi Adrian,

I am sorry for the inconvenience caused. I have tried to access your FTP but I cannot access it. Can you please advise?Kindly please find my response to your inquiries below:
1- I would like to hide the "Activity log" and the "Video" options on the bar on the top of the profile (image1) but I can´t find where I can do it.

You can hide it by comment/delete the code in DIR: ../component/com_easysocial/themes/frosty/toolbar/default.php
<?php if ($this->config->get('video.enabled')) { ?>
<li>
<a href="<?php echo FRoute::videos();?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_VIDEOS');?>
</a>
</li>
<?php } ?>

 <li class="<?php echo $view == 'activities' ? 'active' : '';?>">
<a href="<?php echo FRoute::activities();?>">
<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_PROFILE_ACTIVITIES' );?>
</a>
</li>



2- I would like to delete the title of the "Apps" (image2) and just leave it untitled is it possible? also I would like to hide the "browse" option I want to be the only one who manages wich apps can be installed and wich not, how can I do it?

You can delete the title of the Apps in DIR:../components/com_easysocial/themes/wireframe/dashboard/sidebar.apps.php and delete COM_EASYSOCIAL_APPS_SIDEBAR_TITLE on line 17
<?php echo JText::_( 'COM_EASYSOCIAL_APPS_SIDEBAR_TITLE' );?>
Regarding your second inquiry, it is quite difficult to do. I am really sorry about this. By the way, if this a priority, please do post them on our sales section at https://crm.stackideas.com and our sales department would get back to you with a proper quote.


3- I also want to delete the "videos counter" on that bar, wich did not exist before the last update of EasySocial I made.

You can delete the videos counter by delete/comment the code below in DIR:../component/com_easysocial/themes/frosty/profile/default.header.php
<?php if ($this->config->get('video.enabled')) { ?>
<li>
<a href="<?php echo FRoute::videos(array('uid' => $user->getAlias(), 'type' => SOCIAL_TYPE_USER));?>" class="btn btn-clean">
<div class="center">
<span><?php echo $user->getTotalVideos();?></span>
</div>

<div class="center stat-desc">
<span><?php echo JText::sprintf(ES::string()->computeNoun('COM_EASYSOCIAL_GROUPS_VIDEOS_STRING', $user->getTotalVideos()), $user->getTotalVideos()); ?></span>
</div>
</a>
</li>
<?php } ?>


Please give it a try
·
Tuesday, 29 March 2016 12:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for everything!

Did I get you right? You mean there´s no option on the backend to hide/delete the Browse on the profiles? is there any way to do not let users look for more apps than the ones you already installed for them?

Thank you for your response Muhammad.
·
Wednesday, 30 March 2016 02:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adrian,

In order to delete the Browse on the profile, can you replace the file (see attachments) in DIR:../components/com_easysocial/themes/frosty/profile/default.php and looks how it goes.
·
Wednesday, 30 March 2016 10:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post