Forum Replies Created
-
AuthorPosts
-
September 4, 2019 at 10:49 am in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1133756
Hi,
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, 10 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ünterJuly 29, 2019 at 12:43 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1122731Hi,
Could you give me a WP admin account and FTP access to your staging site please?
I would need to add some debugging code and make some changes to see what is going on behind the sceen.
I’m this week on holiday – so it will be next week I can have a look into it.
Best regards,
GünterHi,
Sorry for the late reply – but I’ve recently been tagged for this topic.
I’m currently working on a solution for Enfold to handle scrset and size attribute for images. As this will affect many parts and ALB elements of Enfold a first step (hopefully in the next release) will provide a basic implementation for manageing this and then we will implement it step by step for the images. Depending when Kriesi will make the next releases more and more elements will support it.
Check the changelog.
Best regards,
GünterJuly 22, 2019 at 10:38 am in reply to: Use first slides caption as permanent caption disables open image in lightbox #1120792Hi,
This is the description of the checkbox “Use first slides caption as permanent caption” in fullwidth easy slider:
If checked the caption will be placed on top of the slider. Please be aware that all slideshow link settings and other captions will be ignored then
So this is a known limitation.
I added this issue to our dev repo to check if it is possible to add this feature in a future release. Please check the changelog for it.
Best regards,
GünterJuly 22, 2019 at 9:52 am in reply to: trouble with the_content(); and Advanced Layout Editor #1120775Hi,
Sorry, see private content for new link.
As Kriesi is on holiday I do not know when he will publish the next release.
Best regards,
GünterHi,
Strange. After update I had a revslider related js error. I added the revslider shortcode to a blank normal page – cleared server and browser cache – works.
I saved the ALB page – clear cache – now works (checked in FF and Chrome).Here is an updated revslider file:
Best regards,
GünterJuly 21, 2019 at 10:22 am in reply to: trouble with the_content(); and Advanced Layout Editor #1120586Hi,
Did you download the beta-3 version from https://kriesi.at/support/topic/trouble-with-the_content-and-advanced-layout-editor/#post-1119651 ?
The filter is not in the 4.5.7 version.
– Download the zip
– unzip on your local machine
– upload with ftp to your serverBest regards,
GünterJuly 20, 2019 at 2:15 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1120443Hi,
This is the code to insert in functions.php:
But check the cangelog – could be that I will add a theme option for that.
Please open it in https://kriesi.at/support/forum/enfold/ at the bottom.
Seems there is something wrong with your MAMP install (/Applications/MAMP/bin/mamp/feed/fetchFeed.php on line 19).
And also make sure to increase WP Memory limit https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/ and also add:define( 'WP_MAX_MEMORY_LIMIT', '256M' );
Best regards,
GünterJuly 19, 2019 at 1:12 pm in reply to: Issue with WooCommerce Product Grid on Avia Layout Builder #1120166Hi,
Sorry for the late reply.
The reason for the broken layout is that you put the layerslider in a codeblock element in a section.
Use the ALB element, or codeblock outside a section – then the output is correct – see link to testpage in private content.
Best regards,
GünterJuly 18, 2019 at 1:00 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1119901Hi,
This is something different. Please open an own thread. But without having a chance to get access to your backend it is nearly impossible to help.
Check your php version and WP version, disable all plugins, try to reinstall the theme and WP.
Best regards,
GünterHi,
If you look a few lines above filter avf_preview_window_css_files you find a foreach where the default shortcode css file urls are added to $css as key and 1 as value.
You can add this filter to your elements in the constructor and then add:
$css['your URL to css file'] = 1;
Best regards,
Günter -
This reply was modified 5 years, 10 months ago by
-
AuthorPosts