MyBBThemes Community

Full Version: Status Icons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
This tutorial / tip will show you how to replace the Online & Offline text in the postbit with online/offline images.

Either you can make your own images, and do what you want with them, or you can use the ones I've provided. The size is 10x10 pixels.
[attachment=1043] (offline.png)
[attachment=1044] (online.png)
[attachment=1049] (away.png)
They need to be uploaded as online.png, offline.png, & away.png to your MyBB image directory (the main image directory)

Once they are uploaded, go to your ACP > Templates > *Your Template Set > Postbit Templates.
Open posbit_offline & replace it with:
Code:
<img src="images/offline.png" alt="{$lang->postbit_status_offline}" width="10px" height="10px">

Now open postbit_online and replace it with this:
Code:
<a href="online.php"><img src="images/online.png" alt="{$lang->postbit_status_online}" width="10px" height="10px"></a>

Open postbit_away and replace it with this:
Code:
<a href="member.php?action=profile&amp;uid={$post['uid']}"><img src="images/away.png" alt="{$lang->postbit_status_away}" width="10px" height="10px"></a>
This seems very useful!
I'm using this Status Icons for my forum, too. ^^
Thanks guys. When I get the time I'll edit the post to include the away status. :)
FirefoxWiz Wrote:Thanks guys. When I get the time I'll edit the post to include the away status. :)

Thanks, now that's a good idea. I already added this to my forum and it's working great!
Post updated. :)
Thanks for it, FirefoxWiz!
Thanks for this, FFW! This is great :)

I'm going to use this, but I'll be back later :)
Thank you FFW! I'm using it on my forums now. :)
Okay, trick released to regular members now, enjoy!
Pages: 1 2
Reference URL's