Jump to content

Remove Option To Register With Custom Username


Daniel B

Recommended Posts

I've posted this a few times in different threads, so I figured it might be beneficial to have it's own thread for those who might go looking for it in the future.

 

Currently, it is not possible to merge accounts in Blesta which can sometimes cause an issue with the same client registering twice (once using their email and again using a custom username).

 

A quick fix for this (which will likely need to be redone after Blesta updates) is to remove the option to register with a custom username.

==============================

 

Edit this file: /plugins/order/views/templates/standard/types/registration/signup.pdt

 

Find and [either remove or comment out]:

<div class="radio">

<label>

<?php

$this->Form->fieldRadio("username_type", "username", ($this->Html->ifSet($vars->username_type) == "username"), array("id"=>"username_type_username"));

$this->_("Signup.index.field_username_type_username");

?>

</label>

</div>

The result will look like this on the registration form:

blesta%20registration%20email%20only.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...