Announcement

Collapse
No announcement yet.

Add custom profile fields - problem code

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

  • Add custom profile fields - problem code

    Hello, i create a new custom profile field, but no get code..

    This is my code:

    {vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}

    <vb:if condition="$userInfo['field6']">
    <li>
    <span>
    <img src="images/flags2/{vb:raw userInfo.customFields.default.field6_title.val}.GIF" align="middle" alt="{vb:raw userInfo.customFields.default.field6_title.val}" />
    </span>
    </li>
    </vb:if>

  • #2
    Are you following Lynne's tutorial on this?
    http://www.vbulletin.com/forum/blogs...tbit-templates

    Does the profile field have a value on the user's profile?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      If I did this, but my custom field is different because it uses images.

      Comment


      • #4
        Ah, sorry for the inconvenience, to had disabled the hook, now works perfectly.

        Comment

        Related Topics

        Collapse

        Working...
        X