MyBB Community Forums

Full Version: Classic Postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Did anyone know how to make classic postbit.

this [Image: gxFEcxS.png] to [Image: o4LBgQW.png]

Like the red color i edit if you know please help me.
theme i used: https://community.mybb.com/mods.php?action=view&pid=357
postbit_author_user template:

{$lang->postbit_posts} <span class="postbit_red">{$post['postnum']}</span><br>
{$lang->postbit_threads} <span class="postbit_red">{$post['threadnum']}</span><br>
{$lang->postbit_joined} <span class="postbit_red">{$post['userregdate']}</span>

add to global.css

.postbit_red { color: red }
(2018-08-26, 09:05 PM)Ashley1 Wrote: [ -> ]postbit_author_user template:

{$lang->postbit_posts} <span class="postbit_red">{$post['postnum']}</span><br>
{$lang->postbit_threads} <span class="postbit_red">{$post['threadnum']}</span><br>
{$lang->postbit_joined} <span class="postbit_red">{$post['userregdate']}</span>

add to global.css

.postbit_red { color: red }

Is ok no color
I want all post counts and other be right site.
Add the following to global.css:

.postbit_right {
float: right;
}

Then find postbit_author_user template and wrap a span tag along with the class around the text you want on the right. For example:

{$lang->postbit_posts}<span class="postbit_right"> {$post['postnum']}</span><br />
{$lang->postbit_threads}<span class="postbit_right"> {$post['threadnum']}</span><br />
{$lang->postbit_joined}<span class="postbit_right"> {$post['userregdate']}</span>

Find postbit_reputation template and do the same here.

<br />{$lang->postbit_reputation}<span class="postbit_right"> {$post['userreputation']}</span>

And so forth for postbit_profilefield and postbit_warninglevel templates.
(2018-08-27, 03:44 AM)Wires Wrote: [ -> ]Add the following to global.css:

.postbit_right {
float: right;
}

Then find postbit_author_user template and wrap a span tag along with the class around the text you want on the right. For example:

{$lang->postbit_posts}<span class="postbit_right"> {$post['postnum']}</span><br />
{$lang->postbit_threads}<span class="postbit_right"> {$post['threadnum']}</span><br />
{$lang->postbit_joined}<span class="postbit_right"> {$post['userregdate']}</span>

Find postbit_reputation template and do the same here.

<br />{$lang->postbit_reputation}<span class="postbit_right"> {$post['userreputation']}</span>

And so forth for postbit_profilefield and postbit_warninglevel templates.

What about this 2?
postbit_profilefield and postbit_warninglevel templates.
Also not work on Igame theme.
But thx it work other theme.

(2018-08-27, 03:44 AM)Wires Wrote: [ -> ]Add the following to global.css:

.postbit_right {
float: right;
}

Then find postbit_author_user template and wrap a span tag along with the class around the text you want on the right. For example:

{$lang->postbit_posts}<span class="postbit_right"> {$post['postnum']}</span><br />
{$lang->postbit_threads}<span class="postbit_right"> {$post['threadnum']}</span><br />
{$lang->postbit_joined}<span class="postbit_right"> {$post['userregdate']}</span>

Find postbit_reputation template and do the same here.

<br />{$lang->postbit_reputation}<span class="postbit_right"> {$post['userreputation']}</span>

And so forth for postbit_profilefield and postbit_warninglevel templates.

Can you help em with newpoints?
[Image: pPO5U1V.png]
All are good now but only newpoitns i cant think anything.

BTW +1 for you cause you help me.
Hey DarkCode,
For newpoints, you need to modify newpoints_postbit in similar way as you have done above templates(I hope the name is correct).