• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add-on Last Online in postbit info

New Joe

Active member
#1
I've looked around but can't find an add on for this.
I used to use it on vB,I know you can just click on a members name and the pop up box will say the last activity of a member.

But I just liked it when I could see that info in the postbit.
Like in the screen shot;
Screen Shot 2557-10-18 at 9.14.50 PM.png

it shows date when Joined, Messages , how many likes...
I'd just like to have an extra part saying somthing like: Last Seen: ****** or Last Online: ****
Has that been done yet as an add on?
 

Mr. Goodie2Shoes

Well-known member
#2
No need for an add-on for that... just copy one of the post item (since I don't know the actually HTML structure for your site, I can't provide with one)
change the title to Last Activity or whatever you want and for the other part use
Code:
{xen:datetime $user.last_activity}
 

Mr. Goodie2Shoes

Well-known member
#3
As a hint, edit the template: 'message_user_info'
look for
Code:
        <xen:if is="@messageShowRegisterDate AND {$user.user_id}">
           <dl class="pairsJustified">
             <dt>{xen:phrase joined}:</dt>
             <dd>{xen:date $user.register_date}</dd>
           </dl>
         </xen:if>
add this below:
Code:
           <dl class="pairsJustified">
             <dt>{xen:phrase last_activity}:</dt>
             <dd>{xen:datetime $user.last_activity}</dd>
           </dl>