Announcement

Collapse
No announcement yet.

Add External Custom Profile Field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    DontWannaName
    New Member

  • DontWannaName
    replied
    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.
    DontWannaName
    New Member
    Last edited by DontWannaName; Tue 19 Oct '10, 8:12pm.

    Leave a comment:

  • Trevor Hannant
    vBulletin Support

  • Trevor Hannant
    replied
    Why not just add a Custom Profile Field from the AdminCP?

    Leave a comment:

  • DontWannaName
    New Member

  • DontWannaName
    started a topic Add External Custom Profile Field

    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.

Related Topics

Collapse

Working...
X