Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,936 through 1,950 (of 2,460 total)
  • Author
    Posts
  • in reply to: Hook to use before messages load #11391
    Shamim Hasan
    Keymaster

    You are overriding variable $args. Please change your arguments name to something else. Also you do not need to provide child messages ids.

    count is cached for performance. Please use same function in hook fep_message_count_query_args also. It will be hard to maintain count properly if you do not invalid cache when ref ids change for any user.

    in reply to: Messages – Select All #11385
    Shamim Hasan
    Keymaster

    There is checkbox to select one by one.
    From back-end you can select all, go to Dashboard > Front End PM PRO > All Messages

    in reply to: Show all replies on load #11326
    Shamim Hasan
    Keymaster

    By default it collapse only messages which already read. all unread messages are open. If you still want to show all messages by default add following code in your theme’s (child theme’s if any) functions.php

    
    add_filter( 'fep_filter_hide_message_initially_if_read', '__return_false' );
    
    in reply to: Hook to use before messages load #11324
    Shamim Hasan
    Keymaster

    what is $not_post? where it shows children? what is full code you have added?

    in reply to: You have invalid or expired license key #11263
    Shamim Hasan
    Keymaster

    Please go to https://www.shamimsplugins.com/checkout/purchase-history/ and download version 7.2.
    Then try.
    When i investigate your website i updated to beta 7.2. that is not live one. Please remove previous one then download and install latest one and then try.

    in reply to: Hook to use before messages load #11253
    Shamim Hasan
    Keymaster

    You can use that filter like

    
    add_filter( 'fep_message_query_args', function( $args ){
        $args['post__not_in'] = array( 1,2,3);
        return $args;
    });
    

    Where 1,2,3 is your parent messages ids.

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

    did you add full code? Please give me code what you have added.

    in reply to: You have invalid or expired license key #11248
    Shamim Hasan
    Keymaster

    This trick only work in latest version (7.2+)
    1. Go to Front End PM PRO > Settings > Licenses
    2. Input your license and save
    3. in address bar add &input_license_data=front_end_pm_pro end of your url
    4. press Enter
    5. a new text box will show under license input field. Click Get Data bottom of that field.
    6. copy that data and paste in that input field. Then save.

    in reply to: You have invalid or expired license key #11190
    Shamim Hasan
    Keymaster

    Is it possible to change ip address of your website? If yes, that will be good, otherwise we will manually input your license data. But it is not recommended, you may miss some update.

    in reply to: Hook to use before messages load #11172
    Shamim Hasan
    Keymaster

    it mainly pass 2 arguments ($args, $user_id). In $args there are lots of data as array. you can add or remove any data from here. Full list can be found in https://codex.wordpress.org/Class_Reference/WP_Query#Parameters

    As you are working with code, better way to search the hook in code, so that you will get clear idea what is passing and how is passing. fep_message_query_args filter located in class-fep-message.php

    in reply to: Hook to use before messages load #11165
    Shamim Hasan
    Keymaster

    You can use fep_message_query_args filter hook

    in reply to: Hook to use before messages load #11161
    Shamim Hasan
    Keymaster

    You want a hook when a message is sent or messagebox is loaded?

    in reply to: You have invalid or expired license key #11145
    Shamim Hasan
    Keymaster

    it will connect just once to check the license per week. So it should not be any issue.
    your website is becoming slow because it can not check license, So it try again.
    Please ask your host if this website (shamimsplugins.com) is blocked or not. when we get the response from your host we can proceed.

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

    Please add those code directly to your theme’s (child theme’s if any) functions.php and see how many arguments you received.

    Let me know.

    in reply to: You have invalid or expired license key #11105
    Shamim Hasan
    Keymaster

    not your ip, may be my website ip is blacklisted by your host. Just to be sure, please ask your host that your website can not connect to shamimsplugins.com. I see your website can contact my other website, just causing issue with this website. License server is in this website, so it is required to connect to this website. Please ask and let me know.

Viewing 15 posts - 1,936 through 1,950 (of 2,460 total)