MyBB Tutorials

Threadstarter Avatar Ribbon

Submitted by Aoki, , Thread ID: 18

Thread Closed
Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
15-01-2015, 01:19 AM
#1
Requirements:
First: Go to ACP -> Templates & Styles -> Templates -> Your skin -> Postbit templates -> postbit

Find:

Code:
{$post['useravatar']}

Add this before:

Code:
<if $thread['uid'] == $post['uid'] then>
<div class="badge"></div>
</if>

Save the template.

Second: Go to AdminCP > Templates & Style > Theme > Your Theme > global.css > Edit in advanced mode and add the following code:

Code:
.badge {
        background: url(http://i.imgur.com/gzUPtwD.png) no-repeat transparent;
        display: block;
        position: absolute;
        margin-top: -11px;
        margin-left: -3px;
        height: 56px;
        width: 56px;
}

Here's the result:

[Image: 4xisFcD.png]

Users browsing this thread: 1 Guest(s)