Email template token for quiz

Home Forums Legacy Support Support queries Other issues Email template token for quiz

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #317184
    szabonyelviskola
    Spectator
    I'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!
    #317493
    Anshuman Sahu
    Keymaster
    Ok 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 evaluated
    #317519
    szabonyelviskola
    Spectator
    Thanks! 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?
    #317874
    Veronica
    Moderator
    hi 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 ' );
    #317915
    szabonyelviskola
    Spectator
    I have tried both of them. Neither one is working. But I would like to have HTML, not plain text.
    #318226
    Veronica
    Moderator
    hi 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 ones
    #318624
    szabonyelviskola
    Spectator
    I 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. :)
    #318783
    Veronica
    Moderator
    thanks for confirming here good to know it is solved now closing this one
Viewing 8 posts - 16 through 23 (of 23 total)
  • The topic ‘Email template token for quiz’ is closed to new replies.