- This topic has 2 replies, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Prevent changes on registration after free membership with email confirm?
We use the shortcode:
[free_rego_with_email_confirmation level=2 redirect_to="http://mysite123.org/check-email"]
The redirect simply tells the visitor to check their email and SPAM for the confirmation.
When the visitor triggers the confirmation and is returned to the full registration page, there doesn’t seem to be an obvious way to avoid being SPOOFED by changing the email that was submitted for confirmation.
In:
https://support.tipsandtricks-hq.com/forums/topic/hiding-registration-fields#post-4787
it says:
<QUOTE>Look for the following in the “eMember_misc_functions.php” file and comment out the fields that you don’t want to show:
function eMember_reg_form
</UNQUOTE>
But since that post is quite old, there doesn’t seem to be an obvious function in that file to experiment to see if we can make the field hidden or read-only.
Where should we look to comment out the fields in the registration that we don’t want to show?
That function was moved to the “eMember_registration_utils.php” file. You will find the “eMember_reg_form” function in that file.
BINGO!
Solution for me was to add a line of PHP in the <tr>
tag @ line 741.
For the record, this is using eMember version 9.2.1 as of 9/3/2017, so at some future date, the location in the code could change without notice.
THANKS for patience.