j.overdevest
Forum Replies Created
-
saveImage(canvas) is the function that is ought to be invoking the PHP script.
However that is not happening. I can’t seem to find the problem.The PHP script is working fine, when called from the link in the browser (with a hardcoded base64).
Forum: Plugins
In reply to: [Awesome Surveys] Exportable DataAre you still working on a export function?
Forum: Plugins
In reply to: [Theme My Login] Log in . Log out not showing on menuI have got the same problem.
A solution is very welcome.Thanks,
JeroenI have send you an email with the screenshot.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Send mail with attachment (certificate)Hi,
I’m now trying to add the certificate as an attachment. However, I’m struggling a little with invoking other files and directing to other classes. Can you please help me with the following code I put in class.lpr-email.php in function send:
public function send() {
$email_settings = get_option( ‘_lpr_settings_emails’ );
$headers[] = ‘Content-Type: text/html; charset=UTF-8’;
$headers[‘from’] = ”;
$headers[‘bcc’] = ‘Bcc: [email protected]’;$user_id = get_current_user_id();
$course_id = get_transient( ‘learn_press_user_finished_course_’ . $user_id );
if( LPR_Certificate::learn_press_user_has_passed_course( $course_id, $user_id))
{
$attachment = LPR_Certificate::learn_press_certificate_download_url( $course_id, $user_id );
}
else
{
$attachment = “”;
}if ( is_array( $email_settings[‘general’] ) && !empty( $email_settings[‘general’][‘from_email’] ) )
{
$headers[‘from’] .= ‘From:’;if ( !empty( $email_settings[‘general’][‘from_name’] ) ) {
$headers[‘from’] .= ‘ ‘ . $this->filter( $email_settings[‘general’][‘from_name’] );
}$headers[‘from’] .= ‘ <‘ . sanitize_email( $email_settings[‘general’][‘from_email’] ).”>\r\n”;
}delete_transient( ‘learn_press_user_finished_course_’ . $user_id );
return wp_mail( $this->to, $this->filter( $this->subject ), stripslashes( $this->message ), $headers, $attachment);
}Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Send mail with attachment (certificate)Can you still provide me with this information?
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Update version 0.9.9Great job updating LearnPress weakly! It’s getting more useful every week!!
In my opinion, still some very important functionalities are missing. Hope you are wanting to help all of us by developing the following list of features for your plugin:
– A nice overview of the results that students get for their quizzes.
– One administrator that can create new students and can assign different courses independently for every user.
– For the user himself/herself; what courses he/she still need to finish and before what deadlineForum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Send mail with attachment (certificate)Thank you for your reply.
Where in the php-files are the emails created? I also want the mail to be send to the administrator namely.
Thanks