Hello. I have a bonus system plugin. It awards points for registration using the hook add_action(
‘user_register’, ‘addPoints’ );
But when registering through your plugin, points are not awarded. Apparently, when registering through your plugin, the hook “user_register” does not work. Maybe you have your own hook to add points to my users?
Hello!
I suddenly discovered that the plugin does not work on my site any more. Server returns an error: 502 Bad Gateway nginx/1.26.2.
Tried to rollback to the previos versions of plugin but it doesn’t help.
Among the most essential things that I did on my site last time I turned on nginx + php-fpm from nginx + apache + fastcgi configuration. I’m not sure if this has anything to do with it.
Help me please to solve the problem.
Regards, Alex
]]>if I change the user’s first name and last name from wordpress dashboard, and after that the user logs in again with his Telegram, the user’s changed first name and last name on the site will be overwritten as the user wrote on Telegram. How can this be fixed?
]]>Hello.
In my case, I want existing users to be able to connect to Telegram. Following one of the tips here, I placed a button on the user’s profile.
When registering telegrams, we can assign a role to the user, and it works. But if the user is already registered with WP, and we log into Telegram from the profile page, the role does not switch.
Is it possible to assign/change a user’s role if the user is already registered on the site using WP registration?
Hi! I want to allow users to log in to the site via Telegram.
I need to create two shortcodes:
one for login only,
and the second shortcode that will allow them to register.
Thus, I will place one button in the account so that they can link their telegram in the profile, and I will make the other button only for logging in to the public part. Since registration via telegram does not allow you to request the user’s email and phone number, and these are the parameters I need.
How to make two different shortcodes?
Thanks
]]>Hi!
How to display the form on the account page as shown in the demo screenshots?
How do I show the form for saving the chat id from the user? It didn’t work out for me. Is there a shortcode to insert the form on the account page?
]]>Вопрос как вывести Ваше поле в шаблоне wptg_login_avatar, как не пытаюсь, даёт ссылку и пишет, что изображение не найдено, хотя домен подключен, пользователь с помощью кнопки добавлен
]]>Good day. Clients have access only to the front version of the cabinet. The id field is not displayed there, but after looking in the comments, I first deduced through
echo get_the_author_meta( WPTELEGRAM_USERNAME_META_KEY, $current_author->ID );
And then, peeping, tore out part of the code
<?php
$telegram_id = get_the_author_meta( WPTELEGRAM_USER_ID_META_KEY, $user->ID );
$field_name = WPTELEGRAM_USER_ID_META_KEY;
$bot_username = WPTG_Login()->options()->get( 'bot_username' );
if ( empty( $bot_username ) ) {
return;
}
$is_current_user = get_current_user_id() === $user->ID;
?>
<input type="text" name="<?php echo esc_attr( $field_name ); ?>" id="<?php echo esc_attr( $field_name ); ?>" value="<?php echo esc_attr( $telegram_id ); ?>" class="regular-text" />
But since I’m not a programmer, I can’t solve the problem. How to add an id through the front or change it? Could you advise?
]]>Hello. I have a unpleasant problem, if user use to adblock, this plugin don’t work.
]]>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.
Подскажите, сделал webview приложение для андроид, а авторизация не работает,а через обычный браузер все работает
]]>Good day.
1. How to make sure that during registration the Username is a phone number, and the number is entered in the phone section. And the name remained as it is by default.
2. And how can I disable the password generator so that the user can set the password himself. Or at least the password was empty.
Thank you!
]]>Dear Sirs,
Thank you for such a great plugin! It would be great to have “telegram-login” button in the center. Could you please advice me how to do it?
There is a problem with the wp telegram login plugin. Mobile browser cant show the login button. Is there any solution for that?
]]>Hello, how change language text in telegram? I install in EN version wordpress, but have RU language(my PC language)
img: https://imgur.com/MF5t4Yr
Hi, this question was never answered https://www.ads-software.com/support/topic/ask-about-the-select-role/.
The question is the same, I need 2 roles when registering with telegram, for example, on page “1” – one role, on page “2” – another.
I found in the LoginHandler.php file if I change:
$role = ‘author’;
$userdata = compact( ‘user_pass’, ‘user_login’, ‘first_name’, ‘last_name’, ‘author’ );
Then when registering, the role is set as I indicated, and not as in the admin panel, it remains to set the condition “if (is_page (25)) { }”, but this does not work, maybe I need to change the login-view.php file?
I get “bot domain invalid” message when I try to login to a page opened in Instagram instant browser. But, for example, Google Chrome works fine.
PS Yes, the domain is set in the bot’s settings.
]]>For some reason, I do not receive messages in Telegram. I completed all the settings, created a bot, etc.
Any ideas?
Hi,
Is there a simple way to put TG Chat iD and save button on front-end (via shortcode or smth)
I need users been able to do it from front-end
Hello!
I need to output two buttons on the page. Is it possible?
Thanks!
Hello!
I’d like to know if it is possible to have the Telegram login button other than in the wp-login screen, even on an AJAX login popup that I’m using (Login/Signup Popup plugin).
Thanks!
]]>I see this:
Parse error: syntax error, unexpected ‘)’ in /home/l/leschool/public_html/wp-content/plugins/wptelegram-login/admin/class-wptelegram-login-admin.php on line 298
Help)
]]>When save user
constant WPTELEGRAM_USER_META_KEY – assumed ‘WPTELEGRAM_USER_META_KEY’ (this will throw an Error in a future version of PHP) in \wp-content\plugins\wptelegram-login\admin\class-wptelegram-login-admin.php on line 449
Warning: Use of undefined constant WPTELEGRAM_USER_META_KEY – assumed ‘WPTELEGRAM_USER_META_KEY’ (this will throw an Error in a future version of PHP) in \wp-content\plugins\wptelegram-login\admin\class-wptelegram-login-admin.php on line 430
Warning: Cannot modify header information – headers already sent by (output started at \wp-content\plugins\wptelegram-login\admin\class-wptelegram-login-admin.php:449) in \wp-admin\admin-header.php on line 9
]]>Hello there,
Just a quick line to offer my help with the translations of WP Telegram Login & Register.
Translations into Spanish are uncomplete, and most sound like “machine translation”.
I’m a native Spanish translator and do not have much work right now, so I could help you with that
I would just ask you to include me in the WordPress page credits, with a link to my website.
If you send me the latest .PO files, I will start right away (I know I can translate with WordPress’ Translation Editor, but it is too slow, I really prefer to translate directly the PO files with PoEdit, if that’s ok for you)
Bets regards,
Jose
]]>Hello, friends. Tell me, in what file can I change the button color? I couldn’t find it
]]>Hello, great plugin, lightweight and fast, great job!
I have a problem:
I need to make a link to the telegram user chat
1) if the user is not registered:
start register user process…
the plugin fills in the fields in the database:
wp_user – user_login, user_nicename …
and
wp_usermeta – wptelegram_user_id
no problem, i do:
echo '<a href="t.me/'. get_the_author_meta('user_nicename', $current_author-> ID).' ">
link done.
2) if the user is authorized and attaches his telegram profile to his account:
the plugin fills in the fields in the database:
wp_usermeta – wptelegram_user_id
plugin does not add telegram username because wp_user – user_login, user_nicename … are already exist
it is impossible to make a link to the telegram user by id
Maybe you can duplicate the username parameter obtained from the telegram, for example in:
wp_user – user_url
or create a new graph in the database?
hello i want to ask, can i make the plugin when the customer register to our website the can select the user role instead of we set the user role for them?
]]>Hello,
great plugin, works well. To use it with another plugin I would like to be able to get the wordpress user id from the telegram chat id.
Is there a helper function that do that ?
I searched in the code of the plugin but did not found it.
regards,
Yoann
Hi,
What do you think about a plugin that works betwwen BuddyPress and Telegram for doing message passing?
What would be if each user is able to put its Telegram username within its profile? Once a user sends a message to another user, the recipient gets a Telegram note that a message arrived within BuddyPress.
Possible to do this?
Regards,
Thorsten
Hi,
First congrats to this great plugin. It took a while to get it work but now it seems great.
Unfortunately I cannot translate the login button, couldn’t find any strings within your plugin. Same for the pop-up window to verify the new user by cell phone. I would suggest that the admin is able to do a preset of the country, e.g. Germany.
Second to get your plugin GDPR ready (see https://gdpr-info.eu/) we need a checkbox for the GDPR of the site owner (me), a checkbox for reading the terms and conditions of the site owner (me) and a GDPR link of Telegram conformity with GDPR.
The profile photo only works with WordPress but not with BuddyPress. The registration process is longer and I would suggest that the user has to fill out the rest of the form after login. So we need here a redirect to the BuddyPress profile of a user. After this the user is ready.
Or the user has to do the normal registration process and is able to connect the Telegram Login after this.
What do you think about it?
Regards,
Thorsten