This setting provides the ability to map ActiveCampaign fields to your member’s “Nicename” or “Displayname” setting, which controls what name is displayed to other users.
This can be done in a flexible manner with no programming required. If you have a more complex need that is not met by this function, we do provide WordPress filters to allow you to customize the Nicename using your own custom PHP code. In most cases though, this is not necessary.
You can enter a mix of text and contact field placeholders into the input area, and the combined result will be assigned to the user at login.
Any contact field that you are syncing can be used in the member’s Nicename.
If this field is left blank, no changes to the displayname are made during login.
Examples
{{contact.FIRSTNAME}}
This would set the displayname to be just the contact’s first name.
{{contact.TITLE}} {{contact.LASTNAME}}
This would combined the custom field “Title”, with the member’s last name.
Darth {{contact.NICKNAME}}
This would add the phrase “Darth” before the member’s nickname. This is a less popular choice, but we have fun with it 🙂
Contact Placeholders
Only contact fields are supported. Placeholders consist of the pattern {{contact.FIELDNAME}}.
The placeholders are not case sensitive.
Security Concerns
There is nothing stopping a malicious user from using names such as “Site Owner”, or inappropriate or obscene words in their username.