Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Please see our previous discussion about this error https://www.shamimsplugins.com/support/topic/problems-with-installation/
Last time it was your hosting problem. Please contact them.Shamim HasanKeymasterIt is just an array. use like array
$user_groups['group_slug'] = 'Group Name'; $user_groups['group_slug2'] = 'Group Name2'; $user_groups['group_slug3'] = 'Group Name3';
Shamim HasanKeymasterDid you changed your theme and try?
January 8, 2019 at 11:39 am in reply to: Previous message conversation in the e-mail (email chain) #20529Shamim HasanKeymasterYou can create an email tag (https://www.shamimsplugins.com/docs/front-end-pm-pro/customization-front-end-pm-pro/add-own-email-tag/) and use that tag in email. Which customize such way that it will send previous messages.
Shamim HasanKeymasterchange your code last part with following code
add_action( 'fep_display_after_message', function(){ if ( $cus_fep_textbox1 = fep_get_meta( fep_get_the_id(), 'cus_fep_textbox1', true ) ) { echo esc_html( $cus_fep_textbox1 ); } });
Shamim HasanKeymasteradd following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_get_user_groups', function( $user_groups, $user_id ){ $user_groups['group_slug'] = 'Group Name'; return $user_groups; }, 10, 2);
You can pass any group here. Users will be able to send message to those groups.
Shamim HasanKeymasterUpdated pot file sent to your email address. Please use that instead.
Let me know.Shamim HasanKeymasterOpen pot file in Poedit then click “Update from Code”. Then save. Then translate.
Shamim HasanKeymasterYou can use
fep_get_user_groups
filter to show any groups you want.Shamim HasanKeymasterShamim HasanKeymasterUsers can see groups in dropdown which they are member.
May be i did not understand you properly. can not user see all groups which they are member in dropdown?Shamim HasanKeymasterAdd following code in your theme’s (child theme’s if you are using) functions.php
add_filter('fep_menu_buttons', function( $menu ){ unset( $menu['settings'], $menu['announcements'] ); return $menu; }, 99);
Shamim HasanKeymasterAdd following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_form_fields', function( $fields ){ $fields['cus_fep_checkbox'] = [ 'type' => 'checkbox', 'where' => 'newmessage', 'priority' => 22, 'cb_label' => 'Can we use your message on the site as a story?', ]; return $fields; }); add_action( 'fep_action_message_after_send', function( $message_id, $message, $new_message ){ if ( ! empty( $message['cus_fep_checkbox'] ) ) { fep_add_meta( $message_id, 'cus_fep_checkbox', $message['cus_fep_checkbox'], true ); } }, 10, 3); add_action( 'fep_display_after_message', function(){ if ( fep_get_meta( fep_get_the_id(), 'cus_fep_checkbox', true ) ) { echo 'We can use this message on the site as a story'; } });
Shamim HasanKeymasterYes, all settings and data will be there.
Shamim HasanKeymasterYou can use
fep_form_fields
filter hook to add any additional fields andfep_display_after_message
hook to show that bellow message. -
AuthorPosts