Home › Forums › Legacy Support › Support queries › Other issues › Email template token for quiz
Tagged: quiz email template token
- This topic has 22 replies, 3 voices, and was last updated 3 years, 6 months ago by Veronica.
-
AuthorPosts
-
October 9, 2020 at 8:52 am #317184szabonyelviskolaSpectatorI'm completely lost... First of all, I do not understand why we need a new Trello card. The feature is done as I thought. It should be included in the Vibe course module plugin of 3.X. What is the connection of the issue in react quizzes with this {{quiz.result_remark}} additional email template token? When do you think you can provide an updated plugin for this {{quiz.result_remark}} feature? This is most important for me, all the rest were additional improvements and I thought they will be included automatically in an update. But if it is difficult I leave it. I need the {{quiz.result_remark}} token!October 10, 2020 at 1:36 pm #317493Anshuman SahuKeymasterOk update released for the vibe course module plugin 3.9.9.5 . You can use the " {{quiz.remarks}} " token in quiz evaluate email .edit link provided in wp-admin -> lms -> settings -> touch points -< quiz evaluatedOctober 10, 2020 at 6:17 pm #317519szabonyelviskolaSpectatorThanks! I have set up and I have the remarks. The only problem that I have found that the remarks are in txt format not in HTML. Something like this: "You obtained 4 out of 57 in quiz MOCK EXAM with following remarks: <h5>‘I’m from San Diego, the USA, but I work in London, UK, seven months a year. I like life in the UK, but it’s very different. In San Diego, I live <span style="text-decoration: underline;"><span style="color: #ff0000; text-decoration: underline;">in a big</span></span> house and drive to the shops because they are ten kilometres from my house. In London, I live in a very small flat and I ride<span style="text-decoration: underline;"><span style="color: #ff0000; text-decoration: underline;"> my bike</span></span> to work because I don’t have a car. I’m often tired because we work six days a week.’- says Ben Jamison.</h5>" Is any possibility to have it in HTML?October 13, 2020 at 5:41 am #317874VeronicaModeratorhi for email please try adding this code in your wplms-customizer.php file in wplms customizer plugin : : add_filter( 'wp_mail_content_type', 'set_content_type' ,9999999); function set_content_type( $content_type ) { return 'text/plain'; } and if above does not works remove it and try this one : add_filter( 'bp_email_use_wp_mail', '__return_true ' );October 13, 2020 at 8:28 am #317915szabonyelviskolaSpectatorI have tried both of them. Neither one is working. But I would like to have HTML, not plain text.October 14, 2020 at 11:06 am #318226VeronicaModeratorhi Try adding this code in wp-admin > Plugins > Editor > select WPLMS Customizer Plugin > wplms-customizer.php add_filter(‘wp_mail_content_type’, ‘text/plain’, function () { return ‘text/html’; },999); this is the issue with BuddyPress not the wplms ones. thats why i suggested you the solution provided by them. here is the detailed information: https://buddypress.org/support/topic/buddypress-mails-get-sent-text-only/ https://buddypress.org/support/topic/buddypress-messagecomment-emails-not-sending-since-update/ https://wordpress.org/support/topic/emails-from-bbpressbuddypress-sent-in-plain-text-instead-of-html/ https://wordpress.org/support/topic/emails-sending-out-in-raw-html/ https://wordpress.org/support/topic/emails-and-messages-showing-html-format/ you can also contact the BuddyPress support system for their support. or try the above onesOctober 15, 2020 at 5:27 pm #318624szabonyelviskolaSpectatorI have found out, that the {{quiz.remarks}} token is already built into the system without any change of Vibe Course Module plugin. (theme 3.9.9.) The final solution for HTML mail is here if anybody will have a similar problem: https://ast.io/html-emails-buddypress-bbpress/ Thanks for the helpful links. You can close the topic. :)October 16, 2020 at 7:46 am #318783VeronicaModeratorthanks for confirming here good to know it is solved now closing this one
-
AuthorPosts
- The topic ‘Email template token for quiz’ is closed to new replies.