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

how to put default fields onto Register-page ?

erich37

Well-known member
#1
I would like to put the default XF-fields onto the Register-page, so that new users will have to fill those fields when signing up.

these fields:

- Avatar (required upload)
- Location (required field)
- Occupation (required field)
- Homepage (optional field)
- About You (Editor) (required to fill)


How to do this please ?


Many thanks!

:)
 
Last edited:

James

Well-known member
#3
Seeing as you're doing it on registration (i.e. prior to the account actually being created) you're going to need an add-on to add the data to the datawriter, unless this functionality exists in 1.2.

If you were doing it post-creation, you could just do a template edit (or <xen:include />).
 

xf_phantom

Well-known member
#5
I would like to put the default XF-fields onto the Register-page, so that new users will have to fill those fields when signing up.

these fields:

- Location (required field)
- Occupation (required field)
- Homepage (optional field)
- About You (Editor) (required to fill)


How to do this please ?


Many thanks!

:)
I thought that they're custom fields too and that you could just place them on the registration page, but they're not:(

This would require an addon:/

(which shouldn't be hard with xenforo 1.2 tms and the new _getRegistrationDataFromInput method, it's very easy to do this)