-
Author
-
November 5, 2013 at 21:52 #6040JohnDoeParticipant
I 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 #6093SQadminKeymasterhave 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 #6096JohnDoeParticipantYes, but that only worjks on the members directory page, not on profile.
November 6, 2013 at 20:38 #6123SQadminKeymasterThen 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 #6175JohnDoeParticipantWill it still ask for the full name on registering then?
November 8, 2013 at 01:47 #6234SQadminKeymasterWell, 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 #6368cajoejoeParticipantlet 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 #6377JohnDoeParticipanthmm this still shows the full name , in the about me section.
November 11, 2013 at 07:12 #6395aztlanlaParticipantGo 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.