Asjad Aamir
Forum Replies Created
-
Forum: Plugins
In reply to: [Phoenix Media Rename] Post dates are also changingthanks. I am sure there is a bug. Coz I have tested it. Several posts are randomly updating even they don’t contain those images
Forum: Plugins
In reply to: [CAOS | Host Google Analytics Locally] Adding GA4Not working. I have added correct code. Bit still not tracking
Forum: Plugins
In reply to: [Converter for Media - Optimize images | Convert WebP & AVIF] Nginx errorAnyone here?
Forum: Plugins
In reply to: [Converter for Media - Optimize images | Convert WebP & AVIF] Nginx errorI didn’t do anything and now it is not showing this error.
Forum: Plugins
In reply to: [Converter for Media - Optimize images | Convert WebP & AVIF] Nginx errorI did. Now it is showing this error:
It appears that your server uses the cache for HTTP requests. The rules from the .htaccess file or from the Nginx configuration are not executed every time when an image is loaded, but the last redirect from cache is performed. Please, contact your hosting's technical support or CDN's support and send them the following message: I have a problem with the cache for HTTP requests on my website - https://www.autocornerd.com. This prevents JPEG or PNG files from being dynamically redirected to WebP or AVIF, depending on whether the browser supports the format. Here are potential sources of this issue: - the server or CDN server does not support the "Vary: Accept" HTTP header or handles it incorrectly (the cache for redirects should be based not only on the URL to the file, but also on the value of the Accept header sent by the browser) - the server or CDN server does not support the "Cache-Control: private" HTTP header or handles it incorrectly (this header should be able to disable caching for static files on the CDN server or proxy server) - the website is running on the Nginx server without support for .htaccess files and not all the steps described in the plugin FAQ (in the question: Configuration for Nginx) have been followed correctly
Forum: Plugins
In reply to: [Converter for Media - Optimize images | Convert WebP & AVIF] Nginx errorHi, can you please again repeat step 4? what do you mean by removing extensions?
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementCan you please tell why below snippet is not executing? I am asking again and again because javascript context in your plugin is much different from the universal javascript syntax.
(function(){ let rate = 0.1; var cashFlows = [fieldname13, fieldname14, fieldname15, fieldname16, fieldname17, fieldname18, fieldname19, fieldname20, fieldname21, fieldname22, fieldname23, fieldname24, fieldname25, fieldname26, fieldname27, fieldname28, fieldname29, fieldname30, fieldname32, fieldname33, fieldname34, fieldname35, fieldname36, fieldname37, fieldname38, fieldname39, fieldname40, fieldname41, fieldname42, fieldname43, fieldname45, fieldname46, fieldname47, fieldname48, fieldname49, fieldname50, fieldname51, fieldname52, fieldname53, fieldname54 ]; var npv = 0; for (var i = 0; i < cashFlows.length; i++) { npv += cashFlows[i-1] / ((1 + rate) ** i); } })();
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementI am not asking for a service. I am just asking why after 3 fields, it is not working? i am just asking for the reason. I know it’s just a one minute task for you to fix this. You already helped me a lot. Please this is last time help me. The issue is minor. Hope you understand.
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementAre you there? I have almost done work. Only minor issue is there. Please check the video link I shared with you.
Thanks
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementThis is demonstration of issue: https://www.loom.com/share/2571044276fb4f7db7d1b29ac0f4faaa
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementHi, almost all work is done, Just one thing is irritating, I have attachd link. Please check slider field which I have written code: https://www.stampdutycalculatoruk.org?cff-form=7
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementHi, up to 3 fields, it works. But as I increased number of fields, it isnt working.
<script> fbuilderjQuery(document).one('showHideDepEvent', function(evt, form_id){ var f = jQuery('[name="cp_calculatedfieldsf_id"][value="7"]').closest('form'); jQuery(f).on('change', '[id*="fieldname11_"]', function(){ var fields = ['fieldname13', 'fieldname14', 'fieldname15', 'fieldname16', 'fieldname17', 'fieldname18', 'fieldname19', 'fieldname20', 'fieldname21', 'fieldname22', 'fieldname23', 'fieldname24', 'fieldname25', 'fieldname26', 'fieldname27', 'fieldname28', 'fieldname29', 'fieldname30']; for(var i in fields){ if(i<getField('fieldname11', f).val(true, true)) { ACTIVATEFIELD(fields[i]); } else { IGNOREFIELD(fields[i]); } } }); jQuery('[id*="fieldname11_"]', f).change(); }); </script>
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementAll good now?
<script> fbuilderjQuery(document).one('showHideDepEvent', function(evt, form_id){ var f = jQuery('[name="cp_calculatedfieldsf_id"][value="7"]').closest('form'); jQuery(f).on('change', '[id*="fieldname11_"]', function(){ var fields = [‘fieldname13’, ‘fieldname14’, ‘fieldname15’]; for(var i in fields){ if(i<getField('fieldname11', f).val(true, true)) { ACTIVATEFIELD(fields[i]); } else { IGNOREFIELD(fields[i]); } } }); jQuery('[id*="fieldname11_"]', f).change(); }); </script>
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementFieldname 11 is slider, and other are number fields
Forum: Plugins
In reply to: [Calculated Fields Form] Using if else statementCould you please check it? I tried my best to adjust the code. Please tell if there is any error in it?
<script> fbuilderjQuery(document).one('showHideDepEvent', function(evt, form_id){ var f = jQuery('[name="cp_calculatedfieldsf_id"][value="7"]').closest('form'); jQuery(f).on('change', '[id*="fieldname11_"]', function(){ var fields = [fieldname13, fieldname14, fieldname15]; for(var i in fields){ if(i<getField('fieldname11', f).val(true, true)) ACTIVATEFIELD(fields[i]); else IGNOREFIELD(fields[i]); } }); jQuery('[id*="fieldname11_"]', f).change(); }); </script>