Page 1 of 1

s2member login/reg page fields

PostPosted: April 18th, 2011, 7:03 pm
by jameztcc
Hi,

where in DB/files should I modify to add text to fields e.g. "Username *" --to--> "Username (e.g. xyz) *"?


thanks,
James Tan

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 1:54 am
by Cristián Lávaque
Hi James. :)

I'm not sure I understand what you want to do in the database, but the user's data is in the wp_usermeta table. http://codex.wordpress.org/Database_Des ... p_usermeta

That said, you can edit profiles going to WP Admin -> Users and clicking on their names to view each profile and edit it.

If it's about having custom fields on registration or in their profiles (even after registration) you can create them from WP Admin -> s2Member -> General Options -> Custom Registration Fields.

I hope that helps.

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 1:58 am
by jameztcc
Hi Cristián,

it helps, especially the Custom Fields.

What about the pre-existing default fields e.g. First Name and Last Name?

thanks,
James Tan

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 2:21 am
by Cristián Lávaque
I'm glad it helped. :)

What about the default fields? You can edit those in their profiles.

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 2:27 am
by jameztcc
Sorry if I am dragging this :)

Just to clarify on question, how to change those default field names e.g. I wish to add an explanation besides those field names, "Username *" --to--> "Username (e.g. xyz) *"?

And I have the text "(e.g. xyz)" above to explain to my users, probably also add in Chinese/Japanese labels to augment.

thanks a lot!
James Tan

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 2:40 am
by Cristián Lávaque
Oh! You mean the field's label?

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 2:42 am
by jameztcc
Yes, the field's label/name, not the input value :)

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 3:05 am
by Cristián Lávaque
Got it. :)

If you're using s2Member Pro, you can modify the template files by copying them into your own theme directory. There you can change the field labels if you need to. You can find instructions in the FAQs http://www.s2member.com/support/

Is it possible to modify the PayPal® and/or Authorize.Net® Pro Form templates?

Usually not necessary. But yes, if you really need to. Please check your /s2member-pro/includes/templates/forms/ directory. You can take the default templates, and place some ( or all of them ) into your own WordPress® theme directory. s2Member Pro will automatically find your custom templates there. By placing custom templates into your theme directory, you can be sure they won't get overwritten in a future upgrade. Either that, or you can just use the default templates like they are, and customize them with your own CSS rules inside the Stylesheet for your WordPress® theme ( i.e. style.css ). If you're using a PriMo Theme ( for instance, the s2Clean Theme ), check your Theme Options Panel, under: Custom CSS / Style Sheet.


Otherwise, if you're working with the default Login/Registration system for WordPress, you'll have to modify his WordPress file /wp-login.php starting at line #517
Code: Select all
        <label><?php _e('Username') ?><br />

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 3:09 am
by jameztcc
Hi Cristián,

valuable response. Thanks for everything,
James Tan

Re: s2member login/reg page fields

PostPosted: April 19th, 2011, 3:14 am
by Cristián Lávaque
:)