Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,816 through 1,830 (of 2,460 total)
  • Author
    Posts
  • in reply to: Some minor Changes . #13552
    Shamim Hasan
    Keymaster

    I have updated above code. Please update your code with this one.
    CSS in theme depended. It is better if you use developer option of your browser to live change your css and determine what you need and add accordingly.

    in reply to: Message & Announcement Formatting issue discovered #13532
    Shamim Hasan
    Keymaster

    I found the issue. UM remove wpautop function hook from content in its page.
    You can bypass this using following code ( I may include this code in next version of UM integration extension)

    add_action( 'template_redirect', function(){
    	if ( is_ultimatemember() && isset( $_GET['profiletab'] ) && 'fep-um' == $_GET['profiletab'] ) {
    		add_filter( 'the_content', 'wpautop' );
    	}
    }, 15);
    

    Let me know.

    in reply to: Need help integration into forum #13524
    Shamim Hasan
    Keymaster

    I am really sorry you did not received my replies. Both of the time i replied, may be ended in spam folder.

    Please use following code in you theme’s (child theme’s if any) functions.php

    add_action('asgarosforum_after_post_author', function( $user_id, $post_counter ){
        echo do_shortcode( '[fep_shortcode_message_to to="'. fep_get_userdata( $user_id, 'user_nicename', 'id') .'"]' );
    }, 10, 2);
    
    in reply to: Message & Announcement Formatting issue discovered #13521
    Shamim Hasan
    Keymaster

    Thank you for your details reply.
    I setup my test website with UM integration and can reproduce this.
    I will investigate this and try to find out what causes this and get back to you.

    in reply to: Add Meta Data fields to the Directory #13499
    Shamim Hasan
    Keymaster

    You can add following code in your theme’s (child theme’s if any) functions.php (Change as required)

    add_filter('fep_directory_table_columns', function( $columns ){
    	$columns['cus_data'] = 'cus_data';
    	return $columns;
    });
    
    add_action( 'fep_directory_table_column_content_cus_data', function( $user ){
    	echo "Your custom data"; //Change here what you want to show
    });
    
    in reply to: Some minor Changes . #13479
    Shamim Hasan
    Keymaster

    1. You can override viewmessage.php template to achieve what you want. Instruction in https://www.shamimsplugins.com/docs/front-end-pm-pro/customization-front-end-pm-pro/change-templates/

    2.+ 3. add following code in your child theme’s functions.php

    add_filter('fep_message_table_columns', function( $columns ){
    	$columns['cus_count'] = 'count';
    	$columns['cus_date'] = 'date'; 
    	return $columns;
    });
    
    add_action( 'fep_message_table_column_content_cus_count', function(){
    	$args = array(
    		'post_type' => 'fep_message',
    		'post_status' => 'publish',
    		'post_parent' => fep_get_parent_id( get_the_ID() ),
    		'posts_per_page' => -1,
    		'order'=> 'ASC',
    		'fields' => 'ids'
    	 );
         
    	 echo count( get_posts( $args ) ) + 1;
    });
    
    add_action( 'fep_message_table_column_content_cus_date', function(){
    	the_time( 'M d, Y' );
    });
    
    add_action( 'fep_message_table_column_content_author', function(){
    	echo fep_user_name( get_the_author_meta('ID') );
    });
    
    add_filter( 'fep_formate_date', function( $h_time, $date, $d ){
        return $date;
    }, 10, 3);
    
    in reply to: Listing #13437
    Shamim Hasan
    Keymaster

    It seems you are in wrong forum. This is messaging plugin.

    Shamim Hasan
    Keymaster

    Please go to https://www.shamimsplugins.com/checkout/purchase-history/ then click “View Licenses” > “Manage Sites”. Then Deactivate site which you are not using anymore.
    Then go to your wordpress site license page. remove license key then “Save changes” and input your license key and again “Save Changes”.

    Let me know.

    in reply to: Role to Role Block , Unable to access #13398
    Shamim Hasan
    Keymaster

    Please open browser console (for Firefox F12) and see if there any javascript error.
    Let me know.

    in reply to: Group message #13395
    Shamim Hasan
    Keymaster

    It is intended behavior that users will get all messages of his group. Most of the messaging system done by this rule. Eg. if you open a facebook group message and later add any user, he will receive all messages previously sent also.

    in reply to: Email #13365
    Shamim Hasan
    Keymaster
    in reply to: Trouble with CSS on View Messages screen #13355
    Shamim Hasan
    Keymaster

    Try following code

    .front-end-pm-form .fep-button {
        margin-left: 50%;
    }
    
    in reply to: Message & Announcement Formatting issue discovered #13349
    Shamim Hasan
    Keymaster

    You were correct in interpretation of the problem. I also did the same but could not reproduce this. in screenshot-2 your line breaks are stripped out but in my test i cannot reproduce this. This means may be some plugin and/or theme code is changing its behavior. Can you please disable all plugins except this and change theme to default theme and test?

    in reply to: Message & Announcement Formatting issue discovered #13339
    Shamim Hasan
    Keymaster

    I can not reproduce this.
    Please give me screenshot of your editor with message/announcement and resulting message/announcement after send. So that i can see what is changed and try to reproduce.

    in reply to: Trouble with CSS on View Messages screen #13336
    Shamim Hasan
    Keymaster

    Try following code

    .front-end-pm-form .fep-button {
        float: right;
    }
    
Viewing 15 posts - 1,816 through 1,830 (of 2,460 total)