nicolan
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Group Email Subscription] Email sent in Plain Text FormatHi, Thanks for you answer.
I add this code in the snippet and you are right the email is sent in HTML. However, there is no carrier return meaning the nl2br() function is not used in that case.
Best regard,
Nicolas.
Forum: Plugins
In reply to: [BuddyPress Group Email Subscription] Email sent in Plain Text FormatHello,
Thank you for your feedback and for pointing me to the code section. I was able to investigate the source of the problem.
First, let me give you some background. A few years ago, I successfully installed your plugin, and my site was able to send emails without needing a specific SMTP configuration. However, a few weeks ago, my site stopped sending emails. I assumed that my provider had increased SMTP security by requiring authentication. To address this, I installed a plugin called Gmail SMTP, which allowed me to configure my new mailbox correctly. This plugin uses the nativewp_mail
function. Although I was able to send emails, I couldn't receive emails from BuddyPress (BP). To fix this, I had to install another plugin called Vibe BuddyPress to WP Mail Fix, which resolved the issue.
However, the emails I received were in plain text format.
I then started analyzing your code. Despite using the latest version of BuddyPress, since I’m now usingwp_mail
, the code branch being used is the one for older BuddyPress versions:
https://github.com/boonebgorges/buddypress-group-email-subscription/blob/efb91a1553d21a609e60aa7c739e423106c6e765/bp-activity-subscription-functions.php#L1091
Instead of the branch used for BuddyPress 2.5+ versions:
https://github.com/boonebgorges/buddypress-group-email-subscription/blob/efb91a1553d21a609e60aa7c739e423106c6e765/bp-activity-subscription-functions.php#L1011
To avoid HTML being converted to plain text, I removed theconvert_html_to_text
function on line 1355:
https://github.com/boonebgorges/buddypress-group-email-subscription/blob/efb91a1553d21a609e60aa7c739e423106c6e765/bp-activity-subscription-functions.php#L1355
Question: Why is the content being converted to plain text when usingwp_mail()
?
Additionally, this is more of a cosmetic issue, but when using this branch, the email content format differs from the format used withbp_send_mail
. Why is that? Is it possible to have the same format for both methods?
Form information, when I forced BP using add_filter as you advice, no email was sent. Moreover, after removing the code, I had to uninstall and install again your plugin to have it up and running.
Thanks for your help and support.
Best regards,
NicolasForum: Plugins
In reply to: [Time Tracker] Page not foundHi Amy,
Thanks for the investigation. It is now fine. However, when I updated the plugin, the WP scratch. I had to deactivate the plugin manually, uninstall it and redo the installation.
Thanks again for your support.
Best regards,
Nicolas.
Forum: Plugins
In reply to: [Time Tracker] Page not foundHi Amy,
I don’t see any Time Tracker page in my dashboard (I have only 26 pages). May be that pahe has not been created by the plugin.
Thanks,
Nicolas.
Forum: Plugins
In reply to: [Time Tracker] Page not foundHi Amy,
Thanks for the new version.
I updated the plugin and desactivate/activate it and I have the same message /timer-tracker page not found.
Br.
Forum: Plugins
In reply to: [Time Tracker] Page not foundThanks for your answer, it is indeed when I am on the xxx/time-tracker page that I have this message. I confirm I am logged in. WP is not able to find this page and I just don’t know why.
Why this /timer-tracker page is not created by the plugin ?