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

Custom Field Integration

#1
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.

Thanks,
Harry
 

Chris D

XenForo developer
Staff member
#2
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.
 

Jake Bunce

XenForo moderator
Staff member
#6
That looks like it does it once they have filled in the page and submitted it, that could be better for what im using it for
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.