Announcement

Collapse
No announcement yet.

Customization of member information in threads

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

  • Customization of member information in threads

    Hello, I use vB 3.0.1, and I would like to know how to customize the thread membership info that's being displayed. For instance, on my forums (using the default vB style/templates) above each post it shows:

    Name
    Registered User
    (on the left side)

    and

    Join Date:
    Location:
    Age:
    Posts:
    (on the right side)

    Now, I have custom User Profiles Fields. Can I include them in the information listed above somehow? Please tell me how to do this!

    Thanks!

  • #2
    Go to your:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit

    Add this code:

    Code:
    <if condition="$post['fieldX']">
    	$post[fieldX]
    </if>
    Where fieldX is the field indentifier of the profile field as shown in your:

    Admin CP -> User Profile Fields -> User Profile Field Manager

    The exact placement of this code depends on where you want it to show up.

    Comment


    • #3
      It's coming out with just the information they put, can I put a header for it? Like this:

      It Shows: "3204"

      I want: "TK-ID#: 3204"
      Last edited by Zivilyn; Wed 16th Jun '04, 3:30pm.

      Comment


      • #4
        please help, i have a deadline

        Comment


        • #5
          Add the code in red:
          Code:
          <if condition="$post['fieldX']">
          	 <strong>TK-ID#</strong>: $post[fieldX]
          </if>
          P.S. - For future reference you're supposed to wait at least 12 hours before bumping your own thread.

          Comment

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