• Resolved berndbott

    (@berndbott)


    When a user activates the connection his WordPress firstname and lastname are overwritten with the ones in telegram.
    How ca I prevent this? I don’t like it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Irshad Ahmad

    (@irshadahmad21)

    Hi, it’s not possible right now. We will try to add such an option in future.

    Plugin Author Irshad Ahmad

    (@irshadahmad21)

    Hello,

    We have added a filter in the latest update. Please use the below snippet to disable profile update for existing users.

    
    
    // WP Telegram Login | Disable profile update for existing users.
    add_filter( 'wptelegram_login_always_update_user_data', '__return_false' );
    
    

    You can add the snippet to functions.php of your child theme.

    Hello. Thanks for the revision. But now if the user is registered and wants to connect his Telegram.
    Telegram Chat user ID is not set. Is it possible to fix it somehow?
    Telegram Chat ID was set, but the name was not changed.

    Plugin Author Irshad Ahmad

    (@irshadahmad21)

    They can do it from their profile page.

    It is not working on 6.1 version I think.Though the WPTG is updated to 1.9.17

    How can we address this..

    // WP Telegram Login | Disable profile update for existing users.
    add_filter( ‘wptelegram_login_always_update_user_data’, ‘__return_false’ );

    // only above pasted in functions.php file. But no resolution

    yes, this worked.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP First- and Lastname overwritten’ is closed to new replies.