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:
{$lang->profile_required}

Replace with:
{$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:
{$lang->additional_information}

Replace with:
<if !empty($category['name']) then>{$category['name']}<else>{$lang->additional_information}</if>
Files

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

« see more

New thread Omar G. 3 Apr, 2025, 6:26 am

Plugin Releases Plugin Contract Thread

New thread Omar G. 3 Apr, 2025, 6:02 am

Plugin Releases Plugin Extra Forum Permissions

New reply Omar G. 3 Apr, 2025, 4:34 am

Plugin Releases Plugin Forum Cleaner

New reply Omar G. 3 Apr, 2025, 3:59 am

Plugin Releases Plugin Lock Content

New thread Omar G. 3 Apr, 2025, 3:57 am

Plugin Releases Plugin Forum Cleaner

New thread Omar G. 3 Apr, 2025, 3:35 am

Plugin Releases Plugin Lock Content

New thread Omar G. 3 Apr, 2025, 2:16 am

Plugin Releases Paid Plugin Moderator Quick Buttons

New thread Omar G. 29 Mar, 2025, 1:44 am

Plugin Releases Paid Plugin Awards Rules

New thread Omar G. 27 Mar, 2025, 5:53 pm

Plugin Releases Plugin My2FA

New reply Omar G. 23 Mar, 2025, 10:57 am

Plugin Releases Plugin Awards



Current time: 17 Apr, 2025 10:54 am