Add External Custom Profile Field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DontWannaName
    New Member
    • Feb 2009
    • 24
    • 3.8.x

    Add External Custom Profile Field

    So I add this code to my register.php

    $steamid=array('field6'=>$vbulletin->GPC['steam_id']);
    $userdata->set_userfields($steamid);

    Which grabs the content from a box I added on registration and puts it into the users custom profile field 6. But this isnt working, it worked for a while but stopped. I dont know whats wrong. There is content in the box, but it isnt saved when users register.
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24178
    • 5.7.X

    #2
    Why not just add a Custom Profile Field from the AdminCP?
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • DontWannaName
      New Member
      • Feb 2009
      • 24
      • 3.8.x

      #3
      It works by adding a field to registration then having a button that takes you to another site where you login. After logging in it closes that window and copies data into the made up field since it wont work with a custom profile field. This worked at one point but now it does not. Not sure how to get the field to save to field6 which is a custom profile field in vb.
      Last edited by DontWannaName; Tue 19 Oct '10, 8:12pm.

      Comment

      Related Topics

      Collapse

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎