Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,531 through 1,545 (of 2,484 total)
  • Author
    Posts
  • in reply to: E-mails not sending when posting announcement #17708
    Shamim Hasan
    Keymaster

    please check your server error log and see if there is any error.
    Also as you said there is an error in your cron events overview, can you please check from which plugin and/or theme that error came from? Can you deactivate that then try?
    If still not working please deactivate all plugins except this and change theme to unmodified default theme then try. If require you can activate cron plugin to manually run cron. If works then change your theme to your current theme and activate plugins one by one and try. If you found any conflict let me know.

    Also go to Front End PM PRO > All Announcements and see “Email Pending” column to see if that showing pending emails.

    in reply to: Give each conversation an ID #17692
    Shamim Hasan
    Keymaster

    Yes.
    If you want to join table, i prefer you use PREFIX_fep_messages table.

    in reply to: Give each conversation an ID #17687
    Shamim Hasan
    Keymaster

    conversation already have id. You can use fep_get_the_id() inside loop to get id of the conversation.

    in reply to: E-mails not sending when posting announcement #17661
    Shamim Hasan
    Keymaster

    did you change Front End PM PRO > Settings > Emails > Sending Interval to 5 and save changes?
    Can you install any cron plugin and run “fep_eb_ann_email_interval_event” cron manually?

    in reply to: E-mails not sending when posting announcement #17655
    Shamim Hasan
    Keymaster

    Are you getting message notification emails?
    Announcement emails are sent via cron. So it your website cannot run cron then it will not work. Make sure you have visitor on your website.
    Please go to Front End PM PRO > Settings > Emails and see all fields are filled. also check if “Send email to all users when a new announcement is published?” is checked.
    Also change Front End PM PRO > Settings > Emails > Sending Interval to 5 and save changes. it will try every after 5 minutes. Then after 5 minutes refresh your page and see if emails sending. You can see how many email pending by go to Front End PM PRO > All Announcements.

    If still not works please follow https://www.shamimsplugins.com/docs/front-end-pm-pro/troubleshoot/email-notification-not-receiving/

    Let me know.

    in reply to: Letting non-admin users create announcements #17625
    Shamim Hasan
    Keymaster

    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 ( 'add_announcement' !== $cap ) {
    		return $can;
    	}
    	if ( array_intersect( wp_get_current_user()->roles, [ 'administrator', 'editor' ] ) ) {
    		return true;
    	}
    	return false;
    }, 10, 3);
    

    Change roles as you like. You can add more roles separated by comma.

    in reply to: Visual composer with announcements #17612
    Shamim Hasan
    Keymaster

    Sorry [NAME REMOVED], I have no experience with that.

    in reply to: Great Error: I can´t activate "send message" for users #17597
    Shamim Hasan
    Keymaster

    Which version you are using?
    Did it worked before?
    Do you have any custom code for this plugin?
    Can you change “Who can send replies”?

    Shamim Hasan
    Keymaster

    Did you tried to erase the code and save settings then re enter and again save settings after added your site url in account page of this website? If not please try it first.

    If above not working, please follow https://www.shamimsplugins.com/docs/front-end-pm-pro/troubleshoot/license-keys-not-activating/

    Let me know.

    Shamim Hasan
    Keymaster

    License can be used in development website as long as your development website url subdomain is staging or dev OR tld is dev or local or test.

    Eg. if your main website domain is example.com then development website url should be
    staging.example.com
    dev.example.com
    example.local

    etc

    in reply to: Show notification / message notification without page reloading #17550
    Shamim Hasan
    Keymaster

    Notification is shown in almost real time without page reload. By default it make ajax call every 60 seconds. If you want more frequent then you can use fep_filter_ajax_notification_interval hook.

    in reply to: Extra setting send mail / sms #17512
    Shamim Hasan
    Keymaster

    Use like

    add_action( 'transition_post_status', function( $new_status, $old_status, $post ) {
        if ( 'fep_announcement' != $post->post_type ) {
    	return;
        }
        update_post_meta( $post->ID, '_fep_email_sent', time() );
    }, 10, 3 );
    
    in reply to: I'm Getting error when using FE PM PRO #17510
    Shamim Hasan
    Keymaster

    Free and PRO use same code which is common. Only extra feature added on top of free plugin in PRO version.
    As multiple recipient is a PRO feature, that part is different in PRO version.
    “tokenInput not a function” can be return if tokenInput is not loaded. tokenInput is loaded in footer of the theme. If your theme having issue for footer inclusion that may break it.

    Let me know if it works with no other plugin activated and default theme. Then activate your theme and plugins one by one and test.
    Let me know if you find any conflict.

    in reply to: Extra setting send mail / sms #17481
    Shamim Hasan
    Keymaster

    It is always recommended to use latest version. If possible, update to latest version.

    In your version, you can use add_meta_box to show checkbox in announcement add page.

    to prevent email sending you can use update_post_meta( $message_id, '_fep_email_sent', time() ); in your save function.

    Again, if possible, update to latest version so that you can easily achieve this. I can provide you full code if require for latest version.

    in reply to: Extra setting send mail / sms #17473
    Shamim Hasan
    Keymaster

    Which version of the plugin you are using? are you trying to add announcement from front-end?
    You can use fep_action_validate_form hook to check if those are checked and if not you can add an error which will prevent message/announcement sending.

Viewing 15 posts - 1,531 through 1,545 (of 2,484 total)