![]() |
Plugin to capitalize username on registration
Hi all:
I'm after a plugin that capitalizes the username on registration, as I require name and last name. This is what I have: Code:
$username = ucwords(strtolower($this->fetch_field('username'))); but it does not work. I would be very grateful for some help |
What hook location are you using (or where did you put that code)?
|
Quote:
I used the first two lines succesfully with v3.6, though it stopped working with v3.7 |
Why not (on the same hook):
PHP Code:
|
Quote:
|
Quote:
That'll save me from having to edit a php file on every update. Thanks a bunch, Sarteck |
All times are GMT. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|