
01-16-2004, 05:59 PM
|
 |
|
|
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by ekool
In a reply to myself, I found the following:
in chat/index.php
Line 48:
Code:
$nonalnum = ereg_replace("[^ [:alnum:]]", "", $bbuserinfo[username]);
Change to say the following:
Code:
$nonalnum = preg_replace("/^(\d.*)/","_\$1", $bbuserinfo[username]);
That should cause the forum to add an underscore to the front of the nickname if it begins with a digit, and leave it unmolested if it does not.
|
ill take a look into adding somthing like this in the next version
|