Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


Single Quote in Names
Date: 2007/06/21 14:39 By: bencal Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
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
Click here to see the profile of this user The administrator has disabled public write access.

Re:Single Quote in Names
Date: 2008/02/12 13:50 By: aaronkenny Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 4
graphgraph
I have this problem as well. any help much appriciated.
Click here to see the profile of this user The administrator has disabled public write access.

Re:Single Quote in Names
Date: 2008/02/14 23:29 By: beat Status: Admin  
Karma: 241  
Admin

Posts: 4061
graphgraph
Bug, confirmed it, and added to list of bugs to solve for CB 1.2.
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

Re:Single Quote in Names
Date: 2008/03/10 00:34 By: beat Status: Admin  
Karma: 241  
Admin

Posts: 4061
graphgraph
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:

             _cbMakeHtmlSafe($row);


by adding // before like this:

Code:

         //    _cbMakeHtmlSafe($row);



Is fixed properly for upcoming CB 1.2.

Post edited by: beat, at: 2008/03/10 00:34
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

Re:Single Quote in Names
Date: 2008/05/27 23:10 By: ic_axin Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
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?
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login