af3
Forum Replies Created
-
I edited the default in jobboardwp/includes/class-config.php but the slug job is still there.. hmm any suggestion?
Thanks, this works great!
Thanks. It works.. Cheers
Forum: Plugins
In reply to: [Woongkir] Tak bisa pilih option JNE di checkout#2 sudah oke… cache problem ??
Untuk #1, saya buat ini untuk deactivate checkout bila ongkir tidak dipilih kerna kode pos tidak dimasukkan.
function disable_checkout_button_no_shipping() { $chosen_shipping_methods = WC()->session->get( 'chosen_shipping_methods' ); // remove button if there is no chosen shipping method if( empty( $chosen_shipping_methods ) ) { remove_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout', 20 ); } } add_action( 'woocommerce_proceed_to_checkout', 'disable_checkout_button_no_shipping', 1 );
Forum: Plugins
In reply to: [Football Pool] Show users prediction for the questionHi @antoineh — in the user prediction page, there is a text called “my answer” for the completed match. But this is not shown in the open matches? If i want to show this, which file should I edit?
Forum: Plugins
In reply to: [Football Pool] Show users prediction for the questionThanks Antoine.
Forum: Plugins
In reply to: [Football Pool] table positionHi @antoineh ya — i have that EUFA rules used which I think we talked abt before, so thats the reason. Thank you again! The manual correction is able to fix it.
Forum: Plugins
In reply to: [Football Pool] total points does not add upSo i removed the plugin and reset the scoring options — seems it is back to normal. phew!
Forum: Plugins
In reply to: [Football Pool] table positionThanks @fanman1948 – that definitely will solve it. But i’m curious because there is -1 goal difference between POL and MEX so the plugin should have calculated the position correctly.. seems like it is not. weird.
Forum: Plugins
In reply to: [Football Pool] stall in calculation and i cant fix itThank you so much for the info @antoineh !
Forum: Plugins
In reply to: [Football Pool] stall in calculation and i cant fix itIf we change the constant in define.php to other than 1, then the calculation will stall / stuck forever. I had to change back this to 1 then the calculation works again. In my case, i initially set group stage id = 2 for this constant so that when user click on Ranking (user selected) it will default to the Group Stage ranking which was what I wanted. Unfortunately, I had to change this back to 1 because of the stalling recalculation.
const FOOTBALLPOOL_RANKING_DEFAULT = 1
What is default ranking anyway? Does it calculate all scores in all groups?
Forum: Plugins
In reply to: [Football Pool] Last calculation in rankingOMG!! thanks
Forum: Plugins
In reply to: [Football Pool] Last calculation in rankingOk — seems like score_date is the date of the match. So I managed to use this to put something like: Scores for ranking last updated for match played on: score_date.
Thx
Forum: Plugins
In reply to: [Football Pool] Last calculation in rankingI noticed there is score_date on pool_wprw_scorehistory_s1_t2 but not sure what date is this for?
Forum: Plugins
In reply to: [Football Pool] Log every user predictionYeah, some users will blame anything ?? The timestamp is just a way like what you said, an audit trail — this will help the users to understand what happened even if not 100%.