Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,366 through 1,380 (of 2,460 total)
  • Author
    Posts
  • in reply to: Problems with installation #20437
    Shamim Hasan
    Keymaster
    in reply to: Members not able to email other groups #20424
    Shamim Hasan
    Keymaster

    Users can see groups in dropdown which they are member.
    May be i did not understand you properly. can not user see all groups which they are member in dropdown?

    in reply to: Hide Setting and Announcement Button for Users #20386
    Shamim Hasan
    Keymaster

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

    add_filter('fep_menu_buttons', function( $menu ){
    	unset( $menu['settings'], $menu['announcements'] );
    	return $menu;
    }, 99);
    
    in reply to: Additional Message Field #20346
    Shamim Hasan
    Keymaster

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

    add_filter( 'fep_form_fields', function( $fields ){
    	$fields['cus_fep_checkbox'] = [
    		'type'     => 'checkbox',
    		'where'    => 'newmessage',
    		'priority' => 22,
    		'cb_label' => 'Can we use your message on the site as a story?',
    	];
    	return $fields;
    });
    
    add_action( 'fep_action_message_after_send', function( $message_id, $message, $new_message ){
    	if ( ! empty( $message['cus_fep_checkbox'] ) ) {
    		fep_add_meta( $message_id, 'cus_fep_checkbox', $message['cus_fep_checkbox'], true );
    	}
    }, 10, 3);
    
    add_action( 'fep_display_after_message', function(){
    	if ( fep_get_meta( fep_get_the_id(), 'cus_fep_checkbox', true ) ) {
    		echo 'We can use this message on the site as a story';
    	}
    });
    
    in reply to: Activate PRO version #20345
    Shamim Hasan
    Keymaster

    Yes, all settings and data will be there.

    in reply to: Additional Message Field #20320
    Shamim Hasan
    Keymaster

    You can use fep_form_fields filter hook to add any additional fields and fep_display_after_message hook to show that bellow message.

    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/

Viewing 15 posts - 1,366 through 1,380 (of 2,460 total)