Support » Plugin: Ultimate Member – User Profile, User Registration, Login & Membership Plugin » Email translation disappears with every update

  • Email translation disappears with every update

    It really is very time consuming! All e-mails will be translated in approximately 60 minutes. Every time it is the same – the work is destroyed and the translation returns to the English version. Nightmare!

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @schuerich

    Could you provide what WordPress installation do you use? Is it Multisite or single site? Also please clarify do you use some multilingual plugins? Email Notifications are compatible with WPML translations.

    Or do you have one language and you have to change templates every time you update?

    Where your custom translated email notifications templates are stored?

    Let me know,
    Thanks!

    Thread Starter schuerich

    (@schuerich)

    “Where your custom translated email notifications templates are stored?”

    I don’t know where they are stored. Ultimate Member / Settings / Email. You have 13 fields there, each edited field is translated and saved directly there. It is 100% bug because we have this problem on many sites.

    It is possible that the bug shows up only when restoring the page from a backup, e.g. when moving to a new server. For example, we use All-in-One WP Migration, but this plugin does a 1: 1 backup.

    There is a problem somewhere and we are wasting a lot of time! An hour on average for re-translation, and for example 40 pages? 40 x 60 minutes! The translated content disappears and goes back to the EN version.

    Could you provide what WordPress installation do you use?
    SINGLE no multilingual plugins!

    One language.

    • This reply was modified 7 months, 2 weeks ago by schuerich.
    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @schuerich

    Thanks for getting me back. Could you also provide the information on what theme do you use? When you customize UM email templates the copy of the files with your customizations is stored to your theme.

    Could you remember if the plugin update happens with the theme? I am trying to find the cause of the problem and will try to help you. I’m sorry that you are having problems with our plugin.

    Let me know,
    Thanks!

    Thread Starter schuerich

    (@schuerich)

    Theme: JNEWS
    https://themeforest.net/item/jnews-one-stop-solution-for-web-publishing/20566392

    There is a compatibility problem with this theme, but it mainly concerns form display – dropdown fields are displayed incorrectly and tooltips are also displayed incorrectly:

    https://www.dropbox.com/s/di0qup3qvdrajik/Image%20308.png?dl=0

    It is possible that some file is deleted when restoring from backup. In what file are the translation and email templates saved?

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @schuerich

    Could you provide the link where I may investigate the page CSS for the form fields?
    I think this conflict can be fixed by the additional CSS.

    All email templates which you customized via wp-admin Ultimate Member > Settings > Email screen are stored in your theme folder:

    wp-content/themes/{theme-folder}/ultimate-member/email/{template_name}.php

    Please create the child theme and use it to avoid the issues after upgrade your parent theme. Also all CSS customizations for getting the fix for form fields you may insert to your child-theme.

    Let me know the links,
    Best Regards

    Thread Starter schuerich

    (@schuerich)

    It is possible that the problem occurs with the theme updates. It is strange that translations are stored in such a directory. Shouldn’t they be in LANGUAGES or some other folder that is not at risk of deleting non-theme files? After all, the translations of messages in the Email section have nothing to do with the theme!

    I do not link to websites in public. Is it possible for you to provide a contact address?

    These fixes are important to us because we want to buy the Extensions Pass in November.

    • This reply was modified 7 months, 1 week ago by schuerich.

    @nsinelnikov

    I have been having (and reported) that problem since the implementation of version 2.

    Contrary to what you are saying, the email templates which we customized via wp-admin Ultimate Member > Settings > Email screen are not stored in the theme folder. They are stored in the plugin folder: wp-content/plugins/ultimate-member/templates/email.

    So every time the plugin is updated it does override the customization that we applied.

    This is by DESIGN… bad design. I did complain about that months ago but nodoby seem to listen, understand the problem or wanted to fix it.

    That use to work fine in version 1 but was broken in version 2.

    You should revisit that implementation.

    @schuerich

    As work around I am saving a copy of the folder wp-content/plugins/ultimate-member/templates/email and recopy it every time I do a plugin update.

    That is the best I could do since as I said before nobody at Ultimate Menber care to fix that issue.

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @schuerich

    Sorry for the delayed answer. The most commonly used place for modified templates is a folder inside a theme/child-theme. This logic for storing changed templates was chosen starting with the Ultimate Member version 2.0. And this applies not only to emails but also to other templates. Please note that developers can immediately copy an entire folder into a theme and change templates without using the plugin UI. This is a popular practice for many plugins with many installations.

    In a situation where you are using a theme not developed by you personally, but from the directory, there are many recommendations for customization, one of which is the use of a child theme.

    See our document here: https://docs.ultimatemember.com/article/1516-templates-map

    We are planning to add changes in which using a hook it will be possible to change the storage location of templates in future releases.

    Let me know if you have other questions,
    Best Regards

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @ldeschenes

    Could you provide the details of your installation? Do you have multisite or it’s a single site installation? Do you use the latest Ultimate Member 2.1.12 version?

    It looks like a conflict in your installation. Do you use the child-theme?

    Let me know,
    Thanks!

    ldeschenes

    (@ldeschenes)

    Hi @nsinelnikov

    I have single installation (not multisite) and no child theme.

    You are just confirming that starting with version 2.0. the logic for storing templates was changed and that this apply to emails. It was fine to change it for other templates but email templates should not have been included.

    Emais templates were changed thru the UI in version 1.x and this logic is still there in Settings – E-mail. So @schuerich and I just used that facility and it get store in wp-content/plugins/ultimate-member/templates/email. This get overriden on the next UM update.

    It is fine for developper to modify code in child theme. But you should not force non-developper like me to create a child theme just to customize email templates. I have no other use for child theme.

    You should revert to the logic of 1.x for email templates.
    I have been asking for that since the early days of 2.0.
    At the time you had so many bugs to fix that I was told that it would be look at later.
    Now that 2.0 is stable, you should revisit that logic.

    Please escalade this to @champsupertramp
    Thanks

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @ldeschenes,

    There was a reason for changing the logic of the place for storing the email templates.

    1.3.x version uses the wp_options table for storing the email templates. It’s ok for the small email templates without special chars and some specific cases when this way can destroy all Ultimate Member plugin options.

    2.x version uses the folder inside theme or child-theme (wp-content/themes/{theme-folder}/ultimate-member/email/{template_name}.php).

    We will add warnings that changes can be discarded if you are using a premium theme or theme situated in wp.org directory or trying to edit files directly in (wp-content/plugins/ultimate-member/templates/email/{template_name}.php).

    Also, we are planning to add the hooks where you may change the place for storing templates. It could be the uploads folder which isn’t depend from updates.

    If your files are changed inside the plugin templates folder, this is an error. It can be caused by a conflict with other plugins or problems with accessing the theme folder.

    You contact me here team@ultimatemember.com to resolve this issue.

    Let me know,
    Best Regards!

    ldeschenes

    (@ldeschenes)

    Hi @nsinelnikov

    I like that you are planning to add the hooks where we may change the place for storing templates. That would fix this issues.
    PLEASE PUT A PRIORITY ON THIS.

    As far as files being changed inside the plugin templates folder, it looks like I am not alone as @schuerich has the exact same problem. I dont need to fix that as I use the workaround of backing up and restoring the email templates after every plugin update.

    Looking forward for the plugin update including the facility of changing the place for storing templates.

    Thanks!

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @schuerich

    You could contact me here team@ultimatemember.com

    Best Regards

    azzuwp

    (@azzuwp)

    Hi there,
    I do have a child theme. So, I can edit Email templates directly from backend Ultimate Member>Settings>Email and there will be no problems after updating theme and plugins..did I get it right?
    Thank you in advance

    Plugin Author nsinelnikov

    (@nsinelnikov)

    Hi @azzuwp

    Yes, you are right. The child theme is the best way to avoid issues with customized templates when you update theme or plugins.

    Best Regards

Viewing 15 replies - 1 through 15 (of 19 total)
  • You must be logged in to reply to this review.