Increase Length Of Username And Custom Title

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

Vous n'avez pas l'autorisation de télécharger
Compatibilité XF
  1. 2.2.x
Description courte
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.
Auteur
axtona
Vues
529
Première publication
Dernière mise à jour
Évaluations 0.00 étoile(s) 0 évaluations
Link was Broken? Please Envoyer un message à l’équipe NP et nous vous aiderons rapidement !
Soutenez le développeur Si vous êtes satisfait du test ou que votre projet vous a rapporté de l’argent, cliquez sur le bouton « Plus d’informations » pour soutenir le développeur en achetant.

Plus de ressources de axtona

Chrono Pro - Plugin de Chronologie pour WordPress A
un plugin avancé de ligne de temps WordPress qui met en lumière votre histoire de vie
Brazilian Language [PT-BR] A
Like the other available Brazilian Portuguese translation
SEO Audit A
SEO Audit 1.1.0
A comprehensive SEO auditing dashboard for XenForo administrators.

Ressources similaires

Haut