1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom Field Integration

Discussion in 'XenForo Pre-Sales Questions' started by thedjtrollin, May 16, 2012.

  1. thedjtrollin

    thedjtrollin Member

    I'm currently using PHPBB3 as my forum system,

    I run a minecraft server where when you sign up it asks for a Field called "Minecraft Username" during registering. Once the user has registered they can click UPGRADE! once that is clicked they have a a button that says upgrade to member, when that is clicked we use JSONAPI to upgrade them.

    I was wondering on XenForo is there a way so that on the page i can get the custom fields data and when sending the PHP Code it sends the username.

  2. Chris D

    Chris D XenForo Developer Staff Member

    To answer your question in its most simple form: Yes, it is possible to have custom user fields and also it's possible to display that to a user who is registering.

    If you check out the registration process over at our site, http://www.valvetime.net/register you will see that you're asked for your Steam ID and your preference of the width of the style.

    I'm sure with some sort of add on it would be entirely possible to do what you want.
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  4. thedjtrollin

    thedjtrollin Member

    Great, just need to see how to do this now!

    Do you use a add on or have you actually got a PHP script?
  5. thedjtrollin

    thedjtrollin Member

  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yeah it can work for that. You can do your upgrade processing in the callback function at the same time that you validate the value. It runs at save time.

Share This Page