The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi all :
I had a simple plugin that would automatically capitalize usernames at registration (I require registration with a full name). This has stopped working when going from 3.6.8 to 3.7.0 It is a really simple piece of code that uses the userdata_presave hook Code:
$username = ucwords(strtolower($this->fetch_field('username')));
$username_raw = $username;
|
|
#2
|
|||
|
|||
|
I just remembered I could never get that plugin to work and resorted to edit class_dm_user.php
If anybody can suggest a cleaner way to capitalize user names (I require full names) that would be greatly appreciated. |
![]() |
|
|