Announcement

Collapse
No announcement yet.

Biog and in user posts

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

  • Biog and in user posts

    Not sure what its called but I will attempt to explain what I'm after
    If you look at a post in a forum, under the user name you will see the following: -

    Join Date: May 2008
    Location: Clifton
    Posts: 234

    How do I show the other fields in here such as interests and biography

    Thanks

    Martyn

  • #2
    Go to:
    AdminCP => User Profile Fields => User Profile Field Manager
    and remember Name's for fields, that you want to show.
    By default, for interests name is field3, and for biography - field1.
    Then go to:
    AdminCP => Styles & Templates => Style Manager => Edit templates => Postbit Templates => postbit (or postbit_legacy, if your info about user in the left side of the post)
    Find in this template
    Code:
    <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
    And add after that:
    Code:
    <div>YOUR_PHRASE: $post[YOUR_NAME_OF_FIELD]</div>
    For example:
    YOUR_PHRASE = Biography
    then YOUR_NAME_OF_FIELD = field1

    Comment


    • #3
      Solved

      Nice one, thanks very much

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X