Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,966 through 1,980 (of 2,457 total)
  • Author
    Posts
  • in reply to: Autocomplete and Send Message from Directory not working #10851
    Shamim Hasan
    Keymaster

    You 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 Messages

    in reply to: Autocomplete and Send Message from Directory not working #10829
    Shamim Hasan
    Keymaster

    You 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.

    in reply to: Autocomplete and Send Message from Directory not working #10823
    Shamim Hasan
    Keymaster

    You can set limit from Dashboard > Front End PM PRO > Settings > Misc
    You can set limit as per role.

    in reply to: Making message read-only #10805
    Shamim Hasan
    Keymaster

    it will parent id (first message id of the thread).

    in reply to: New tab for all attachments #10758
    Shamim Hasan
    Keymaster

    I see you already contacted me. But i think my replies never sent.
    Can you please check your email address is correct in your account?

    in reply to: Attachments when sending to multiple recipients #10723
    Shamim Hasan
    Keymaster

    There are lots of hooks in this plugin and you can change almost anything without changing core plugin code.
    It is not recommended to change plugin code.

    after that also if you need, this fix is located in class-fep-pro-to.php

    in reply to: Making message read-only #10683
    Shamim Hasan
    Keymaster

    go to Front End PM PRO > All Messages and find that message and change status to anything else other that publish.

    in reply to: Autocomplete and Send Message from Directory not working #10680
    Shamim Hasan
    Keymaster

    i do not have that plugin. If you can send me i can try to find a way if possible.

    in reply to: Autocomplete and Send Message from Directory not working #10651
    Shamim Hasan
    Keymaster

    Please check Front End PM PRO > Settings > Security > Role to Role block, if your role is blocked.
    Are you using any custom code for this plugin in your website?
    Can you please deactivate all plugins and change theme to default theme and try?

    in reply to: "To" field still appears with Only Admin #10648
    Shamim Hasan
    Keymaster

    I see you marked this topic as “resolved”. if not resolved let me know.

    in reply to: Announcement Emails Not Sending #10619
    Shamim Hasan
    Keymaster

    is “Remove Data on Uninstall?” checked?
    You can delete plugin via ftp. that will be same effect.
    For announcement issue can you please change sending interval to 10 and the emails per interval to 10
    and save changes.
    Let me know.

    Shamim Hasan
    Keymaster

    Is it working correctly in your setup after this change?

    in reply to: New tab for all attachments #10575
    Shamim Hasan
    Keymaster

    It is possible but require custom code.
    If you need this feature badly contact via https://www.shamimsplugins.com/contact-us/ for quotation.

    in reply to: hyperlink all text on message notification #10556
    Shamim Hasan
    Keymaster

    “X messages” and “X announcements” are hyper linked. So when click “X messages” it will redirect you message box page, and same for announcements.

    To make full notification clickable add following code in your theme’s (Child theme’s if any) functions.php

    add_filter( 'fep_header_notification', function( $show ){
    	$show = '<div onclick="location.href=\'' . fep_query_url('messagebox') . '\';" style="cursor:pointer;">' . $show . '</div>';
    	return $show;
    });
    
    in reply to: dismiss new message notification #10535
    Shamim Hasan
    Keymaster

    You can add #fep-notification-bar button {display:none;} in Front End PM PRO > Settings > General > Custom CSS

Viewing 15 posts - 1,966 through 1,980 (of 2,457 total)