MyBB Support

How can I change the order of the items of the user on the post bit?

Submitted by AndresXZ09, , Thread ID: 1118

Thread Closed
06-02-2015, 12:30 AM
#1
Hello!

As you can see here

[Image: 85e7e32d5e.jpg]

I would like to put the Warning level at the last item on the postbit, I have been looking for the "user_details" template but I can't find it. There is the warning level I guess, but I'll have to edit it, for delete the code there and put a new one in order to put it last, right under

Code:
{$post['myachievements_postbit']}

So, basicly, where is the 'user_details' template or whatever it's called.

RE: How can I change the order of the items of the user on the post bit?

#2
It's in the postbit template or postbit_classic depending on your template.
[Image: 2lnzmZm.gif]

RE: How can I change the order of the items of the user on the post bit?

#3
Please post your postbit_classic template here.

RE: How can I change the order of the items of the user on the post bit?

OP
This post was last modified: 06-02-2015, 12:35 AM by AndresXZ09
#4
06-02-2015, 12:31 AM
Mat Wrote:
It's in the postbit template or postbit_classic depending on your template.

Yes, I know that, but the items (posts, threads,joined, reputation, warning level) are all under this function

Code:
{$post['user_details']}

And I can't find that template to edit it :S

EDIT: @linkz, here it is http://pastebin.com/7Y4WqNeC

RE: How can I change the order of the items of the user on the post bit?

#5
06-02-2015, 12:35 AM
AndresXZ09 Wrote:
06-02-2015, 12:31 AM
Mat Wrote:
It's in the postbit template or postbit_classic depending on your template.

Yes, I know that, but the items (posts, threads,joined, reputation, warning level) are all under this function


Code:
{$post['user_details']}

And I can't find that template to edit it :S

EDIT: @linkz, here it is http://pastebin.com/7Y4WqNeC

{$post['user_details']}
is postbit_author :yus:

RE: How can I change the order of the items of the user on the post bit?

#6
Code:
{$post['user_details']}

is basically the postbit_author_user template.
I'm not sure if the MyAchievements variable is working in this template. You can either try it out by adding

Code:
{$post['myachievements_postbit']}

to your postbit_author_user template or replace

Code:
{$post['user_details']}

with every single variable in your postbit_classic template.

The variables are:

Code:
{$post['postnum']} - Post count
{$post['threadnum']} - Thread count
{$post['userregdate']} - Registration date
{$post['replink']} - Reputation
{$post['warninglevel']} - Warning Level

You can find the list here, but it's outdated: http://mybb.github.io/mybb-resources/Hel...stbit.html

RE: How can I change the order of the items of the user on the post bit?

OP
#7
Thank you guys, it's done now :D

[Image: a5843c3dc9.jpg]

RE: How can I change the order of the items of the user on the post bit?

#8
Great :yus:

Users browsing this thread: 1 Guest(s)