I created a new field for characters and called it user_roles and a language field called User_roles.
I set up a list_roles with 7 values each with a unique text for each role and added $lang values to lang_extend_profile_control_panel.php.
I added it to the profile registration page as a drop-list menu, and put the display on the Base profile page.
What has/hasn't happened:
The text is selectable from the drop-list on the registration page, but all that shows on the Base profile page is the Value number from the list_roles, not the text <img>
What I did next:
I went to PCP Validate files and it gave me the following errors:
- Code: Select all
PCP.profil.profile_prefer.Registering_infouser_roles => Move 2 Fields => lang_key (Roles) Validation def_userfields.phpuser_roles => Move 2 Fields => * leg (1) * txt (1)
Question is: what have i missed? what have i done wrong? it works; it's just not showing the text from the list_roles, but is showing the value numbers instead...
This is quite technical to me so any help with this would be greatly appreciated. Thanks.