"Last activity" in postbit?

njedi

New Member
I cannot get this to appear. I do I phrase this: $user[lastonline] in the postbit template for it to appear?
 
Search for:

Code:
<if condition="$post['joindate']">

in your postbit template.

Add this ABOVE:

Code:
<div>$vbphrase[last_online]: $user[lastonline]</div>

That should do it. There are several places you could put it.
 

njedi

New Member
Thanks for your reply,

My postbit is this:

HTML:
<div class="smallfont">
&nbsp;<br />
<div>$vbphrase[last_online]: $user[lastonline]</div>
<if condition="$post['joindate']"><div><b>$vbphrase[join_date]:</b> $post[joindate]</div></if>


<!-- custom profile fields -->

<div class="smallfont"><if condition="$post['field6']"><b>Ethnicity: </b>$post[field6]</if>


Which appears as this:

i6i6q9.jpg
 

njedi

New Member
That's great, pretty close to what I'm looking for.

But;

"Last Online: Today 06:14 PM"


Sounds clunky compared to:

"Last Seen: 10 minutes ago"

or

"Last Seen: 2 days ago"
 
Top