ramikerenawi
Forum Replies Created
-
https://saad.mnaratalhuda.org.sa/?page_id=299
[Moderator note: Please, No bumping.]
- This reply was modified 4 years, 9 months ago by Yui.
- This reply was modified 4 years, 8 months ago by Steven Stern (sterndata).
You can find it at core/class-fields.php
// fields that need to be disabled in edit mode (profile) $arr_restricted_fields = array( 'user_email', 'username', 'user_login', 'user_password' );
remove ‘user_email’,
$arr_restricted_fields = array( 'username', 'user_login', 'user_password' );
- This reply was modified 6 years, 3 months ago by ramikerenawi.
I consider this solution is temporary as it should be fixed in next update
After many tries, I have discovered the problem of editing saving profile form:
when the member opens his profile, the url will be for example https://www.mydomain.com/profile/5
There is a function called um_is_on_edit_profile() in plugin function file, which make checking of profiletab=”main” and um_action=”edit” in um-short-functions.php, and sometimes these parameters is empty, so I have searched in profile template located in TEMPLATES folder and changed the next line 26:if ( um_is_on_edit_profile() ) { ?> <form method="post" action=""> <?php }
to:
if ( um_is_on_edit_profile() || TRUE ) { ?> <form method="post" action=""> <?php }
and line 193:
` if ( um_is_on_edit_profile() ) { ?>
</form>
<?php }`to:
if ( um_is_on_edit_profile() || TRUE) { ?> </form> <?php }
I consider this solution is temporary as t