Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,396 through 1,410 (of 2,484 total)
  • Author
    Posts
  • in reply to: Possible to default to Visual composer? #20303
    Shamim Hasan
    Keymaster

    This plugin use wordpress function to output its content area. Also i have tested and it keeps its tab if i change and come back later.

    Can you please deactivate all other plugins and activate to one of unmodified default theme (tweenty*) and test?

    in reply to: Possible to default to Visual composer? #20243
    Shamim Hasan
    Keymaster

    You can add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter( 'wp_default_editor', function( $r ){
    	return 'tinymce';
    });
    

    remember if user change tab (visual/text) then that will be saved and will use that instead.

    Shamim Hasan
    Keymaster

    Only one message is having this problem or more?

    If any user delete that message from front-end then this error occur. If “Members” group have 5 recipients and one of them deleted that message from front-end (From “Message Box” user can delete any message for himself using bulk action) then all other user will see this error.

    This is a feature so that if any user delete a message and other user reply to that message then who delete that message will never receive that reply but who replied will not know if that user receive that reply or not. He may think that deleted recipient is ignoring him. So we made this so that if any user delete any message other users cannot reply that message anymore.

    Shamim Hasan
    Keymaster

    User will get this error when reply if
    1. Any recipient of that message deleted that message
    2. Any user block current user

    Please check these two condition.

    Shamim Hasan
    Keymaster

    Thank you. Received your gift.
    Have a great new year.
    Shamim

    in reply to: MEssage div linkable to message page #20095
    Shamim Hasan
    Keymaster

    If you have styling issue then remove previous code and add

    onClick="window.location.href='<?php echo fep_query_url( 'viewmessage', [
    	'fep_id' => fep_get_the_id(),
    	'feppage' => isset( $_GET['feppage'] ) ? $_GET['feppage'] : 1,
    	'fep-filter' => isset( $_GET['fep-filter'] ) ? $_GET['fep-filter'] : '',
    ] ); ?>'"
    

    in that div. Also style that div to show cursor as pointer.

    in reply to: MEssage div linkable to message page #20088
    Shamim Hasan
    Keymaster

    In box-message.php see a line <div id="fep-message-<?php echo fep_get_the_id(); ?>" class="fep-table-row">.

    If you use HTML5 then add

    <a href="<?php echo fep_query_url( 'viewmessage', [
    	'fep_id' => fep_get_the_id(),
    	'feppage' => isset( $_GET['feppage'] ) ? $_GET['feppage'] : 1,
    	'fep-filter' => isset( $_GET['fep-filter'] ) ? $_GET['fep-filter'] : '',
    ] ); ?>">
    

    before that div and add </a> after closing that div.

    Shamim Hasan
    Keymaster

    Thank you very much. Much appreciated.
    I have sent you my paypal email in your email address.

    in reply to: MEssage div linkable to message page #20069
    Shamim Hasan
    Keymaster

    You can override box-message.php template to link that div to message url. Override template instruction in https://www.shamimsplugins.com/docs/front-end-pm/customization/change-templates-2/

    Shamim Hasan
    Keymaster

    Next version i will introduce some functions to easily get group name.

    Also i am working on improvement on group message/multiple recipients system for performance improve in some cases. Next major version you will get this.

    Shamim Hasan
    Keymaster

    Also currently when you mouse over that avatar it shows word “Group”. Next version it will show real group name.

    Group name width is not same. So if i show name there and group name is long it will break styling.

    Shamim Hasan
    Keymaster

    It is possible. You can use fep_message_table_column_content_avatar hook. See class-fep-messages.php for idea.
    It needs avatar section rewrite in that hook.

    If you need mode code let me know.

    in reply to: Extra mail variable request. #20036
    Shamim Hasan
    Keymaster

    There is a small bug for reply message in a group. For temporary fix (upto next version release) add following code in your theme’s (child theme’s if any) functions.php

    add_action( 'fep_action_message_after_send', function( $message_id, $message, $inserted_message ){
        if( $inserted_message->mgs_parent ) {
    	$group = fep_get_meta( $inserted_message->mgs_parent, '_fep_group', true );
    	if( $group ){
    		fep_add_meta( $message_id, '_fep_group', $group, true );
    	}
        }
    }, 5, 3 );
    
    in reply to: Extra mail variable request. #20022
    Shamim Hasan
    Keymaster

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

    add_filter( 'fep_eb_email_legends', function( $legends, $mgs, $user_email ){
        $legends['cus_group'] = array(
            'description' => __('Mail group name', 'front-end-pm'),
            'where' => array( 'newmessage', 'reply' ), //where this tag will be used
            'replace_with' => ! empty( $mgs->mgs_id ) ? apply_filters( 'fep_is_group_message', '', $mgs->mgs_id ) : '',
        );
        return $legends;
    }, 10, 3);
    

    Now add {{cus_group}} in email

    in reply to: Extra mail variable request. #19988
    Shamim Hasan
    Keymaster
Viewing 15 posts - 1,396 through 1,410 (of 2,484 total)