Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
I could not reproduce this in my test website. Do you have any more code for this plugin in your website?
Can you please give me access to your website so that i can try in your website? If yes please use https://www.shamimsplugins.com/sensitive-information/ (provide Website Admin and user credentials)Shamim HasanKeymaster1. How many groups you have?
2. Please send me full page screenshot of Front End PM PRO > Settings > Recipient and Front End PM PRO > Settings > Security
3. Which role user you are logged in?Shamim HasanKeymasterFor your first post, you can add following code in Front End PM PRO > Settings > Appearance > Custom CSS
.fep-message-author, .fep-message-excerpt { display: none; }
And for name, please go to Dashboard > Users > Your Profile > Name
To see different type of names. This plugin use “Display name publicly as” which is made to show publicly. If your user have different name you can tell them to change or you can change on behalf of them.OR you can follow https://www.shamimsplugins.com/support/topic/from-name-in-admin/#post-15204
Shamim HasanKeymasterDid you change any other settings in your website? (eg. debug code, cron settings)?
Please do following
1. adderror_log( 'pop3 event init' );
just after function pop3_event() {
2. Go to Front End PM PRO > Settings > Emails > Email Piping/POP3 then set Enable as “None” then save changes and again set as POP3 and again save changes. Then wait at least 15 minutes and refresh your website couple of times then see error log.3. If still no log shows please install any cron plugin (eg. https://wordpress.org/plugins/wp-crontrol/ ) then go to Tools > Cron Events and see if
fep_pop3_event
showing under hook name. If yes give me that row screenshot. Also click “Run Now” and see again error log if any log there.Let me know.
Shamim HasanKeymasterPlease use only following code
add_filter( 'fep_filter_groups_to_send_message', function( $groups ){ return Fep_Group_Message::init()->get_all_groups(); });
Remove other code.
Let me know.
Shamim HasanKeymasterDid you change error_log code what i suggested previously (remove // before error_log)? this code runs every after 15 minutes. So after 15 minutes refresh your website couple of times then see error log. When this code runs it at least show “pop3 event start” in error log if there is no error also.
Let me know.
Shamim HasanKeymasterThat is not my plugin. I am not connected to that plugin in any way. So i do not know what they support.
This plugin already support notification which should work in iOS/Android also if user access your website in their browser.
Shamim HasanKeymasterIt seems it is certificate issue. Please follow following steps
1. Setup your gmail for pop3 access. See https://support.google.com/mail/answer/7104828?hl=en
2. Allow less secure apps in https://myaccount.google.com/lesssecureapps for your same email address which you set as POP3 email.
3. Check Front End PM PRO > Settings > Emails > No validate certificatesThen try again and let me know.
Shamim HasanKeymasterPlease go to class-fep-email-pop3.php and add following code after error_log( ‘imap mail stream not available’ );
error_log( imap_last_error() );
Then try again and let me know error message.
Shamim HasanKeymasterShamim HasanKeymasterCan your website run cron?
Please follow step by step
1. Send a message from UserA to UserB.
2. Access UserB email and see if he received email notification. If yes, does that email subject contain [MESSAGE KEY-XXXXXX] ?
3. Reply to that email.
4. Access to your email address (which email you setup in POP3), Did you receive that email which is sent from UserB email ?
5. Wait at least 15 minutes then refresh your website couple of times.
6. Check if replied email from UserB imported in messagebox of UserA?If any steps failed, let me know which steps it is.
If only step-6 failed, please go to class-fep-email-pop3.php and remove all
//
beforeerror_log
and again start from step-1 and after finishing all steps see your server error log and see any error there.Let me know.
Shamim HasanKeymasterNo email client is needed.
I see in your screenshot that your email address is not in gmail domain. Please recheck if that email address is a gmail address.If still not working let me know if you are comfortable editing php code. if i give you some debug php code, can you add that to further debug?
Shamim HasanKeymasterIs your email address correct? It should be email address of your pop3 email. In your case it is gmail.
Please see
https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/pop3-feature/
http://support.google.com/mail/bin/answer.py?hl=en&answer=13273Let me know.
July 23, 2019 at 7:39 pm in reply to: Need to hide or disable the buttons for settings and announcements #27181Shamim HasanKeymasterYou can use following code instead
add_filter( 'fep_menu_buttons', function( $menu ){ if ( array_intersect( [ 'external-user-student', 'external-user-teacher' ], wp_get_current_user()->roles ) ){ unset( $menu['settings'], $menu['announcements'] ); } return $menu; }, 99);
July 23, 2019 at 10:57 am in reply to: Need to hide or disable the buttons for settings and announcements #27159Shamim HasanKeymasterYou can 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);
It will remove for all users. If you want to hide for certain role you can let me know from which role you want to hide.
-
AuthorPosts