MyBB Community Forums

Full Version: online question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is there a way to show (online) next to a users username instead of that icon?
What icon do you want to see?
The easiest solution would be to edit the postbit_online and postbit_offline templates.

So for postbit_online, if you just wanted it to say ONLINE! next to the user's name, change this code:
<a href="online.php" title="{$lang->postbit_status_online}"><img src="{$theme['imgdir']}/buddy_online.gif" border="0" alt="{$lang->postbit_status_online}" /></a>
to
<a href="online.php" title="{$lang->postbit_status_online}">{$lang->postbit_status_online}"</a>
Just do the same for the offline. That's the easiest way I know of.

Edit: If you wanted to change the text, just modify the language settings. But if you're only using one language, you can modify {$lang->postbit_status_online} to say (online) or ONLINE! or whatever you want to designate the user is online.
Yeah what nightfox818 said, you can edit the templates. This is what I have:

<a href="online.php"><span style="color: green;"><strong>(Online)</strong></span></a> <a href="online.php" title="{$lang->postbit_status_online}"><img src="{$theme['imgdir']}/buddy_online.gif" border="0" alt="{$lang->postbit_status_online}" /></a>

This shows like this: (Online)[Image: buddy_online.gif]