15-01-2015, 01:19 AMAoki Wrote: Requirements:
- PHP in Templates: http://nulledbb.com/Thread-PHP-in-Templates-2-0
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:
Hi, looks very awesome, but how i can useoverlay as a text instead image?