Robert_ITman
Forum Replies Created
-
That would be great. If I may, it looks to me like we don’t need the parameter “&post_permalink=” and you can also remove the link “back to post” which is likely all you are using this for. Consider giving us a setting to disable these 2 things “remove permalink (set to yes if subscription URLs give Access denied error)” and setting that as default. In removing that parameter the “Manage subscriptions” page loads fine and lists our subscriptions to posts and each is linked to the posts … so no need for the “back to post” link and this will work for everyone. Same issue with the URL provided in the email “Manage your subscriptions on OURFINGERTIPS” with text “You have requested to manage your subscriptions to the articles on OURFINGERTIPS. Follow this link to access your personal page:”
This does NOT work (with post_permalink):
This works (without post_permalink):
P.S. If I may, separate issue but similar is that the subscribe URL on the bottom of posts loads a new page, where you could instead add form for just the email in the post “You can also?subscribe?without commenting.“
Good eye – please let me know when you update your plugin to use a parameter that won’t get blocked … otherwise I’m now looking for a different plugin to do this for me as I’m not changing hosting and not messing with the firewall or security.
SOLVED thanks to help from Ahmed at Challan and https://fantasticplugins.com/ support desk plugin for SUMO Subscriptions together provided this to add to functions.php
add_filter( 'woo_invoice_email_types', function( $email_types ) { $our_email_types = array( 'subscription_new_order', 'subscription_new_order_old_subscribers', 'subscription_order_processing', 'subscription_order_completed', 'subscription_paused', 'subscription_invoice', 'subscription_expiry_reminder', 'subscription_auto_renewal_reminder', 'subscription_auto_renewal_success', 'subscription_overdue_automatic', 'subscription_overdue_manual', 'subscription_suspended_automatic', 'subscription_suspended_manual', 'subscription_turnoff_auto_payments_success', 'subscription_pending_authorization', 'subscription_cancelled', 'subscription_cancel_request_submitted', 'subscription_cancel_request_revoked', 'subscription_expired', ); $email_types = array_merge( $email_types, $our_email_types ); return $email_types; } );
I will try the following and will let you know if it works for me after I receive both “New Subscription Order” and “Subscription?Renewal Success” based on the text in the emails sent … I’m guessing what to use here … any help would be great:
$email_types[] = 'subscription_new_order'; $email_types[] = 'new_subscription_order'; $email_types[] = 'subscription_renewal_success';
- This reply was modified 9 months, 2 weeks ago by Robert_ITman.
- This reply was modified 9 months, 2 weeks ago by Robert_ITman.
Thank you – that looks promising, but I need your help understanding what to enter for $email_types in your code example to replace ‘add your email types here’ … your website doesn’t help either, though it lists ‘woo_invoice_email_types’ under Filter Hooks – can you provide an example that would work and not crash our websites would be most helpful – your URL (add an example here too):
https://webappick.com/docs/woo-invoice/customization/action-hooks-of-reference-woo-invoice/
Forum: Plugins
In reply to: [Sitewide Notice WP] Banner is not showing since upgrade to v2.4Same issue – thank you topaff for pointing out that it shows when “Show Close Button For Banner” is ticked !!
Quick fix will hide the close button in your css:
#swnza_close_button_link { display: none; }
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Cart – fix to stop auto scrollingFound conflict with plugin “Ninja Forms” Version 3.6.20 | By https://ninjaforms.com – I requested support from developer and will post solution here if they provide one – temporary fix to to not have my contact form show on cart page. FYI – I used plugin “Check Conflicts” Version 1.1.4 | By?ioannup to see which plugin was causing my issue.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Cart – fix to stop auto scrollingIgor – thanks for the suggestion – but that didn’t work for me either … I’m still looking for a fix – if/when I find one – I will post it here.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Cart – fix to stop auto scrollingSORRY – NOT FIXED – even with above … it is auto scrolling again !!! Please help! This is destroying the customer experience for my customers.
Sorry – I already switched to another plugin for all my websites, better rated, more users: WP Mail SMTP By?WPForms
Same issue – I received an email with subject: “URL: Post SMTP email error” from your plugin with the following error:
You getting this message because an error detected while delivered your email.
For the domain: [URL removed]
The log to paste when you open a support issue:
Code: 400, Message: Bad Request, Body: {“errors”:[{“message”:”Invalid type. Expected: array, given: object.”,”field”:”personalizations”,”help”:”https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#-Personalizations-Errors”}]}- This reply was modified 1 year, 9 months ago by Robert_ITman. Reason: forgot to check 'Notify me of follow-up replies via email'
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Cart – fix to stop auto scrollingYou are very welcome. If I may, I recommend you keep this topic open so we can help others with questions about this.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Cart – fix to stop auto scrollingSOLVED – I found a fix that works for my sites – as I didn’t want to override the admin CSS files, I found a way to hide these frustrating parts with adding the following to my functions.php file:
// https://css-tricks.com/snippets/wordpress/apply-custom-css-to-admin-area/ add_action('admin_head', 'my_custom_fonts'); function my_custom_fonts() { echo '<style> .woocommerce-embed-page #wpbody .woocommerce-layout, .woocommerce-embed-page .woocommerce-layout__notice-list-hide+.wrap, .update-nag, .components-surface.woocommerce-store-alerts, .components-snackbar.components-snackbar-explicit-dismiss, .woocommerce-layout__header.is-scrolled { display: none; } </style>'; }
All In One SEO working great for me again, likely a combination of going through their settings (many changes in recent updates) … but most likely solved with PHP 7.3 (should work for 7.4 too) to increase limits, giving more resources to WordPress – in cPanel update ‘MultiPHP INI Editor’ which updates .htaccess file with the following which works for me, might might work for you too:
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
php_flag display_errors Off
php_value max_execution_time 600
php_value max_input_time 1200
php_value max_input_vars 12000
php_value memory_limit 256M
php_value post_max_size 32M
php_value session.gc_maxlifetime 2880
php_value session.save_path “/var/cpanel/php/sessions/ea-php73”
php_value upload_max_filesize 32M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors Off
php_value max_execution_time 600
php_value max_input_time 1200
php_value max_input_vars 12000
php_value memory_limit 256M
php_value post_max_size 32M
php_value session.gc_maxlifetime 2880
php_value session.save_path “/var/cpanel/php/sessions/ea-php73”
php_value upload_max_filesize 32M
php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit# php — BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php — END cPanel-generated handler, do not edit`