PDA

View Full Version : how do i only allow letters and numbers, no spaces in usernames?


azn_romeo_4u
08-14-2009, 12:10 AM
how do i only allow letters and numbers, no spaces in usernames during registrations.

azn_romeo_4u
08-18-2009, 12:08 AM
Bumb

azn_romeo_4u
08-21-2009, 03:03 PM
Bump Again.

I remember seeing a build in VB feature...or was I mistaken...now I can't find it.

James Birkett
08-21-2009, 04:50 PM
AdminCP -> vBulletin Options -> User Registration Options -> Username Regular Expression

In the box put:

^[A-Za-z0-9]+$

This will allow A-Z capitals, a-z lowercase (even though user registrations are case insensitive) and 0-9, thus disallowing everything else.

azn_romeo_4u
09-30-2009, 04:06 AM
Thank you sir.