Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/10/2018 in all areas

  1. breeze

    Force email as username

    Hi all, This worked well - thanks for the input.
    1 point
  2. Hello, are you able to register with the same email address in both companies using the "Use email as username" option? I understand it is possible using the "Specify a username" option (and setting diferent usernames for each company) but not using the previous option (Use email as username). Regards.
    1 point
  3. @Blesta Addons I 100% agree with you it would be great if there was a setting to force either or. I would personally use it and force email only. I have a few times told customers their client area login is their email address only to find out after I've sent the email it's not. @breeze You could also ask for a developer to make the quick change for you for a small price, one of the massive benefits to Blesta is the ability to change things to suit your own needs without needing to wait forever for an update and a setting. I know there is a list of people who make modules / plugins for blesta on request (and payment) I've seen Paul link it a few times, maybe someone who knows the link could post it below for breeze. (I think Blesta Addons is one?)
    1 point
  4. Hi @breeze I've only had a quick look into it but you could just edit the orderform signup.pdt so it's not an option, maybe make a hidden field to pass the pram back to blesta <div class="radio"> <label> <?php $this->Form->fieldRadio('username_type', 'email', ($this->Html->ifSet($vars->username_type, 'email') == 'email'), ['id'=>'username_type_email']); $this->_('Signup.index.field_username_type_email'); ?> </label> </div> <div class="radio"> <label> <?php $this->Form->fieldRadio('username_type', 'username', ($this->Html->ifSet($vars->username_type) == 'username'), ['id'=>'username_type_username']); $this->_('Signup.index.field_username_type_username'); ?> </label> </div> Change that to a hidden field with a name and ID as 'username_type' and the value of 'email' i think would work, or you could just remove the username option both may or may not work and would require testing.
    1 point
×
×
  • Create New...