18 Sep, 2020, 3:59 pm
By default the plugin adds a label for profile fields categories in visible in both the User and Moderator control panels.
To remove this you will need to edit two templates.
Open the `ougcprofiecats_usercp_profile_requiredfields` template, find:
Replace with:
The following is more complex, and will only work if you use the Template Conditionals plugin.
Open the `usercp_profile_profilefields` template, find:
Replace with:
To remove this you will need to edit two templates.
Open the `ougcprofiecats_usercp_profile_requiredfields` template, find:
Code:
{$lang->profile_required}
Replace with:
Code:
{$category['name']}
The following is more complex, and will only work if you use the Template Conditionals plugin.
Open the `usercp_profile_profilefields` template, find:
Code:
{$lang->additional_information}
Replace with:
Code:
<if !empty($category['name']) then>{$category['name']}<else>{$lang->additional_information}</if>