Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
November 13, 2018 at 4:22 am in reply to: how to determine what users blocked and admin override (whitelist not working) #18997Shamim HasanKeymaster
Blocked users are stored in user meta of that individual user who block other user. It is hard to query blocked users as this is stored as serialized array and blocked user ids are comma separated string.
You can disable blocked feature all together if you want. Please go to Front End PM PRO > Settings > Security
Shamim HasanKeymasterDid you changed your theme to tweenty* and deactivate all other plugins including all custom plugins except this and test?
If above steps do not solve your issue please give me access to your test website so that i can test. Please use https://www.shamimsplugins.com/sensitive-information/ for sending credential.
Shamim HasanKeymasterIt means somethings is wrong in your website.
Please change your theme to unmodified default theme (tweenty*).
If still have same issue then deactivate all other plugins including all custom plugins. Only keep latest Front End PM PRO active. Then test.Let me know.
Shamim HasanKeymasterYou can add
-----Reply Above This Line-----
on top of email content in Front End PM PRO > Settings > Emails. Then add following code in your child theme’s functions.phpadd_filter( 'fep_filter_message_before_send', function( $message ) { $message['message_content'] = strstr( $message['message_content'], '-----Reply Above This Line-----', true ) ?: $message['message_content']; return $message; });
November 9, 2018 at 7:03 pm in reply to: Flagging or blocking particular email piping for the post using message id #18950Shamim HasanKeymasterMain plugin need to be changed a little to achieve this functionality. You have to wait for next version. Then i can make this for you.
November 8, 2018 at 7:09 pm in reply to: Flagging or blocking particular email piping for the post using message id #18910Shamim HasanKeymasterYou want a admin field (like user blacklist in security tab) where you can add message keys and users will not be able to reply those emails, right? Can users reply from website?
November 7, 2018 at 8:13 pm in reply to: Flagging or blocking particular email piping for the post using message id #18883Shamim HasanKeymasterIt can be done easily using
fep_current_user_can
filter hook. But it needs many code to write as options page to add block message key, check block message key etc.Shamim HasanKeymasterWhich version you are using? Please update to latest version.
You can use same license for offline development (it will not count).
For troubleshooting please update to latest version then follow https://www.shamimsplugins.com/docs/front-end-pm-pro/troubleshoot/license-keys-not-activating/Shamim HasanKeymasterI did not recommended to remove that code from child theme’s functions.php, i just asked that if you removed or not.
To add
#mg-inbox
you need to overridebox-message.php
(instruction in https://www.shamimsplugins.com/docs/front-end-pm-pro/customization-front-end-pm-pro/change-templates/) and add full url including #mg-inbox in action in line 14 and 20 ( eg. currentlyaction=""
will beaction="http://example.com/inbox#mg-inbox"
)November 7, 2018 at 7:40 pm in reply to: Viewing Attachment rather than downloading attachment #18877Shamim HasanKeymasterAdd following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_filter_attachment_download_link', function( $link, $att_id ){ $attachment = FEP_Attachments::init()->get( fep_get_the_id(), $att_id ); $name = basename( $attachment->att_file ); $link = '<a href="' . fep_query_url( 'view-download', array( 'fep_id' => $attachment->att_id, 'fep_parent_id' => $attachment->mgs_id ) ) . '" title="' . sprintf( __( 'View %s', 'front-end-pm' ), esc_attr( $name ) ) . '">' . esc_html( $name ) . '</a>'; return $link; }, 10, 2);
November 7, 2018 at 7:31 pm in reply to: How to make checkbox show for some user roles but not others and not loose its v #18875Shamim HasanKeymasterWhich version you are using? It is recommended always use latest version.
You can use hooks to change almost anything of this plugin, so that you will not lose any changes when you update this plugin.To change checkbox output you can add following code in your theme’s functions.php
add_action( 'fep_message_table_column_content_fep-cb', function(){ if ( fep_current_user_can( 'send_new_message' ) ) { ?><input type="checkbox" class="fep-cb" name="fep-message-cb[]" value="<?php echo fep_get_the_id(); ?>" /><?php } });
November 6, 2018 at 11:17 am in reply to: Adding a footer to the relayed email message in email piping #18822Shamim HasanKeymasterCan you check to send reply from gmail and if that works?
Please forward a test reply email to my email address so that i can investigate structure of the email.November 5, 2018 at 8:44 pm in reply to: Adding a footer to the relayed email message in email piping #18809Shamim HasanKeymasterDid you check or uncheck “Clean reply quote” ?
From which device/app you have replied from?
Please forward a replied email to my email address.Shamim HasanKeymasterBy default it shows only to admins. Did you add any custom code to give admin permission to any other user?
November 5, 2018 at 11:32 am in reply to: Adding a footer to the relayed email message in email piping #18795Shamim HasanKeymasterPlease go to Front End PM PRO > Settings > Emails and add in “New message content” and “Reply content”. Keep checked “Clean reply quote from email?”
-
AuthorPosts