MyBB Community Forums

Full Version: Users profile fields!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanna change the users profile fields from the standart to this form...

standard form...

[Image: 16ar3.jpg]

to this form...

[Image: 20cz.jpg]

so to remove stars on top, groups, status and reputation and to make like this..

Joined:
Location:
Teams:
Posts:
==

My forum is football forum...

Hello there,

in Admin CP > Templates > Modify / Delete > Expand > Post bit template > Postbit

find and remove

 $post[userstars]
$lang->postbit_group $usergroup[title]<br />
$lang->postbit_status $post[onlinestatus]$post[replink]<br />

now for locations and teams, i guess you have created a custom profile field, so in order to display them you will need to add $post[fidX]
X is the ID of that cutom profile field. Add that code where ever you want, for example below
$lang->postbit_joined $post[userregdate]<br />

regards
How to creat the others fields...

Zaher, I create the fields, but i can not post to postbit...?

This: $post[fidX]

How to put there...

In wich way, how to writte exatly the code...

Like tihis: $lang->postbit_joined $post[fidX] <br />

or...
No, you made an custom field in the user panel?
Admin CP -> Users and Groups -> Custom Profile Fields -> Add new Profile field
Then you do this in your template.
Location: $post[fid[b]3[/b]]
Change the bolded text to the number of the fid you wrote in.
crackter Wrote:Location: $post[name]


Change the bolded text to the name you wrote in.

$Post[name]? i dont think it work.

alba, replace X with the id of the field you have added, you can fid it in the place where you add these fields.
the $post[fidX] should be added to the postbit template the place you want.

regards
CraKteR Wrote:
Location: $post[fid[b]3[/b]]

CraKteR, thnx, now they work...

Zaher, thnx and u bro for the helps...

Have a nice day...