Instructor Email Not Showing recipient.name

Home Forums Legacy Support Support queries Other issues Instructor Email Not Showing recipient.name

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #265889
    sohohosts
    Participant
    The Instructor Activation Email (custom) is not showing the name, only shows   <span style="color: #555555; font-family: sans-serif; font-size: 20px; font-weight: bold;">Hi {{recipient.name}},</span>   Please refer to the image http://prnt.sc/stvdg8
    #265953
    Veronica
    Moderator
    hi, please let me know for the issue is it happening for the instructor only? are you using the custom registration form for instructor registration? can you please let me know the template that you have set for the activation for instructor?
    #266038
    sohohosts
    Participant
    <p style="box-sizing: border-box; margin: 0px 0px 22px; color: #4b4d4d; font-family: Lato; font-size: 14px;">is it happening for the instructor only?</p> <span style="color: #4b4d4d; font-family: Lato; font-size: 14px;">-- Yes in the student activation email it is not happening, it is only happening in the Instructor Email.</span> <p style="box-sizing: border-box; margin: 0px 0px 22px; color: #4b4d4d; font-family: Lato; font-size: 14px;">are you using the custom registration form for instructor registration? -- The Form is Based on the Fields Defined in WP-ADMIN->USERS->Profile Fields  http://prnt.sc/su8gtz</p> <p style="box-sizing: border-box; margin: 0px 0px 22px; color: #4b4d4d; font-family: Lato; font-size: 14px;">-- The Form Is Defined in WP-ADMIN-> LMS -> General Settings ->Registeration Forms -> Settings http://prnt.sc/su8kkc</p> -- The Form in in a page with the shortcode [wplms_registration_form name="instructor_registration" field_meta=1] https://prnt.sc/su8nxc <p style="box-sizing: border-box; margin: 0px 0px 22px; color: #4b4d4d; font-family: Lato; font-size: 14px;">can you please let me know the template that you have set for the activation for instructor?</p> The email Template is as in the image  https://prnt.sc/su8pyv Appearance -> Emails is http://prnt.sc/su8s5d A filled Form http://prnt.sc/su8v7j The User Profile Before Activation (Pending) When I register an Instructor or a Student I see that in the Name field of the Instructor the word "ARRAY" and nothing in the Student http://prnt.sc/su931u   I hope you have all the required information.
    #266181
    sohohosts
    Participant
    I just made a form for the student and it too has the same issue.
    #266358
    Anshuman Sahu
    Keymaster
    Ok please make sure that your users have name profile field filled n thier profile -> edit . Secondly please check wp-admin -> settings ->buddypress -> componenets -> active or not.
    #266396
    sohohosts
    Participant
    Ok please make sure that your users have name profile field filled n thier profile -> edit . --- Not clear what you are asking me to do, the user can not access the profile unless he activates his account. This whole issue is with the email that sends the user the ACTIVATION email. This is the first step, you fill the form and then activate the account. Secondly please check wp-admin -> settings ->buddypress -> componenets -> active or not. -- Once agian no idea what you are asking me to check here http://prnt.sc/sv21gn
    #266672
    Veronica
    Moderator
    the delay in reply due to support holiday. ok i will check some settings on your site please provide me the site url and admin credentials in private reply
    #266911
    sohohosts
    Participant
    This reply has been marked as private.
    #267209
    Veronica
    Moderator
    hi, please Go to wp-admin->Plugins->Editor->Choose WLMS Customiser Plugin. Edit the wplms-customiser.php file, add this code and save. Refer to this Screenshot: https://prntscr.com/fe50km
    add_filter( 'bp_email_use_wp_mail', function() { return false; },99);
    #267262
    sohohosts
    Participant
    Hi,   This line   add_filter( 'bp_email_use_wp_mail', function() { return false; },99); is already in there. https://prnt.sc/sx7luq I think it was given to me for some other issue. Just checked and the issue is still there.
    #267458
    Veronica
    Moderator
    hi, it's just that we are using buddypress to send the emails we have not write any code regarding this so we are trying to settle it down with this so try this

    add_filter( 'bp_email_use_wp_mail', function() { return true; },99);

     
    #267460
    Veronica
    Moderator
    if it's not to work then i need to replicate the same on my local setup so in that case please provide me all the steps one by one to replicate it
    #267596
    sohohosts
    Participant
    add_filter( 'bp_email_use_wp_mail', function() { return true; },99); This code was given to me to get the BB Emails to be sent in HTML and it works fine. All other emails are fine. The steps
    1. Go to https://staging.upskillslearning.com
    2. Scroll to the Bottom
    3. Click on "Register as an Instructor"
    4. Fill in the form
    5. Check your Email
    6. You will see that name is is not being picked up.
    THE ONLY ISSUE WITH THE EMAIL IS THAT THE ACTIVATION EMAIL FOR THE STUDENT AND THE INSTRUCTOR DOES NOT SHOW THE NAME WHEN USED WITH CUSTOM FORMS. There is another thread with the same issue at https://wplms.io/support/forums/topic/activation-email-shows-recipient-name/ but all the reply's are private so I cant see what resolution was presented.
    #267775
    Veronica
    Moderator
    hi, ok then i wll test the same on my setup and then let you know please remind me if i forgot to do the same!
    #269719
    sohohosts
    Participant
    Reminder
Viewing 15 posts - 1 through 15 (of 19 total)
  • The topic ‘Instructor Email Not Showing recipient.name’ is closed to new replies.