PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

ampersand in member's name

s2Member Plugin. A Membership plugin for WordPress®.

ampersand in member's name

Postby armandminnie » July 24th, 2011, 1:43 pm

The site is being used to manage club membership where most members are couples. The directory was imported and lots of the first names contain ampersands (e.g. Bob & Carol). The ampersand shows up correctly in most places but when the member goes to update their profile the ampersand shows as &. They can change the & to just & but on redisplay it returns to the old display.
User avatar
armandminnie
Registered User
Registered User
 
Posts: 8
Joined: June 11, 2011

Re: ampersand in member's name

Postby Cristián Lávaque » July 26th, 2011, 12:00 am

Hi Armand. Could you tell me what version of WordPress and s2Member you're using?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: ampersand in member's name

Postby armandminnie » July 26th, 2011, 8:00 am

Wordpress 3.2.1 and s2Member 110710
User avatar
armandminnie
Registered User
Registered User
 
Posts: 8
Joined: June 11, 2011

Re: ampersand in member's name

Postby Cristián Lávaque » July 27th, 2011, 12:05 am

Thanks. I have those versions in my test installation and wasn't able to create a user with the name "Bob & Carol" as in your example, I got this error:

ERROR: This username is invalid because it uses illegal characters. Please enter a valid username.

How did you import the users to your website?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: ampersand in member's name

Postby armandminnie » July 27th, 2011, 8:09 am

I imported the files using a .csv file and the S2memberPro import function. The field is enclosed in quotes as required - "Bob & Carol". I also just tested adding a new member using the & character with no problems. Any of the existing members can be updated using the & but it when using the "update my profile" it shows incorrectly. Otherwise no problems using the &.
User avatar
armandminnie
Registered User
Registered User
 
Posts: 8
Joined: June 11, 2011

Re: ampersand in member's name

Postby Cristián Lávaque » July 27th, 2011, 2:28 pm

Oh, wait, you mean the First Name field? I had tested the Username field. The username doesn't let me use an ampersand, but the First Name does, the profile edit page displays and saves it correctly in my installation.

Could you, as a test, disable other plugins until you're left with s2Member only, and see if the problem goes away?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: ampersand in member's name

Postby armandminnie » July 27th, 2011, 3:53 pm

The only plugin that could be involved and I can easily disable is WP Super Edit and disabling it has no effect. If I use the WP standard profile update I do not have the problem. The problem occurs when I use the S2member login widget though.
User avatar
armandminnie
Registered User
Registered User
 
Posts: 8
Joined: June 11, 2011

Re: ampersand in member's name

Postby Cristián Lávaque » July 27th, 2011, 5:06 pm

Oooh, you mean the profile form s2Member provides? Got it. I was able to reproduce it now. I'm letting Jason know about this right now. Thank you!
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: ampersand in member's name

Postby armandminnie » July 27th, 2011, 6:31 pm

Thanks - sorry I wasn't more specific earlier.
User avatar
armandminnie
Registered User
Registered User
 
Posts: 8
Joined: June 11, 2011

Re: ampersand in member's name

Postby Cristián Lávaque » July 27th, 2011, 10:47 pm

No problem. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: ampersand in member's name

Postby Jason Caldwell » August 2nd, 2011, 8:12 pm

armandminnie wrote:The site is being used to manage club membership where most members are couples. The directory was imported and lots of the first names contain ampersands (e.g. Bob & Carol). The ampersand shows up correctly in most places but when the member goes to update their profile the ampersand shows as &. They can change the & to just & but on redisplay it returns to the old display.

Thank you. Investigating now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: ampersand in member's name

Postby Jason Caldwell » August 2nd, 2011, 9:13 pm

Thanks for reporting this important issue.
This is indeed a bug within s2Member's handling of the input field. A fix for this issue is being applied for the next releases of both s2Member and s2Member Pro which will automatically correct this problem for all current and future accounts that are established under an installation of s2Member. The next release should be available very soon. Thanks for your patience in this matter.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: ampersand in member's name

Postby Jason Caldwell » August 21st, 2011, 11:30 am

Jason Caldwell wrote:Thanks for reporting this important issue.
This is indeed a bug within s2Member's handling of the input field. A fix for this issue is being applied for the next releases of both s2Member and s2Member Pro which will automatically correct this problem for all current and future accounts that are established under an installation of s2Member. The next release should be available very soon. Thanks for your patience in this matter.

This has been corrected in the release of s2Member v110815+.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron