2017-05-19, 06:09 PM
Out of curiosity, is this possible to accomplish without the use of a plugin? https://community.mybb.com/thread-101355.html
Avatar Online Status Border Color
|
2017-05-19, 06:09 PM
Out of curiosity, is this possible to accomplish without the use of a plugin? https://community.mybb.com/thread-101355.html
2017-05-19, 06:47 PM
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 (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. I don't give support on PM.
2017-05-21, 07:30 AM
(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. |
« Next Oldest | Next Newest »
|