MyBB Tutorials

Threadstarter Avatar Ribbon

Submitted by Aoki, , Thread ID: 18

Thread Closed

RE: Threadstarter Avatar Ribbon

LorenWolf
Closed Account
Level:
0
Reputation:
0
Posts:
78
Likes:
8
Credits:
61
02-01-2020, 07:43 PM
This post was last modified: 02-01-2020, 07:49 PM by LorenWolf
#8
15-01-2015, 01:19 AM
Aoki Wrote:
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]

Hi, looks very awesome, but how i can useoverlay as a text instead image?

Users browsing this thread: 1 Guest(s)