Quote:
Originally Posted by Bisha
Why, this code is now working for me on postbit_legacy template:
Code:
<vb:if condition="$onlinestatus==1">Online</vb:if>
<vb:if condition="$onlinestatus==0">Offline</vb:if>
<vb:if condition="$onlinestatus==2">Privat</vb:if>
I get only OFFLINE :S even the user is online.
|
Try using $post['onlinestatus'] instead of $onlinestatus. Not sure it's the same data but I can see $onlinestatus is never used in the postbit template so if $post['onlinestatus'] doesn't work you'll need to make a plugin to register $onlinestatus in the postbit.