Tavan Eftekhar
Forum Replies Created
-
AuthorPosts
-
Tavan EftekharParticipant
I think my caching via my web host was the issue… In case anyone sees this maybe they can turn off caching and clear cache and try again.
Tavan EftekharParticipantThis reply has been marked as private.Tavan EftekharParticipantYes that is checked. Could it be an installation issue? Did you see my previous post about the database missing the option?
Tavan EftekharParticipantAlso my database has no option called “fep_announcement_email_queue”… Not sure if that’s important
Tavan EftekharParticipantI did some debugging… In the class-fep-email-beautify.php file, at the start of the function responsible for sending announcements, function ann_email_interval_event_callback(), there is a line of code:
if( ! $queue || ! is_array( $queue ) )
return false;This is returning false every time the cron runs. Does this help narrow down the problem?
Tavan EftekharParticipantYes and I can see my list of crons as well and it shows up with the details:
fep_eb_ann_email_interval_event Fep_Email_Beautify->ann_email_interval_event_callback()
Running every 30 minutes.
I’ve noticed several people seem to be having this issue on the support forums and was hoping someone had figured out a few step by step solutions. Any thoughts?
Tavan EftekharParticipantI’m also having the same issue. Can’t seem to figure out how to get emails to send for announcements. Messaging emails work fine though.
Tavan EftekharParticipantI tested it out myself by further editing the class-fep-email-beautify.php file as well.
In the function filter_before_email_send, I added stripslashes( ) around the $content variables.
This seems to have fixed all of my problems, but I’m not sure if I’ve left any big dangers by doing so. Is there any issue with using stripslashes() there?
Thanks,
TavanTavan EftekharParticipantI went ahead and tested it deleted ALL 5 uses of the wp_kses_post function for now as I’m the only one using the admin system. It seems that I can finally get the HTML to store properly in the fep settings. But when I actually go to test an email notification, the email is showing up blank because all of the html has \’s in front of quotes and apostrophes.
So for example, if my saved HTML shows as in my settings page… When I get an email that uses that HTML I get a blank email, then I check the code for that received email to see why it is blank, and I see it isn’t blank, but actually that it is trying to show me which results in nothing being shown.
I imagine I need to strip the slashes somewhere but I don’t know how or where.
How can I strip the slashes properly for when the emails are sent?
Thanks!
TavanTavan EftekharParticipantThank you for your reply.
I will edit the file, but I’m having trouble finding the lines of code referenced. I have version 4.8.
Just to compare, my class-fepadmin-settings.php file has 1533 lines.
Line 444 is an empty line, and so is 512 (lots of double line spacing in the code file).
I searched for the instances of wp_kses_post in the file (found 5 total) and found there are 4 in the function called field_output, and 1 in the function called posted_value_sanitize.
Which of these instances should be modified or removed?
Thank you!
Tavan
Tavan EftekharParticipantHere is a sample of the type of HTML I am trying to use. The html and style tags seem to get removed when I click save:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” dir=”ltr”>
<head>
<meta name=”viewport” content=”width=device-width”>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
<title>Northwestern Medical Review</title>
<style type=”text/css”>@media only screen and (max-width: 640px) {h1 {
font-size: 18px !important;
}
h2 {
font-size: 16px !important;
}
h3 {
font-size: 14px !important;
}
.content {
padding: 10px !important;
}
h1.content {
padding: 0px !important;
}
.content-wrapper {
padding: 10px !important;
}
.headlinks span {
display: none;
}
.headlinks a {
display: block !important;
font-size: 11px !important;
}
}</style>
</head>
<body style=”font-family: ‘Arial’, Arial, Sans-Serif; box-sizing: border-box; font-size: 13px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6; background: #f5f5f5; margin: 0; padding: 0; background-color: #f5f5f5;”></body>
</html>Tavan EftekharParticipantI’m having issues setting up email piping.. can someone please help who have figured it out? I followed all of the steps, but when I reply to an email I get this error email back:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:pipe to |/home/thetestb/public_html/wp-content/plugins/front-end-pm-pro/pro/fep-email-parser/email-piping.php
generated by messaging@thetestbuster.comThe following text was generated during the delivery attempt:
—— pipe to |/home/thetestb/public_html/wp-content/plugins/front-end-pm-pro/pro/fep-email-parser/email-piping.php
generated by messaging@thetestbuster.com ——Error in argument 1, char 3: option not found
Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]
php <file> [args…]
-a Run interactively
-b <address:port>|<port> Bind Path for external FASTCGI Server mode
-C Do not chdir to the script’s directory
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value ‘bar’
-e Generate extended information for debugger/profiler
-f <file> Parse <file>. Implies `-q’
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
-T <count> Measure execution time of script repeated <count> times.Action: failed
Final-Recipient: rfc822;|/home/thetestb/public_html/wp-content/plugins/front-end-pm-pro/pro/fep-email-parser/email-piping.php
Status: 5.0.0Tavan EftekharParticipantHi I’m having this same issue, when I add my code in Text and then click save, it removes all of my css style tags. Any solution?
-
AuthorPosts