Shamim Hasan

Forum Replies Created

Viewing 15 posts - 931 through 945 (of 2,466 total)
  • Author
    Posts
  • in reply to: Integrating twilio for sms notification #30984
    Shamim Hasan
    Keymaster

    Do you have php knowledge?
    You can get an idea from class-fep-emails.php file of the plugin. Instead of email you will need to send sms.

    in reply to: Function active only "if" a condition occurs. #30982
    Shamim Hasan
    Keymaster

    You can use condition inside that function.

    add_filter( 'fep_filter_message_before_send', function( $message ) {
        if ( get_user_meta( get_current_user_id(), 'privacytel', true ) != 'No') {
    	    // The @ symbol must be surrounded by character on both sides
    	    $message['message_content'] = preg_replace( '/[^@\s]*@[^@\s]*\.[^@\s]*/', '[EMAILNASCOSTA]', $message['message_content'] ); # for emails
    	
    	    // Take any string that contains only numbers, spaces and dashes,
    	    // Can optionally have a + before it.
    	    $message['message_content'] = preg_replace( '/\+?[0-9\-]{5,}/', '[TELEFONONASCOSTO]', $message['message_content'] ); # for phone numbers
        }
        return $message;
    });
    
    in reply to: Announcement Emails Not Sending #30727
    Shamim Hasan
    Keymaster

    1. Did you change anything recently which fail it to work?
    2. Is cron works in your website?
    3. Which hosting you are using?
    4. visit http://example.com/wp-cron.php?doing_wp_cron (change example with your domain) and wait couple minutes and refresh couple of times. Then visit announcements page and see any announcement emails are sent or not.

    Let me know.

    in reply to: Need to Update Message Title from Reply Message Meta #30710
    Shamim Hasan
    Keymaster

    Instead of fep_get_the_id() use $message_id

    in reply to: Need to Update Message Title from Reply Message Meta #30705
    Shamim Hasan
    Keymaster

    Can you please send me full code you are using? and which hook you are using?

    in reply to: Annoucment did not sent emails #30703
    Shamim Hasan
    Keymaster

    @Jon Harari
    Please check https://www.shamimsplugins.com/docs/front-end-pm-pro/troubleshoot/email-notification-not-receiving/
    if still not working please create a new topic so that i can better support you.

    in reply to: Search in directory after adding more meta data #30667
    Shamim Hasan
    Keymaster

    Current method what wordpress use to search users cannot combine display name search with meta search. But we can search user first name and last name with meta search.

    Do you have knowledge in php and how wordpress meta search works? If yes i can give you idea to achieve what you want. Otherwise if you want me to write code for you, It may delay couple of days. Or you can contact through https://www.shamimsplugins.com/hire/

    in reply to: Search in directory after adding more meta data #30632
    Shamim Hasan
    Keymaster

    May i know which instruction you followed? Are you showing data from meta or any other place?

    in reply to: Migrate site issues with license #30630
    Shamim Hasan
    Keymaster

    If possible please change subdomain as follows

    Dev: dev.app.vedagrace….
    Staging: staging.app.vedagrace…
    Production: app.vedagrace….

    In that case you can activate in Dev and Staging site without increasing site count. That means you can activate there for free.

    Not only my plugin, Most of the plugins PRO version follow this rule. So this may apply for your other plugins PRO version also.

    If you cannot change subdomain then no need to activate in softgrid.app.vedagrace…. This plugin will work without activating also in Dev site.

    in reply to: Need to Update Message Title from Reply Message Meta #30628
    Shamim Hasan
    Keymaster

    fep_get_message( 1 ) to be dynamic you can use dynamic value instead of 1.

    For other 2 issues, i need access in your website so that i can see.

    in reply to: Validation error #30589
    Shamim Hasan
    Keymaster

    It means something is conflicting which making v3 unusable in your website.
    You can deactivate all other plugins and change theme to one of default theme (tweenty*) then try again. Then activate one by one plugin.

    Let me know when it start not working.

    in reply to: Need to Update Message Title from Reply Message Meta #30587
    Shamim Hasan
    Keymaster

    i have corrected above code. Please try again.

    in reply to: Migrate site issues with license #30585
    Shamim Hasan
    Keymaster

    You can activate license in subdoamin dev and staging for development for free.
    If you have to use softgrid subdomain for development you cannot activate license for free. In that case you can use without activating license there. You will get all functionality for testing.

    in reply to: Migrate site issues with license #30570
    Shamim Hasan
    Keymaster

    In which domain user will use messaging system?
    You will use production domain as license domain. Also you can use in dev domain for free.

    in reply to: Need to Update Message Title from Reply Message Meta #30568
    Shamim Hasan
    Keymaster

    Yes possible.
    First get message id which title you want to change (parent message). Then use following code

    $message = fep_get_message( 1 ); //1 is message id which title you want to update
    $message->update( [ 'mgs_title' => 'UPDATED TITLE HERE' ] );
    
Viewing 15 posts - 931 through 945 (of 2,466 total)