By Ignacio on Wednesday, 01 February 2017
Posted in General Issues
Likes 0
Views 179
Votes 0
Hello, i would like to disable last login info. I couldn't find it in settings

Thank you!
Hello Ignacio,

We do not think it makes sense adding all of this as settings as eventually you will have thousands of settings to show / hide items. Having said that, you can always customize the theme file in /components/com_easysocial/themes/wireframe/users/default/items.php and remove the codes below:

[gist]
<li data-breadcrumb=".">
<span class="t-text--muted">
<?php if ($user->getLastVisitDate() == '0000-00-00 00:00:00') { ?>
<?php echo JText::_('COM_EASYSOCIAL_USER_NEVER_LOGGED_IN'); ?>
<?php } else { ?>
<?php echo JText::sprintf('COM_EASYSOCIAL_LAST_LOGGED_IN', $user->getLastVisitDate('lapsed')); ?>
<?php } ?>
</span>
</li>
[/gist]
·
Wednesday, 01 February 2017 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much Mark!

Have a good day.
·
Wednesday, 01 February 2017 13:51
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome, have a great day!
·
Wednesday, 01 February 2017 13:53
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post