Forum Replies Created
-
AuthorPosts
-
bisraelMember
I’ve resolved the issue by commenting out your function named ‘getExecutionPage’ in the module user-meta\models\pro\umSupportProModel.php
The ‘Lost Password’ and ‘Logout’ href’s no longer contain a reference to the page constructed by the above function.
bisraelMemberI know know if this is going to help you or not but the the page 2394 (above) was created by your function named getExecutionPage.
bisraelMemberIn the event someone else is looking for this solution, here’s what worked for me.
in functions.php, I added this code
function addTimestampField( $user_id ) {
if (is_page(‘1786′)) {
update_user_meta( $user_id, ’emerg_contact_update_timestamp’, date(‘d/m/Y H:i:s’) );
}
elseif (is_page(‘1784’)) {
update_user_meta( $user_id, ‘personal_info_update_timestamp’, date(‘d/m/Y H:i:s’) );
}
else {
update_user_meta( $user_id, ‘update_timestamp’, date(‘d/m/Y H:i:s’) );
}
}
add_action( ‘user_register’, ‘addTimestampField’ );
add_action( ‘edit_user_profile’, ‘addTimestampField’ );
add_action( ‘profile_update’, ‘addTimestampField’ );The tests for page number allows me to identify which profile update form was uses so that I can update the appropriate meta timestamp.
bisraelMemberI’m trying to accomplish exactly what you were trying to do.
Were you able to update the timestamp when address changed? Can you tell me how you did it?
Thanks
bisraelMemberThis issue is resolved… I added this to my child theme style.css. I now have a 2 column User Profile update page.
.um_field_container .pf_label {
display: inline-block;
text-align: right;
width: 190px;
margin-right: 0.1em;
text-transform: uppercase;
color: rgb(102, 102, 102);
font-size: 12px;
font-weight: bold;
letter-spacing: 0.1em;
line-height: 2.2em;
}
.um_field_container .um_input {
display: inline-block;
width: 300px;
margin-left: 2px;
border: 1px solid #781351
} -
AuthorPosts