We have a couple of different XenForo forums that include custom fields to gather the users' first and last names. It is then displayed in the user message box, in the posts Message_User area and also within their profile. We chose to separate the two names as they are a requirement to register and having a single field for name, we found we were often not getting the full name. Now, the issue
With the two names, is there a way to combine the two into one for posting on the forums? I know you can manipulate the SQL database (beyond my paygrade) and fill a third field, however we would have to deal with the nulls in the fields and also have to do this on a regular basis as new users are added.
Another way is if we could programmatically propagate a third custom field with the two names. Again, we would have to deal with nulls from back when this wasn't a requirement of the users. If the third custom field could be generated, then it is simple to add it to the user areas.
Open to ideas on how to approach this. I understand basic coding but I am not experienced with this in Xenforo or PHP.
With the two names, is there a way to combine the two into one for posting on the forums? I know you can manipulate the SQL database (beyond my paygrade) and fill a third field, however we would have to deal with the nulls in the fields and also have to do this on a regular basis as new users are added.
Another way is if we could programmatically propagate a third custom field with the two names. Again, we would have to deal with nulls from back when this wasn't a requirement of the users. If the third custom field could be generated, then it is simple to add it to the user areas.
Open to ideas on how to approach this. I understand basic coding but I am not experienced with this in Xenforo or PHP.