Announcement

Collapse
No announcement yet.

How to add a Display field next to the username in the post bit?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to add a Display field next to the username in the post bit?

    I'm curious how i can add a field next to each users username that's displayed in the postbit...

    for example!!

    CHAOTICMAGE
    administrator gamertag:Chaoticmage


    Can anybody tell me or provide me with some instructions on adding this field to the registration form so when they enter their gamertag info it will display like i showed above in my example?

    Thanks

  • #2
    You added the new field already? If not

    AdminCP > User Profile Fields > Add a new field.

    If you want it displayed at registration, Next to the Required setting, should be a drop down. You can make it show up on registration here.

    Once that is done and youve saved your new user profile field, note is fieldid

    Then in the postbit template, add

    <if condition="$post[fieldX]">gamertag: $post[fieldX]</if>

    save and your done.

    Comment


    • #3
      Well that is very easy, let me give it a try!

      Thanks

      Comment

      Loading...
      Working...
      X