Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
I do not know how (or what meta) you used to store that value, So i cannot give you full code.
You can use following code in your theme’s (child theme’s if you are using) functions.php (change necessary code to get that link from user profile)add_filter( 'fep_eb_email_legends', function( $legends, $mgs, $user_email ){ $link = ''; if( $user_email && ($user = get_user_by( 'email', $user_email ) ) ){ $link = 'Here get that link from $user profile'; } $legends['one_click_login'] = array( 'description' => __('One click Login link', 'front-end-pm'), 'where' => array( 'newmessage', 'reply' ), //where this tag will be used 'replace_with' => $link ); return $legends; }, 10, 3);
Shamim HasanKeymaster1. Which user filed you want to send? sender or receiver?
2. Which field you want to send?Shamim HasanKeymasterShamim HasanKeymasterThere
$mgs->mgs_author
is the user id. So you can use this to get any value for that user.Shamim HasanKeymasterYes, possible. In that case fill out subject in settings and add following code in functions.php
add_filter('fep_get_user_option', function( $value, $option, $default, $userid, $is_default ){ if( 'allow_emails' !== $option ){ return $value; } if( fep_is_user_admin() ){ $value = true; } else { $value = false; } return $value; }, 10, 5);
This will send notification only to admins.
Shamim HasanKeymasterThat means there are more users as participants of that message.
Shamim HasanKeymasterThis plugin uses wp functions to upload attachments. I do not know how that plugin handle upload files. Can you try if it already working? If not can you get some idea from that plugin author how to integrate with that plugin?
December 5, 2020 at 10:13 pm in reply to: V2 and V3 key switching and version-specific shortcodes #42004Shamim HasanKeymasterThank you for your nice suggestion. I will try to implement this in future.
Shamim HasanKeymasterAs it is not possible to predict what i need to change in a website to debug an issue, So i needed to add that term.
You can change interval to 15 minutes and email per interval to 20, Wait at least 15 minutes then refresh your website couple of times and see if it start sending.
Shamim HasanKeymasterDo other plugins translations works?
Shamim HasanKeymasterDid you changed email interval in Front End PM PRO > Settings > Emails?
If still not working i need access to your website so that i can try. You can send me your admin credentials via https://www.shamimsplugins.com/sensitive-information/
Shamim HasanKeymasterI see your are not using latest version of the plugin. Please update to latest version and it will work.
I have manually renewed your previous license, So in this plugin version you can use previous license now and can update.Shamim HasanKeymasterPlease select English one as “Front End PM Page” in the settings page of this plugin.
Also please check if other plugins translations working.let me know.
Shamim HasanKeymasterYou need to change $args parameters only. Not full get_users function.
Eg.add_filter( 'fep_filter_rest_users_args', function( $args ){ $args['search'] = 1449, return $args; });
Shamim HasanKeymasterPlease go to Dashboard > Tools > Site Health and check if those options are under passed tests (see screenshot)
Attachments:You must be logged in to view attached files. -
AuthorPosts