MyBB Requests

[Request] Code for Borders (PostBit)

Submitted by Weytaan, , Thread ID: 19835

Thread Closed
26-03-2016, 10:37 PM
#1
Heya(:

Im looking for an code to add Borders to the "Posts" and "Threads"
at the Postbit like this:

[Image: GmzDe.png]

But not so ugly like i paint it with paint haha :fp: :D
And not as one block, a block for every stat.

a block for "Beitrge" a Block for "Themen"
and so on.


Thank you :yus:
The crown makes you bigger, but not more powerful.

RE: [Request] Code for Borders (PostBit)

This post was last modified: 26-03-2016, 11:29 PM by AAA
#2
ADD this CSS to global.css

Code:
.border {
   font-size: 12px;
    border: 1px solid #333;
    margin: 0 0 5px 0;
    padding: 4px 10px;
}



Then navigate to your theme templates > postbit templates > postbit_ author > user templates

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


And you'll get something like this !

[Image: QzJNPR6.png]
[Image: XhhKTdF.png]

RE: [Request] Code for Borders (PostBit)

OP
This post was last modified: 27-03-2016, 03:08 PM by Weytaan
#3
Thanks but now it looks like this;:

[Image: vzSVd.png]

And the forum is completly destroyed :D
Hmm, that looks not so nice^^

Have you any ideas why?

My Code is at the moment this:
Code:
<span style="font-size:13px;">
<div align="center">
<div class="float_left">{$lang->postbit_posts}</div> <div class="float_right">{$post['postnum']}</div><br />
<div class="float_left">{$lang->postbit_threads}</div> <div class="float_right">{$post['threadnum']}</div><br />
<div class="float_left">{$lang->postbit_joined}</div> <div class="float_right">{$post['userregdate']}</div>

{$post['replink']}{$post['profilefield']}</span></div>

Here an test on an other Theme

[Image: kWsIf.png]

There are the only problem that "Verwarnungslevel: 0%"
and "Bewertung: 0" are bigger then they want to be.
The crown makes you bigger, but not more powerful.

RE: [Request] Code for Borders (PostBit)

#4
those last 2 are edited on diferent templates
the last one i believe its the"postbit_warninglevel_formatted"
the other not sure cause i cant read german Smile
but its should be reputation
its edited in"postbit_reputation_formatted_link" template
You need help on mybb???
ill help you.Post on support forums and give a live url for your forum!!

RE: [Request] Code for Borders (PostBit)

#5
You need to edit warning and reputation templates... with my code above :D
[Image: XhhKTdF.png]

Users browsing this thread: 3 Guest(s)