Although it’s working fine, it does not allow the user to use an email address as their username. So, how can I…
A. allow users to enter an email address for their user_login? or
B. hook onto the form submission and copy the user_email address entered into the user_login field?
Thanks for your help!
]]> <tr>
<td><code>user.display_name_html</code></td>
<td><code>user.phone_number</code></td>
<td><code>user.mobile_number</code></td>
<td><code>user.user_email</code></td>
<td><code>user.community_address</code></td>
</tr>
All my fields work except for “user.user_email”.
What is the correct way to display the users email address in a members list template?
]]>I’ve been using the free version of the plugin to import users via a CSV – and it works just fine – well, until this past week or so.
I have been setting the “user_login” to be the same as their “user_email” – and this worked fine until recently where it seems the plugin is now stripping off everything including and after the “@” in the “user_login” (which, as I said, is the same as their email address – user_email).
Is it possible to restore the previous functionality? i.e. their user_login to be the same as their user_email? (in two separate columns, of course).
.h
]]>I’ve created a site which allows users to register and purchase a premium account using custom fields it simply stores the value ‘premium’ within a custom field on registration, what I’m trying to achieve is if two users using the same domain name so [email protected] & [email protected] are on the site and one of them has a premium account, is there a way so that the other user is able to reference other users using ‘user_email’ to see if anyone else from the same company has purchased a premium account, therefor via my template granting them the same site permissions as the premium user.
Any pointers here appreciated. Thanks
]]>I just need to know which tag to use to get the current users email, I looked at the documentation but I have tried many variants to no avail.
like:
CF7_get_current_user_email
CF7_get_current_user(user_email)
CF7_get_current_email….etc..
Does anyone know the correct tag for this?
Cheers
Since I updated to v2 the subject of the sent emails just shows the string, literally writing user_email in accolades. Is this a bug or a discontinued feature?
Thank you.
]]>Is there a setting of some sort that I’m missing?
]]>I have created a custom user Account Settings page that lets WP users update their account information including additional custom fields that get attached to that user’s metadata. One of the fields that can be updated is the user’s email address.
I display the currently logged in user’s email address in my header.php file. I use get_currentuserinfo
to display the currently logged-in user’s email address in the header that is displayed on all pages throughout the site.
When the user updates the email address of their account by submitting my Account Settings form, the form confirms that the email address is unique, and displays a “Your profile has been updated” message after the successful update (the PHP form evaluates itself, displays errors, and accomplishes the wp_update_user
and update_user_meta
functions). The problem I’m encountering is that when the form page evaluates itself and successfully updates the user record, the email address in the header.php file isn’t updated to reflect the changed email address. I’ve tried resetting the WP auth cookie at the time that the profile is updated, but that doesn’t cause header.php to pick up the new email address. So far the only way I can get the web page (and thus header.php) to display the new email address is to reload the page in the browser.
I suppose I could have the account settings page redirect to itself after a successful user profile update, but I’m not sure if that’s necessary or the best way to accomplish what I’m trying to do.
Any suggestions for the best way to accomplish what I intend, e.g. that a successful update of the user’s email address is reflected in my header.php file after the update?
]]>