Display only category name instead of "Required Fields" or "Optional Fields" label.

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:
<if !empty($category['name']) then>{$category['name']}<else>{$lang->additional_information}</if>

There are currently no posts to display. Be the first one to leave a reply.

Current time: 24 Apr, 2024, 11:44 am