I have searched thorugh the mods and google searched, but i seem to be unable to find it.
I am searching for a way for every user to view the last logged in time/date of any other user?
Is there something i missed, or a mod that I passed by?
You should be able to see that in the users profile.
That would be their time if I recall correctly.
all i see is:
Registration Date: 10-05-2012
Date of Birth: Not Specified
Local Time: 10-25-2012 at 04:36 PM
Status: Offline
and stats shows nothing
Try looking on the default theme?
On my default unedited templates I see :
Joined: 09-01-2010
Last Visit: Today 08:47
So it looks like a theme issue and you may have to edit the template or revert depending on your profile layout.
it appears to be theme specific:
this is the postbit from member_profile
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="80%" valign="top">
<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td width="1%" align="center" class="trow1">{$avatar}</td>
<td class="trow1" width="99%">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}
</span>
</td>
</tr>
</table>
{$awaybit}
<br />
<div id="usertabs" class="usertabs">
<ul>
<li><a href="#" rel="aboutme" class="selected">About Me</a></li>
<li><a href="#" rel="contact">Contact Info</a></li>
<li><a href="#" rel="stats">Stats</a></li>
{$signature}{$memprofile['ougc_awards']}
</ul>
</div>
<div id="aboutme" class="tabcontent">
<div class="box-thing">
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</div
</div>
<div id="contact" class="tabcontent">
<div class="box-thing">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" width="25%"><strong>{$lang->homepage}</strong></td>
<td class="trow1" width="75%">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}"><a href="private.php?action=send&uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="{$bgcolors['icq']}"><strong>{$lang->icq_number}</strong></td>
<td class="{$bgcolors['icq']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=icq&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['aim']}"><strong>{$lang->aim_screenname}</strong></td>
<td class="{$bgcolors['aim']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=aim&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['yahoo']}"><strong>{$lang->yahoo_id}</strong></td>
<td class="{$bgcolors['yahoo']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=yahoo&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['msn']}"><strong>{$lang->msn}</strong></td>
<td class="{$bgcolors['msn']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=msn&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</div>
</div>
<div id="stats" class="tabcontent">
<div class="box-thing">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" width="25%"><strong>{$lang->joined}</strong></td>
<td class="trow1" width="75%">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&uid={$uid}">{$lang->find_threads}</a> — <a href="search.php?action=finduser&uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$referrals}
{$reputation}
{$warning_level}
</table>
</div>
</div>
</td>
<td width="20%" valign="top">
{$profilefields}<!-- profile_rank -->{$rankprofile}<!-- /profile_rank --><!-- Profile_achivements -->{$achivementsprofile}<!-- /Profile_achivements -->
{$modoptions}
{$last_visit}
{$adminoptions}
{$buddy_options}
</td>
</tr>
</table>
<script type="text/javascript">
var mypets=new ddtabcontent("usertabs")
mypets.setpersist(true)
mypets.setselectedClassTarget("link")
mypets.init(0)
</script>
{$footer}
</body>
</html>
although it appears to be there:
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
EDIT1:
OK I got it
I added:
<br /> {$lang->lastvisit} {$memlastvisitdate} {$memlastvisittime}
to the member_profile_offline postbit of the theme