Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,576 through 1,590 (of 2,495 total)
  • Author
    Posts
  • in reply to: How to see old announcements after the role change #17233
    Shamim Hasan
    Keymaster

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

    add_action( 'set_user_role', function( $user_id, $role, $old_roles ) {
    	global $wpdb;
    	
    	if ( ! defined( 'FEP_PARTICIPANT_TABLE' ) ) {
    		return false;
    	}
    	$mgs_ids = $wpdb->get_col( $wpdb->prepare( "SELECT fep_message_id FROM $wpdb->fep_messagemeta where meta_key = %s AND meta_value = %s", '_fep_participant_roles', $role ) );
    	if ( $mgs_ids ) {
    		$query = 'INSERT INTO ' . FEP_PARTICIPANT_TABLE . ' (mgs_id, mgs_participant) VALUES ';
    		
    		foreach ( $mgs_ids as $mgs_id ) {
    			$values[] = $mgs_id;
    			$values[] = $user_id;
    			
    			$place_holders[] = '(%d, %d)';
    		}
    		$query .= implode( ', ', $place_holders );
    		$wpdb->query( $wpdb->prepare( $query, $values ) );
    		
    		delete_user_meta( $user_id, '_fep_user_announcement_count' );
    	}
    }, 10, 3 );
    
    in reply to: How to create a new announcement #17210
    Shamim Hasan
    Keymaster

    Next version i will enable this by default.

    in reply to: Message URL link from Email #17197
    Shamim Hasan
    Keymaster

    May be next week.

    in reply to: autosuggestion inconsistant #17180
    Shamim Hasan
    Keymaster

    Thank you.
    “Display name publicly as” is the name which is made to show publicly.
    First Name and Last Name is saved in meta and is not searchable by default.
    When you search a user it searches by id, Username, Nickname, Email, Website url. So when you do not found any user please check if you are searching by any of these.

    in reply to: In need of both Reply and ReplyAll buttons #17168
    Shamim Hasan
    Keymaster

    Thank you.
    I really appreciate.

    in reply to: autosuggestion inconsistant #17166
    Shamim Hasan
    Keymaster

    Can you please go to profile edit page of that user and see under which name “Margaret Argent” is showing?

    in reply to: In need of both Reply and ReplyAll buttons #17160
    Shamim Hasan
    Keymaster

    Hi Andrew
    I wrote “Same Message” by mistake and it already sent email to subscribers. Then i corrected that in this forum.

    Forum one is correct.

    in reply to: In need of both Reply and ReplyAll buttons #17146
    Shamim Hasan
    Keymaster

    Please go to Front End PM PRO > Settings > Recipient > Message type and select “Separate Message”.
    Now when user will send message to multiple recipient (select one by one) then everyone will receive a separate message and users can send reply separately.

    in reply to: autosuggestion inconsistant #17144
    Shamim Hasan
    Keymaster

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

    add_action( 'fep_autosuggestion_arguments', 'fep_cus_autosuggestion' );
    add_action( 'fep_group_members_suggestion_arguments', 'fep_cus_autosuggestion' );
    
    function fep_cus_autosuggestion( $args ){
    	unset( $args['search_columns'] );
    	return $args;
    }
    

    Let me know.

    in reply to: Message URL link from Email #17143
    Shamim Hasan
    Keymaster

    Next version will show full thread.
    If you need urgently, please let me know so that i can give you code for this.

    in reply to: Lost Facility to Edit Messages #17129
    Shamim Hasan
    Keymaster

    I see.
    You can use some regex to automatically remove phone numbers, email address (not always works).
    I will add this feature in next version.

    in reply to: Group Button not working #17124
    Shamim Hasan
    Keymaster

    As this is an admin feature, it is designed to work in modern browser (ES6).

    in reply to: Lost Facility to Edit Messages #17115
    Shamim Hasan
    Keymaster

    This features misused a lot. Some users find it uncomfortable. So i did not migrate this feature in new version.

    Let me know the use case this feature for you so that i have an idea of usages. So that if there any valid use case i can add this feature in new version.

    Shamim Hasan
    Keymaster

    As you are in local development, no need to activate license. Just ignore the error message.
    You are already getting all functionality.

    in reply to: Sorry but your download link has expired. #17086
    Shamim Hasan
    Keymaster

    Sorry for inconvenience.
    Please go to https://www.shamimsplugins.com/checkout/purchase-history/ and click “View Details and Downloads” and bottom of that page under Products see file name and download link (front-end-pm-pro-v10.1.1), click that and file will be downloaded.

    Go to https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/activate-pro-version/ to read about activation process.

    Let me know.

Viewing 15 posts - 1,576 through 1,590 (of 2,495 total)