Link to user do not work
-
Hello, great plugin, lightweight and fast, great job!
I have a problem:
I need to make a link to the telegram user chat1) 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 idMaybe 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?
- The topic ‘Link to user do not work’ is closed to new replies.