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™

disable display name on profile page

s2Member Plugin. A Membership plugin for WordPress®.

disable display name on profile page

Postby antseo » September 8th, 2011, 4:01 pm

is there a way to disable the display field on the profile page. The field is called: ws_plugin__s2member_profile_display_name

If so, which page would I edit? I'm using the Member Profile Modifications feature.
User avatar
antseo
Experienced User
Experienced User
 
Posts: 127
Joined: September 2, 2011

Re: disable display name on profile page

Postby Cristián Lávaque » September 9th, 2011, 1:46 am

Could you show me a screenshot of that, please? Thanks. :)
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: disable display name on profile page

Postby antseo » September 11th, 2011, 9:34 pm

Hi Cristian. Actually, I used the script that Jason created where it uses the beginning part of the email address to create the username which has worked but I'm just trying to now disable that username or hide it so that the user cannot edit it on sign up. However, I get the error that it must be filled in. Anyway to prevent the user from creating a username from the registration sign up?
User avatar
antseo
Experienced User
Experienced User
 
Posts: 127
Joined: September 2, 2011

Re: disable display name on profile page

Postby Cristián Lávaque » September 16th, 2011, 3:46 am

You could try hiding the field using CSS.
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: disable display name on profile page

Postby antseo » September 16th, 2011, 8:02 am

okay, yes that's a great suggestion. I'll give that a try.
User avatar
antseo
Experienced User
Experienced User
 
Posts: 127
Joined: September 2, 2011

Re: disable display name on profile page

Postby antseo » September 17th, 2011, 7:07 pm

So Cristian, I'm using the Member Profile Modifications in s2member and on the profile page, I need to hide a field and label. Which css file do I modify?
User avatar
antseo
Experienced User
Experienced User
 
Posts: 127
Joined: September 2, 2011

Re: disable display name on profile page

Postby Cristián Lávaque » September 25th, 2011, 12:30 am

Look for the ID of the input field in the HTML. For the label, if it or the parent tag don't have an ID, you could use the sibling selector and the input's ID. http://css-tricks.com/5514-child-and-sibling-selectors/
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


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron