EvilModders?

Adding a Custom Field to Postbit

   #1  
not here

Mr_BudMan

Administrator
Staff member
Moderator
Staff Team
rank
User ID
1
Joined
Jun 27, 2023
Messages
54
Reaction score
2
Points
8
test
Link
11 months of EvilModders
  • Thread starter
  • Admin
  • #1
we are adding custom fields that also work in Xenforo 2.x versions.


postpit.png

We go to Users > Special User > Add Field . Arrange it according to the area you will make yourself in the Screenshot below.

the Appearance and Languages > Templates > message_macros template

HTML:
Please, Log in or Register to view codes content!

We add our code given below just below.


HTML:
Please, Log in or Register to view codes content!

{$user.Profile.custom_fields."name"} " Field ID-ID " will be written in quotes.

We go to Appearance and Languages > Templates > extra.less template and add the css part I gave below.

CSS:
Please, Log in or Register to view codes content!
 
Last edited:
Top