recently I activated Social login in my forum, but as this mod is configured to don't ask or give any password users who register with this method won't have the possibility of changing their e-mail, their username or even to setup a password.
In any case, I would like to keep the social login but what I would like is to offer the possibility of changing the username(which is automaticly set up by the mod) for one that the user can pick up. That would mean in changing the configuration in ucp_profile_reg_details.html and in ucp_profile.php. The thing is that I already tried to just move this line
Code: Select all
<div class="control-group">
<label class="control-label"<!-- IF S_CHANGE_USERNAME -->for="username"<!-- ENDIF -->>{L_USERNAME}:</label><span class="help-block">{L_USERNAME_EXPLAIN}</span>
<div class="controls controls-row">
<!-- IF S_CHANGE_USERNAME --><input class="form-control input-sm" type="text" name="username" id="username" value="{USERNAME}" title="{L_USERNAME}" placeholder="{L_USERNAME}"><!-- ELSE --><input class="form-control input-sm" type="text" disabled="" placeholder="{USERNAME} El cambio de usuario no está permitido."><!-- ENDIF -->
</div>
</div>
What I would like to do is to keep the Username field in profile_reg_details.html but changing the requisite that obliges the user to put his current password to change it. It would mean that the user just need to put his current password to modify the e-mail and the password.
Thank you for your help in advance.