Profile Field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MajorKokosnuss
    Member
    • Apr 2014
    • 72
    • 5.0.X

    Profile Field

    I have problems with adding a new Profile field to the postbit (the left side of a post with post count,join date etc.)

    http://www.vbulletin.com/forum/forum...profile-fields

    this is what i have done but it is not working. I am using 5.1.2

    this is my current code

    Code:
    {vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}
    
    {vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}
    <vb:if condition="$userInfo['field2']"><li><label>{vb:phrase field2_title}:</label> <span>{vb:raw userInfo.customFields.default.field2_title.val}</span></li></vb:if>
    EDIT:

    I think i didn't understand this correct, i wanted to add the informations to the <---- grey bar on the left side of a post where the reputation is the posts count and the join date. Is it possible that someone can say me, how i can add it there ?

    Last edited by MajorKokosnuss; Sat 28 Jun '14, 9:32am.
  • MajorKokosnuss
    Member
    • Apr 2014
    • 72
    • 5.0.X

    #2
    No one D: ?

    Comment

    • Zachery
      Former vBulletin Support
      • Jul 2002
      • 59097

      #3
      Did you make the file changes? http://www.vbulletin.com/forum/forum...83#post4029983

      Comment

      • MajorKokosnuss
        Member
        • Apr 2014
        • 72
        • 5.0.X

        #4
        Yes i did this but i wanna make it for the <--- side thing.

        Click image for larger version

Name:	Screenshot_1.png
Views:	69
Size:	29.8 KB
ID:	4083893

        Comment

        • MajorKokosnuss
          Member
          • Apr 2014
          • 72
          • 5.0.X

          #5
          Any help :c ?

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            What is the result when you use the code you posted? Can you post a screen cap of the profile field in the admincp?

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools &lt;- awesome site for html/css help

            Comment

            • MajorKokosnuss
              Member
              • Apr 2014
              • 72
              • 5.0.X

              #7








              This is what i have added
              + The change from the other file

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                field2, the location field, is automatically added to the userinfo if it is filled out. You shouldn't need to use a hook to add it. If it isn't showing up, then either the user hasn't filled it out, or perhaps you have edited the template and removed the hook.

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools &lt;- awesome site for html/css help

                Comment

                Related Topics

                Collapse

                Working...