Announcement

Collapse
No announcement yet.

User profile field

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

  • User profile field

    I know I can add a new user profile field.
    Is there a way to have it display as a link?

    I'd like people to be able to enter their Facebook id, and display is as a link to their profile, not just their ID number.

    thanks
    Cliff
    PathLabTalk
    Square Wheels Cycling

  • #2
    Sorry, there is no function to do this. This requires modifying the code. We cannot officially support code modifications or forums running modified code, however you can try searching or asking for help with this over at www.vbulletin.org.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      If you edit the memberinfo_block_contactinfo template, you can generate a link by adding the blue bits...
      Code:
      ...
       <if condition="$prepared['homepage']">
       <dt class="shade">$vbphrase[home_page]</dt>
        <dd><a href="$prepared[homepage]" target="_blank">$prepared[homepage]</a></dd>
       </if>
      <if condition="$userinfo['field6']">
      <dt class="shade">Facebook Link</dt>
      <dd><a href="http://www.facebook.com/people/$userinfo[field6]">$userinfo[field6]</a></dd>
      </if>
       <dt class="shade">$vbphrase[this_page]</dt>
        <dd><a href="$prepared[profileurl]">$prepared[profileurl]</a></dd>
      ...
      I'm not into facebook, but their links appear as /people/ - not too sure on that one.

      Of course, change field6 to your field identifier.
      Lats...

      Comment


      • #4
        Originally posted by Lats View Post
        If you edit the memberinfo_block_contactinfo template, you can generate a link by adding the blue bits...[code]
        ...
        Once again, many thanks. (You should see if vB is hiring)

        I made a few slight edits:
        <if condition="$userinfo['field9']">
        <dt class="shade">Facebook Link</dt>
        <dd><a href="http://www.facebook.com/profile.php?id=$userinfo[field9]" target="_blank">$prepared[username]'s Profile Page</a></dd>
        </if>

        I set it to a Private Field, that way it doesn't show up in the about me list.
        Cliff
        PathLabTalk
        Square Wheels Cycling

        Comment


        • #5
          Nice edits, I should have thought of that
          Lats...

          Comment

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