Page 1 of 1

Special Characters in username - Joomla 1.5

Posted: Mon Sep 24, 2007 3:15 pm
by utssace
I am working on migrating my gaming clans site to Joomla.  It is currently Nuke.

Most of our members use some unicode characters in their username, for example "§«{})(|"

I was able to hack the nuke_your account file to accept special characters in usernames.
How can I get Joomla to accept certain special characters?

------------------------------------------------------------------------------------------------------------------------------

I understand that Joomla doesn't allow this by default but is there a hack that can permit certain
characters?  I see where some have dabbled with it successfully in 1.0 here:

http://forum.joomla.org/index.php/topic ... #msg153019

What I did was convert my phpnuke database to phpBB2 and then convert phpBB2 to fireboard.  Worked
like a charm with all the usernames intact.  However, Joomla breakes special characters down to "?".

Surely, there is a registration, user, administrator, login, etc. file out there that has a filter in it.  I have yet to
find anything like it in 1.5.  The closest thing I have found was in:

components --> com_users --> admin.users.html.php

Code: Select all

var r = new RegExp("[\<|\>|"|\'|\%|\;|\(|\)|\&|\+|\-]", "i");


This is a pivotal issue for me in switching our site to Joomla.  I like Joomla and want to find a way to make
it work.  Any suggestion are much appreciated.

Re: Special Characters in username - Joomla 1.5

Posted: Mon Sep 24, 2007 10:50 pm
by utssace
One improvement the developers have made in the new 1.5 is recognizing that many users
want to use the Hyphen "-" and period "." is usernames.  This required a hack in 1.0.x

I only wish I knew which of these ... to edit to allow additional characters:

Code: Select all

[A-Za-z0-9_\.-]

Re: Special Characters in username - Joomla 1.5

Posted: Wed Feb 06, 2008 8:30 am
by franck_