Add borders to your user detail section of the classic postbit

by iHydra - 17-08-2015, 07:50 AM
Closed Account
Posts:
239
Joined:
Jul 2015
Likes:
11
Credits:
27
Reputation:
3
2 Years of Service
#1
OP
Posted: 17-08-2015, 07:50 AM
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.
Novice
Prime
Posts:
34
Joined:
Nov 2015
Likes:
0
Credits:
8
Reputation:
0
1 Year of Service
#2
Posted: 16-11-2015, 02:37 AM
Not working, at least for me.
Closed Account
Posts:
76
Joined:
Jun 2015
Likes:
7
Credits:
73
Reputation:
0
2 Years of Service
#3
Posted: 02-05-2016, 11:56 PM
thanks man, nice bro
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)