Page 1 of 1
		
			
				disable display name on profile page
				
Posted: 
September 8th, 2011, 4:01 pmby antseo
				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.
			 
			
		
			
				Re: disable display name on profile page
				
Posted: 
September 9th, 2011, 1:46 amby Cristián Lávaque
				Could you show me a screenshot of that, please? Thanks. 

 
			
		
			
				Re: disable display name on profile page
				
Posted: 
September 11th, 2011, 9:34 pmby antseo
				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?
			 
			
		
			
				Re: disable display name on profile page
				
Posted: 
September 16th, 2011, 3:46 amby Cristián Lávaque
				You could try hiding the field using CSS.
			 
			
		
			
				Re: disable display name on profile page
				
Posted: 
September 16th, 2011, 8:02 amby antseo
				okay, yes that's a great suggestion.  I'll give that a try.
			 
			
		
			
				Re: disable display name on profile page
				
Posted: 
September 17th, 2011, 7:07 pmby antseo
				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?
			 
			
		
			
				Re: disable display name on profile page
				
Posted: 
September 25th, 2011, 12:30 amby Cristián Lávaque
				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/