latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Editing an email address on authnet reg form

Home Forums Community Forum Editing an email address on authnet reg form

This topic contains 1 reply, has 2 voices. Last updated by  Bruce 3 years, 11 months ago.

Topic Author Topic
Posted: Thursday Feb 7th, 2013 at 4:33 pm #41057

I’m using a LDAP plugin that creates WordPress users automatically when they login using their existing LDAP credentials. Unfortunately, many of the LDAP entries don’t have email addresses, which this plugin actually handles fine despite the fact that WordPress requires an email address.

In my workflow, I’m requiring users to be logged into the site before they signup for stuff via s2Member.

When I use the Authorize.net Pro Form, the email address field is blank for users without one in their WordPress profile (obviously), but that field is not editable whereas the First Name and Last Name fields are. I need this form to collect an email address for sending confirmations, etc, but can’t seem to figure out how to all users to enter an email (and have it update their profile).

Any thoughts?

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Saturday Feb 9th, 2013 at 2:27 am #41247
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I need this form to collect an email address for sending confirmations, etc, but can’t seem to figure out how to all users to enter an email (and have it update their profile).

There’s currently no way to handle this directly through s2Member’s Billing Modification Forms. Instead, you will need to have users update their email address before you allow them to see your Billing Modification Forms. To check if a user’s email is set you could do something like this in a Post/Page, using s2Member Simple Shortcode Conditionals:

[s2If get_user_field(user_email)]
    Display the upgrade form
[/s2If]

[s2If !get_user_field(user_email)]
    Display a notice that the user needs to update their Email Address.
[/s2If]
Tip: s2Member comes with a Profile Modification Shortcode that you can put in any WordPress Post/Page to have Members edit their profile.

See: Dashboard -› s2Member® -› General Options -› Member Profile Modifications

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.