Shamim Hasan

Forum Replies Created

Viewing 15 posts - 2,071 through 2,085 (of 2,464 total)
  • Author
    Posts
  • in reply to: Email is not sending #8330
    Shamim Hasan
    Keymaster

    Please see forwarder settings for email piping, there is a location field, you have to update that.
    https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/email-piping/

    in reply to: Customising colours #8314
    Shamim Hasan
    Keymaster

    What button color you want? I can assist you for some css changes.

    in reply to: Attachments #8312
    Shamim Hasan
    Keymaster

    Cannot you send attachment? or you can send attachment but not show with message?

    in reply to: Choose a recipient on click #8144
    Shamim Hasan
    Keymaster

    For message page url in email you can set “Front End PM Page” in Dashboard > Front End PM PRO > Settings > General.

    To auto fill your selected users, you can use https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/only-admin/ ( users do not have to be admin, you can use normal users also in that list).

    If you want to pre-populate (without click), you can use https://www.shamimsplugins.com/docs/front-end-pm/customization/user-name-pre-populate-new-message/ , for multiple users you can pass their id’s separated by comma.

    You can even use https://www.shamimsplugins.com/docs/front-end-pm/shortcode/fep_shortcode_new_message_form/ (here you can easily change value by JS).

    If you want to select onclick (what you are showing in your screencast) you can use selector.tokenInput("add", {id: x, name: y}); where “id” is user id and “name” is user display name. If you want to select one recipient only, you can call selector.tokenInput("clear"); before adding.

    Let me know.

    in reply to: Change Directory llisting #8141
    Shamim Hasan
    Keymaster

    Please add following code in your theme’s (child theme’s if any) functions.php

    
    add_action( 'fep_directory_table_column_content_name', function( $user ){
    	$shop_name = get_user_meta( $user->ID, 'pv_shop_name', true );
    	if( $shop_name )
    	echo $shop_name;
    	else
    	echo $user->display_name;
    });
    
    in reply to: Change Directory llisting #8127
    Shamim Hasan
    Keymaster

    what is meta name of that field? Did you use any plugin to create that field?

    in reply to: Aggregate messages related to a single receiver or a group #8083
    Shamim Hasan
    Keymaster

    Currently there is no feature like that in this plugin. You may do it by custom code, but that will be complicated.

    in reply to: Special character displayed as Unicode in the email subject #8080
    Shamim Hasan
    Keymaster

    Next version will be published this week. This fix is included in next version.

    in reply to: Email is not sending #8042
    Shamim Hasan
    Keymaster

    Are they receiving announcement emails?
    Was it working before? From when it is not working?
    Please give me screenshot of Front End PM PRO > Settings > Emails page.

    in reply to: Replying to Announcements #7999
    Shamim Hasan
    Keymaster

    Announcement only for admin to users. So there is no option for users to send reply.

    But i think it can be a nice feature to add this. I will try to add this in next major version.

    in reply to: pre-populate – multiple recipients #7996
    Shamim Hasan
    Keymaster

    You can use like

    
    <a href="http://example.com/message/?fepaction=newmessage&fep_mr_to=1,2,5">Send Message</a>
    

    Change example.com/message/ with your message page url

    in reply to: pre-populate – multiple recipients #7971
    Shamim Hasan
    Keymaster

    This feature supports now.
    Use fep_mr_to instead of fep_to and user ids separated by comma. eg fep_mr_to=1,2,5

    in reply to: Time delay between 2 messages #7949
    Shamim Hasan
    Keymaster

    Please go to Dashboard > Front End PM PRO > Settings > General and set “Time delay” as 0

    Then add following code in your theme’s (child theme’s if any) functions.php

    
    add_action( 'fep_action_validate_form', 'fep_cus_diff_time_delay_for_roles', 10, 2);
    
    function fep_cus_diff_time_delay_for_roles( $where, $errors ) {
    
        if( 'newmessage' != $where )
            return;
            
        $args = array(
            'post_type' => 'fep_message',
            'post_status' => array( 'pending', 'publish' ),
            'posts_per_page' => 2,
            'author'	   => get_current_user_id(),
            'date_query' => array(
                'after' => '-1 week'
                ) 
            );
        if( 'threaded' == fep_get_message_view() )
            $args['post_parent'] = 0;
        
        $posts = get_posts( $args );
        
        if( ! $posts )
        return;
        
        $roles = wp_get_current_user()->roles;
        
        if( array_intersect( array( 's2member_level1', 's2member_level2'), $roles ) ) {
            $errors->add('time_delay', __( 'You can send maximum 1 message a week.', 'front-end-pm' ) );
        } elseif( count( $posts ) >= 2 && array_intersect( array( 's2member_level3', 's2member_level4'), $roles ) ){
            $errors->add('time_delay', __( 'You can send maximum 2 messages a week.', 'front-end-pm' ) );
        }
    }
    
    in reply to: Special character displayed as Unicode in the email subject #7923
    Shamim Hasan
    Keymaster

    Thank you for letting me know.It seems the_title filter was creating issue here. It is fixed now.

    in reply to: Activation license #7909
    Shamim Hasan
    Keymaster

    License data is cached for 1 week. You can deactivate and activate again to get latest expiry date.

Viewing 15 posts - 2,071 through 2,085 (of 2,464 total)