Shamim Hasan

Forum Replies Created

Viewing 15 posts - 2,161 through 2,175 (of 2,464 total)
  • Author
    Posts
  • in reply to: Revive deleted string #6463
    Shamim Hasan
    Keymaster

    Please use following

    
        add_action('save_post', 'undelete_thread');
        function undelete_thread($post_id) {
            $post = get_post($post_id);
            if ($post->post_type == 'fep_message' && $post->post_parent){
                $participants = fep_get_participants( $post->ID );
                foreach( $participants as $participant )        
                {
                    delete_post_meta($post->post_parent,'_fep_delete_by_'. $participant );    
                }
            }
        } 
    
    in reply to: Revive deleted string #6459
    Shamim Hasan
    Keymaster

    You can change if ($post->post_type = 'fep_message'){ with if ($post->post_type == 'fep_message' && $post->post_parent){
    This way it will not run unnecessarily for parent message

    in reply to: Disable Email for One Message #6427
    Shamim Hasan
    Keymaster

    You can add remove_action( 'fep_action_message_after_send', array( Fep_Emails::init(), 'save_send_email'), 20, 2 ); just before using fep_send_message()

    in reply to: Toggle Messages #6424
    Shamim Hasan
    Keymaster

    Next release i will try to add an option for this.

    in reply to: Insert Message from another application #6397
    Shamim Hasan
    Keymaster

    $admins = fep_get_option('oa_admins', array()); will give you array of admins.

    in reply to: Announcement sending email #6373
    Shamim Hasan
    Keymaster

    Are you using any SMTP plugin or any other plugin which change wp_mail function? Your issue seems return false from wp_mail function all the time and it should not be. I will try to add a filter to bypass this check next version.

    in reply to: Announcement #6370
    Shamim Hasan
    Keymaster

    I have sent to 1000 users and it seems it sent to all users.
    Can you please try again.
    Also please debug on and try to see error log of your server if anything there regarding this.
    Let me know.

    in reply to: Announcement #6339
    Shamim Hasan
    Keymaster

    Why you use Free version when you have PRO version?
    Some server limit email sending within time. Free version send email at a time, so if server limit that then those email will not be sent.
    PRO version have a feature to queue your announcement emails. So that emails will be sent in your desire time with a small chunk. You can try use that feature.

    in reply to: Redirection of ads mails to private internal messaging #6331
    Shamim Hasan
    Keymaster

    Glad to hear that issue is solved and it is not this plugin issue.
    Let me know anytime if you need my assistance about Front End PM PRO.

    Regards
    Shamim

    Shamim Hasan
    Keymaster

    Nice suggestion.
    I will try to do this in next major version.
    If you can send some CSS for this you are welcome.

    Thanks

    Shamim Hasan
    Keymaster

    Thank you again.
    But There can be added unlimited number of recipients. In this approach more than 3-4 recipients will make clutter and make this system unreadable.

    Last version also i tried to make like this but i was out of idea. When i get any good idea i will make those changes.
    If you (anyone) have any good idea please let me know.

    Thanks

    in reply to: Insert Message from another application #6307
    Shamim Hasan
    Keymaster

    Your attachment will not be sent with email in your approach.
    From my code add_action ('fep_action_message_after_send', 'fep_open_emr_upload_attachments', 10, 3 ); and bellow everything move to above function action_putmessage( $args ) {. That means attachment hook have to be added first.

    Let me know.

    in reply to: Redirection of ads mails to private internal messaging #6296
    Shamim Hasan
    Keymaster

    I have investigate in your website and it seems any plugin and/or theme adding BOM Char which creating problem. (WordPress recommended way for file encoding is without BOM)
    Please disable all plugins except this one and change theme to default theme and try. If work then enable your theme and enable your plugins one by one and try. Let me know when starting this issue.

    Thanks

    in reply to: Setting default security permissions #6293
    Shamim Hasan
    Keymaster

    This plugin do this when plugin install. So if role not present that time it can not detect.
    Any role added later have to manually ticked.

    Thanks

    in reply to: Setting default security permissions #6287
    Shamim Hasan
    Keymaster

    When this plugin is installed first time all the roles (including custom roles) will be ticked.
    Is not is happening to you?

Viewing 15 posts - 2,161 through 2,175 (of 2,464 total)