By victor on Monday, 07 September 2020
Posted in General Issues
Replies 1
Likes 0
Views 765
Votes 0
Hello, the question is how to disable the ability to edit profile information by user, we want to disable possibility of editing login, email and password information or want to turn off the button from EasyDiscuss - Welcome. How to do this? We not found
Hey there,

Currently, there is no setting for it.

You can copy the default.php file from JoomlaFolder/components/com_easydiscuss/themes/wireframe/toolbar/default.php and paste it at template override location which is at JoomlaFolder/templates/yourCurrentTemplate/html/com_easydiscuss/toolbar/default.php.

Take note that you need to create the folders manually if you don't see it.

After that, you can look for and remove the following PHP code in the default.php which is from the template override location:

<div class="ed-toolbar-dropdown-nav__item ">
<a href="<?php echo $this->profile->getEditProfileLink();?>" class="ed-toolbar-dropdown-nav__link">
<div class="ed-toolbar-dropdown-nav__name">
<?php echo JText::_('COM_EASYDISCUSS_TOOLBAR_EDIT_PROFILE'); ?>
</div>

<ol class="g-list-unstyled edba-toolr-dropdown-nav__ta-melists">
<li>
<span>
<?php echo JText::_('COM_EASYDISCUSS_TOOLBAR_PROFILE_ACCOUNT_SETTINGS'); ?>
</span>
</li>
</ol>
</a>
</div>


As for the Welcome module, you can copy the default.php file from JoomlaFolder/modules/mod_easydiscuss_welcome/tmpl/default.php and paste it at template override location which is at JoomlaFolder/templates/yourCurrentTemplate/html/mod_easydiscuss_welcome/default.php.

Take note that you need to create the folders manually if you don't see it.

After that, you can look for and remove the following PHP code in the default.php which is from the template override location:

<div class="ed-list__item">
<a class="edit-profile" href="<?php echo ED::getEditProfileLink();?>"><i class="fa fa-cog t-lg-mr--sm"></i> <span><?php echo JText::_('MOD_EASYDISCUSS_WELCOME_EDIT_PROFILE');?></span></a>
</div>
·
Tuesday, 08 September 2020 10:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post