<?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: Custom fields</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Custom fields</description>
<language>en</language>
<pubDate>Wed, 03 Dec 2008 03:36:44 +0000</pubDate>

<item>
<title>shaziamistry on "Custom fields"</title>
<link>http://bbpress.org/forums/topic/custom-fields#post-9181</link>
<pubDate>Fri, 20 Jul 2007 22:20:52 +0000</pubDate>
<dc:creator>shaziamistry</dc:creator>
<guid isPermaLink="false">9181@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;thanks a lot! I'll try it out, hopefully it works out.
&#60;/p&#62;</description>
</item>
<item>
<title>so1o on "Custom fields"</title>
<link>http://bbpress.org/forums/topic/custom-fields#post-9157</link>
<pubDate>Fri, 20 Jul 2007 13:53:54 +0000</pubDate>
<dc:creator>so1o</dc:creator>
<guid isPermaLink="false">9157@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;and you can catch this field in &#60;code&#62;bb_post.php&#60;/code&#62; action to process the post.
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Custom fields"</title>
<link>http://bbpress.org/forums/topic/custom-fields#post-9153</link>
<pubDate>Fri, 20 Jul 2007 13:05:09 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">9153@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You can use a hook to add an input field. Your code would look something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;post_form&#38;#39;, &#38;#39;addmyinputfield&#38;#39;);

function addmyinputfield() {
echo &#38;#39;&#38;lt;input type=&#38;quot;text&#38;quot; name=&#38;quot;mine&#38;quot; id=&#38;quot;mine&#38;quot; /&#38;gt;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You would need another hook to then get the value when it's been posted. I'm not sure about this one, but I think the hook would be &#60;code&#62;pre_post&#60;/code&#62;. Again you use it in the same way as above: &#60;code&#62;add_action(&#38;#39;hook_name&#38;#39;, &#38;#39;function_name&#38;#39;);&#60;/code&#62; There's a list of hooks here, &#60;a href=&#34;http://bbpulp.org/wiki/API/actions&#34; rel=&#34;nofollow&#34;&#62;http://bbpulp.org/wiki/API/actions&#60;/a&#62; if that wasn't the one you wanted. Maybe &#60;code&#62;post_form_pre_post&#60;/code&#62;?
&#60;/p&#62;</description>
</item>
<item>
<title>shaziamistry on "Custom fields"</title>
<link>http://bbpress.org/forums/topic/custom-fields#post-9148</link>
<pubDate>Fri, 20 Jul 2007 12:34:29 +0000</pubDate>
<dc:creator>shaziamistry</dc:creator>
<guid isPermaLink="false">9148@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I need to add an additional field to the &#34;post topic&#34; form. So I want 'title', 'post', 'tags', and one additional field. Is this possible? and if so - how?&#60;br /&#62;
thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
