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.
Just some small add-ons that will enhance the user area, i.e. displaying images for trophies.What exactly are you planning. This sounds interesting.
if you filtered your query with something likeOne question, with customized profile fields I can I export the database tablesyou add those new fields? such as having an excel tabal all the people whofilled the city's profile?
I am guessing we need to do a callback if we want to do cascading profile fields?That ability is not in XenForo 1.1, but may come in the future.
Right now we don't support that. It's certainly something we'd consider for the future though.Will it be possible to have an option to choose what custom user fields might make it to mini-stats .xml file? or which custom field? This would be super handy for the chat network.
car_id | name | manufacturer
1 | A6 | audi
class Car_Profilefield extends ProfileField{
/** placed in profilefield
*//
public static function validateField($name, $value){
if ($name, in_array($this->getFields()){
return true;
}
}
public static function getFields(){
$db = XFA::get('db');
return $db->........................
}
protected $_type = 'select';
protected $_outputTemplate = 'foo';
You'd need an addon for that.Is there a way to lets say Mask Username to display certain profile fields like I have First/Last Name, and I if they are filled in I would like it to display that instead of their username, if they are blank then it'd show the username like default?
Well you'd need to override the {xen:helper username} and <xen:username /> functions to display the first and last names instead of the username. You'd also need to replace all instances of {$user.username} with the 2 custom fields for the first and last names.I figured that... Thanks James any idea where I can do this? As in point me to a direction?
We use essential cookies to make this site work, and optional cookies to enhance your experience.