<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>bbPress Support Forums &#187; Topic: get favorites list</title>
		<link>http://bbpress.org/forums/topic/get-favorites-list</link>
		<description>bbPress Support Forums &#187; Topic: get favorites list</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 06:20:04 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/get-favorites-list" rel="self" type="application/rss+xml" />

		<item>
			<title>kevinjohngallagher on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64134</link>
			<pubDate>Thu, 04 Feb 2010 13:24:10 +0000</pubDate>
			<dc:creator>kevinjohngallagher</dc:creator>
			<guid isPermaLink="false">64134@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>The entire website?<br />
So it's going in an infinte loop?</p>
<p>Please, be less specific, don't post any code, oooh and don't include a screenshot. Guessing is a really worth while use of my time :)
</p>]]></description>
					</item>
		<item>
			<title>PS Vita on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64132</link>
			<pubDate>Thu, 04 Feb 2010 13:02:49 +0000</pubDate>
			<dc:creator>PS Vita</dc:creator>
			<guid isPermaLink="false">64132@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Like i said, i got the entire website loading serveral times in my sidebar where i put the code.
</p>]]></description>
					</item>
		<item>
			<title>kevinjohngallagher on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64124</link>
			<pubDate>Thu, 04 Feb 2010 09:50:33 +0000</pubDate>
			<dc:creator>kevinjohngallagher</dc:creator>
			<guid isPermaLink="false">64124@http://bbpress.org/forums/</guid>
			<description><![CDATA[<blockquote><p>
What error do you get mate?
</p></blockquote>
<p>:)
</p>]]></description>
					</item>
		<item>
			<title>PS Vita on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64118</link>
			<pubDate>Thu, 04 Feb 2010 07:55:39 +0000</pubDate>
			<dc:creator>PS Vita</dc:creator>
			<guid isPermaLink="false">64118@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Nope didn't work, i got the entire website loading serveral times in my sidebar where i put the following code:</p>
<p><code>&#60;?php<br />
	$topics = get_user_favorites( $user-&#62;ID, true );<br />
	$favorites_total = isset($user-&#62;favorites) ? count(explode(',', $user-&#62;favorites)) : 0;<br />
	bb_load_template( 'favorites.php', array('favorites_total') );<br />
?&#62;</code>
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64112</link>
			<pubDate>Thu, 04 Feb 2010 00:12:49 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">64112@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Was that snippet of code wrapped in <code>&#60;?php tags ?&#62;</code>?</p>
<pre><code>&#60;?php
	$topics = get_user_favorites( $user-&#62;ID, true );
	$favorites_total = isset($user-&#62;favorites) ? count(explode(&#39;,&#39;, $user-&#62;favorites)) : 0;
	bb_load_template( &#39;favorites.php&#39;, array(&#39;favorites_total&#39;) );
?&#62;</code></pre>]]></description>
					</item>
		<item>
			<title>kevinjohngallagher on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64111</link>
			<pubDate>Wed, 03 Feb 2010 23:16:41 +0000</pubDate>
			<dc:creator>kevinjohngallagher</dc:creator>
			<guid isPermaLink="false">64111@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>What error do you get mate?
</p>]]></description>
					</item>
		<item>
			<title>PS Vita on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64104</link>
			<pubDate>Wed, 03 Feb 2010 18:02:04 +0000</pubDate>
			<dc:creator>PS Vita</dc:creator>
			<guid isPermaLink="false">64104@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Sorry, a bit of a PHP Noob, if I insert the following code in my template:</p>
<p>$topics = get_user_favorites( $user-&#62;ID, true );<br />
$favorites_total = isset($user-&#62;favorites) ? count(explode(',', $user-&#62;favorites)) : 0;<br />
bb_load_template( 'favorites.php', array('favorites_total') ); </p>
<p>I get an error
</p>]]></description>
					</item>
		<item>
			<title>kevinjohngallagher on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64103</link>
			<pubDate>Wed, 03 Feb 2010 17:41:18 +0000</pubDate>
			<dc:creator>kevinjohngallagher</dc:creator>
			<guid isPermaLink="false">64103@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Two ways:</p>
<p>1) It's an array, so just cycle through it and output the bits you want, this will allow you to style it as you please. If you're unsure of what it returns use: print_r($topics);</p>
<p>2) Alternatively, you could just copy <strong>all 3</strong> lines from the Favourites.php file:</p>
<blockquote><p>
$topics = get_user_favorites( $user-&#62;ID, true );<br />
$favorites_total = isset($user-&#62;favorites) ? count(explode(',', $user-&#62;favorites)) : 0;<br />
bb_load_template( 'favorites.php', array('favorites_total') );
</p></blockquote>
<p>This will output the favourites in the way you've described in your template folder.</p>
<p>==========================================</p>
<p>At the end of the day, BBpress has a number of issues, but if it can already do something, all you really need to do is copy and paste the code :)
</p>]]></description>
					</item>
		<item>
			<title>PS Vita on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64098</link>
			<pubDate>Wed, 03 Feb 2010 16:40:03 +0000</pubDate>
			<dc:creator>PS Vita</dc:creator>
			<guid isPermaLink="false">64098@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Thanks, but how can i put this in my template?
</p>]]></description>
					</item>
		<item>
			<title>kevinjohngallagher on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64097</link>
			<pubDate>Wed, 03 Feb 2010 16:33:30 +0000</pubDate>
			<dc:creator>kevinjohngallagher</dc:creator>
			<guid isPermaLink="false">64097@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Looking in "favourites.php", right in the root of BBpress (so its not hidden), i found this:</p>
<blockquote><p>
$topics = get_user_favorites( $user-&#62;ID, true );
</p></blockquote>
<p>I'd use that and output the array, but then again, i'd not have bumped 2 different 2 year old threads, let alone doing it before looking in the file cunningly named Favourites.php ;-)
</p>]]></description>
					</item>
		<item>
			<title>PS Vita on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-64084</link>
			<pubDate>Wed, 03 Feb 2010 15:28:26 +0000</pubDate>
			<dc:creator>PS Vita</dc:creator>
			<guid isPermaLink="false">64084@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Has anyone figer this out?
</p>]]></description>
					</item>
		<item>
			<title>Jaxxx on "get favorites list"</title>
			<link>http://bbpress.org/forums/topic/get-favorites-list#post-11866</link>
			<pubDate>Fri, 09 Nov 2007 12:25:29 +0000</pubDate>
			<dc:creator>Jaxxx</dc:creator>
			<guid isPermaLink="false">11866@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi,<br />
Is there a way of getting a user's favorites to display without on a forum page other than /profile/#/favorite ?<br />
I've looked at the code but I don't want to dig too deeply into it as I'm sure it will change a lot during the next year.<br />
Basically what I want to do is create a unified profile page, which has been possible with everything except favorites.<br />
See <a href="http://www.surrealroad.com/forum/1" rel="nofollow">http://www.surrealroad.com/forum/1</a> if this doesn't make sense
</p>]]></description>
					</item>

	</channel>
</rss>

