Linking to user profiles – UserPro Forums https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/feed/ Sat, 04 May 2024 02:09:15 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-27554 <![CDATA[Linking to user profiles]]> https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-27554 Wed, 12 Mar 2014 23:26:51 +0000 norman Hello,

I wanted to frame this question, although it is actually to serve to specific purposes:

1. Linking to a user profile from the “Recent Topics” bbPress widget: http://screencast.com/t/Ko29bZ1NF

Live section on my site: http://www.newmediawarrior.net/discussions/

and

2. Liking to a user profile from user comment widget: http://screencast.com/t/9TqSaD8kh

Live section where you can click on the user: http://www.newmediawarrior.net/2014/02/3-leading-reasons-for-the-disappearance-of-bees/

I have installed the Commentator plugin, because it promises integration with UserPro, I was surprised the plugin did not come with a widget of its own, and also surprised the comments do not show in the activity (however this I am asking the Commentator support), the idea is how to link the user to the right UserPro profile. I am using the “Advance Comments” widget: http://codecanyon.net/item/advanced-comments-widget/608475?WT.ac=solid_search_item&WT.seg_1=solid_search_item&WT.z_author=zourbuth

I believe, if there is a knowledge to make this integrate, i.e. finding the right snippet to replace in whichever situation, it would be easier, and if anyone know why or how the Commentator plugin can show comments on the Activity page, I would appreciate the guidance.

Thank you!

]]>
https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-28160 <![CDATA[Reply To: Linking to user profiles]]> https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-28160 Sun, 16 Mar 2014 18:20:42 +0000 norman Bump

]]>
https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-28464 <![CDATA[Reply To: Linking to user profiles]]> https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-28464 Tue, 18 Mar 2014 15:58:03 +0000 norman Bump.

]]>
https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-28728 <![CDATA[Reply To: Linking to user profiles]]> https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-28728 Thu, 20 Mar 2014 19:45:47 +0000 norman Bump 2

]]>
https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-29454 <![CDATA[Reply To: Linking to user profiles]]> https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-29454 Mon, 24 Mar 2014 23:26:09 +0000 norman Bump 3.

]]>
https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-29459 <![CDATA[Reply To: Linking to user profiles]]> https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-29459 Tue, 25 Mar 2014 00:34:22 +0000 admin To link to a user profile, use the API

global $userpro;
// example of profile link
$link = $userpro->permalink($user_id);

That’s it

]]>
https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-29793 <![CDATA[Reply To: Linking to user profiles]]> https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-29793 Wed, 26 Mar 2014 15:05:59 +0000 norman Thanks, as I am new in implementing this API, do you mind giving me more guidance? Here is the code for the Advanced Comment widget:

Where do I insert this modification?

I added global $userpro; after the “<?php” tag above.

]]>
https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-29814 <![CDATA[Reply To: Linking to user profiles]]> https://forum.userproplugin.com/forums/topic/linking-to-user-profiles/#post-29814 Wed, 26 Mar 2014 16:00:15 +0000 admin It’s outside my support scope really. Find the part that links to user profile, and integrate basic php .. It’s not so hard 🙂 this should display the permalink:

$userpro->permalink($user_id_here);

Please just find where to put it in your code. And it will work

]]>