Single Quote in Names

16 years 10 months ago #39870 by bencal
Single Quote in Names was created by bencal
I get "Name: This input value is not authorized" when an user tries to register and their name (middle) has as apostrophe in it (i.e. O'Shea). If they leave the apostrophe out, they can register. There has to be a better fix.

I have Name Style as "First, Middle and Last name fields"

There has to be a fix to allow the proper names to be entered...HELP!

--Is there no one to help?

Post edited by: bencal, at: 2007/06/23 03:22

Please Log in to join the conversation.

16 years 2 months ago #56591 by aaronkenny
Replied by aaronkenny on topic Re:Single Quote in Names
I have this problem as well. any help much appriciated.

Please Log in to join the conversation.

16 years 2 months ago #56766 by beat
Replied by beat on topic Re:Single Quote in Names
Bug, confirmed it, and added to list of bugs to solve for CB 1.2.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

16 years 1 month ago #58557 by beat
Replied by beat on topic Re:Single Quote in Names
Here is a temporary solution: Warning you need joomla 1.0.12 at least for this change to be safe:

in comprofiler.php, in function saveRegistration() :

comment this line:

[code:1] _cbMakeHtmlSafe($row);
[/code:1]
by adding // before like this:

[code:1] // _cbMakeHtmlSafe($row);
[/code:1]

Is fixed properly for upcoming CB 1.2.

Post edited by: beat, at: 2008/03/10 00:34

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 10 months ago #63766 by ic_axin
Replied by ic_axin on topic Re:Single Quote in Names
I'm using CB v1.1 and am having the same problem. However, my version of comprofiler.php does not have this line within the function saveRegistration(). Instead it has:

mosMakeHtmlSafe($row);

Commenting this line solves the problem. Presumably this is Ok?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.214 seconds

Facebook Twitter LinkedIn