Add extra field in sql query

Discussion in 'Customization & add-ons' started by Desiderius, Nov 18, 2009.

  1. Desiderius

    Desiderius New Member

    Joined:
    Nov 4, 2006
    Messages:
    24
    I add an extra field phonenumber in amember and want to integrate this data into my vbulletin userfields!

    Everything works fine with the standard fields from amember, for example
    $member[city] or $member[zip].

    But its not working with the extra field:
    $member[phonenumber]

    Has anyone an idea?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    What field type you set for this field? Common or SQL?
    If common, you should use $member[data][phonenumber]
  3. Desiderius

    Desiderius New Member

    Joined:
    Nov 4, 2006
    Messages:
    24
    yes its common: but $member[data][phonenumber] is not working.

    He fills the data in vbulletin with: Array[phonenumber]
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please provide exact code that you use?
  5. abbie25

    abbie25 New Member

    Joined:
    Mar 11, 2010
    Messages:
    1

Share This Page