Lithosphere The Lithium Community

Lithy 2018 logo
We are aware that the Facebook connect is not working at present, currently working on restoring access. If you cannot login using Facebook connect please reach out to Community Help
%3CLINGO-SUB%20id%3D%22lingo-sub-481255%22%20slang%3D%22en-US%22%3EHow%20to%20link%20to%20a%20user%20profile%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481255%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all!%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20trying%20to%20figure%20out%20a%20URL%20that%20we%20could%20share%20with%20*all*%20users%20in%20a%20post%20that%2C%20when%20any%20user%20clicks%20on%20it%2C%20it%20takes%20them%20to%20their%20*own*%20profile%20page.%20Alternatively%2C%20it%20could%20take%20them%20to%20their%20*own*%20badges%20page.%20I'm%20unable%20to%20find%20the%20correct%20URL%20parameters%20for%20this%20so%20that%20we%20can%20share%20a%20single%20URL%20that%20will%20work%20for%20every%20user.%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20help%20is%20much%20appreciated!%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481299%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20link%20to%20a%20user%20profile%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481299%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.lithium.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65521%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40nadiajoyce%3C%2FA%3E%26nbsp%3B-%20Do%20you%20want%20to%20add%20a%20link%20while%20creating%20a%20new%20post(On%20Message%20Body)%3F%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20wouldn't%20be%20possible%20without%20any%20customization%2C%20either%20you%20can%20create%20a%20custom%20component%20and%20can%20include%20on%20message%20quilt.%20However%2C%20this%20will%20include%20that%20link%20on%20every%20message.%26nbsp%3B%3C%2FP%3E%3CP%3EComponent%20example%3C%2FP%3E%3CPRE%3E%26lt%3Ba%20href%3D%22%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F%24%7Buser.id%7D%22%26gt%3B%20Profile%20Link%20%20%26lt%3B%2Fa%26gt%3B%0A%26lt%3Ba%20href%3D%22%2Ft5%2Fbadges%2Fuserbadgespage%2Fuser-id%2F%24%7Buser.id%7D%2Fpage%2F1%22%26gt%3B%20Badge%20Link%20%20%26lt%3B%2Fa%26gt%3B%3C%2FPRE%3E%3CP%3EIf%20you%20want%20to%20add%20a%20link%20on%20message%20body%20using%20the%20editor.%26nbsp%3B%20You%20can%20add%20a%20different%20class%20the%20link%2C%20and%20by%26nbsp%3Busing%20jQuery%20script%2C%20you%20can%20change%20the%20link.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor nadiajoyce
Occasional Contributor

How to link to a user profile page

Jump to solution

Hi all!

I'm trying to figure out a URL that we could share with *all* users in a post that, when any user clicks on it, it takes them to their *own* profile page. Alternatively, it could take them to their *own* badges page. I'm unable to find the correct URL parameters for this so that we can share a single URL that will work for every user.

Any help is much appreciated! Thanks!

0 Kudos
1 Reply
Honored Contributor
Honored Contributor

Re: How to link to a user profile page

Jump to solution

@nadiajoyce - Do you want to add a link while creating a new post(On Message Body)? 

This wouldn't be possible without any customization, either you can create a custom component and can include on message quilt. However, this will include that link on every message. 

Component example

<a href="/t5/user/viewprofilepage/user-id/${user.id}"> Profile Link  </a>
<a href="/t5/badges/userbadgespage/user-id/${user.id}/page/1"> Badge Link  </a>

If you want to add a link on message body using the editor.  You can add a different class the link, and by using jQuery script, you can change the link. 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq
0 Kudos
Reply
Loading...