MyBB Community Forums

Full Version: How to achieve this thing on topic view?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The boarder data. All the info under the nickname when someone posts to be surrounded with borders. Can someone please tell me what template I must edit in order to achive that?

Like in this theme. Thanks

http://community.mybboard.net/thread-32685.html
Go to AdminCP
Themes => Modify/Delete
Add following code to your theme's Additional CSS
.postbit_info {
        padding-left: 3px;
        padding-right: 0px;
        padding-top: 3px;
        padding-bottom: 3px;
        background-color: #FFFFFF;
        border-top: 1px solid #505050;
        border-right: 1px solid #505050;
        border-left: 3px solid #505050;
        border-bottom: 1px solid #505050;
        margin-bottom: 3px;
}

Then go to Templates => Modify/Delete => Expand Your Template => Post Bit Templates => postbit_author_user

Find this:
{$lang->postbit_posts} {$post['postnum']}<br />
	{$lang->postbit_group} {$usergroup['title']}<br />
	{$lang->postbit_joined} {$post['userregdate']}<br />
	{$lang->postbit_status} {$post['onlinestatus']}{$post['replink']}<br />

Replace with following:
<div class="postbit_info">{$lang->postbit_posts} {$post['postnum']}</div>
<div class="postbit_info">{$lang->postbit_group} {$usergroup['title']}</div>
<div class="postbit_info">{$lang->postbit_joined} {$post['userregdate']}</div>
<div class="postbit_info">{$lang->postbit_status} {$post['onlinestatus']}{$post['replink']}</div>
Thank you DragonFever. You are very helpful. I have learnt a lot from your posts here.

It worked like a charm. Thank you again
No problemSmile