popsantiago
Forum Replies Created
-
Forum: Plugins
In reply to: [Football Pool] PenaltiesAll right thx for that.
Forum: Plugins
In reply to: [Football Pool] PenaltiesHello
Same, here how do you deal with penalties usually ?
I have a Argentina 1 – Ecuador 1 but penalties Argentina Winners 4-2 penaltiesI did 1 – 1 as score But i put the Argentina to the semi-final.
It seems not to have 1-1 ranking effect.
Regards
Forum: Plugins
In reply to: [Football Pool] Quarterfinal Teams are not resolvedAll right. Thx for you reply.
Forum: Plugins
In reply to: [Football Pool] Quarterfinal Teams are not resolved@antoineh , same for me and Copa America.
If i understand well your answer, I need to edit teams the matches of quarters (and next too) to replace it with the actual winners/second of each group right ?
Regards
Forum: Plugins
In reply to: [Football Pool] Custom Registration Form > Force the League from FieldsAll right thx.
Forum: Plugins
In reply to: [Football Pool] Bricksbuilder & Contents [COPA America]Hello,
Thx i will have a look on this.Forum: Plugins
In reply to: [Football Pool] Custom Registration Form > Force the League from FieldsHello Antoine,
I did that and it seems working.
Is it ok ?add_action('fluentform/user_registration_completed', function ($userId, $feed, $entry, $form) { $user_inputs = $entry->user_inputs; // Prepare data to insert $user_id = $userId; $league_id = $user_inputs['league']; // Check if the class exists if (class_exists('Football_Pool_Pool')) { $football_pool = new Football_Pool_Pool(); $football_pool->update_league_for_user($user_id, $league_id, 'update league'); } }, 10, 4);
Forum: Plugins
In reply to: [Football Pool] Bricksbuilder & Contents [COPA America]Hello Antoine,
I made some try. And it only working when i’m using the Shortcode [fp-ranking] but not on the ranking page.
Any idea ?
Here is my function >function custom_footballpool_ranking_array_filter($rows) { // Récupérer l'ID de l'utilisateur actuel $current_user_id = get_current_user_id(); // Récupérer l'ACF user_agency de l'utilisateur actuel $current_user_agency = get_field('user_agency', 'user_' . $current_user_id); // Parcourir chaque tableau de $rows foreach ($rows as $key => $row) { // Récupérer l'ACF user_agency de l'utilisateur dans le tableau $user_agency = get_field('user_agency', 'user_' . $row['user_id']); // Si l'ACF user_agency de l'utilisateur dans le tableau ne correspond pas à celle de l'utilisateur actuel, supprimer cette ligne if ($user_agency !== $current_user_agency) { unset($rows[$key]); } } //var_dump($rows); return $rows; } // Ajouter le filtre au hook 'footballpool_ranking_users' add_filter('footballpool_ranking_array', 'custom_footballpool_ranking_array_filter');
Forum: Plugins
In reply to: [Football Pool] Bricksbuilder & Contents [COPA America]Thx a lot, i will have a look on this.
Forum: Plugins
In reply to: [Football Pool] Bricksbuilder & Contents [COPA America]Hello,
Do you mean using this filter > footballpool_ranking_users
ThxForum: Plugins
In reply to: [Football Pool] Bricksbuilder & Contents [COPA America]Thx Antoine for the reply.
I will use filters.
My client wants to get winners (users) with some criteria : Client Type ex. Agency (i can use League for that i guess) But he also want winners by country (Meta User). Do you have an idea to get this kind of flow ?
ThxGreat news. And thx for your reply.
Reactivity is one of your key feature as always with your team. I really enjoy this.
See you- This reply was modified 1 year, 11 months ago by popsantiago.
Hello @ooohboi
Thx for reply quickly.
I tried your template and it worked well. So i was thinking it was and “nested container issue” but NOT.
The problem is the Loop options unchecked. If i disable the “Infinite loop” everything is not ok. I don’t know if it’s a bug or if it’s normal. So i changed my Glider to infinite loop and everything is great.Can i asked you (maybe in the remote control tutorial ?? ), but is there a way to get “active” status (my heading underline when slide is active) on the remote controller ? via js or something like that ?
Thx again
@ooohboi Thx for that. It fixed my problem.
Hello,
Not same here but fatal error too.[04-May-2022 18:51:20 UTC] PHP Fatal error: Uncaught Error: Call to undefined method OoohBoi_Locomotion::init() in /xxxxxxx/elementor/wp-content/plugins/ooohboi-steroids-for-elementor/ooohboi-steroids.php:390 Stack trace: #0 /xxxxxxx/elementor/wp-content/plugins/ooohboi-steroids-for-elementor/ooohboi-steroids.php(322): OoohBoi_Steroids->ooohboi_init_extensions(Array) #1 /xxxxxxx/elementor/wp-includes/class-wp-hook.php(307): OoohBoi_Steroids->init('') #2 /xxxxxxx/elementor/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /xxxxxxx/elementor/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #4 /xxxxxxx/elementor/wp-settings.php(450): do_action('plugins_loaded') #5 /xxxxxxx/elementor/wp-config.php(95): require_once('/xxxxxxx...') #6 /xxxxxxx/elementor/wp-load.php(50): require in /xxxxxxx/elementor/wp-content/plugins/ooohboi-steroids-for-elementor/ooohboi-steroids.php on line 390 [04-May-2022 18:51:21 UTC] PHP Fatal error: Uncaught Error: Call to undefined method OoohBoi_Locomotion::init() in /xxxxxxx/elementor/wp-content/plugins/ooohboi-steroids-for-elementor/ooohboi-steroids.php:390 Stack trace: #0 /xxxxxxx/elementor/wp-content/plugins/ooohboi-steroids-for-elementor/ooohboi-steroids.php(322): OoohBoi_Steroids->ooohboi_init_extensions(Array) #1 /xxxxxxx/elementor/wp-includes/class-wp-hook.php(307): OoohBoi_Steroids->init('') #2 /xxxxxxx/elementor/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /xxxxxxx/elementor/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #4 /xxxxxxx/elementor/wp-settings.php(450): do_action('plugins_loaded') #5 /xxxxxxx/elementor/wp-config.php(95): require_once('/xxxxxxx...') #6 /xxxxxxx/elementor/wp-load.php(50): require in /xxxxxxx/elementor/wp-content/plugins/ooohboi-steroids-for-elementor/ooohboi-steroids.php on line 390