Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,636 through 1,650 (of 2,477 total)
  • Author
    Posts
  • in reply to: pre-populate – subject & content #16383
    Shamim Hasan
    Keymaster

    Your last one is correct. Is it not working?

    in reply to: How to edit some information? #16341
    Shamim Hasan
    Keymaster

    Add following code in your theme’s (child theme’s if any) functions.php (instead of second part of above code)

    add_filter( 'fep_form_fields', function( $fields ){
    	if( isset( $fields['message_title'] ) ){
    		$fields['message_title']['label'] = __( 'Subject/Order number', 'front-end-pm' );
                    $fields['message_title']['placeholder'] = __( 'Subject/Order number', 'front-end-pm' );
    	}
    	return $fields;
    });
    
    in reply to: Activation limit #16328
    Shamim Hasan
    Keymaster

    Please remove your license key then save changes and again input your license key and again save changes.
    Let me know.

    in reply to: How to edit some information? #16326
    Shamim Hasan
    Keymaster

    Add following code in your theme’s (child theme’s if any) functions.php
    1.

    add_filter( 'fep_main_shortcode_output', function( $out ) {
    	if( ! is_user_logged_in() ){
    		$out = '<div class="fep-error">' . sprintf( __( 'You must <a href="%s">login</a> to view/send a message.', 'front-end-pm' ), wp_login_url( get_permalink() ) ) . '</div>';
    	}
    	return $out;
    });
    

    2.

    add_filter( 'fep_form_fields', function( $fields ){
    	if( isset( $fields['message_title'] ) ){
    		$fields['message_title']['label'] = __( 'Subject/Order number', 'front-end-pm' );
    	}
    	return $fields;
    });
    
    in reply to: Activation limit #16310
    Shamim Hasan
    Keymaster

    I see you have purchased a Single Site license which can be used in one site at a time (local, staging, dev excluded).
    You can go to https://www.shamimsplugins.com/checkout/purchase-history/ to manage your sites.

    For announcement emails, please continue in previous topic.

    in reply to: Announcement not sending emails #16279
    Shamim Hasan
    Keymaster

    did you tried deactivating all plugins except this and change theme to default theme?

    As before reinstall this plugin and change settings except “Sending Interval.” (only this settings change can affect cron).

    Let me know.

    in reply to: Announcement not sending emails #16260
    Shamim Hasan
    Keymaster

    I have also activated WP Crontrol and in WP-Cron Events this plugin event callback is showing (see screenshot). So maybe some other plugin/code is removing this.
    Please change “Sending Interval” to 2 minutes and save changes. Then see if that register cron event again. You can do this couple of times (every time change by 1 or 2 minutes)

    Let me know.

    Attachments:
    You must be logged in to view attached files.
    Shamim Hasan
    Keymaster

    Please go to Dashboard > Front End PM PRO > Settings > General > Time delay

    in reply to: Announcement not sending emails #16249
    Shamim Hasan
    Keymaster

    I have tested again now and working correctly.
    Please check following
    1. Your website can run cron. There are many plugins out there to check.
    2. Go to Dashboard > Front End PM PRO > Emails and check all the fields are filled. Eg. Announcement subject, Announcement content.
    3. refresh your website couple of times after time ends. Eg. you set 1 minute. Then after 1 minute refresh your website
    4. Reduce “Emails send per interval” to 10
    5. If you use any customized email template, make sure no errors are there. Also check your server log if any error there.
    6. You can also check https://codex.wordpress.org/Editing_wp-config.php#Alternative_Cron

    Let me know.

    in reply to: Problem with sending emails #16242
    Shamim Hasan
    Keymaster

    instead of 10 use higher priority.

    in reply to: Translate "Read by…" #16238
    Shamim Hasan
    Keymaster

    If you follow that tutorial step by step, any missing string will be there.

    In your case, click update button (right button of top 4 buttons) should do the trick.

    in reply to: Translate "Read by…" #16232
    Shamim Hasan
    Keymaster
    in reply to: Usage with Woocommerce – custom my account item #16200
    Shamim Hasan
    Keymaster

    I have updated above code. Please use this code.

    in reply to: Using admin only – how can admin send emails to anyone? #16198
    Shamim Hasan
    Keymaster

    You can use conditional
    eg.

    add_filter( 'fep_menu_buttons', function( $menu ) {
        if ( isset( $_GET['fepaction'] ) && $_GET['fepaction'] == 'message_box' ){
        $menu['cus_button'] = array(
            'title'		=> __( 'Edit', 'front-end-pm' ),
    	'action'	=> 'edit',
            'class'         => 'fep-button your_unique_class',
    	'priority'	=> 15,
        );
        }
        return $menu;
    });
    
    in reply to: Usage with Woocommerce – custom my account item #16193
    Shamim Hasan
    Keymaster

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

    add_filter( 'fep_query_url_without_esc_filter', function( $url, $args ){
        $url = add_query_arg( $args, 'http://example.com/my-page/messages' ); //your page url
        return $url;
    }, 10, 2 );
    
Viewing 15 posts - 1,636 through 1,650 (of 2,477 total)