Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Yes, it is possible.
add following code in your theme’s (child theme’s if any) functions.phpadd_filter( 'fep_filter_before_email_send', function( $content, $mgs ){ $content['headers']['reply-to'] = 'Reply-To: ' . fep_get_userdata( $mgs->mgs_author, 'user_email', 'id' ); return $content; }, 10, 2 );
Shamim HasanKeymasterYou can google it. Here is an example how you can achieve https://stackoverflow.com/a/5346855
Shamim HasanKeymasteradd following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_filter_show_which_name', function( $which ){ return 'first_name'; });
Shamim HasanKeymasterMay be i did not understand you question properly. You want to send emails to users in their preferred language?
You need some php knowledge for that. I can guide you if you have some knowledge in php.Did you set https://www.shamimsplugins.com/docs/front-end-pm/integration/multilingual/ for WPML?
Shamim HasanKeymasterShamim HasanKeymasteradd following code in your theme’s (child theme’s if using) functions.php
add_filter( 'fep_filter_to_roles_to_create_announcement', function( $roles ) { $access_roles = fep_get_option( 'userrole_access', array() ); $wp_roles = wp_roles()->roles; $roles = array(); foreach( $wp_roles as $role => $role_info ){ if ( in_array( $role, $access_roles ) ) { $roles[ $role ] = translate_user_role( $role_info['name'] ); } } return $roles; });
Shamim HasanKeymasterWe cannot send email from an email address which we do not own. You do not own your user email address, so you can not send email from that email address. We can try but most of the cases it will fail.
Shamim HasanKeymasterTo get latest messages you can use
FEP_Message_Query
class.
To change notification bar, textarea you need some css knowledge. You can use browser developer feature to know css selectors of your desire html markup. for firefox see https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_toolsShamim HasanKeymasteradd following code in your theme’s (child theme’s if using) functions.php
add_filter( 'fep_get_user_groups', function( $user_groups, $user_id ){ $groups = fep_get_option('gm_groups', array()); if( $groups && is_array( $groups) ){ foreach ( $groups as $group ) { $user_groups[ $group['slug'] ] = $group['name']; } } return $user_groups; }, 10, 2);
Shamim HasanKeymasteradd following code in your theme’s (child theme’s if using) functions.php
add_action( 'fep_message_table_column_content_avatar', function(){} );
Shamim HasanKeymasterPlease follow https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/translate/
Your other questions need some code. But i am outside. I will be back after 1 week. Then i will give you some code to achieve those changes.
Shamim HasanKeymasterYes, but it needs some code.
I am outside. I will be back after 1 week. Then i will give you some code to achieve this functionality.November 16, 2018 at 7:05 am in reply to: Show name of members in the conversation, not the person who made the last reply #19088Shamim HasanKeymasterIf you show photos then there is a easy way to show the other user photo only
Add following code in your theme’s (child theme you are using one) functions.phpadd_filter( 'fep_remove_own_avatar_from_messagebox', '__return_true' );
Or to show names of other user you have to use
fep_message_table_column_content_author
action hook. It needs some custom code. You need participants name then remove own name from them.Shamim HasanKeymasterI can do that, but as i told you earlier it will not always works. For paid modification please contact through https://www.shamimsplugins.com/hire/
Shamim HasanKeymasterYou can use some regex to do that but it does not always works. Users can change their mobile no or email a little to bypass this.
-
AuthorPosts