<?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: Customizing Profile Fields</title>
		<link>http://bbpress.org/forums/topic/customizing-profile-fields</link>
		<description>bbPress Support Forums &#187; Topic: Customizing Profile Fields</description>
		<language>en-US</language>
		<pubDate>Fri, 25 May 2012 11:17:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/customizing-profile-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>Rich Pedley on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-68674</link>
			<pubDate>Sun, 16 May 2010 08:09:46 +0000</pubDate>
			<dc:creator>Rich Pedley</dc:creator>
			<guid isPermaLink="false">68674@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>not that i found, but if you do find a solution - let me know!
</p>]]></description>
					</item>
		<item>
			<title>Pagal on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-68671</link>
			<pubDate>Sat, 15 May 2010 22:32:09 +0000</pubDate>
			<dc:creator>Pagal</dc:creator>
			<guid isPermaLink="false">68671@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@ Johnbillion ......  Is it possible with this plugin to allow the users to choose a filed from drop down menu,<br />
like aga, or Marital Status: same as this link<br />
<a href="http://boards.weddingbee.com/register.php" rel="nofollow">http://boards.weddingbee.com/register.php</a><br />
I hope you'll understand what I want ...</p>
<p>Thanks,<br />
Pagal
</p>]]></description>
					</item>
		<item>
			<title>dcheung19 on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-58935</link>
			<pubDate>Wed, 30 Sep 2009 16:10:52 +0000</pubDate>
			<dc:creator>dcheung19</dc:creator>
			<guid isPermaLink="false">58935@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I've used this method, but with a little change, instead of creating a variable i'm just returning the array.<br />
There is no problems when the user is registering, but when I try to edit the fields it's not saving to the database, any help please
</p>]]></description>
					</item>
		<item>
			<title>chandersbs on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-57980</link>
			<pubDate>Wed, 16 Sep 2009 02:28:07 +0000</pubDate>
			<dc:creator>chandersbs</dc:creator>
			<guid isPermaLink="false">57980@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I'm sure it has to do with if and else things but how to code it :(
</p>]]></description>
					</item>
		<item>
			<title>chandersbs on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-57976</link>
			<pubDate>Wed, 16 Sep 2009 02:09:08 +0000</pubDate>
			<dc:creator>chandersbs</dc:creator>
			<guid isPermaLink="false">57976@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I mean, i just want two fields during the registration, but the user should have the option to edit their profile and add more info, like interest, website etc. </p>
<p>i tried this plugin, and it removes the extra fields during the registration, which is great, but the problem is, there is no way you can add more info to your profile, since the fields are disabled by this plugin.
</p>]]></description>
					</item>
		<item>
			<title>chandersbs on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-57975</link>
			<pubDate>Wed, 16 Sep 2009 01:49:34 +0000</pubDate>
			<dc:creator>chandersbs</dc:creator>
			<guid isPermaLink="false">57975@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>It's working, but how to hide the fields during the registration? Leaving only the required ones.
</p>]]></description>
					</item>
		<item>
			<title>clarklab on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-38061</link>
			<pubDate>Sat, 04 Jul 2009 19:02:41 +0000</pubDate>
			<dc:creator>clarklab</dc:creator>
			<guid isPermaLink="false">38061@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>That plugin works great but I've got an extra request. What would it take to process the data submitted a tiny bit? Like when adding a field for the user's twitter name. The plugin just automatically inserts whatever they entered onto their profile page. Where would I go to insert the <a href="http://twitter.com/" rel="nofollow">http://twitter.com/</a> before the username?
</p>]]></description>
					</item>
		<item>
			<title>ghengisyan on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-37239</link>
			<pubDate>Thu, 18 Jun 2009 23:28:39 +0000</pubDate>
			<dc:creator>ghengisyan</dc:creator>
			<guid isPermaLink="false">37239@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>thats awesome, thanks
</p>]]></description>
					</item>
		<item>
			<title>Michael3185 on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-37086</link>
			<pubDate>Wed, 17 Jun 2009 06:05:46 +0000</pubDate>
			<dc:creator>Michael3185</dc:creator>
			<guid isPermaLink="false">37086@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Works like a dream, and I can add and remove whatever I want now. Many thanks.
</p>]]></description>
					</item>
		<item>
			<title>Michael3185 on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-37085</link>
			<pubDate>Wed, 17 Jun 2009 06:04:38 +0000</pubDate>
			<dc:creator>Michael3185</dc:creator>
			<guid isPermaLink="false">37085@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@johnbillion: Works like a dream, and I can add and remove whatever I want now. Many thanks.
</p>]]></description>
					</item>
		<item>
			<title>Michael3185 on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-37084</link>
			<pubDate>Wed, 17 Jun 2009 06:02:20 +0000</pubDate>
			<dc:creator>Michael3185</dc:creator>
			<guid isPermaLink="false">37084@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@johnbillion: Works like a dream, and I can add and remove whatever I want now. Many thanks.
</p>]]></description>
					</item>
		<item>
			<title>John Blackbourn (johnbillion) on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-37041</link>
			<pubDate>Tue, 16 Jun 2009 21:01:00 +0000</pubDate>
			<dc:creator>John Blackbourn (johnbillion)</dc:creator>
			<guid isPermaLink="false">37041@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@Michael3185:</p>
<p>The user profile fields are simply items in a PHP array. You can remove an item from the array to remove the profile field, or add a new item to the array to add a new profile field.</p>
<pre><code>&#60;?php

/*
Plugin Name: My Profile Fields
Description: My profile fields for my lovely forums
Version 1.0
*/

function my_profile_fields( $fields ) {
    /* This removes the Occupation profile field: */
    unset( $fields[&#39;occ&#39;] );
    /* This adds a new optional field called Favourite Band: */
    $fields[&#39;faveband&#39;] = array(0,&#39;Favourite Band&#39;);
    /* This adds a new *required* field called State: */
    $fields[&#39;state&#39;] = array(1,&#39;State&#39;);
    /* You must return the array at the end of the function: */
    return $fields;
}

add_filter( &#39;get_profile_info_keys&#39;,  &#39;my_profile_fields&#39; );

?&#62;</code></pre>
<p>Save the code above as a .php file and upload it to your <code>my-plugins</code> directory (you may need to create this directory in the root of your forums installation) and then activate it from the Plugins menu in the bbPress admin area.</p>
<p><em><strong>Edit:</strong> Code updated as a complete example of a plugin.</em>
</p>]]></description>
					</item>
		<item>
			<title>Michael3185 on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-37031</link>
			<pubDate>Tue, 16 Jun 2009 17:31:59 +0000</pubDate>
			<dc:creator>Michael3185</dc:creator>
			<guid isPermaLink="false">37031@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@ghengisyan: "I have been messing with the php files (mostly guessing)" - that's my methodology too! Seems to be working though, as I've managed to do some more than I thought I would, with the help of online PHP tutorials.</p>
<p>An Extra Profile Fields plugin would be pretty neat. When I was testing Vanilla 1.8, that was one of the things I liked about it. At the bottom of the profile page is an empty 'name' field and a matching 'content' field. You add what you want, then click a link to add another, etc. It means users can customise the extra information they enter, and I think it feels more personal to them as they get to name the content field. Feeling that it's more personal is bound to make people stick around I think.</p>
<p>@johnbillion: I found the filter at line 2201 of functions.php in 0.9.0.5, but have no idea how to use it. If you have a few minutes spare sometime, could you perhaps give us some hints, and a brief snatch of code?
</p>]]></description>
					</item>
		<item>
			<title>John Blackbourn (johnbillion) on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-36996</link>
			<pubDate>Tue, 16 Jun 2009 04:20:58 +0000</pubDate>
			<dc:creator>John Blackbourn (johnbillion)</dc:creator>
			<guid isPermaLink="false">36996@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>There is a filter on the function <code>get_profile_info_keys()</code> in <code>bb-includes/functions.bb-core.php</code> which can be used to add and remove profile fields.
</p>]]></description>
					</item>
		<item>
			<title>ghengisyan on "Customizing Profile Fields"</title>
			<link>http://bbpress.org/forums/topic/customizing-profile-fields#post-36893</link>
			<pubDate>Sun, 14 Jun 2009 22:57:03 +0000</pubDate>
			<dc:creator>ghengisyan</dc:creator>
			<guid isPermaLink="false">36893@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi, I just started a bbpress forum.  I have been messing with the php files (mostly guessing).  My question is how do I change the Profile Fields, I don't want people to put in their Occupation and whatnot, I want them to put their Name and maybe Date of Birth or something, where do I change this?
</p>]]></description>
					</item>

	</channel>
</rss>

