Hyphen in a username

BasH
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 12 Mar 2012, 02:00

Hyphen in a username

Post by BasH »

I read some posts about this but I had the problem that users could enter a name with a hyphen, but when I corrected the spelling in an item, I couldn't save the item as an administrator: error bad character in the name
After a lot of testing I discovered the right file to change: (removed |\-) in Phocaguestbook.php in the directory /httpdocs/administrator/components/com_phocaguestbook/models.
Maybe something to change in a next version because a hyphen really is a right character in a name in a lot of languages! (especially for married women with two lastnames)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48360
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hyphen in a username

Post by Jan »

Hi, I have no information for now, but can be Hyphen used in Joomla! registering form?

If yes, then I will change this for the next version.

Anyway thank you for the info.
Jan
If you find Phoca extensions useful, please support the project
Post Reply