Forum Replies Created
-
AuthorPosts
-
September 9, 2019 at 3:50 pm in reply to: cookie consent buttons and link to page do not work properly in 4.6 #1136081
Hi,
The file is correct – but it has moved. In our github repo for 4.6.1 it is around line 1555.
Can you look for function msg_bar_button_html.
A few lines below there is a switch statement including the code above.
Best regards,
GünterSeptember 9, 2019 at 3:38 pm in reply to: Enfold (4.5.7.1-beta-2) Form missing senders email address #1136071Hi,
Sorry for the problems you have.
Could you please provide us a wp admin account and a link to your site so we can check your backend. Please open a new thread and put the credentials in private content.
I rechecked the code and logic in my environment but cannot find a reason.
Are you using Google reCaptcha?
Best regards,
GünterSeptember 9, 2019 at 1:28 pm in reply to: cookie consent buttons and link to page do not work properly in 4.6 #1135991Hi,
Sorry for this.
I fixed the bug in oncoming 4.6.2 – will be released soon.
Can you wait or do you want to update the file on your site. It’s 3 lines of code:
In file enfold\includes\helper-privacy.php around line 1579:
case 'info_modal': $btn_class .= ' avia-cookie-info-btn '; break; case '':
replace with:
case 'info_modal': $btn_class .= ' avia-cookie-info-btn '; break; case 'link': $btn_class .= ' avia-cookie-link-btn '; break; case '':
Do not forget to make a backup of the original file for a fallback, clear server and browser cache.
If you need assistance let us know so we can do it for you. Please also provide ftp access and make sure our WP account has admin rights and can edit theme files.
Best regards,
GünterHi,
Die gute Nachricht: 4.6.1 ist gerade released worden und enthält einen fallback fix für Deine Situation. Sollte also dann wieder wie gewohnt gehen.
Schau dir aber auf jeden Fall die Option “Default Cookie Option Settings” an – wegen must opt in für Cookies.
Best regards,
GünterHi,
$disable = ( false !== strpos( $content, '[contact-form-7 ' ) || false !== strpos( $content, '[av_contact ' ) ) ? false : true;
Best regards,
GünterHi,
Strange. Checked it on Chrome (Windows OS) and it works for me (sent you a test mail).
Did you try to clear browser cache several times – also try an incognito window.
I will also ask other mods to check.
Best regards,
GünterHi,
Mit 4.6 haben wir uns den neuen EU Regelungen angepasst, dass Cookies und Serives akzeptiert werden müssen.
Wenn Du beim Modal Popup Window den default content nimmst gibt es 2 neue Toggles in “unverzichtbare Website Cookies”. Die fehlen bei Dir und daher funktioniert auch der OK button nicht mehr richtig.
2 neue shortcodes:
av_privacy_allow_cookies
av_privacy_accept_essential_cookiesBinde diese ein und überprüfe auch die Einstellungen im Privacy Tab – es gibt da eine Menge neue Optionen.
Falls Du Hilfe brauchst, gib uns bitte einen admin account.
Best regards,
GünterHey Jason,
I checked your site. When I accept the cookies the GA cookies are visible, if I only enter your site and do not accept them (the message bar remains) there are no cookies – but this is the intended behaviour to be EU GDPR conform.
Prior 4.6 the implementation was not so strict – if user did not opt out cookies were used.
Please check the privacy theme options tab – there you find closer info in the description, new shortcodes and a new button action “Do not accept and hide notification”.
Best regards,
GünterHi,
Examples:
https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/External%20Services/avf_disable_recaptchaV3_for_post.php
https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/External%20Services/avf_load_google_recaptcha_api_prohibited.phpavf_copyright_info is located after kriesi_backlink and only allows to modify the stored theme options copyright string but not kriesi_backlink string (enfold\footer.php line 184).
Best regards,
GünterHi,
I cannot reproduce this on my install.
Can you give us admin access so we can have a look in your backend?
Best regards,
GünterHey Nerohm,
Thank you for using Enfold.
Please see screenshot below – I could send a test message.
Everything seems to work fine. Tested on Firefox and Chrome on windows system.
Best regards,
GünterSeptember 4, 2019 at 11:45 am in reply to: GDPR / DSGVO: Cookie Settings auf standardmäßig OPT-IN setzen? #1133786September 4, 2019 at 11:39 am in reply to: Enfold 4.6 – Great job you did there again. My big compliment #1133783Hi,
and the Possibility of H-Tag Choose on Slider Captions
Had forgotten – added for next release.
ordernumber of 90 to the audioplayer
added for next release.
Best regards,
GünterSeptember 4, 2019 at 10:49 am in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1133756Hi,
I added a backwards comp. fix for those who have been using theme support avia_template_builder_custom_css and avia_template_builder_custom_tab_toogle_id.
Please replace enfold\config-templatebuilder\avia-template-builder\php\template-builder.class.php
with
The fix overrides the theme option settings “Custom CSS classes input field” and “ID attribute input field” to “Show and allow to edit ..”.
This fix will be added to core in the next update – but might be removed in a future release.
Do not forget to make a backup of the original file for a fallback, clear server and browser cache.
If you need assistance with the update let us know.
Best regards,
GünterSeptember 3, 2019 at 5:54 pm in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1133491Hi,
To verify the problem we would need a site where we can see it and a WP admin account to check the backend.
I checked it on my install and cannot reproduce it.
Create a new thread and post the credentials and a link to the site in private content please.
Best regards,
GünterSeptember 3, 2019 at 5:48 pm in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1133483Hi,
Sorry for the problems.
There are new options in Theme Options -> Layout Builder -> Builder Options For Developers
Please select the options you like (especially for Custom CSS classes input field) and save theme options.
It is probably caused because we removed theme support avia_template_builder_custom_css – see changelog:
– removed: theme support avia_template_builder_custom_css use theme option or filter avf_alb_get_extended_settings instead
Best regards,
GünterSeptember 3, 2019 at 5:32 pm in reply to: Update 4.6 makes cookie consent reload every time #1133468Hi,
To verify the problem we would need a link to a site where we can see the problem and a WP admin account to check the backend settings.
Open a new thread and put your login credentials and link to your site in private content area so it is only visible to you and moderators.
Thank you.
Best regards,
GünterHey!
reCaptcha V2 is only loaded on pages where an Enfold contact form is used.
The idea of reCaptcha V3 is to monitor user behaviour and decide if he is a human or a bot (this is done by Google script).. Google is creating a score in background and this is used to decide if we make a fallback to V2.The more info Google has the better the score.
Therefore by default V3 is loaded on every page to get a better score.
Besides the filter avf_load_google_recaptcha_api_prohibited there is also another filter: avf_disable_recaptchaV3_for_post
called in handler_body_class() (WP body_class filter).At this point you can access all info you need to decide if you want to skip V3 for that page.
If you know the pagi ID’s you can return false for these pages and true for the others or you can scan page content.But in my opinion using V3 in a DSGVO/GDPR environment is critical, as nobody knows what Google is collecting.
The implementation logic for reCaptcha is currently only for Enfold contact form as there is logic behind that cannot be transferred to other plugins 1:1. This has to be checked for each plugin if it is possible to integrate it at all.
Do you need an example for avf_disable_recaptchaV3_for_post ?
Regards,
GünterSeptember 3, 2019 at 12:39 pm in reply to: Enfold 4.6 – Great job you did there again. My big compliment #1133341Hi,
Thanks for your feedback – and sorry for the late reply.
How to avoid loading Google Recaptcha on all Pages?
enfold\framework\php\class-grecaptcha.php line 414:
public function is_loading_prohibited()
replaced the former is_recaptcha_active().
And there you find a filter avf_load_google_recaptcha_api_prohibited.
Return boolean true to disable recaptcha.
Do you need an example for that?
For the rest of this topic I will look into asap and make the adjustments.
Best regards,
GünterHey Kevin Reiter,
If you are using https as connection protocol (ssl) this is done automatically by browser and server. On http only no encryption takes place.
Best regards,
GünterHi,
Thanks for reporting this – and @ishish thanks for the solution.Will be part of the next update.
Best regards,
GünterAugust 30, 2019 at 9:42 am in reply to: Mysterious garbled character of only one letter in excerpt of Blog posts Element #1132222Hi!
In Version 4.6 there is a new filter you can use:
avf_avia_backend_truncate_string
Cheers!
GünterHi,
Did you try to save the theme options (also try to disable css merging – save – enable again ) and clear server and browser cache several times ?
Best regards,
GünterHi SurferRob
You have to replace the content of
enfold\config-templatebuilder\avia-shortcodes\slideshow_revolution.php
Do not forget to make a copy of the original file for a fallback and clear server and browser cache.
If you need help let us know.
Best regards,
GünterHi,
Thanks for reporting.
I tried to fix it with CSS – it is a background problem. A problem is that the elements which we need to modify have no unique class.
I uploaded a file:
Replace enfold\config-gutenberg\class-avia-gutenberg-dynamic-styles.php
and save theme options to regenerate a dynamic stylesheet.
The CSS used:
.wc-block-featured-product__wrapper p, .wc-block-featured-product__wrapper .block-editor-block-list__block {background:transparent;}
Can you please check if this is a working fix and that no other things are broken. I’m not so familiar with gutenberg blocks.
In case you need other selectors can you tell me so i can integrate it in our core.
Best regards,
GünterAugust 20, 2019 at 5:37 pm in reply to: GDPR / DSGVO: Cookie Settings auf standardmäßig OPT-IN setzen? #1129273Hi,
With version 4.5.7 it is not possible.
In private content you find the link to a zip file containing a beta version of Enfold including this feature.
You will need an external program like winrar to unzip the file. Then you can upload with ftp to your server.
If you have a staging site you can check check out the features first.Do not forget to clear server and browser cache and keep a copy of 4.5.7 for a fallback.
Select “use default modal privacy popup” in theme options to see the new added things and there is a new button action “Do not accept and hide notification” and new shortcodes to add functionality to a custom page.
Best regards,
Günter- This reply was modified 5 years, 3 months ago by Günter.
August 20, 2019 at 1:33 pm in reply to: Enfold Security – Suspicious Functions (Unsanitized + Unserialized User Inputs) #1129211Hi,
File location:/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/actions.php
This file is part of the layerSlider plugin. We did not change anything there.
File Location: /wp-content/themes/enfold/framework/php/function-set-avia-ajax.php
The function avia_ajax_create_dynamic_options is no longer in use in Enfold. This file is part of the backend framework and was used in outdated themes.
If you feel better in line 656 you can avoid calling this function by replaceingadd_action('wp_ajax_avia_ajax_create_dynamic_options', 'avia_ajax_create_dynamic_options');
with
// add_action('wp_ajax_avia_ajax_create_dynamic_options', 'avia_ajax_create_dynamic_options');
Best regards,
GünterAugust 5, 2019 at 5:07 pm in reply to: GDPR / DSGVO: Cookie Settings auf standardmäßig OPT-IN setzen? #1124796Hi!
Thank you for using Enfold and this info.
We will add a solution for this problem with the next update.
As soon as I have implemented it Kriesi will release the next version.
Cheers!
GünterHi,
I thought you are familiar with WP filters and basic php – sorry for not being clear enough.
Inside the class declaration of your element add:
public function __construct( $builder ) { add_filter( 'avf_preview_window_css_files', array( $this, 'handler_avf_preview_window_css_files'), 10, 1 ); parent::__construct( $builder ); } public function handler_avf_preview_window_css_files( $css = array() ) { $css_url = 'url to your CSS file'; $css[ $css_url ] = 1; return $css; }
Best regards,
Günter -
AuthorPosts