2 questions.
First, I want to use the $post[timespent] result in the Postbit template based on the users online status, but I can't seem to get it to cooperate. Using something like this in postbit_legacy:
<if condition="$post[onlinestatus]!='Online'">$post[timespent]</if>
Does nothing. The value for $post[timespent] is viewable regardless that status. Basically I only want to display this if the user is Online, not for Invisible or Offline. I can't read the value of $onlinestatus in this template either. Any clues on how to get a value I can use a conditonal against?
Second question: What the easiet way to change the time to reflect 00:00:00 vs # hours # minutes # seconds??
Thanks alot
|