Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Change Profile information


xanderashwell
Member

@xanderashwell

If anyone is still looking for the solution to this, there is a suitable fix (creating a plugin to do the heavy lifting)

here

Basically, create a new plugin by saving the following code as “my-plugin.php” or whatever you might like to call it, in the my-plugins folder:

<?php

/*

Plugin Name: Profile Details

Plugin URI: https://bbpress.org/

Description: This plugin adjusts the information required at registration, and which information is displayed on the profile page.

Author: A.Example

Version: 0.333

Author URI: https://bbpress.org/

*/

function set_my_profile_info_keys($myarray) {

$myarray = array(

//’first_name’ => array(0, __(‘First name’)),

//’last_name’ => array(0, __(‘Last name’)),

‘display_name’ => array(1, __(‘Display name as’)),

‘user_email’ => array(1, __(‘Email’)),

//’user_url’ => array(0, __(‘Website’)),

//’from’ => array(0, __(‘Location’)),

//’occ’ => array(0, __(‘Occupation’)),

//’interest’ => array(0, __(‘Interests’))

);

return $myarray;

}

add_filter(‘get_profile_info_keys’, ‘set_my_profile_info_keys’);

?>

I hope that helps someone out, full credit must go to Olaf for this fix.

Namasté,

Xander

Skip to toolbar