<?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: Change Profile information</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Change Profile information</description>
<language>en</language>
<pubDate>Wed, 03 Dec 2008 01:42:58 +0000</pubDate>

<item>
<title>patrace on "Change Profile information"</title>
<link>http://bbpress.org/forums/topic/change-profile-information#post-16618</link>
<pubDate>Fri, 06 Jun 2008 02:39:57 +0000</pubDate>
<dc:creator>patrace</dc:creator>
<guid isPermaLink="false">16618@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Dang.  Your chocolate factory is a dead link.&#60;/p&#62;
&#60;p&#62;Did you ever figure this out?  I'd like to change the profile information too.  It seems like the avatar plug-in does something similar.
&#60;/p&#62;</description>
</item>
<item>
<title>RichSad on "Change Profile information"</title>
<link>http://bbpress.org/forums/topic/change-profile-information#post-12350</link>
<pubDate>Thu, 29 Nov 2007 03:41:12 +0000</pubDate>
<dc:creator>RichSad</dc:creator>
<guid isPermaLink="false">12350@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Aha, this post looks like my golden ticket to see Willy Wonka's chocolate factory up close and personal. Holy cow, I'd getting giddy...&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.livibetter.com/it/topic/add-new-user-profile-fields&#34; rel=&#34;nofollow&#34;&#62;http://www.livibetter.com/it/topic/add-new-user-profile-fields&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Maybe I'll will put this issue to rest TONIGHT!
&#60;/p&#62;</description>
</item>
<item>
<title>RichSad on "Change Profile information"</title>
<link>http://bbpress.org/forums/topic/change-profile-information#post-12349</link>
<pubDate>Thu, 29 Nov 2007 03:36:58 +0000</pubDate>
<dc:creator>RichSad</dc:creator>
<guid isPermaLink="false">12349@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Here's where I'm at. if I modify the function get_profile_info_keys in /wpmu/bbpress/bb-includes/functions.php and change the definition of get_profile_info_keys to what I want, it's all good. I changed the text to make it fit and apologize for poor formatting. The downside here is I am changing bbpress code, not my own template. There was no documentation indicating get_profile_info_keys is eligible for being plugged in, but it seems like it is. So I tried hardcoding first to see if this obtained the desired results. It did. The profile info prompts displayed correctly on registration page, the data was written the appropriate usermeta table, and viewing the profile displays the newly named fields and shows correct data. So far so good. Below is the code (sorry for poor formatting). Of course, the fatal flaw here is this NEEDS to be done in a plugin.  So now I will tackle this. If anyone has a plugin sample for bbpress that shows modification of profile_info_keys I would be very grateful to take a peek. I believe by tomorrow I will have this hashed out and working properly as a plugin with no changes to core bbpress code. I will share that code here when I get there. In the meantime, feel free to flame, compliment, empower, disempower, or any other useful feedback! I am heading into no man's land...&#60;/p&#62;
&#60;p&#62;//meta_key =&#38;gt; (required?, Label).  Don't use user_{anything} as the name of your meta_key.&#60;br /&#62;
function get_profile_info_keys() {&#60;br /&#62;
	return apply_filters(&#60;br /&#62;
		'get_profile_info_keys',&#60;br /&#62;
		array(&#60;br /&#62;
'user_email' =&#38;gt; array(1, __('Email')),&#60;br /&#62;
 'tip' =&#38;gt; array(0, __('A tip you would like to share?')),                                           'favorite' =&#38;gt; array(0, __('Favorite products?')),&#60;br /&#62;
'more' =&#38;gt; array(0, __('How are you getting more?')),&#60;br /&#62;
'interest' =&#38;gt; array(0, __('Hobbies/interests?'))) );&#60;br /&#62;
/* original array follows&#60;br /&#62;
array(&#60;br /&#62;
'user_email' =&#38;gt; array(1, __('Email')),&#60;br /&#62;
'user_url' =&#38;gt; array(0, __('Website')),&#60;br /&#62;
'from' =&#38;gt; array(0, __('Location')),&#60;br /&#62;
'occ' =&#38;gt; array(0, __('Occupation')), '&#60;br /&#62;
interest' =&#38;gt; array(0, __('Interests')))	);&#60;br /&#62;
*/&#60;/p&#62;
&#60;p&#62;What I'd love is to see someone has tread in these waters and knows how to use a plugin to implement an overridden get_profile_info_keys. I'm getting old for these all night programming marathons. It was fun the first three decades, but now the arthritis flares up and I have to break to take my Centrum Silver... So all help will result in admiration from me to you! Ships ahoy.
&#60;/p&#62;</description>
</item>
<item>
<title>RichSad on "Change Profile information"</title>
<link>http://bbpress.org/forums/topic/change-profile-information#post-12264</link>
<pubDate>Mon, 26 Nov 2007 19:13:21 +0000</pubDate>
<dc:creator>RichSad</dc:creator>
<guid isPermaLink="false">12264@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Maybe I'm being thick today, but I don't really see how a plugin solves my problem after looking at them. Indeed there is an apply_filter call to read the user profile info, but the names of the keys in the associative arrive are assumed in various places around the code. As far as I can tell there wasn't any forethought into an admin wanting to replace the user info collected at registration with something relevant to the specific forums domain. &#60;/p&#62;
&#60;p&#62;I think either I am missing some aspect of the plugins or this an area that could be improved upon for customization by the admin.&#60;/p&#62;
&#60;p&#62;Am I missing something that anyone can see? The problem appears to be akismet.php where the key of the user profile info is hardcoded into the code. In my version of the file line 86 and 148 seem to assume the keys to info have not been modified.
&#60;/p&#62;</description>
</item>
<item>
<title>RichSad on "Change Profile information"</title>
<link>http://bbpress.org/forums/topic/change-profile-information#post-12260</link>
<pubDate>Mon, 26 Nov 2007 14:53:50 +0000</pubDate>
<dc:creator>RichSad</dc:creator>
<guid isPermaLink="false">12260@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks. I will investigate the plugin concept today. Indeed we are writing our own history here!
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Change Profile information"</title>
<link>http://bbpress.org/forums/topic/change-profile-information#post-12224</link>
<pubDate>Mon, 26 Nov 2007 05:44:32 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">12224@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think a plugin IS the easiest way to do it without having to resort to modifying core files, which is generally a bad idea.  You lose your changes when you upgrade bbPress.&#60;/p&#62;
&#60;p&#62;I think you've found the best information about the profile already by browsing the source.  There is no official documentation that I know of, but browsing the source is good, and there is at a start of an additional source:&#60;br /&#62;
&#60;a href=&#34;http://bbpulp.org/wiki/Main_Page&#34; rel=&#34;nofollow&#34;&#62;http://bbpulp.org/wiki/Main_Page&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I wish I knew more about plugins to help you with this, but I don't.  I'm sure someone else will come along and explain how to do this easily.  There is &#60;a href=&#34;http://bbpress.org/forums/topic/fight-against-auto-register-robot?replies=7#post-12197&#34;&#62;another current thread&#60;/a&#62; about modifying the profile information, so learning how to do it would help in both places.  I'm pretty sure the answer is to do it with a plugin rather than modifying core files.&#60;/p&#62;
&#60;p&#62;We're writing our own history here :-b)
&#60;/p&#62;</description>
</item>
<item>
<title>RichSad on "Change Profile information"</title>
<link>http://bbpress.org/forums/topic/change-profile-information#post-12209</link>
<pubDate>Mon, 26 Nov 2007 01:15:48 +0000</pubDate>
<dc:creator>RichSad</dc:creator>
<guid isPermaLink="false">12209@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I should add that my objective is to change the info collected to be related to the nature of the website. Occupation, Location, and such is not the right data for the website in question.&#60;/p&#62;
&#60;p&#62;I also note that these are text fields ONLY. The content creator of this particular website wanted a dropdown question. I talked her out of it, but how would you do something like that?&#60;/p&#62;
&#60;p&#62;Lastly, WHERE is it documented how the profile system works if anywhere. I found the source code was all I could find.
&#60;/p&#62;</description>
</item>
<item>
<title>RichSad on "Change Profile information"</title>
<link>http://bbpress.org/forums/topic/change-profile-information#post-12208</link>
<pubDate>Mon, 26 Nov 2007 01:13:09 +0000</pubDate>
<dc:creator>RichSad</dc:creator>
<guid isPermaLink="false">12208@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi. I want to change the data that is collected in the Registration:Profile Information page of bbpress. Some background...&#60;/p&#62;
&#60;p&#62;I have a bbpress/WPMU integration. The system is working fine in terms of the two sites being integrated. When a user goes to register for an account on the forum, they are presented with a form with name, email, website, occupation, location and interests. I see in the source code where the associative array is (get_profile_info_keys). So I could modify the fields there, but there must be some &#34;proper&#34; way to change the profile info that is gathered. &#60;/p&#62;
&#60;p&#62;I apologize if this is plainly explained somewhere. I can't seem to find any admin page related to changing the bbpress profile info. I'd prefer to do this the sanctioned way and not modify source files.&#60;/p&#62;
&#60;p&#62;Reading other posts I see stuff about plugins and the profile, but surely that isn't the easiest way to change the nature of the data collected?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
