PDA

View Full Version : Administrative and Maintenance Tools - Username Forced to Titlecase


sheppardzwc
01-26-2010, 10:00 PM
Username Forced to Titlecase

This plugin will force all new user's usernames to start with a capital letter, i.e. joe will be converted to Joe upon registration.

Install Instructions

1. Download product-username_titlecase.xml.
2. Import product/xml file.
3. Done!

Don't forget to click installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=234265)! :)

|Jordan|
01-27-2010, 07:36 PM
First!

And huge thanks for making this request ;)

<3

sheppardzwc
01-28-2010, 01:10 AM
First!

And huge thanks for making this request ;)

<3
Enjoy! :)

milsirhc
01-28-2010, 01:32 AM
Installed! Thanks!

milsirhc
01-29-2010, 01:03 AM
Hmm... did not really work for me on 3.8.4

I did not convert for my new registration.

sheppardzwc
01-30-2010, 01:44 PM
Hmm... did not really work for me on 3.8.4

I did not convert for my new registration.

Hmm, you're right. Sorry about that. I've reupdated it to use the datamanger for vBulletin to set the username, and now it works. :)

pappocapo
04-29-2010, 11:01 PM
work in 3.8.5 ?

Mrquarter2
07-20-2010, 03:56 AM
Amazing mod! :)

Hellmaster
07-20-2010, 02:54 PM
I need something like this, but to convert posts... I don't want A POST AT UPPERCASE... just "A post as normal" hahaha.

Robert9
12-14-2010, 08:28 AM
if($vbulletin->options['ut_enabled']) {
$ut_changeuser =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY);
$ut_changeuser->set_existing(fetch_userinfo($userid));
$ut_changeuser->set('username', strtolower($username));
$ut_changeuser->set('username', ucfirst($username));
$ut_changeuser->save();
}


I have changed it for my needs, but it seems this doesnt work. :(

Robert9
12-14-2010, 08:31 AM
if($vbulletin->options['ut_enabled']) {
$ut_changeuser =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY);
$ut_changeuser->set_existing(fetch_userinfo($userid));
$username=strtolower($username);
$ut_changeuser->set('username', ucfirst($username));
$ut_changeuser->set('email', strlower($email));
$ut_changeuser->save();
}

I hope this is correct now.

Mike4x4
12-18-2010, 08:34 AM
please convert to latest version of vb