PaulH
Forum Replies Created
-
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Block API – adding stylesI’ve found that adding ‘enqueue_style’ to the block json sorts out the styles on the frontend. However, the ‘editor_style’ entry (or the ‘style’) doesn’t add the styles for the admin side. I can see it in the block array details in the HTML source whilst editing the page, but it doesn’t get loaded.
I tried with and without the full URL to the CSS file but can’t get it to work.
Thanks for the info. I’ll look into it. According ot the docs ‘relationship’ fields are not available with the block api.
FYI – There are no errors in the javascript console.
- This reply was modified 7 months, 3 weeks ago by PaulH.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Block API – adding stylesAlso, is it possible to add in support for the alignment attributes, and the style and typography attributes that come with core blocks (e.g. Text and Background colours, margins, fonts, etc), or do these have to be set up as Pod fields instead?
Forum: Plugins
In reply to: [Advanced Forms for ACF] Submission Failed NoticeOk, thank you. I will give it a try and see what happens.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Submission Failed NoticeI have a large function in af/form/submission that goes though all the fields submitted and runs a custom spam check through. If it finds the submission was spam the function it prevents the email notification from sending and stores the entry id in a list so that it can be automatically deleted later on. After this the page refreshes and shows the Success message.
Generally this is OK. But I was hoping I might be able to trigger something at this late stage to tell the plugin to display a submission error message instead.
The reason I’m not doing this as part of a validation is so that the user is forced to actually submit the form correctly first (which cuts out a lot of spam) and then prevent the spam message using more extreme filters.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Filter to prevent entry creationI use the general ‘all forms’ version of the action. I’ve changed the priority of my action function to -1 and it is now working as I need it to.
Thanks for the help.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Filter to prevent entry creationUnfortunately not.
I use the af/form/submission action to process all the fields in a form and use that information to work out whether to class the submission as spam or not.
Once all the checks have been made I use the af/form/email/recipient filter to change the recipient to empty to prevent an email from sending.
I then wanted to add in the new filter af/form/entry/should_create to stop the entry from being created.
I tested it but the should_create filter didn’t run at this stage.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Filter to prevent entry creationCan this be set during the af/form/submission action?
add_filter( 'af/form/entry/should_create', function($should_create, $form, $args){return false;},10,3);
- This reply was modified 2 years, 7 months ago by PaulH.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Filter to prevent entry creationThat would be perfect. Thanks.
Forum: Plugins
In reply to: [WooCommerce] Variable Product always out of stockAfter carefully checking through my installed plugins I discovered that the WPML Translation Management plugin is causing the out of stock notification for variation products.
I’m in the process of contacting WPML to find a solution.
Forum: Plugins
In reply to: [WooCommerce] Variable Product always out of stockAny update on a possible fix? I’m getting to a critical stage of development and need this issue resolved ASAP.
Forum: Plugins
In reply to: [WooCommerce] Variable Product always out of stockAlso, please note that the theme is my own built from scratch. And several of the plugins are my own (names start with DLynx) and I’ve never had any conflicts with those before.
Forum: Plugins
In reply to: [WooCommerce] Variable Product always out of stockHere’s the system report:
### WordPress Environment ### WordPress address (URL): https://ultimatefan.co.uk Site address (URL): https://ultimatefan.co.uk WC Version: 3.8.1 REST API Version: ? 1.0.2 Log Directory Writable: ? WP Version: 5.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.12 PHP Post Max Size: 20 MB PHP Time Limit: 30 PHP Max Input Vars: 6000 cURL Version: 7.67.0 OpenSSL/1.0.2t SUHOSIN Installed: – MySQL Version: 5.5.5-10.2.29-MariaDB Max Upload Size: 20 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.8.1 WC Database Prefix: eb19_woo_ MaxMind GeoIP Database: ? Total Database Size: 35.09MB Database Data Size: 25.48MB Database Index Size: 9.61MB eb19_woo_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf7_vdata: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf7_vdata_entry: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_form_entries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_form_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_form_entry_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_pro_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_queue_failures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_queue_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_tracking: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_cf_tracking_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM eb19_woo_duplicator_packages: Data: 0.01MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_content_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_core_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_languages: Data: 0.00MB + Index: 0.01MB + Engine MyISAM eb19_woo_icl_languages_translations: Data: 0.11MB + Index: 0.11MB + Engine MyISAM eb19_woo_icl_locale_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_message_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_mo_files_domains: Data: 0.03MB + Index: 0.01MB + Engine MyISAM eb19_woo_icl_node: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_reminders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_strings: Data: 3.30MB + Index: 3.04MB + Engine MyISAM eb19_woo_icl_string_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_string_pages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_string_positions: Data: 1.35MB + Index: 0.54MB + Engine MyISAM eb19_woo_icl_string_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_string_translations: Data: 8.07MB + Index: 4.20MB + Engine MyISAM eb19_woo_icl_string_urls: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_translate: Data: 0.04MB + Index: 0.01MB + Engine MyISAM eb19_woo_icl_translate_job: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_translations: Data: 0.18MB + Index: 0.38MB + Engine MyISAM eb19_woo_icl_translation_batches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB eb19_woo_icl_translation_status: Data: 0.12MB + Index: 0.07MB + Engine MyISAM eb19_woo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_options: Data: 1.17MB + Index: 0.08MB + Engine MyISAM eb19_woo_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_pmxi_images: Data: 0.07MB + Index: 0.01MB + Engine MyISAM eb19_woo_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine MyISAM eb19_woo_pmxi_posts: Data: 0.05MB + Index: 0.01MB + Engine MyISAM eb19_woo_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine MyISAM eb19_woo_postmeta: Data: 9.45MB + Index: 0.63MB + Engine MyISAM eb19_woo_posts: Data: 1.31MB + Index: 0.34MB + Engine MyISAM eb19_woo_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM eb19_woo_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM eb19_woo_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM eb19_woo_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM eb19_woo_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM eb19_woo_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM eb19_woo_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM eb19_woo_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM eb19_woo_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfconfig: Data: 0.02MB + Index: 0.01MB + Engine MyISAM eb19_woo_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wffilemods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfhits: Data: 0.03MB + Index: 0.01MB + Engine MyISAM eb19_woo_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfknownfilelist: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wflogins: Data: 0.01MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB eb19_woo_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB eb19_woo_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wfstatus: Data: 0.00MB + Index: 0.00MB + Engine MyISAM eb19_woo_wftrafficrates: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_cf_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_form_entries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_form_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_form_entry_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_queue_failures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_queue_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (27) ### WPML Multilingual CMS: by OnTheGoSystems – 4.3.5 a3 Lazy Load: by a3rev Software – 2.0.0 Absolute <> Relative URLs: by Andrew Patterson – 1.6.0 Advanced Custom Fields Multilingual: by OnTheGoSystems – 1.5.0 Advanced CF7 DB: by Vsourz Digital – 1.7.2 Advanced Custom Fields: Font Awesome: by mattkeys – 3.1.1 Advanced Custom Fields PRO: by Elliot Condon – 5.8.7 AJAX Thumbnail Rebuild: by junkcoder ristoniinemets – 1.13 Auto Upload Images: by Ali Irani – 3.2.2 Honeypot for Contact Form 7: by Nocean – 1.14.1 Contact Form 7 Multilingual: by OnTheGoSystems – 1.0.1 Contact Form 7: by Takayuki Miyoshi – 5.1.6 Crop Thumbnails: by Volkmar Kantor – 1.2.5 DLynx Cookie Law Advanced: by Design Lynx Ltd – 1.3 DLynx Under Construction: by Design Lynx Ltd – 5.2 Duplicator: by Snap Creek – 1.3.24 Sortable Word Count Reloaded: by <a href="https://apasionados.es">Apasionados</a> – 1.0.3 WooCommerce Multilingual: by OnTheGoSystems – 4.7.5 WooCommerce Product Add-ons: by WooCommerce – 3.0.20 WooCommerce: by Automattic – 3.8.1 Wordfence Security: by Wordfence – 7.4.1 WP All Import Pro: by Soflyy – 4.5.8 WP Rollback: by Impress.org – 1.7.0 Smush: by WPMU DEV – 3.3.2 WPML Media: by OnTheGoSystems – 2.5.5 WPML String Translation: by OnTheGoSystems – 3.0.5 WPML Translation Management: by OnTheGoSystems – 2.9.3 ### Inactive Plugins (4) ### DLynx PageSpeed: by Design Lynx Ltd – 3.6 WP All Import - ACF Add-On: by Soflyy – 3.2.4 WP All Import - User Import Add-On Pro: by Soflyy – 1.1.2 WPML All Import: by OnTheGoSystems – 2.1.1 ### Dropin Plugins (1) ### maintenance.php: maintenance.php ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ? ### WC Pages ### Shop base: #9 - /shop/ Basket: #10 - /basket/ Checkout: #11 - /checkout/ My account: #12 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Website Framework Version: 2.0 Author URL: https://designlynx.com Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: w/woocommerce/content-single-product.php w/woocommerce/single-product.php ### Action Scheduler ### Complete: 0 Oldest: – Newest: – Pending: 1 Oldest: 2019-11-22 12:22:11 +0000 Newest: 2019-11-22 12:22:11 +0000 Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
Forum: Plugins
In reply to: [WooCommerce] Variable Product always out of stockHi.
Stock Management was turned off from the initial set up of the plugin.
WooCommerce Inventory Settings: https://snipboard.io/5tCqGr.jpg
Product Inventory: https://snipboard.io/61COJK.jpg
Product Variation Setting: https://snipboard.io/wFRoiT.jpg
Each variation has a price set.Front end (Lacks styling at present): https://snipboard.io/rqQZJY.jpg
Forum: Plugins
In reply to: [Jigoshop eCommerce] Customer returned to homepage whilst checking outThanks. I have emailed support.