• justaniceguy

    (@justaniceguy)


    As the title say, plugin uses (pulls) e-mail notification templates from 2 different folders. For example:

    checkmail_email.php is pulled from
    wp-content/themes/evolve-plus/ultimate-member/email
    (which I am ok with)

    while
    resetpw_email.php is pulled from
    wp-content/plugins/ultimate-member/templates/email
    (which I am NOT ok with)

    Correct e-mail template (the one I want it’s templates to be used) is located within first example folder and I have no idea why plugin uses template from this folder

    I have checked the article here: https://docs.ultimatemember.com/article/1335-email-templates but I don’t have child-theme so I am not sure what to do to fix this issue.

    That being said, my question are:
    1. How it is possible that two different e-mail template folders are used?
    2. By what criteria is decided which e-mail templates UM will use?
    3. Which of those two template folders I should use?
    4. How to force UM to use that particular folder and not randomly one of those two?
    5. May I edit default e-mail template files and put same versions in both folders in order to be sure that UM will use correct ones?

    Site (it’s live) runs on WP 5.9.1, evolve plus theme 2.9.9.8, UM ver 2.3.1 (being properly upgraded version after version as they were published for more than several years), PHP 7.4.28

    Thank you.

    UPDATE:
    It looks like there is a difference in who initiated password change (which is another issue popped out and I will open separate topic). Was it initiated by user/member by clicking on “I have forgot password” at logging page/form or it was manually initiated by site administrator from the user/edit user setting in WP dashboard. Depending of those two UM send different resetpw_email.php template (pulls it from different folders described above).

    • This topic was modified 3 years ago by justaniceguy. Reason: adding details
    • This topic was modified 3 years ago by justaniceguy. Reason: adding details
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter justaniceguy

    (@justaniceguy)

    So I have figured out:

    Everything member/user related uses e-mail templates from path in first example.

    Everything WordPress dashboard/admin activity related uses e-mail templates from path in second example.

    Remained questions:
    3. Which of those two template folders I should use (& how to set up that)?
    5. May I edit default e-mail template files and put same versions in both folders in order to be sure that UM will use correct ones?

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @justaniceguy

    If you have overridden the default UM Email templates via your theme, it will automatically use those templates in the theme directory. You cannot use both email templates from two different directories.

    Thread Starter justaniceguy

    (@justaniceguy)

    I haven’t been doing any overriding myself unless theme has than that upon it’s installation.

    May I replace templates from UM mail directory with the templates from Theme mail directory (being aware that with each UM update I will have to repeat replacing procedure) ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘UM uses 2 different e-mail templates folders for notifications’ is closed to new replies.