MyBB Support
PostBit Editing
Submitted by Kenroytk, 04-01-2019, 02:51 AM, Thread ID: 115131
Thread Closed
RE: PostBit Editing
04-01-2019, 11:08 PM
#11 04-01-2019, 02:51 AMKenroytk Wrote: Does anyone know how to make MyBB postbit look like this or a plugin to customize postbit limit-less
http://prntscr.com/m2sryl
To be more clear what i really need is to align text to left and values to right.
We need to check the codes. If you share the link with me, I'll review it for you and offer you the feature you want.
RE: PostBit Editing
Kenroytk here is an entire tutorial on doing this. So I loaded up a MyBB copy on my localhost and grabbed a screenshot of the postbit(in classic view).
[spoiler=click to see classic view default][/spoiler]
Now what you want to do is edit the themes templates > postbit then choose postbit_author_user to edit the Posts, Threads and Join Date.
now you need to align the content name to the left which should start with {$lang->postbit_name} (name being reputation etc). You'll want to have the statistic aligned to the right which should look like {$post['name']} (name replaced with like postnum which is posts).
Here is the code for Posts, Threads and Join Date as shown in the screenshot above and live on the screenshot below.
[spoiler=click to see how it looks][/spoiler]
Now all you'll need to do is edit the Warning Level and Reputation. In order to do that you need to open postbit_warninglevel and postbit_reputation then repeat those steps.
[spoiler=view the final outcome][/spoiler]
Obviously mines looks really far away from each other that is down to me using the default theme. Your theme will most likely be different based on the sidebar.
We used the style tag meaning that the code is only active to these templates - compared to the float code in your global.css. Make sure you use the code exactly how I showed you here. It'll work in all of the templates fine.
[spoiler=click to see classic view default][/spoiler]
Now what you want to do is edit the themes templates > postbit then choose postbit_author_user to edit the Posts, Threads and Join Date.
now you need to align the content name to the left which should start with {$lang->postbit_name} (name being reputation etc). You'll want to have the statistic aligned to the right which should look like {$post['name']} (name replaced with like postnum which is posts).
Here is the code for Posts, Threads and Join Date as shown in the screenshot above and live on the screenshot below.
Code:
<span style="float:left">{$lang->postbit_posts}</span> <span style="float:right">{$post['postnum']}</span><br />
<span style="float:left">{$lang->postbit_threads}</span> <span style="float:right">{$post['threadnum']}</span><br />
<span style="float:left">{$lang->postbit_joined}</span> <span style="float:right">{$post['userregdate']}</span>
[spoiler=click to see how it looks][/spoiler]
Now all you'll need to do is edit the Warning Level and Reputation. In order to do that you need to open postbit_warninglevel and postbit_reputation then repeat those steps.
[spoiler=view the final outcome][/spoiler]
Obviously mines looks really far away from each other that is down to me using the default theme. Your theme will most likely be different based on the sidebar.
We used the style tag meaning that the code is only active to these templates - compared to the float code in your global.css. Make sure you use the code exactly how I showed you here. It'll work in all of the templates fine.
Please read the award requirements here before applying for them.
Rules and Regulations | Support Section | How to use Hide Tags
Don't message me to join a group, simply request to join one here.
Rules and Regulations | Support Section | How to use Hide Tags
Don't message me to join a group, simply request to join one here.
RE: PostBit Editing
04-01-2019, 07:01 PMNasyr Wrote: you can do <span style="float:left">variable</span> as the one in the globalk css might be different.
04-01-2019, 11:42 PMNasyr Wrote: Kenroytk here is an entire tutorial on doing this. So I loaded up a MyBB copy on my localhost and grabbed a screenshot of the postbit(in classic view).
[spoiler=click to see classic view default][/spoiler]
Now what you want to do is edit the themes templates > postbit then choose postbit_author_user to edit the Posts, Threads and Join Date.
now you need to align the content name to the left which should start with {$lang->postbit_name} (name being reputation etc). You'll want to have the statistic aligned to the right which should look like {$post['name']} (name replaced with like postnum which is posts).
Here is the code for Posts, Threads and Join Date as shown in the screenshot above and live on the screenshot below.
Code:<span style="float:left">{$lang->postbit_posts}</span> <span style="float:right">{$post['postnum']}</span><br />
<span style="float:left">{$lang->postbit_threads}</span> <span style="float:right">{$post['threadnum']}</span><br />
<span style="float:left">{$lang->postbit_joined}</span> <span style="float:right">{$post['userregdate']}</span>
[spoiler=click to see how it looks][/spoiler]
Now all you'll need to do is edit the Warning Level and Reputation. In order to do that you need to open postbit_warninglevel and postbit_reputation then repeat those steps.
[spoiler=view the final outcome][/spoiler]
Obviously mines looks really far away from each other that is down to me using the default theme. Your theme will most likely be different based on the sidebar.
We used the style tag meaning that the code is only active to these templates - compared to the float code in your global.css. Make sure you use the code exactly how I showed you here. It'll work in all of the templates fine.
Thank You worked and i realized something else the theme i was using fucked up had !important so it was overpowering the inline style
Users browsing this thread: 5 Guest(s)