Threadstarter Avatar Ribbon

by Aoki - 15-01-2015, 02:19 AM
oldfag
Posts:
5,769
Joined:
Jan 2015
Likes:
1,575
Credits:
17,410
Reputation:
237
3 Years of Service
#1
OP
Posted: 15-01-2015, 02:19 AM
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]
Send me a message for help. (Read the help docs first)
Steam Wishlist - Anime Watchlist
Buy Private Proxies
Fstyle
02-02-2015, 03:46 PM
Novice
Posts:
47
Joined:
Feb 2015
Likes:
5
Credits:
108
Reputation:
0
2 Years of Service
#2
User got warned for this post
Posted: 02-02-2015, 03:46 PM
thanks for sharing, I will try it
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,356
Reputation:
30
3 Years of Service
#3
Posted: 06-02-2015, 12:39 AM
Suggestions for who is going to use it and/or is newbie:

1.- Download the image and upload it to your forum via FTP.
2.- Don't forget to move it to your needs changing the numbers on

Code:
margin-top: -11px;
margin-left: -3px;

Nice tutorial btw, but I prefer to use the plugin uploaded on this forum Tongue
Novice
Posts:
26
Joined:
Feb 2015
Likes:
1
Credits:
3
Reputation:
0
2 Years of Service
#4
Posted: 28-04-2015, 01:56 PM
Thank's for the tut bro'.
Aokie
Posts:
882
Joined:
Feb 2015
Likes:
57
Credits:
1,350
Reputation:
26
2 Years of Service
#5
Posted: 28-04-2015, 02:34 PM
The one used on NBB looks way better in my opinion but thanks for the tutorial!
Freak
Posts:
3,336
Joined:
Jan 2015
Likes:
246
Credits:
4,414
Reputation:
141
3 Years of Service
#6
Posted: 28-04-2015, 07:54 PM
I like the look it gives but it could be annoying sometimes.
Won't be active here anymore.
Lurker
Posts:
2
Joined:
Mar 2015
Likes:
0
Credits:
2
Reputation:
0
2 Years of Service
#7
Posted: 05-05-2015, 06:55 AM
not bad bu thanks for your share, i like it
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)