By mark semczyszyn on Wednesday, 18 December 2019
Posted in General Issues
Likes 0
Views 895
Votes 0
Hi - using on an intranet with LDAP / AD for user logins so need to remove the forgotten username and password from the login dialogue (the one that appears when a guest checks out Easysocial, the default background being the photo of young people). Any chance you could let me know if there's an option in settings for this or whether I need to edit php directly?

thanks, mark
Hi there,

You will need to remove code below at this path .../components/com_easysocial/themes/wireframe/helpers/html/login.php and do template override as follow https://stackideas.com/docs/easysocial/administrators/templating/template-overrides


<div class="t-text--center t-lg-mb--md">
<?php if ($this->config->get('registrations.emailasusername')) { ?>
<a href="<?php echo ESR::account(array('layout' => 'forgetPassword')); ?>"> <?php echo JText::_('COM_EASYSOCIAL_LOGIN_FORGOT_PASSWORD_FULL'); ?></a>
<?php } else { ?>
<a href="<?php echo ESR::account(array('layout' => 'forgetUsername'));?>"> <?php echo JText::_('COM_EASYSOCIAL_LOGIN_FORGOT_USERNAME');?></a> /
<a href="<?php echo ESR::account(array('layout' => 'forgetPassword'));?>"> <?php echo JText::_('COM_EASYSOCIAL_LOGIN_FORGOT_PASSWORD');?></a>
<?php } ?>
</div>



Please give it a try and see how it goes.
·
Wednesday, 18 December 2019 16:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect - thank you. Process is easy but after going through the override process in the link, although the directory and file are created in my override directory, the file doesn't appear in the editor pane and the created file was zero bytes - so empty. I had to copy login.php manually over to my overrides and overwrite the zero byte file. Override worked fine then.
·
Wednesday, 18 December 2019 16:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Wednesday, 18 December 2019 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post