michaelpersch
Forum Replies Created
-
Yes, I have alot of snippets in this functions.php file. For example to adjust mail templates.
Should I maybe add some debugging code?
It is also not changing the behavior.
- This reply was modified 2 years, 11 months ago by michaelpersch.
I added it to the functions.php of my theme, it does not help…
- This reply was modified 2 years, 11 months ago by michaelpersch.
Alright, here is a screenshot and the text I cannot update anymore with the newest version of Ultimate Member

I can edit it, but as soon as I save, not matter what button I am using, the changes are gone.
This is how the whole page looks in the edit state:

It did not change how it looks in the last versions, it is just not saving anymore. The text is not saving, when I press one of the buttons. (marked in red)
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
I don’t have any custom bio field on the profile page, it is the default bio field on top of the profile.
There is just one field of this type in the profile, below the user name. It is inside a div called “um-meta-text”.
Is this even the bio field we are talking about here? It is not working anymore since the newest update.
I wouldn’t call the thread resolved because I tried the pre release version and still couldn’t update any bio…
I now tried the 2.6.8-alpha, and the problem still persists. No one can update their profile text. The big problem here is, that because of the vulnerability noone can downgrade, what means this important part of Ultimate Member is effectively broken at the moment…
It does simply not save the text.
- This reply was modified 2 years, 11 months ago by michaelpersch.
Thank you this worked great.
Yesterday I tried the method you didn’t suggest.
// Change user status. um_fetch_user( $user_id ); UM()->user()->set_status( $status );It disabled my own user instead of the one from the $user_id, that was very strange^^
Do you mean the bio in the frontend or the form in the backend?
I am using W3 Total Cache but I am pretty sure that I purged the cache after the update. I am wondering why it worked as soon as I added the code to the functions.php, as if WordPress reloaded all the hooks in this moment.
I found a temporary workaround to revive the UM-password-reset function. If I add the following to my function.php:
// Set the email content type to HTML add_filter( 'wp_mail_content_type', function( $content_type ) { return "text/html"; }); // Change the password reset email add_filter( 'retrieve_password_message', 'custom_retrieve_password_message', 10, 4 ); function custom_retrieve_password_message( $message, $key, $user_login, $user_data ) { $reset_link = network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login'); // Start with your custom message text $message = '<div style="max-width: 560px; padding: 20px; background: #ffffff; border-radius: 5px; margin: 40px auto; font-family: Open Sans,Helvetica,Arial; font-size: 15px; color: #666;">'; $message .= '<div style="color: #444444; font-weight: normal;"><div style="text-align: center; font-weight: 600; font-size: 26px; padding: 10px 0; border-bottom: solid 3px #eeeeee;">' . get_bloginfo('name') . '</div>'; $message .= '<div style="clear: both;"> </div></div>'; $message .= '<div style="padding: 0 30px 30px 30px; border-bottom: 3px solid #eeeeee;">'; $message .= '<div style="padding: 30px 0; font-size: 24px; text-align: center; line-height: 40px;">Someone requested a password reset for the following account:</div>'; $message .= '<div style="padding: 10px 0 50px 0; text-align: center;"><a style="background: #555555; color: #fff; padding: 12px 30px; text-decoration: none; border-radius: 3px; letter-spacing: 0.3px;" href="' . $reset_link . '">Reset Your Password</a></div>'; $message .= '<div style="padding: 15px; background: #eee; border-radius: 3px; text-align: center;">If you did not make this request, you can ignore this email <a style="color: #3ba1da; text-decoration: none;" href="mailto:' . get_option( 'admin_email' ) . '">or let us know</a>.</div></div>'; $message .= '<div style="color: #999; padding: 20px 30px;"><div>Best Regards</div><div>Your Name</div><div> </div><div><a href="' . site_url() . '" target="_blank" rel="noopener">Your Website</a><br />' . get_option( 'admin_email' ) . '</div></div></div>'; return $message; }For some reason the resulting link in the mail then does not really point to the wp-login.php but to the default UM-password-reset again and works. Of course you have to replace the message and placeholders for your needs. But I hope soon I can remove this filter again, when it is fixed.
Edit: Something strange happend now. The password reset works again, without the hook… I am not sure, what happened here.
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
Forum: Plugins
In reply to: [Frontend Admin by DynamiApps] Redirect after delete not workingHmm, I also updated to the newest version what seems to be 3.17.1 and the buttons seem to work for me. But the “Delete Post” is still ignoring my custom URL and redirects me to the post-url therefore my users land on an error page after deleting their post…
Did you update to the same version as me? Was there a rollback or another new version?
- This reply was modified 2 years, 11 months ago by michaelpersch.
- This reply was modified 2 years, 11 months ago by michaelpersch.
Thank you very much! All of the bugs mentioned seem to be fixed in version 2.6.6 🙂
Thanks alot for your answer!
Thank you very much!