Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UR-989 Feature - User registered language with smart tag. #585

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

lekhnath005
Copy link
Contributor

All Submissions:

Changes proposed in this Pull Request:

When the admin approves the user, our plugin sends the approval email according to the default language. If the admin switches the dashboard language using the plugin language switcher and approves the user still, the default email will send instead of translated email. To resolve this issue in this PR we are storing the current language while user registration and also we can map the current language in the field via smart tag.

How to test the changes in this Pull Request:

  1. Register an user and check in the database usermeta table where you can see new meta key called ur_registered_language
  2. Goto form builder and in input box field in field option select smart tag called Current Language in the default box.
  3. check whether current language is set in that field or not.

Types of changes:

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (modification of the currently available functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully ran tests with your changes locally?
  • Have you updated the documentation accordingly?

Changelog entry

Feature - User registered language with smart tag.

Copy link
Member

@deepench deepench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@iamprazol iamprazol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !! 👍

Copy link

@Sanjuacharya Sanjuacharya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@iamprazol iamprazol merged commit 20c6d59 into develop Aug 2, 2023
1 check passed
@iamprazol iamprazol deleted the enhance/user-registered-language branch August 2, 2023 05:07
lekhnath005 pushed a commit that referenced this pull request Aug 8, 2023
Squashed with the following commits :
commit 2c0acb7 (HEAD -> develop, origin/develop)
Author: dipuchaudhary <dipuchaudhary8@gmail.com>
Date:   Mon Aug 7 21:13:52 2023 +0545

    Tweak - Header format of mail

commit 8d210aa
Author: Dipu chaudhary <34309829+dipuchaudhary@users.noreply.github.com>
Date:   Mon Aug 7 17:15:23 2023 +0545

    UR-830 Feature -  Email preview (#551)

    * Tweak - Remove redundant code

    * Add - Preview feature for emails

    * Implemented default template in emails and preview

    * Enhance - Default template added to wrap emails while sending and previewing

    * Sync code to Pro

    * default email template design fixes

    * Tweak - Remove wp header and footer from preview

    * default email template font family set

    * not scrolling when multiple content fixed

    * Tweak - Generate a link to preview and button at top of header

    * Tweak - Extra checks for addons emails

    * Fix - Selected email template not parsing issue due to extra parameter passed to function

    ---------

    Co-authored-by: Prajjwal <iamprazol@gmail.com>
    Co-authored-by: Salim Shrestha <salimshrestha98@gmail.com>
    Co-authored-by: Ayush Shrestha <ayushstha143@gmail.com>
    Co-authored-by: Milan Chaudhary <chaudharymilan996@gmail.com>

commit 9af1c7b
Author: Lekhnath Pandey <46083608+lekhnath005@users.noreply.github.com>
Date:   Mon Aug 7 17:14:46 2023 +0545

    UR-1116 Fix - Lost Password not working for translated myaccount page. (#586)

    * Fix - Lost Password Translation issue

    * Fix - Check current page id while reset password

    ---------

    Co-authored-by: Milan Chaudhary <chaudharymilan996@gmail.com>

commit d5d4a9a
Author: Lekhnath Pandey <46083608+lekhnath005@users.noreply.github.com>
Date:   Mon Aug 7 09:58:04 2023 +0545

    Fix - Conflict with TranslatePress (#587)

commit c85f08f
Author: Lekhnath Pandey <46083608+lekhnath005@users.noreply.github.com>
Date:   Fri Aug 4 10:37:32 2023 +0545

    Fix - Compatibility with all editors (#579)

commit 1405c06
Author: Milan Chaudhary <109399375+MILAN88888@users.noreply.github.com>
Date:   Fri Aug 4 10:33:46 2023 +0545

    Enhancement - Unique id smart tag (#584)

    * Add - Unique id smart tag

    * Add - Filter to change unique id prefix and entropy

    ---------

    Co-authored-by: Prajjwal Poudel <85762481+iamprazol@users.noreply.github.com>

commit a3aa5e6
Author: Milan Chaudhary <109399375+MILAN88888@users.noreply.github.com>
Date:   Fri Aug 4 10:31:13 2023 +0545

    Fix - add new form and click on scratch and enter any name and cancel the process the form will be created (#578)

commit 8d98d6a
Author: Milan Chaudhary <109399375+MILAN88888@users.noreply.github.com>
Date:   Fri Aug 4 10:30:26 2023 +0545

    Fix - Registration and login page redirection after revisiting these page (#581)

commit afe86fa
Author: Lekhnath Pandey <lekhnath005@gmail.com>
Date:   Thu Aug 3 18:14:30 2023 +0545

    Dev - Add Extra parameter in the filter hook user_registration_before_insert_user

commit 076cd60
Author: Lekhnath Pandey <lekhnath005@gmail.com>
Date:   Thu Aug 3 18:08:52 2023 +0545

    Fix - Check null for file_exits function

commit 0d753a2
Author: Milan Chaudhary <chaudharymilan996@gmail.com>
Date:   Wed Aug 2 12:28:24 2023 +0545

    Fix - Input box highlighting border color

commit 50d9d06
Author: Milan Chaudhary <109399375+MILAN88888@users.noreply.github.com>
Date:   Wed Aug 2 11:49:27 2023 +0545

    Tweak - Input box highlighting (#582)

commit 20c6d59
Author: Lekhnath Pandey <46083608+lekhnath005@users.noreply.github.com>
Date:   Wed Aug 2 10:52:10 2023 +0545

    Enhance - User Registered Language with Smart Tag (#585)

commit 42b4efc
Merge: cb29f48 45ca49d
Author: Lekhnath Pandey <lekhnath005@gmail.com>
Date:   Wed Jul 19 14:17:49 2023 +0545

    Merge master into develop branch

commit cb29f48
Author: Lekhnath Pandey <lekhnath005@gmail.com>
Date:   Tue Jul 18 17:41:42 2023 +0545

    Fix - Typecasting issue in myaccount tag state

commit c193a7b
Author: Lekhnath Pandey <lekhnath005@gmail.com>
Date:   Wed Jul 12 15:01:22 2023 +0545

    Dev - Add filter to modify smart tag content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants