<?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: Adding Location to User's Post Info</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Adding Location to User's Post Info</description>
<language>en</language>
<pubDate>Mon, 13 Oct 2008 12:52:56 +0000</pubDate>

<item>
<title>GTim on "Adding Location to User's Post Info"</title>
<link>http://bbpress.org/forums/topic/adding-location-to-users-post-info#post-6692</link>
<pubDate>Fri, 13 Apr 2007 15:01:27 +0000</pubDate>
<dc:creator>GTim</dc:creator>
<guid isPermaLink="false">6692@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I doubt that this is the most efficient way, but it seems to work. Add the following code in &#60;code&#62;post.php&#60;/code&#62; in the default theme (&#60;code&#62;/bb-templates/kakumei/post.php&#60;/code&#62;), you probably want it within the .threadauthor div.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
  $puser = bb_get_user( get_post_author_id() );
  if ( isset( $puser-&#38;gt;from ) ) {
    echo $puser-&#38;gt;from;
  }
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It is not possible to do this with a plugin yet because there is no hook there, but there is a &#60;a href=&#34;http://trac.bbpress.org/ticket/628&#34;&#62;Trac ticket&#60;/a&#62; for it.&#60;/p&#62;
&#60;p&#62;Also, I compiled a &#60;a href=&#34;http://timjoh.com/list-of-bbpress-template-functions/&#34;&#62;list of all template functions&#60;/a&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Adding Location to User's Post Info"</title>
<link>http://bbpress.org/forums/topic/adding-location-to-users-post-info#post-6689</link>
<pubDate>Fri, 13 Apr 2007 14:05:31 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">6689@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bump
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Adding Location to User's Post Info"</title>
<link>http://bbpress.org/forums/topic/adding-location-to-users-post-info#post-6597</link>
<pubDate>Tue, 10 Apr 2007 15:33:38 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">6597@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#34;Location&#34; is in the user Profile, but doesn't appear when they post. I'd like to add it, so that it reads &#34;Location: Ohio&#34; or whatever.&#60;/p&#62;
&#60;p&#62;I tried guessing and inserted this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php post_author_location(); ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;But that didn't work. :(&#60;/p&#62;
&#60;p&#62;And finally, are all these functions listed somewhere?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
