Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
August 29, 2018 at 5:53 pm in reply to: Can't reply to a message after it is deleted by other user. #17013Shamim HasanKeymaster
This is intended behavior.
When a user delete a massage but another user reply that massage and first user see that massage though he deleted that massage that is too much confusing. So now if any user delete a massage that massage can not be replied anymore.Shamim HasanKeymasterUse
add_action( 'fep_display_after_message', function(){ $authordata = get_userdata( fep_get_message_field( 'mgs_author' ) ); if( in_array( 'business', $authordata->roles ) ){ echo '<div id="businesslink">See more information and photos of <a href="' . esc_url( home_url( '/' ) ). $authordata->user_nicename . '">' . $authordata->display_name . '</a>.</div>'; } });
Shamim HasanKeymasterThese 2 changes backported to current version. So if you update this plugin now, then no need any more file changes. Just click “Proceed” and continue.
Shamim HasanKeymasterI see your website have js error (see screenshot) and it is coming from your theme custom.js file.
Please contact with your theme if your theme added that file. Correcting that error should solve your notification issue.Attachments:You must be logged in to view attached files.Shamim HasanKeymasterYou have send one user account, please create another test user account and send to me so that i can send message between them and debug notification.
Shamim HasanKeymasterCan you give me access to your website to debug?
If yes, send through https://www.shamimsplugins.com/sensitive-information/ (send wp admin and normal user details, ignore others).Shamim HasanKeymasterPlease check now.
I am getting email notification.Shamim HasanKeymasterI have tested now and it is working in my test website.
Please clear all caches (server, browser etc) and check if that helps.
Also see browser console if there any js error.Let me know.
Shamim HasanKeymasterI can access to your website again to debug. Is that ok?
Shamim HasanKeymasterThis is only applicable for user who is making request withing that time (generally admin who is updating the plugin). So users should not be affected.
Also i have already solve this issue and back ported the code to current version. So users can update this plugin without any additional code run.
Shamim HasanKeymasterWith more extensive testing i found a issue which is too rare. If a request is made during update between user meta delete and message update (time is less than 1 second depending on your messages size) then this issue occur. I believe which is case for you.
You can add
delete_metadata( 'user', 0, '_fep_user_message_count', '', true );
in your theme’s (child theme’s if any) functions.php, then refresh your admin area couple of times and remove this code. This will solve your issue.August 28, 2018 at 9:01 am in reply to: Unable to remove "maxlength" and "minlength" requirements #16915Shamim HasanKeymasterThis one also tested and working.
Please make sure your code is in right place ( in your theme’s (child theme’s if any and active) functions.php )Let me know.
Shamim HasanKeymasterThese are working, I have tested it now in my test website and it is working. Also nothing is changed in these hooks.
Please make sure your code is in right place ( in your theme’s (child theme’s if any and active) functions.php )
Let me know.
Shamim HasanKeymasterAlso i prefer you install any SMTP plugin. That will send email through SMTP and may solve your issue.
Shamim HasanKeymasterWhen i went to lost password (for test email sending) i am getting error (see screenshot). So it seems there is issue with your server for sending email. Please contact your host.
Let me know.
Attachments:You must be logged in to view attached files. -
AuthorPosts