HI strejla,
Im trying to put custom link on user profile page
This code works only for some users
<a href="https://clantools.us/servers/na/players?id=<?php echo str_replace('https://worldoftanks.com/community/accounts/','',get_usermeta($post->post_author,'user_url')); ?>" target="_blank" title="<?php printf( esc_attr__("%s's ClanTools Profile", 'bbpress'), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php _e( 'ClanTools Profile', 'bbpress' ); ?></a>
I have checked several other users, and they have WG Website in their fields but all i got is link to
https://clantools.us/servers/na/players?id=
with no user ID on the end.
This code works fine with my profile for example
https://www.cannedbandits.org/forums/users/wg_prosolo/
but it doesn’t work for this one:
https://www.cannedbandits.org/forums/users/wg_wontendwell/
Can you help me please