Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
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?
Shamim HasanKeymasterYou 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.
December 28, 2018 at 11:35 am in reply to: Users can not reply to messages in front end – You do not have permission #20159Shamim HasanKeymasterOnly 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.
December 28, 2018 at 6:33 am in reply to: Users can not reply to messages in front end – You do not have permission #20154Shamim HasanKeymasterUser will get this error when reply if
1. Any recipient of that message deleted that message
2. Any user block current userPlease check these two condition.
December 25, 2018 at 6:37 am in reply to: messagebox Small visual tweak to include group name in message listing #20102Shamim HasanKeymasterThank you. Received your gift.
Have a great new year.
ShamimShamim HasanKeymasterIf 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.
Shamim HasanKeymasterIn 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.December 24, 2018 at 7:42 pm in reply to: messagebox Small visual tweak to include group name in message listing #20086Shamim HasanKeymasterThank you very much. Much appreciated.
I have sent you my paypal email in your email address.Shamim HasanKeymasterYou 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/December 24, 2018 at 6:31 am in reply to: messagebox Small visual tweak to include group name in message listing #20067Shamim HasanKeymasterNext 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.
December 23, 2018 at 11:46 pm in reply to: messagebox Small visual tweak to include group name in message listing #20058Shamim HasanKeymasterAlso 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.
December 23, 2018 at 11:30 pm in reply to: messagebox Small visual tweak to include group name in message listing #20056Shamim HasanKeymasterIt 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.
Shamim HasanKeymasterThere 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 );
Shamim HasanKeymasteradd 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
Shamim HasanKeymasterYou can add your own tag if you want. Please see https://www.shamimsplugins.com/docs/front-end-pm-pro/customization-front-end-pm-pro/add-own-email-tag/
-
AuthorPosts