Welcome Guest ! Please   Login or Register


Check out our latest Premium Themes, Majestic , Majestic - Dark and Musk Themes for MyBB 1.8 Click to Shop Now

Now open for Custom Theme requests : Click to Order Now





 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add Boxes to MyBB postbit User Details

envira Online
Doctor Web
*******

Posts: 1,233
Joined: Aug 2012
Likes Received : 299

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 61,202.30Points
Post: #1
Information Add Boxes to MyBB postbit User Details

Hello friends,
As requested by few users i am making this tutorial, about adding boxes to postbit user details for MyBB.

So it is very simple, and requires only few edits in the templates.

Here goes the first step :

1.CSS Styling :

First you need to work with css :
Copy the below code and paste it in your theme global.css at the bottom.

Code:
.pbit {
        background: #fff;
        border-radius: 3px;
        border: 1px double #dadada;
        font-size: 11px;
        font-weight: normal;
        margin-bottom: 3px;
        padding: 6px 5px 5px;
        text-align: left;
}


2.Template Edits :
Then navigate to your theme templates > Open Postbit Templates > Postbit_ Author _ User templates
Copy this code and replace it in your templates :

Code:
    <div class="pbit">{$lang->postbit_posts} {$post['postnum']}</div>
    <div class="pbit">{$lang->{$lang->postbit_joined} {$post['userregdate']}</div>
    <div class="pbit">{$lang->{$post['replink']}</div>
        <div class="pbit">{$lang->{$post['warninglevel']}</div>

Save the templates and the thing should work for you Smile, you would have boxed statistics / user details in postbit.

Preview would be uploaded soon Smile,

Hope this helps,
regards,

[Image: lt79ucY.png]
03-29-2013 10:16 AM
Find
3
Quote




Raees Offline
Junior Member
**

Posts: 5
Joined: Jun 2013
Likes Received : 0

Nationality:

Mood: None

Points: 154.01Points
Post: #2
RE: Add Boxes to MyBB postbit User Details

the code gives error ,actually it should be
Code:
<div class="pbit">{$lang->postbit_posts} {$post['postnum']}</div>
    <div class="pbit">{$lang->postbit_joined} {$post['userregdate']}</div>
    <div class="pbit">{$post['replink']}</div>
    <div class="pbit">{$post['warninglevel']}</div>
10-17-2013 08:50 PM
Find
0
Quote




envira Online
Doctor Web
*******

Posts: 1,233
Joined: Aug 2012
Likes Received : 299

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 61,202.30Points
Post: #3
RE: Add Boxes to MyBB postbit User Details

well can u show the difference in your answer and my code. My eyes don't see difference.

[Image: lt79ucY.png]
10-17-2013 10:53 PM
Find
0
Quote




maduck Offline
Junior Member
**

Posts: 4
Joined: Nov 2013
Likes Received : 0

Nationality:

Mood: None

Points: 6.11Points
Post: #4
RE: Add Boxes to MyBB postbit User Details

thanks Smile
11-22-2013 11:16 PM
Find
0
Quote




Dropkaz Offline
Junior Member
**

Posts: 7
Joined: Jun 2013
Likes Received : 1

Nationality:

Mood: None

Points: 29.80Points
Post: #5
RE: Add Boxes to MyBB postbit User Details

Thanks ! :-)
04-10-2014 10:46 PM
Find
0
Quote





Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information Add Social Links to Your MyBB Forum envira 3 3,750 Today 03:59 AM
Last Post: smash
  [1.8x] [How] MyBB Reputation Gabbar 0 413 10-29-2015 09:41 AM
Last Post: Gabbar
  [1.8x] Add User Title HTML Vinny 2 610 10-23-2015 02:28 AM
Last Post: Professor X
Smile Some MyBB Useful Codes that you can use in your templates envira 11 7,874 07-07-2015 09:18 AM
Last Post: Unr34lity
Star [1.8x] MyBB jQuery User Dropdown Menu with Font Icons and jQuery envira 0 1,098 07-07-2015 12:29 AM
Last Post: envira

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

About Myskins

MySkins Studio is MyBB Themes Resource Website.

At MySkins Studio, We procreate MyBB Themes both custom MyBB Themes and premium Mybb Themes.We believe in quality and assure you the best MyBB themes at a very reasonable price , that suits your taste.

Feel free to drop in a request and get a quote.