Adding profile fields to the side?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • forumbeat
    Member
    • Aug 2006
    • 48
    • 3.6.x

    Adding profile fields to the side?

    I added a profile field and I want it too show under location on the left side where the avatar, location, rep power etc is shown.

    How can I do this?
    Spiralfrog forum | Spiralfrog music
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    This thread gives you the code.

    Comment

    • forumbeat
      Member
      • Aug 2006
      • 48
      • 3.6.x

      #3
      I don't quite understand that tutorial, I have a radio box profile field, male/female
      Spiralfrog forum | Spiralfrog music

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Then add this code to the postbit (change the field identifier as indicated in that thread):

        Code:
        <if condition="$post['[color=red]fieldX[/color]']">
        	$post[[color=red]fieldX[/color]]
        </if>
        If the user has "Male" selected then the condition will be true and it will show the value of the field which is "Male." The same goes for "Female."

        Comment

        • forumbeat
          Member
          • Aug 2006
          • 48
          • 3.6.x

          #5
          Thanks, it seems I should have edited postbit_legacy instead of postbit. I have had a few users signup when the sex field hasnt been required at register.

          So, some female users happen to have this:
          Sex:

          Where nothing is there, how can I force the users who haven't edited their sex atm.

          EDIT: Fixed it, I hadn't changed the $post[fieldx thing to the field id aswell as the other post
          Last edited by forumbeat; Thu 31 Aug '06, 12:30pm.
          Spiralfrog forum | Spiralfrog music

          Comment

          • Kurisu
            Member
            • Aug 2002
            • 36
            • 3.6.x

            #6
            Is it possible to add $vbphrase[variablename] as options in the profile field manager?

            Comment

            • Jake Bunce
              Senior Member
              • Dec 2000
              • 46598
              • 3.6.x

              #7
              Originally posted by Kurisu
              Is it possible to add $vbphrase[variablename] as options in the profile field manager?
              That will not work. I don't know of any way to phrase profile field options.

              Comment

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