One of the most requested features for XenForo 1.1 has been the ability to define custom fields for your users. Here's a first look at the user field system we've built.
Yes, the importer does its best to convert between the two formats.Kier, it will be possible to convert custom user fields from vB3?
That's not possible and would probably need a whole separate field type. It could possibly be extended, but with something like that, you may benefit more from not trying to use a general fields system.Amazing example of what is to come, I can think of some great uses for this...
One question though, is it possible to allow users to define multiple custom options... what I mean is say I do the favourite colour instead of setting a few predefined colours to choose from the user is presented with a text field with the option of adding more text fields???
If this isn't possible by default is the custom userfields options extendible via php callbacks (and not just for validation)?
That's not possible and would probably need a whole separate field type. It could possibly be extended, but with something like that, you may benefit more from not trying to use a general fields system.
Might be too early to ask but how will that go... will an updated vB3 importer create custom fields automatically as needed if it finds any or will we create the XF custom fields first and then map the fields to each other?Yes, the importer does its best to convert between the two formats.
Yes, each custom field has a unique class name of userField_{$fieldId}.Maybe I missed it, but if I want the custom fields to show up in the postbit member information, can each of them have their own css styling?
You can put them on the preferences page and access the value via {$visitor.customFields.yourFieldNameHere}.Nicely implemented. This is probably obvious to some people, but can we use these to define additional options too? For example in vB we have made one to enable/disable ads on the forum. We use an if statement (if member is of group X and has 'yes' for profile field Y, then disable ads).
Of course it would... but how?!great job guys!
having those great tools for creating profile-fields, I am wondering if this would allow to create something like this ?
Many thanks!
View attachment 19457
We use essential cookies to make this site work, and optional cookies to enhance your experience.