When using the Flow view on the Dashboard, the link to “Other subscription sources” links to /wp-admin/admin.php?page=newsletter_main_extension
but is missing the “s” in “extensions”
How to show lists in different language? Because now in two languages site, they show on both languages in pop-up form…
]]>After updating the Newsletter plugin to 8.6.1 on one of my sites, I have a message on my homepage: “No lists is set to be shown on Subscription/Form configuration for the “lists” field. This notice is shown only to administrators to help with configuration.”
In the plugin, there is this message: “There are issues with the delivery engine. Please check them here.”
When I check them, I get these messages:
“Scheduler KO
The cron system is NOT triggered enough often. Delivery job KO
The job is late. You probably need and external scheduler trigger.”
On my sites that are running the 8.6.0 version of the plugin, I do not have these messages.
What’s happening?
We use the newletter plugin an a different way from most. We do allow people who visit our website to get the popop and subscribe. However, as a company that runs a sailing school, we also want to send newsletters to our customers, the people in our database.
I have a PHP program that lets us upload our customer database to the newsletter database, and assign these people to a specific list. And my program “knows” what that list number is, and also knows the list with subscribers (the list that new subscribers get assigned to automatically).
What I would like to be able to do is flag a list as ‘locked’ so it can’t be renamed or deleted or have anything done with it. In my case, for example, I would lock the 1st three lists. This way, no-one could mess up the lists by accident. They would first have to unlock it, and then mess it up!
The people using the newsletter plugin know what they should and should not do, but people make mistakes.
If anyone knows how to do this (I am a programmer, so I can actually go in to the plugin and make changes), please let me know. If not, perhaps this could be a request for a feature. Others might find this useful as well, to prevent accidental messing up of lists.
]]>Hi,
I had a page that was using version 8.5.2 and I’ve updated to the latest 8.6.0 release. Version 8.5.3 made some changes to the header widget and added more feature to style it. But now a default header widget has a new <span> element where all the styles like “text-decoration:none” are applied to so the actual link is still underlined. It also has two <br> between title and text now.
Here is 8.5.2:
and this is 8.6.0:
It would be nice to have the the link styles back on the <a> tag again and maybe the option to remove the additional empty line between title and text.
thank you, Michael
]]>Ciao, complimenti per il bel lavoro! Ero interessato all’acquisto ma c’è una piccola caratteristica che mi blocca: vorrei che i miei prodotti woocommerce venissero scelti randomicamente e non solo gli ultimi inseriti. è possibile avere questa possibilità perchè è particolarmente limitante altrimenti.
Grazie mille,
Matteo
]]>Warm Greetings,
I am implementing a multilingual website in WordPress using GTranslate, with English as the default language and additional support for Spanish and Chinese. I am currently using “The Newsletter Plugin” to manage subscriptions, but I have noticed that confirmation emails are only sent in English. I would like to know if there is an option to automatically translate these emails according to the user’s language, or if the paid version of “The Newsletter Plugin” includes features that allow this adaptation in emails.
I appreciate any guidance on this matter.
Thank you in advance for your help.
]]>Can a newsletter or template be exported to later be imported in another wordpress installation?
Thanks a lot for your help.
]]>Hi,
Is it possible to hide the “wp-admin” path of the online view link? For example, change “mydomain.com/wp-admin/admin-ajax.php?action=tnp&na=v&nk=1-894378f6c1&id=3” to “mydomain.com/admin-ajax.php?action=tnp&na=v&nk=1-894378f6c1&id=3”.
Thank you.
]]>This was unexpected behavior, so I thought I’d post. I scheduled a newsletter for today, one day after the US shifts daylight savings. I schedule my posts to go live 15 minutes before the newsletter starts to email. The Newsletter scheduled time changed, apparently due to the server time changing with daylight savings. This meant it went an hour earlier than I had scheduled it (and before the post it pointed it to was scheduled to be published). I would have expected the newsletter scheduled time to remain the same, even if the server’s time changed. I’m sure it’s a relatively rare issue and one easy to work around, but a surprise nonetheless.
]]>Hello!
I love using the newsletter plugin i think its the best on its job so far but i ran into a problem.
I know it is not recommended to send newsletters through a @gmail.com account. But this is what i have been doing so far since my client wants to use his gmail for all of his woocommerce order updates as well as some other plugins.
For that to work i use the free version of WP Mail SMTP and set it up with the Gmail. I know there are serious limitations using that though… and i am afraid of possibly getting banned in gmail if i sent any newsletters using it even though we currently have a list less than 100 users. Currently only confirmation mails have been sent through it to the subscribers.
I do have a specific newsletter email that is @sitename.com from my hosting provider but the problem is that even if i set it as a “from address” through the newsletter plugin the emails still get routed through the WP Mail SMTP thus they get sent through Gmail.
Is there any way to disable the SMTP specifically for the newsletter plugin emails or maybe a way to use dual SMTPs without destroying anything?
Basically i would like to use my [email protected] email for the plugin and the @gmail.com email for the rest of my website’s actions.
Thanks in advance!
]]>Hi,
I’d like to know if it’s possible to target specific customers for the newsletter, i.e., can I set the newsletter to be sent only to customers who haven’t made a purchase in the last two weeks?
Thank you!
]]>Hi,
How to trigger popup starting from the 1st visit? Right now it start from 2nd visit.
]]>How can I avoid this Error?
[26-Oct-2024 11:15:04 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /data/web/1/000/066/357/272056/htdocs/xxx/wp-content/plugins/newsletter/includes/upgrade.php:310
Stack trace: 0 /data/web/1/000/066/357/272056/htdocs/xxx/wp-content/plugins/newsletter/includes/upgrade.php(545): NewsletterUpgrade->run() 1 /data/web/1/000/066/357/272056/htdocs/xxx/wp-content/plugins/newsletter/plugin.php(312): include_once(‘/data/web/1/000…’) 2 /data/web/1/000/066/357/272056/htdocs/xxx/wp-includes/class-wp-hook.php(324): Newsletter->hook_activate(false) 3 /data/web/1/000/066/357/272056/htdocs/xxx/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 4 /data/web/1/000/066/357/272056/htdocs/xxx/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 5 /data/web/1/000/066/357/272056/htdocs/xxx/wp-admin/includes/plugin.php(703): do_action(‘activate_newsle…’, false) 6 /data/web/1/000/066/357/272056/htdocs/xxx/wp-admin/plugins.php(60): activate_plugin(‘newsletter/plug…’, ‘https://neu.pla…’, false) 7 {main}
thrown in /data/web/1/000/066/357/272056/htdocs/xxx/wp-content/plugins/newsletter/includes/upgrade.php on line 310
]]>Honestly this is so low priortiy, it’s next to ‘ignore’ on the ladder.
Is there any reason that changelog.txt has not been updated since 7.9.9?
I know the changes are included in the readme.txt so it is not a real issue. Just wondered if I had missed an announcment or whether it is a WordPress codex/plugin styleguide change.
Hi, thanks for this nice plugin!
I setup the newsletter subscription to request the name filed to be compiled.
This works if I put the newsletter widget in the website but if, from the Gutenberg editor I insert the block newsletter only the email field is asked to the user and the privacy box. User are able to subscribe from here without insert the name.
How to resolve?
I expect if the name is a required field is required also in the article not only on the website widget.
Thank you!
hello, is there a way to automatically add collected email addresses to Brevo / Send in Blue ? Thank you.
]]>Hello,
We are using Newsletter plugin with Amazon SES setup. It is working fine. But we suddenly got an error after progress of 39% See screenshot https://i.imgur.com/EukLUwH.png
https://i.imgur.com/ioU1YMF.png
What is the exact reason of this error ?
]]>I’m using a custom theme that includes its own login popup, and I’d like to add a newsletter subscription checkbox when a user registers. The theme provides a hook, popup_user_register/before_form_fields
, which I can use to add custom form fields. However, I can’t find any guidance in the newsletter plugin documentation on which code snippet to call to link this checkbox to the newsletter subscription.
Also, is the plugin compatible with social login such as Nextend social login or anyother?
]]>This is perhaps more F.Y.I. than request for help. I found that a paying Newsletter customer was having the same problem (I’m on the free version). When I created a newsletter and put in a direct URL to a blog post, it worked. When I saved and scheduled the newsletter, the preview link also worked and looked just the way I’d pasted it in. But when I mailed the newsletter out, the link went from “domain/blog/post” to “domain/wp-admin/admin.ajax.php……” and it tripped my Cloudflare security, blocking visitors who clicked the newsletter post. I couldn’t find any documentation about the advanced tracking functionality (although I did toggle it back to “standard”, as recommended in the forum post linked above). I would love to know why this suddenly changed (first time I heard from a newsletter recipient was last week and we couldn’t recreate it) and perhaps more detail about what the tracking feature is inserting.
]]>If someone who has been a subscriber already, then unsubscribes and afterwards tries to subscribe again via the regular subscription form and using the same email address as before, there is an error message saying the subscription failed.
In the plugin settings, I allowed repeated subscriptions (sorry, I have German language files active here, so I do not know the exact wording). I would have thought that this would handle the problem, but it doesn’t. Is there any other chance to change the plugin behavior?
]]>Subscription notification email is sent to empty email address if Notifications setting is Yes and email field is empty.
Subscription > Settings and messages > Advanced > Notifications
This causes errors with SMTP.
Would recommend to set Notifications to No if email field is empty or skip sending of notification if field is empty.
Newsletter 8.5.2, WordPress 6.3.5, PHP 8.1.x
]]>Getting these entries in debug.log
[03-Oct-2024 11:43:43 UTC] PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in .../wp-content/plugins/newsletter/includes/module-base.php on line 964
This is the code:
963: static function sanitize_gender($gender) {
964: $gender = trim(strtolower($gender));
965: if (empty($gender)) {
966: return 'n';
967: }
Seems the problem is caused when no gender is used so $gender
is null
before this function call.
Suggested fix: Check for null
in function before using strtolower()
and trim()
.
Newsletter 8.5.2, WordPress 6.3.5, PHP 8.1.x
]]>so I added the following code to add an optional checkbox to subscribe to the newsletter at checkout:
// SUBSCRIBE TO NEWSLETTER START
// Add the "Subscribe to Newsletter" checkbox on the WooCommerce checkout page
add_action('woocommerce_review_order_before_submit', 'add_newsletter_subscription_checkbox', 10);
function add_newsletter_subscription_checkbox() {
woocommerce_form_field('subscribe_newsletter', array(
'type' => 'checkbox',
'class' => array('form-row-wide'),
'label' => __('Subscribe to our Newsletter'),
), WC()->checkout->get_value('subscribe_newsletter'));
}
// Save the checkbox value when the order is placed
add_action('woocommerce_checkout_update_order_meta', 'save_newsletter_subscription_checkbox');
function save_newsletter_subscription_checkbox($order_id) {
if (isset($_POST['subscribe_newsletter'])) {
update_post_meta($order_id, '_subscribe_newsletter', 'yes');
} else {
update_post_meta($order_id, '_subscribe_newsletter', 'no');
}
}
// Display the subscription status in the WooCommerce order admin page (optional)
add_action('woocommerce_admin_order_data_after_billing_address', 'display_newsletter_subscription_in_admin', 10, 1);
function display_newsletter_subscription_in_admin($order) {
$subscription = get_post_meta($order->get_id(), '_subscribe_newsletter', true);
echo '<p><strong>'.__('Newsletter Subscription').':</strong> ' . ucfirst($subscription) . '</p>';
}
// Process the newsletter subscription after checkout
add_action('woocommerce_thankyou', 'custom_process_newsletter_subscription');
function custom_process_newsletter_subscription($order_id) {
$subscription = get_post_meta($order_id, '_subscribe_newsletter', true);
if ($subscription === 'yes') {
$order = wc_get_order($order_id);
$email = $order->get_billing_email(); // Get the customer's email from the order
// Check if the Newsletter Plugin function exists
if (function_exists('newsletter')) {
// Attempt to subscribe the email
try {
newsletter()->subscribe([
'email' => $email,
'status' => 'C' // Automatically confirmed
]);
} catch (Exception $e) {
error_log('Newsletter subscription failed: ' . $e->getMessage());
}
} else {
error_log('Newsletter plugin function not found.');
}
}
}
// SUBSCRIBE TO NEWSLETTER END
The checkbox & text shows up on the checkout page and when someone subscribes it shows in the back end on the order page for each customer, only the new subscribers are not added to the current list of subscribers. Am I missing something here? Has anyone else tried something similar?
]]>Hi,
I sent my last NL on September 5, 2024, and everything worked fine.
Today, unfortunately, in my test NL e-mails the links are going to a Sign-in page instead of posts.
https://snipboard.io/LaCMzX.jpg
What’s wrong now?
]]>hello
i’ve been sending myself test emails so i can view the progress of my design and have noticed something which could probably do with correcting…
when i click on ‘View entire message’ and then look at the source code, i notice there are two </style> tages in the code, but no preceding <style> tags
i assume they need adding by the developer and releasing as a small update?
on a similar tip, i see there’s a field in the settings to add custom styles for the subscription and profile editing forms, but i think it would be great if there was another field to inject custom css into the actual newsletter, as the existing settings are somewhat limited. something for the next update perhaps?
]]>Hello! as topic title…. I guess if there any way to move some selected subscribers to a specific list. I just imported more than 1000 entries and I have to distribute into some lists. Or I have to create some separated CSV?
Thanks!!
]]>Hi, is there a way to block unreal emails or Certified Emails from being inserted into the field of the emails?
for example block gmail.it or glail.com or other stuff giving error to the mail server, and in italy we have also certified emails like pec.it that are not normal emails and they give erorr to the smtp server, and when the errors are many the smtp server is blocking also all other emails for a while..
]]>Hello Newsletter hive
I’m using the paid version of the Newsletter plugin and like using the columns block. It appears to be able to handle 2 and 3 columns okay, but now I want a responsive 4-column block.
It would be great if future updates could include this in the interface, but in the meantime is there a way this can be simulated? I’d be happy to hack a file for now if someone could direct me to the correct file?
Using the gallery block doesn’t help as that only gives the option for 2 or 3 column rows.
Thanks in advance
]]>i added advanced custom field “Interests” on register page (wp users addon intalled), which i want to send via api to Neswletter custom field “Casefield” when user registers on website. Everything works – wordpress user and newsletter subscriber appears, exept value not sending. In acf field values are one per line, when in newsletter inline comma separated. i tried codes with convertion – also doesnt work. api keys i use created in settings – api – api v2. current code is
add_action('user_register', 'send_interests_to_newsletter', 10, 1);
function send_interests_to_newsletter($user_id) {
$interests = get_field('Interests', $user_id);
if (!empty($interests)) {
$api_url = 'https://donesgrunge.com/wp-json/newsletter/v2/subscribers?client_key=&client_secret=';
$data = array(
'email' => wp_get_userdata($user_id)->user_email,
'status' => 'to be confirmed',
'extra_fields' => array(
array(
'name' => 'casefield',
'value' => $interests,
),
),
);
$response = wp_remote_post($api_url, array(
'method' => 'POST',
'body' => json_encode($data),
'headers' => array(
'Content-Type' => 'application/json',
),
));
if (is_wp_error($response)) {
error_log('Error: ' . $response->get_error_message());
} else {
error_log('Sucsess: ' . wp_remote_retrieve_body($response));
}
}
}
please help
]]>