![]() |
Avatar Online Status Border Color - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Themes (https://community.mybb.com/forum-103.html) +---- Forum: Theme Development (https://community.mybb.com/forum-105.html) +---- Thread: Avatar Online Status Border Color (/thread-210521.html) |
Avatar Online Status Border Color - Flawless - 2017-05-19 Out of curiosity, is this possible to accomplish without the use of a plugin? https://community.mybb.com/thread-101355.html RE: Avatar Online Status Border Color - doylecc - 2017-05-19 You could do most of the styling without a plugin, but you need PHP (plugin, core edit or PHP in templates) to find out the online status of the user. Btw. you can find the latest version of the OSA plugin for MyBB 1.8 here: http://doylecc.altervista.org/en/osava.html RE: Avatar Online Status Border Color - eNvy - 2017-05-21 (2017-05-19, 06:47 PM)doylecc Wrote: You could do most of the styling without a plugin, but you need PHP (plugin, core edit or PHP in templates) to find out the online status of the user. postbit_classic template
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. RE: Avatar Online Status Border Color - doylecc - 2017-05-21 (2017-05-21, 03:01 AM)eNvy Wrote: postbit_classic template 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. |