2017-05-21, 07:30 AM
(2017-05-21, 03:01 AM)eNvy Wrote: postbit_classic template
{$post['onlinestatus']}
Gives you the user status based on three templates: postbit_away, postbit_offline and postbit_online
With that in mind you can make postbit avatars borders with colors based on user status, without php in templates, plugins or core edits.
Well, I'm officially getting old because this is exactly how the plugin used to do it in earlier versions and I just had forgotten it. There was still PHP required since the avatar dimension setting is not available in the $post['onlinestatus'] templates.
But if you can live without {$useravatar['width_height']}, you can actually do it without PHP.