By Yanislav Pavlov on Wednesday, 16 September 2015
Posted in Technical Issues
Replies 3
Likes 0
Views 587
Votes 0
How can I remove Timeline from user profile and when user make registration user to select the type of account?
Hey Yanislav,

I am really sorry for the delay of this reply as it is a public holiday for us here.

I have a little bit lost here, what part of timeline you would like to remove it? Perhaps you can provide us some screenshot about this?
·
Wednesday, 16 September 2015 11:27
·
0 Likes
·
0 Votes
·
0 Comments
·
I want to remove some thinks, i mean all ehat i make red.
·
Wednesday, 16 September 2015 11:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Yanislav,

Thanks for getting back to us quickly,

Unfortunately we do not have setting to disable the timeline, but you can modify on this few file,

Joomlafolder\components\com_easysocial\themes\frosty\profile\default.php

// Remove LINE from 100 until 110
<li class="<?php echo !empty($timeline) ? 'active' : '';?>"
data-layout="embed"
data-id="<?php echo $user->id;?>"
data-namespace="site/controllers/profile/getStream"
data-embed-url="<?php echo FRoute::profile(array('id' => $user->getAlias(), 'layout' => 'timeline'));?>"
data-profile-apps-item
>
<a href="javascript:void(0);">
<i class="icon-es-genius mr-5"></i> <?php echo JText::_( 'COM_EASYSOCIAL_PROFILE_TIMELINE' );?>
</a>
</li>



JoomlaFolder\components\com_easysocial\themes\frosty\toolbar\default.php

// Remove line from 161 until 186
<?php if( $this->config->get( 'badges.enabled' ) ){ ?>
<li class="<?php echo $view == 'badges' ? 'active' : '';?>">
<a href="<?php echo FRoute::badges( array( 'layout' => 'achievements' ) );?>">
<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_PROFILE_ACHIEVEMENTS' );?>
</a>
</li>
<?php } ?>

<?php if( $this->config->get( 'points.enabled' ) ){ ?>
<li class="<?php echo $view == 'points' ? 'active' : '';?>">
<a href="<?php echo FRoute::points( array( 'layout' => 'history' , 'userid' => $this->my->getAlias() ) );?>">
<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_PROFILE_POINTS_HISTORY' );?>
</a>
</li>
<?php } ?>

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




Last step you need go to your backend > Easysocial > settings > users > Profile Default Display - About , hope this help.
·
Wednesday, 16 September 2015 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post