Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
February 21, 2019 at 11:52 pm in reply to: Open the messagebox>inbox with only messages from a specified user #21894Shamim HasanKeymaster
Currently you can use
fep_filter_message_query_sql
hook to change sql and return your desire messages.
We cannot pass multiple user id now to query. I have changed the query class so that we can pass multiple user id query. Next version you will get this. Then we will be able to easy achieve this.You can see this changes in https://github.com/shamim2883/front-end-pm/commit/5786895fc0d01c07694c711331201942d2300b15
after this changes we can easily use hook like bellow
add_filter( 'fep_message_query_args', function( $args, $user_id ) { $args['participant_query'][] = array( 'mgs_participant' => 4, //which user messages you want to show with current user 'mgs_deleted' => false, ); return $args; }, 10, 2 );
Shamim HasanKeymasterCurrently you can use
fep_action_announcement_after_added
hook and remove those users usingFEP_Participants::init()->delete( $announcement_id, $participant_id );
To ease this steps i have added a new filter here. Next version you will get this filter. Using this filter you will be able to remove those users before adding to database which will significantly improve performance.
Shamim HasanKeymasterHow many tabs are open of your website during testing?
How many users are testing simultaneously?
Please usefep_filter_ajax_notification_interval
hook and increase the value to300000
and test if that helps.Let me know.
Shamim HasanKeymasterPlease create two test account in your website and send message from one user to another and check you they receive correctly.
Let me know.
Shamim HasanKeymasterCurrently archive message is shown in archive tab also in all other tabs as appropriate.
and thank you for suggestion. I will note it for future consideration.
Shamim HasanKeymasterPlease check your website now.
Shamim HasanKeymasterI think you are not familiar with code.
Do you want me to correct this for you? If yes, please give me your cpanel and admin access. Please use https://www.shamimsplugins.com/sensitive-information/ to send credentials.Shamim HasanKeymasterPlease follow step by step
1. Backup your database first.
2. deletefep_db_version
option from db
3. delete or rename any table starting withPREFIX_fep_
4. Then update to latest version of the plugin of not already
5. Then click “Proceed” when shows database update notice. Then start update. Wait until it finish.Let me know.
Shamim HasanKeymasterAlso you sent me an email that you keep getting “0 messages updated” when click proceed. If it correct? From which version you are updating? Now which version you are using?
Also please see https://www.shamimsplugins.com/support/topic/support-answer-may-delay/ for delayed response reason. It is already an sticky post i had posted 4 days before.
Shamim HasanKeymasterWas it working when using free version?
Which version you were using?
Did you set Front End PM page in Front End PM PRO > Settings > General?
Do you use any caching plugin? If yes please exclude message page from caching.
Can you please deactivate all other plugins then try?Also please see your server log if any error log is there.
Let me know.
Shamim HasanKeymasterShamim HasanKeymasterYes possible. But you will need to write some custom php code.
Do you have basic knowledge in php? I can instruct you.Also it is preferred to create a new topic for each question. That way we better support.
Shamim HasanKeymasterWhere you want to show that column?
It is possible but it needs to be custom coded.Shamim HasanKeymasterAs integration part is done by that theme please contact that theme author for this issue.
I do not know which code they used to integrate, So i think they know better about this issue.Let me know their answer.
Shamim HasanKeymasterPlease let me know, is your theme integrated with Front End PM PRO? Was that message button coming from your theme? Can you ask your theme author which function they use to send message?
Next 30 min i will be available for live chat. If you cannot come within this time please follow previous questions and answer here.
-
AuthorPosts