×
Blue Eagle 5 v1.5.3 has been Released (31 Mar 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.3 which is now available for download. This version addresses most of the issues that were discovered in development.

Question How can I hide the Profile Information tab?

More
7 years 9 months ago #1 by Toolie
My client wants to prevent members from contacting each other through Kunena by hiding the Profile Information tab. I know it's possible to turn profiles off completely, but my client just want to hide the one tab (see below).



Is it possible to just comment out the code that generates the tab?

Toolie

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #2 by paraflyer
Hi,

sure! Just go ahead to this file (I use Kunena 2.0.1, path could be slightly different):
$yoursite$/components/com_kunena/template/blue_eagle/html/user/edit_tab.php

Search for this part of code (should be around row 25):
<dt class="closed"><?php echo JText::_('COM_KUNENA_PROFILE_EDIT_PROFILE'); ?></dt>
		<dd style="display: none;">
			<?php $this->displayEditProfile(); ?>
		</dd>

Remove, save file, have fun! :-)
Last edit: 7 years 9 months ago by paraflyer.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.089 seconds