Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
July 12, 2020 at 10:06 pm in reply to: How to link the participants name and their avatar to their profile? #39241Shamim HasanKeymaster
add following code in your theme’s (child theme’s if you are using) functions.php
add_action( 'fep_message_table_column_content_author', function(){ if( 'threaded' === fep_get_message_view() ){ ?><span class="fep-message-author"><a href="https://yoursite.com/<?php echo fep_get_userdata( fep_get_message_field( 'mgs_last_reply_by' ), 'user_nicename', 'id' );?>/"><?php echo fep_user_name( fep_get_message_field( 'mgs_last_reply_by' ) ); ?></a></span><span class="fep-message-date"><?php echo fep_get_the_date( 'mgs_last_reply_time' ); ?></span><?php } else { ?><span class="fep-message-author"><a href="https://yoursite.com/<?php echo fep_get_userdata( fep_get_message_field( 'mgs_author' ), 'user_nicename', 'id' );?>/"><?php echo fep_user_name( fep_get_message_field( 'mgs_author' ) ); ?></a></span><span class="fep-message-date"><?php echo fep_get_the_date( 'created' ); ?></span><?php } });
July 12, 2020 at 7:49 pm in reply to: How to link the participants name and their avatar to their profile? #39233Shamim HasanKeymasterSo you want to show link to profile only in this attachment marked names, right?
Attachments:You must be logged in to view attached files.July 12, 2020 at 12:02 pm in reply to: How to link the participants name and their avatar to their profile? #39228Shamim HasanKeymasteradd following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_filter_user_name', function( $name, $id ){ if ( $name && fep_get_the_id() ) { $name = '<a href="https://yoursite.com/'. fep_get_userdata( $id, 'user_nicename', 'id' ) . '/">' . $name . '</a>'; } return $name; }, 10, 2);
July 12, 2020 at 11:42 am in reply to: How to link the participants name and their avatar to their profile? #39224Shamim HasanKeymasterShamim HasanKeymasterWhen you reply to an email, does not goes to that email inbox which you set in POP3 email? Please do the following and let me know.
1. Create a new message
2. Reply to that email which is sent to recipient email address.
3. Check inbox of that email which is set as POP3 email. Does that reply in email inbox? Does that email has message key in email subject? Does that email sender email is same as that user email in your website?
4. Wait 15 minutes. Refresh your website couple of times. Does that email still in inbox of that email address? Is it imported as message in your website?Shamim HasanKeymasterPlease follow https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/pop3-feature/
Let me know.
Shamim HasanKeymasterShamim HasanKeymasterWhich contact form plugin you are using?
If you are using contact form 7 please follow https://www.shamimsplugins.com/docs/advanced-nocaptcha-recaptcha/getting-started-advanced-nocaptcha-recaptcha/implement-in-contact-form-7/Shamim HasanKeymasterShamim HasanKeymasterThank you. I have added your screenshot to that docs page.
Shamim HasanKeymasterThank you for your suggestion. I have updated that docs page.
If you need my assistance anytime you can create a support topic.June 26, 2020 at 7:12 pm in reply to: Moving the recaptcha logo up by about 65 pixels or disabling it all together. #38820Shamim HasanKeymasterIf you use V2, you will have an option to show badge in Bottom Left.
Or you can use following css to move it a little higher..grecaptcha-badge { margin-bottom: 65px; }
June 26, 2020 at 4:15 pm in reply to: Moving the recaptcha logo up by about 65 pixels or disabling it all together. #38816Shamim HasanKeymasterYes, it is possible. May you please let me know which version of caaptcha you are using? Can you send me your website link?
Removing logo is against google policy.June 23, 2020 at 10:48 pm in reply to: Limit autosugesstion to users with specific meta value #38752Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_filter_rest_users_args', function( $args ){ if ( in_array( 'mentor', wp_get_current_user()->roles ) ) { $args['meta_query'][] = [ 'key' => 'mentor', 'value' => get_current_user_id(), ]; } return $args; });
(untested)
Change mentor role and meta key in the code as you require.
Let me know.Shamim HasanKeymasterTry like
"g-recaptcha-response":$form.find('input[name="g-recaptcha-response"]').val(),
You can exclude login form from the settings page of this plugin. -
AuthorPosts