Increase Length Of Username And Custom Title

Increase Length Of Username And Custom Title 2022-05-25

No tiene permiso para descargar
Compatibilidad con XF
  1. 2.2.x
Short Description
Increase Length Of Username And Custom Title
library/XenForo/DataWriter/User.php

---

Search for 'maxLength' => 50

PHP:
'username'
=> array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 50, 'verification' => array('$this', '_verifyUsername'), 'requiredError' => 'please_enter_valid_name'),


Change to 'maxLength' => 100
PHP:
'username'
=> array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 100, 'verification' => array('$this', '_verifyUsername'), 'requiredError' => 'please_enter_valid_name'),

---

Search for 'maxLength' => 50
PHP:
'custom_title'
=> array('type' => self::TYPE_STRING, 'maxLength' => 50, 'default' => '', 'verification' => array('$this', '_verifyCustomTitle')),
Change to 'maxLength' => 100
PHP:
'custom_title'
=> array('type' => self::TYPE_STRING, 'maxLength' => 100, 'default' => '', 'verification' => array('$this', '_verifyCustomTitle')),
---

You can now use 100 characters in the Username, and the Custom Title as well.
Autor
axtona
Vistas
529
Primer lanzamiento
Última actualización
Valoraciones 0,00 estrella(s) 0 valoraciones
Link was Broken? Please Send Message to NP Team with direct message, You will get it very quickly!
Support Developer If you are satisfied with your test or project have earn money successfully, Maybe you can click more information button to support with buying.

Más recursos de axtona

Galería de Media XenForo / XFMG A
La Galería de Media de XenForo es un complemento oficial de XenForo que permite añadir una galería a tu XF2
Data Tables A
Data Tables 1.0.0
create stand-alone, fully customizable data tables within XenForo
Superior