<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: using bb_get_profile_link</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: using bb_get_profile_link</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 12:43:13 +0000</pubDate>

<item>
<title>byles on "using bb_get_profile_link"</title>
<link>http://bbpress.org/forums/topic/using-bb_get_profile_link#post-19360</link>
<pubDate>Sun, 21 Sep 2008 17:47:30 +0000</pubDate>
<dc:creator>byles</dc:creator>
<guid isPermaLink="false">19360@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I apologise - was writing it from memory and in a rush! :) (excuses excuses ;))&#60;/p&#62;
&#60;p&#62;I personally needed to use href to append more to the end.&#60;/p&#62;
&#60;p&#62;I've just noticed that the post prior to mine is months old anyway, I guess he figured it out in the end!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "using bb_get_profile_link"</title>
<link>http://bbpress.org/forums/topic/using-bb_get_profile_link#post-19356</link>
<pubDate>Sun, 21 Sep 2008 14:21:25 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">19356@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;no, &#60;code&#62;bb_get_profile_link&#60;/code&#62; does not self echo but it does return a full formed url apparently, so I was half wrong to use it inside of a href.&#60;/p&#62;
&#60;p&#62;The direct link is via  &#60;code&#62;get_user_profile_link( $id )&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;byles, your code is wrong in that it doesn't need an echo &#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php bb_profile_link(&#38;#39;link text here&#38;#39;); ?&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>byles on "using bb_get_profile_link"</title>
<link>http://bbpress.org/forums/topic/using-bb_get_profile_link#post-19355</link>
<pubDate>Sun, 21 Sep 2008 11:28:22 +0000</pubDate>
<dc:creator>byles</dc:creator>
<guid isPermaLink="false">19355@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bb_get_profile_link does self echo, so you could try:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;&#38;lt;?php echo user_profile_link(bb_get_current_user_info(&#38;#39;id&#38;#39;)); ?&#38;gt;/&#38;quot;&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;...or if you don't want to use it amongst another href, just use:&#60;br /&#62;
&#60;code&#62;&#38;lt;?php echo bb_profile_link(&#38;#39;link text here&#38;#39;); ?&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>parthatel on "using bb_get_profile_link"</title>
<link>http://bbpress.org/forums/topic/using-bb_get_profile_link#post-17397</link>
<pubDate>Thu, 17 Jul 2008 19:31:10 +0000</pubDate>
<dc:creator>parthatel</dc:creator>
<guid isPermaLink="false">17397@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This is the warning that appears on the top of the page.&#60;br /&#62;
&#60;code&#62;&#38;lt;b&#38;gt;Warning&#38;lt;/b&#38;gt;:  parse_url(/%3Ca%20href=%27http://mydomain.com/links/profile.php?id=2%27%3EView%20your%20profile%3C/a%3E) [&#38;lt;a href=&#38;#39;function.parse-url&#38;#39;&#38;gt;function.parse-url&#38;lt;/a&#38;gt;]: Unable to parse URL in &#38;lt;b&#38;gt;/home/domain/public_html/links/bb-includes/functions.php&#38;lt;/b&#38;gt; on line &#38;lt;b&#38;gt;1794&#38;lt;/b&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This is what the My Profile link links to:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;a href=&#34;http://mydomain.com/%3Ca%20href=&#38;#39;http://mydomain.com/links/profile.php?id=2&#38;#39;&#38;gt;View%20your%20profile&#38;lt;/a&#38;gt;&#34; rel=&#34;nofollow&#34;&#62;http://mydomain.com/%3Ca%20href=&#38;#39;http://mydomain.com/links/profile.php?id=2&#38;#39;&#38;gt;View%20your%20profile&#38;lt;/a&#38;gt;&#60;/a&#62;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "using bb_get_profile_link"</title>
<link>http://bbpress.org/forums/topic/using-bb_get_profile_link#post-17383</link>
<pubDate>Thu, 17 Jul 2008 14:15:57 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">17383@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;strong&#62;parthatel&#60;/strong&#62;: can you post your actual HTML from the rendered page  in backticks so it doesn't get rendered as HTML?  Like you did in the first post.  Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>parthatel on "using bb_get_profile_link"</title>
<link>http://bbpress.org/forums/topic/using-bb_get_profile_link#post-17372</link>
<pubDate>Thu, 17 Jul 2008 01:27:47 +0000</pubDate>
<dc:creator>parthatel</dc:creator>
<guid isPermaLink="false">17372@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I tried that and this is what I get as the url of the link:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;a href=&#34;http://mydomain.com/%3Ca%20href=&#34; rel=&#34;nofollow&#34;&#62;http://mydomain.com/%3Ca%20href=&#60;/a&#62;'http://mydomain.com/links/profile.php?id=1'&#38;gt;View%20your%20profile&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "using bb_get_profile_link"</title>
<link>http://bbpress.org/forums/topic/using-bb_get_profile_link#post-17366</link>
<pubDate>Wed, 16 Jul 2008 23:29:21 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">17366@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bbPress functions with the word &#34;get&#34; in them do not self-echo, they simply return the string. So you have to add echo. You almost have it, for example, this should work:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;&#38;lt;?php echo bb_get_profile_link(); ?&#38;gt;&#38;quot;&#38;gt;My Profile&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;And just to confuse you, there are a couple of legacy functions with the word &#34;get&#34; in them that do echo. But they shouldn't and are rare so don't worry too much, lol.
&#60;/p&#62;</description>
</item>
<item>
<title>parthatel on "using bb_get_profile_link"</title>
<link>http://bbpress.org/forums/topic/using-bb_get_profile_link#post-17360</link>
<pubDate>Wed, 16 Jul 2008 23:00:30 +0000</pubDate>
<dc:creator>parthatel</dc:creator>
<guid isPermaLink="false">17360@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How do I make a link that directs the user to their profile?&#60;/p&#62;
&#60;p&#62;The default code in bbPress is&#60;br /&#62;
&#60;code&#62;&#38;lt;?php printf(__(&#38;#39;Welcome, %1$s!&#38;#39;), bb_get_profile_link(bb_get_current_user_info( &#38;#39;name&#38;#39; )));?&#60;/code&#62;. &#60;/p&#62;
&#60;p&#62;Yet if I use this, the name of the user will be the linked text. Also, I'm not able to use this code alone. If I try: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php bb_get_profile_link(bb_get_current_user_info( &#38;#39;name&#38;#39; )); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;...it doesn't work. I also tried:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;&#38;lt;?php bb_get_profile_link(); ?&#38;gt;&#38;quot;&#38;gt;My Profile&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;How can I change the text to My Profile and also let it stand alone? (standalone meaning on its own paragraph and with no Welcome, %1$s!)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
