Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
get_current_user_id() should return current user id who is logged in and UPT()->get_user_id() should return user id whose profile is viewing.
October 29, 2020 at 8:59 pm in reply to: Invalid license. Please visit your account page and verify it. #41579Shamim HasanKeymasterCan you update this plugin to latest version? Or download latest version from https://www.shamimsplugins.com/account/ and install. When ask for license use latest license which is sent to your email after renew.
If still have any confusion you can reply here or ask me directly in skype @shamim_biplob
Shamim HasanKeymasterDid you get the solution? Normally in wp json call if we do not pass
X-WP-Nonce
header it treats that call as non logged in user. You can check if this header is set or contact that plugin author and ask why get_current_user_id() is returning 0Shamim HasanKeymasterCan you please echo
get_current_user_id()
,fep_current_user_can( 'send_new_message_to', UPT()->get_user_id() )
andUPT()->get_user_id()
in else statement? Also please check both user ids output correct ones.Let me know.
Shamim HasanKeymasterYou can try
if( fep_get_message_field( 'mgs_created' ) == fep_get_message_field( 'mgs_last_reply_time', fep_get_parent_id( fep_get_the_id() ) ) )
.Let me know.
October 28, 2020 at 11:43 am in reply to: Pop-Up msg when new message or announcement has arrived. #41552Shamim HasanKeymasterThere are 4 types of notification of a new message
1. Show a header bar
2. Show desktop notification
3. Sound when received a new message/announcement
4. EmailIf you want to add a pop-up window, that is also possible. But needs custom code. If you know js i can instruct you.
Shamim HasanKeymasterCan you please check if
UPT()->get_user_id()
return correct user id?
Also please add an else statement and see if that is echoing.Let me know.
October 27, 2020 at 10:45 am in reply to: I would like a refund, the program is not fit for purpose. I ordered 22nd Oct #41541Shamim HasanKeymaster1. You can send announcement to any number of users by clicking “Add Announcement” (only admin can do it)
2. You can set any number in max recipient which is more than 0. So set it eg. 100
3. You can set as follows to hide “To” field for subscriber role users. Go to Dashboard > Front End PM PRO > Settings > Security > Role to Role Block. Click “Add More” and select “From Role” to “Subscriber”, “To Role” to “All Roles” and “Block for” to “New Messaage”.If still not working as you expected, may be i did not understand you properly. You can knock me in skype @shamim_biplob so that i can provide you settings as you want.
October 27, 2020 at 1:42 am in reply to: Add a message when user has unchecked “Allow others to send me messages” #41535Shamim HasanKeymasterYou can also remove that settings if you want. Please follow https://www.shamimsplugins.com/support/topic/remove-setting/#post-12519
If you want to show message if that settings is unchecked Please use following code
if ( ! fep_get_user_option( 'allow_messages', 1 ) ) { echo 'Your message here'; }
October 26, 2020 at 12:22 pm in reply to: I would like a refund, the program is not fit for purpose. I ordered 22nd Oct #41526Shamim HasanKeymasterIt can be done easily. You can follow https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/only-admin/ and https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/role-to-role-block/
Summaries:
1. Set 1 (or more) in Front End PM PRO > Settings > Recipient > Max Recipient
2. Go to Dashboard > Front End PM PRO > Settings > Security > Role to Role Block. Click “Add More” and select “From Role” to “Subscriber”, “To Role” to “Subscriber” and “Block for” to “New Messaage”. Then save changes. Now no subscriber role users will be able to message to another subscriber role users.Let me know if you have any more question.
Shamim HasanKeymasterI have updated your previous license as well. Please try remove your license key and save changes and again input your license key and again save changes.
If still not working please give me screenshot of your settings full page of this plugin (hide keys).
Let me know.
October 24, 2020 at 10:51 am in reply to: I would like a refund, the program is not fit for purpose. I ordered 22nd Oct #41501Shamim HasanKeymasterOur billing department is informed. It may take 2-3 days to process.
May you please let me know what was your purpose but this plugin failed to do that? I may assist you to achieve that or we may add this feature in this plugin so that future user of this plugin can be benefited.Shamim HasanKeymasterTo use in announcement email you will need to add
announcement
inwhere
.
When usingfep_get_the_content
hook, if mgs_id is not available usefep_get_the_id()
Let me know.
Shamim HasanKeymaster -
AuthorPosts