-
Author
-
November 5, 2013 at 21:52 #6040
JohnDoe
ParticipantI don’t wanan see any real names across my site, i used the
/* Display Username in Directory */
function my_member_username() {
global $members_template;return $members_template->member->user_login;
}
add_filter(‘bp_member_name’,’my_member_username’);Code for members directory, now i’m wondering how to do this for profile too.
November 6, 2013 at 19:03 #6093SQadmin
Keymasterhave you tried this? http://wordpress.org/plugins/buddypress-usernames-only/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 6, 2013 at 19:08 #6096JohnDoe
ParticipantYes, but that only worjks on the members directory page, not on profile.
November 6, 2013 at 20:38 #6123SQadmin
KeymasterThen you have to edit wp-content/themes/sweetdate/members/single/member-header.php and change bp_displayed_user_fullname with bp_displayed_user_username
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 7, 2013 at 08:41 #6175JohnDoe
ParticipantWill it still ask for the full name on registering then?
November 8, 2013 at 01:47 #6234SQadmin
KeymasterWell, it will ask it yes. Maybe edit registration/register.php and make it a input hidden type instead of text and set the value to a space or something
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 10, 2013 at 04:30 #6368cajoejoe
Participantlet me know if you solved it,,, i can use the solution. Wanted just user name displayed rather the entire “real name”
November 10, 2013 at 14:01 #6377JohnDoe
Participanthmm this still shows the full name , in the about me section.
November 11, 2013 at 07:12 #6395aztlanla
ParticipantGo to Users | Profile Fields | and edit the name field. Call it Nickname. Then add a new field and call it Name and make it required and field type text box. Set Default visibility Admins Only. Then adjust Per-Member Visibility to your liking. That should let you hide the Name.
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.