MyBB Community Forums

Full Version: Profile view Online Status in Postbit?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, do you know how I can make this possible? I am trying to get the online status from the user profile view, to show up in the post bit.

https://imgur.com/a/QRPKoTd

When I copied that particular item from the member profile view, and put it in postbit_classic, it only shows "Status:" under the rest of the postbit author info.

Instead of what it would show on the member profile view.

How can I make this work?

As always, thank you in advance for the help.
This should be the code in 'member templates' - postbit_online
Status: <a href="online.php" title="{$lang->postbit_status_online}" class="online">{$lang->postbit_status_online}</a>

And this for offline in postbit_offline
Status: <a href="online.php" title="{$lang->postbit_status_offline}" class="offline">{$lang->postbit_status_offline}</a>

And put this code in postbit and postbit_classic where you want it to be displayed.
{$post['onlinestatus']}

And add this to global.css (if it's been removed)
.online {
	color: #15A018;
}

.offline {
	color: #C7C7C7;
}