Replies
- Hervé on July 23, 2018 at 10:33 am in reply to: [Resolved] Featured Member: time limit option #16414
Hi Brajesh,
I am sorry.
I installed the new version. Put new members to features
Even 1 hour later, they are still displayed in the widget
Other people tested ??
Regards[23-Jul-2018 07:25:46 UTC] Erreur de la base de données WordPress You can't specify target table 'wpamo2_usermeta' for update in FROM clause pour la requête DELETE FROM wpamo2_usermeta WHERE ( meta_key='_is_featured' OR meta_key='_bpfm_featured_at_time' ) AND user_id IN ( SELECT user_id FROM wpamo2_usermeta WHERE meta_key = '_bpfm_featured_at_time' AND CAST( meta_value AS UNSIGNED ) < 1532330686 ) faite par do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, BP_Featured_Member_Expirable_Membership->remove_featured [23-Jul-2018 07:29:47 UTC] Test toutes les 3 mn [23-Jul-2018 07:39:12 UTC] Test toutes les 3 mn [23-Jul-2018 07:40:56 UTC] Test toutes les 3 mn [23-Jul-2018 08:48:15 UTC] Test toutes les 3 mn [23-Jul-2018 08:48:16 UTC] Erreur de la base de données WordPress You can't specify target table 'wpamo2_usermeta' for update in FROM clause pour la requête DELETE FROM wpamo2_usermeta WHERE ( meta_key='_is_featured' OR meta_key='_bpfm_featured_at_time' ) AND user_id IN ( SELECT user_id FROM wpamo2_usermeta WHERE meta_key = '_bpfm_featured_at_time' AND CAST( meta_value AS UNSIGNED ) < 1532335636 ) faite par do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, BP_Featured_Member_Expirable_Membership->remove_featured [23-Jul-2018 08:53:40 UTC] Test toutes les 3 mn
Hi Brajesh,
It’s not every 3 minutes because there is no visit to this test site!
no urgent but , am I in the list?
regards- Hervé on July 16, 2018 at 11:21 am in reply to: [Resolved] Featured Member: time limit option #16341
Re
Perhaps interesting information:[16-Jul-2018 10:20:15 UTC] Test toutes les 3 mn [16-Jul-2018 10:59:47 UTC] Test toutes les 3 mn [16-Jul-2018 10:59:47 UTC] Erreur de la base de données WordPress You can't specify target table 'wpamo2_usermeta' for update in FROM clause pour la requête DELETE FROM wpamo2_usermeta WHERE ( meta_key='_is_featured' OR meta_key='_bpfm_featured_at_time' ) AND user_id IN ( SELECT user_id FROM wpamo2_usermeta WHERE meta_key = '_bpfm_featured_at_time' AND CAST( meta_value AS UNSIGNED ) < 1531738727 ) faite par do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, BP_Featured_Member_Expirable_Membership->remove_featured
but then why only now !?
- This reply was modified 6 years, 4 months ago by Hervé.
- Hervé on July 16, 2018 at 10:11 am in reply to: [Resolved] Featured Member: time limit option #16339
Hi Brajesh,
It works well even if it’s not every 3 minutes
[16-Jul-2018 09:35:04 UTC] Test every 3 minutes
[16-Jul-2018 10:01:03 UTC] Test every 3 minutesadd_filter( 'cron_schedules', 'isa_add_every_three_minutes' ); function isa_add_every_three_minutes( $schedules ) { $schedules['every_three_minutes'] = array( 'interval' => 180, 'display' => __( 'Every 3 Minutes', 'woffice' ) ); return $schedules; } // Schedule an action if it's not already scheduled if ( ! wp_next_scheduled( 'isa_add_every_three_minutes' ) ) { wp_schedule_event( time(), 'every_three_minutes', 'isa_add_every_three_minutes' ); // { wp_schedule_event( time(), 'hourly', 'my_task_hook' ); } // Hook into that action that'll fire every three minutes add_action( 'isa_add_every_three_minutes', 'every_three_minutes_event_func' ); function every_three_minutes_event_func() { error_log("Test toutes les 3 mn"); }
Regards
Hi Brajesh,
Each time, I always waited several hours or a day !?
RegardsHello
I tried several variants but never the display of “BP Featured Member” disappeared from the widget
Last try with `private function get_interval() {
return 1 * 60;
} `
I was wondering where is the variable DAY_IN_SECONDS?
RegardsHi Brajesh, Sanjay,
Thanks
it is not integrated with the “BP Featured Member” plugin?
Where should I put it? in mu-plugin?
Regards
HervéHi Brajesh,
OK I understand
I’ll wait
thank you for your consideration 🙂
Regards- Hervé on June 11, 2018 at 4:57 pm in reply to: filter the buddypress members in the list of members #15620
Hello,
That works well
Thank you
Regards - Hervé on May 31, 2018 at 2:39 pm in reply to: to the connection of an existing member: change (role, plan) #15422
Hello Brajesh
OK I understand. I only wanted to use the variables of your 1st program but the goal was the other functions mentioned.
I do not know better explain I give up! unless someone else has a solution for the “change” function 😉
I put back your old program (there is no fix?)
Thank you for your support and patience
Regards