MyBB Tutorials

Add borders to your user detail section of the classic postbit

Submitted by iHydra, , Thread ID: 9012

Thread Closed
17-08-2015, 07:50 AM
#1
First,

Open your global.css and add to the bottom:
Code:
.post_userdetails {
background: #E7E7E7;
color: #000000;
padding: 3px;
margin: 1px;

-moz-border-radius: 1em 4em 1em 4em;
border-radius: 1em 4em 1em 4em;

border: 1px solid #00131E;
border-bottom: 2px solid #00131E;
text-align: center;
font-size: 11px;


^ (adjust this code to match your color preferences and even add border-radius to round corners if desired)

Next open Postbit Templates>postbit_author_user and Replace all code with this:
Code:
<div class="post_userdetails">{$lang->postbit_posts} {$post['postnum']}</div>
<div class="post_userdetails">{$lang->postbit_joined} {$post['userregdate']}</div>
{$post['replink']}{$post['warninglevel']}


Next open Postbit Templates>postbit_reputation and replace all code with this:
Code:
<div class="post_userdetails">{$lang->postbit_reputation} {$post['userreputation']}</div>

and last open Postbit Templates>postbit_warninglevel and replace all code with this:
Code:
<div class="post_userdetails">{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a></div>


[Image: aHR0cDovL3MyMS5wb3N0aW1nLm9yZy82YzB4M2Zx...X1BNLnBuZw]

As stated above this code is highly customizable, such as background, border, and text colors. As well as angles and curves of the borders.

RE: Add borders to your user detail section of the classic postbit

#2
Not working, at least for me.

RE: Add borders to your user detail section of the classic postbit

#3
thanks man, nice bro
CONTACT:
YAHOO: Bebe.MDFK
STEAM: yo_yonutzy2010

Users browsing this thread: 5 Guest(s)