zotter
Forum Replies Created
-
Hello @kapitaniuk and @fesupportteam , I use the ACF: Better Search plugin for it, solves this issue.
https://www.ads-software.com/plugins/acf-better-search/- This reply was modified 1 week, 1 day ago by zotter.
Hello Marcus, unfortunately the issue still there, I use the latest 6.4.7.2. version.
Thanks!!Hello,
I bulk updated posts/pages, but it doesn’t work ?? I wrote to the pro forum!!
Thank You Victor!Hello Victor,
yes, if I remember correctly, I made it in Hungarian first and then I bought polyang pro to translate it.
hello Victor, can you give me an approximate release date?
Thank you!!! ??Thanks Victor, if there will be a beta version sooner, I’ll be happy to test it ??
Have a great weekend!
- This reply was modified 9 months, 2 weeks ago by zotter.
Hello Victor,
I spoke to the polylang developers and they asked me to report the bug:
” I’ve a recorded a long video showing it’s working when URL are in subdirectory but not in domain, with a start of explanations for Filter Everything developers.
https://www.loom.com/share/510a6c5f98024871bbb5c3dab02d00bcwp-content/plugins/filter-everything/src/Admin/FilterSet.php:456
?:Here the Polylang function?
pll_current_language()
?&?pll_the_languages()
?are not known in the defined namespace FilterEverything\Filter:if( flrt_pll_pro_active() && defined(‘FLRT_ALLOW_PLL_TRANSLATIONS’) && FLRT_ALLOW_PLL_TRANSLATIONS ){ $pll_current_language = pll_current_language(); $pll_languages = pll_the_languages( array(‘raw’ => 1 ) );
The other issue is in?
flrt_pll_pro_active()
?:function flrt_pll_pro_active(){ if( defined(‘POLYLANG_PRO’) ){ return true; } return false; }
The PHP constant is defined at the start of the
wp-content/plugins/polylang-pro/polylang.php
file but in case of URL in domains, Polylang is checking if DNS settings are OK without conflict made by our code. To do so, we deactivate programmatically Polylang by adding?deactivate-polylang=1
to the URL and send a request.
If DNS are well set and propagated, then WordPress replies with a code 200. In other cases, the error code is different (30X, 40X or 50X) and Polylang display the error?deactivate-polylang=1
to inform you that something is wrong, and the domain is unreachable.At the end of Polylang.php, we initialize and launch Polylang if?
$_GET['deactivate-polylang']
?is empty. In your case, it is not so Polylang is not launch and the Filter Everything compatibility is broken.Feel free to ask the Filter Everything developer to contact us in case they need help or technical explanations.”
Thank you,Victor!
Hello @benhuma,
you can set up CORS via function or plugin:
https://www.ads-software.com/plugins/enable-cors/ (I set response header to origin)But the issue with PL Single Sign-On system (SSO) and new browser parameter expectations.
Thank you Victor for your time! The filter is translated. I wrote to polylang support, maybe they can solve this problem. I’ll write, when I get a reply.
Have a nice day/weekend!
Hello Victor, thanks for the quick reply :). I tried to solve it by url redirection, but the problem is, when i choose from filter dropdown, before push apply button it gives 404 error already (on console) and the apply button not get any filter parameter(Var names).
Hello,
Can you explain, how did you resolved it?
Thank you!
I’ve tried this code:
add_filter( 'em_events_build_sql_conditions', 'my_em_scope_conditions',1,2); function my_em_scope_conditions($conditions, $args){ if( !empty($args['scope']) && $args['scope']=='week' ){ $start_date = date('Y-m-d',strtotime("-1 year", current_time('timestamp'))); $end_date = date("Y-m-d",strtotime("sunday this week")); $conditions['scope'] = " (event_start_date BETWEEN CAST('$start_date' AS DATE) AND CAST('$end_date' AS DATE)) OR (event_end_date BETWEEN CAST('$end_date' AS DATE) AND CAST('$start_date' AS DATE))"; } return $conditions; }
but it shows events, which finished last week too.
Hello,
yes, for example, for 2 weeks.
thank you!