Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Thank you for letting me know. It it happening due to object passed by reference.
It is already fixed. Next version you will get it fixed. If you now want to change code please go to class-fep-pro-to.php line 536 and change foreach loop with this foreach loopforeach ( $this->first_message_attachments as $attachment ){ $attachment = (array)$attachment; $file = get_attached_file( $attachment['ID'] ); unset( $attachment['ID'], $attachment['guid'] ); wp_insert_attachment( $attachment, $file, $message_id ); }
Let me know. Also let me know if you find any more issues.
Shamim HasanKeymasterThis has 3 arguments.
Can you please give me exact code what you have added and where added?February 9, 2018 at 11:08 pm in reply to: Autocomplete and Send Message from Directory not working #10907Shamim HasanKeymasterYou can set “Role to Role Block”. Instruction in https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/role-to-role-block/
Shamim HasanKeymasterIs it possible to update php version? at least 5.6?
Can you please deactivate all other plugins except only this one and change theme to default theme and try?
Shamim HasanKeymasterwhich version of this plugin you are using?
Shamim HasanKeymasterPlease also try to update php version. See wordpress recommended https://wordpress.org/about/requirements/
Shamim HasanKeymasterAlready replied to you email. Please check your email for attachment button.
Shamim HasanKeymasterThank you for your purchase.
please see https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/only-admin/ for only admin setup. If more than one admin added then dropdown will show. Please go to Dashboard > Front End PM PRO > Settings > RecipientIf you set “Max recipients” as 0 then users will not be able to send message to other users and to box will be hidden so that users will not be able to type.
Announcement can be added from Dashboard > Front End PM PRO > New Announcement. Also if you want to add from front-end please check Dashboard > Front End PM PRO > Settings > Security > Add Announcement
Shamim HasanKeymasterShamim HasanKeymasterWhy not installed latest version of this plugin? latest version now is 7.1
Is there showing any other error when save license? Can you please see your server log?
Can your website contact external host? eg. wordpress to update core, themes and plugins?Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if any) functions.php
add_action ('fep_menu_button',function(){ echo '<a href="http://example.com">My Link</a>'; }, 20 );
Shamim HasanKeymasterPlease in your production site go to Dashboard > Front End PM PRO > Settings > Licenses and add your license and save.
Let me know.
February 9, 2018 at 2:57 pm in reply to: Autocomplete and Send Message from Directory not working #10851Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if any) functions.php
add_action( 'fep_action_validate_form', function( $where, $errors, $fields ){ if( 'newmessage' != $where ) return; if ( $errors->get_error_message( 'MgsBoxFull' ) ){ $errors->remove( 'MgsBoxFull' ); $errors->add('MgsBoxFull', __( "Your custom error message here.", 'front-end-pm' )); } }, 99, 3); add_filter( 'fep_message_table_bulk_actions', function( $actions ){ unset( $actions['delete'] ); return $actions; });
Change error message as you like.
Admin can delete message from Back-end. Go to Dashboard > Front End PM PRO > All MessagesFebruary 9, 2018 at 10:13 am in reply to: Autocomplete and Send Message from Directory not working #10829Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_current_user_can', function( $can, $cap, $id ){ if( 'delete_message' == $cap ) return false; return $can; }, 10, 3);
This will prevent user to delete their messages from front-end. So they will only be able to send message what is set in that limit page.
February 9, 2018 at 9:19 am in reply to: Autocomplete and Send Message from Directory not working #10823Shamim HasanKeymasterYou can set limit from Dashboard > Front End PM PRO > Settings > Misc
You can set limit as per role. -
AuthorPosts