28 Jul

Change the core “Name” profile field in BuddyPress

Those that use BuddyPress along with their Wordpress MU installation may have found some limitations with the xprofiles. BuddyPress Devs have improvements listed as an upcoming feature, but in the meantime some things need to be fixed NOW!

One particular feature I needed to get round was the fact that you can’t change the default “Name” field. Whilst very common to have this as a field in most installations, we should at least be able to edit the field names the user sees, but unfortunately this is not so.

buddypress-fields1

There is a way of changing this, but requires you go into your database, via phpmyadmin or something similar.

There’s two places where you need to make changes. Here are the two SQL statements you should run (note you may have to change your table prefixes here if you installed wordpress with different ones):

UPDATE `wp_bp_xprofile_fields` SET `name` = 'newnamehere' WHERE `wp_bp_xprofile_fields`.`id` =1 LIMIT 1 ;
UPDATE `wp_sitemeta` SET `meta_value` = 'Nickname' WHERE `wp_sitemeta`.`meta_key` ='bp-xprofile-fullname-field-name' LIMIT 1 ;

And now go back to your buddypress fields and voila!

buddypress-fields2

If you liked this post, why not share it?

  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Reddit
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter
  • Thanks for this, that really needs to be changed. That field is not clear at all...

    So now I need to find out where to change the latest activity that says my member "Sports became a registered member" instead of "Marie became a registered member". :p http://utahdogs.com/members/marie/
  • I should edit this post when I get the chance actually, because you can now (as of BP 1.1 I believe) change the field from buddypress.

    I believe that is where your "name" in the profile fields come in.
  • i'll try something similar in vivacity.pe
  • Nice, looks good!
blog comments powered by Disqus