<?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: search.php enhancement request</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: search.php enhancement request</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 11:58:30 +0000</pubDate>

<item>
<title>chrishajer on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2531</link>
<pubDate>Thu, 21 Dec 2006 22:47:59 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">2531@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I wonder if the problem with this line:&#60;br /&#62;
&#60;code&#62;bb_get_user($bb_post-&#38;gt;poster_id)-&#38;gt;user_login&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;is related to this style syntax  and could be fixed in a similar manner (if necessary):&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/401?replies=42#post-2140&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/401?replies=42#post-2140&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2530</link>
<pubDate>Thu, 21 Dec 2006 22:25:57 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">2530@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Update: the above was working, but on the command line, &#60;code&#62;php -l&#60;/code&#62; complained:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;parse error, unexpected T_OBJECT_OPERATOR in&#60;/code&#62; ... that line&#60;/p&#62;
&#60;p&#62;I got this to work:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php _e(&#38;#39; by  &#38;#39;) ?&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php user_profile_link($bb_post-&#38;gt;poster_id); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php echo get_user_name($bb_post-&#38;gt;poster_id); ?&#38;gt;&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That's what was suggested initially:  I' m not sure what I did wrong the first time around, but this is what is working now, with no parse errors.  Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2529</link>
<pubDate>Thu, 21 Dec 2006 21:04:19 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">2529@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;code&#62;&#38;lt;?php _e(&#38;#39; by &#38;#39;)?&#38;gt;&#38;lt;?php echo bb_get_user($bb_post-&#38;gt;poster_id)-&#38;gt;user_login ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Returns the user's name.  Perfect.  Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2528</link>
<pubDate>Thu, 21 Dec 2006 20:59:23 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">2528@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;OK - will try.  Thank you for your help.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2527</link>
<pubDate>Thu, 21 Dec 2006 20:50:23 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">2527@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If neither of those work, you need to echo $bb_post-&#38;gt;poster_id and see if you're getting anything.  If not, you gotta figure out wtf $bb_post contains.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2526</link>
<pubDate>Thu, 21 Dec 2006 20:37:46 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">2526@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Try this&#60;/p&#62;
&#60;p&#62;&#60;code&#62;echo bb_get_user($bb_post-&#38;gt;poster_id)-&#38;gt;user_login&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Or you can try to do it the way topics do it and just use this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;post_author_link();&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That will also return the name as a link to their webpage.&#60;/p&#62;
&#60;p&#62;Worth a try I guess.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2525</link>
<pubDate>Thu, 21 Dec 2006 20:29:32 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">2525@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;code&#62;bb_get_user($bb_post-&#38;gt;poster_id)&#60;/code&#62; also did not work (does not error, just shows no output.)&#60;/p&#62;
&#60;p&#62;also&#60;br /&#62;
&#60;code&#62;$bb_post-&#38;gt;poster_id&#60;/code&#62; does not return anything either.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2524</link>
<pubDate>Thu, 21 Dec 2006 20:25:13 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">2524@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;That does not work :)&#60;/p&#62;
&#60;p&#62;Here is the code I am using:&#60;br /&#62;
&#60;code&#62;&#38;lt;?php foreach ( $recent as $bb_post ) : ?&#38;gt;&#60;br /&#62;
&#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php post_link(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php topic_title($bb_post-&#38;gt;topic_id); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;small&#38;gt; &#38;lt;?php _e(&#38;#39;Posted&#38;#39;) ?&#38;gt; &#38;lt;?php echo date(__(&#38;#39;F j, Y, h:i A&#38;#39;), bb_get_post_time()); ?&#38;gt;&#38;lt;?php _e(&#38;#39; by &#38;#39;)?&#38;gt;&#38;lt;?php get_user_name($bb_post-&#38;gt;poster_id) ?&#38;gt;&#38;lt;/small&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;seems like it should work.  It doesn't error out, it's just blank after the &#34; by &#34;&#60;/p&#62;
&#60;p&#62;Is there a list of functions, similar to the WP codex, where I could learn about them?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2523</link>
<pubDate>Thu, 21 Dec 2006 20:00:16 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">2523@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You should be able to do this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;get_user_name($bb_post-&#38;gt;poster_id)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Tell me if that doesn't work.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "search.php enhancement request"</title>
<link>http://bbpress.org/forums/topic/searchphp-enhancement-request#post-2516</link>
<pubDate>Thu, 21 Dec 2006 17:09:33 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">2516@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've modified search.php a bit to make the results a little more readable (to my eye) and I was wondering how to get the poster name, to display with the results for recent posts and relevant posts.&#60;/p&#62;
&#60;p&#62;I would like to display something like:&#60;br /&#62;
&#60;code&#62;&#38;lt;a href=&#38;quot;&#38;lt;?php post_link(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php topic_title($bb_post-&#38;gt;topic_id); ?&#38;gt;&#38;lt;/a&#38;gt; &#38;lt;small&#38;gt;&#38;lt;?php _e(&#38;#39;Posted&#38;#39;) ?&#38;gt; &#38;lt;?php echo date(__(&#38;#39;F j, Y, h:i A&#38;#39;), bb_get_p&#60;br /&#62;
ost_time()); ?&#38;gt;&#38;lt;/small&#38;gt; [BY MEMBER]&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;the [BY MEMBER] part, to get the name of the member who made the post that is listed is the part I need help with.    Thank you.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
