Forum Replies Created
-
Interesting, I switched to Custom Community theme and it cured the Field & Answer alignment problem on the profile page but I still got the blank page when I did a profile edit. So I assume it’s 50% a theme issue and 50% not! :/
Is there anyway of removing this ‘This is a notice to all users’ option? It’s not needed on my site and could cause a problem.
Same here! Edit profile, press save changes and get blank white screen. The strange thing is if you enter the url into a new tab it does load back to the profile! I’m using Seventh Queen ‘Sweetdate Theme’ and everyone else seems to be having the same problem.
Fantastic plugin…. works superbly!
Fantastic plugin to sort this problem!
Removed
if ( bp_is_active( ‘activity’ ) && bp_activity_do_mentions() ) : ?>
<span class=”user-nicename”>@<?php bp_displayed_user_mentionname(); ?></span>
endif;from
bp-themes/bp-default/members/single/members-header.php:28)
THAT DIDN’T WORK EITHER!
Dropped this script into my Aptana editor but it’s asking for some more code on the next line? Brackets?
Why isn’t Buddypress doing something about this!! No social/dating site I have ever seen has this @ username!!
Just don’t get it… give us a check box to get rid of it please.None of these are working! Still have @ username on profile page. 🙁
I have returned everything as it was but would appreciate your input as i still want to resolve this issue. Thank you for your patience.
I have just tried doing everything including the bit at the top and it’s still there and the script is still appearing on page.
This is what I did, ignoring the bit above:
The function bp_displayed_user_mentionname is declared in /plugins/buddypress/bp-activity/bp-activity-template.php:1027
As this function is a filter, we can simply remove it to remove the @username from the template. But because the hardcoded @ sign before the username, we have to add a CSS rule with the remove_filter function. The function above will do all that.
Add these snippet to your bp-custom.php (read here if you don’t know this file)
/* remove @username from the profile header */
function bpfr_remove_mention_from_profile() {
echo ‘<style> h2.user-nicename { display:none; } </style>’; // hide the h2 containing the @
if( bp_is_user() && ! bp_get_member_user_id() ) { // be sure we get the right user_id
$user_id = ‘displayed: ‘. bp_displayed_user_id();
} else {
$user_id = ‘get_member_user: ‘. bp_get_member_user_id();
}remove_filter( ‘bp_get_displayed_user_mentionname’, bp_activity_get_user_mentionname( bp_displayed_user_id() ) );
}
add_filter( ‘bp_get_displayed_user_mentionname’, ‘bpfr_remove_mention_from_profile’ );Hi,
I have done exactly what you have said above. The @ username is still there and the script that has been added to the bp-custom.php file is appearing on view at the top of the website. Is there supposed to be more brackets or something?
MalcolmCan’t find ‘member-header.php’. can please advise me… trying to get rid of this stupid @username!!!