Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)

  • metalmick
    Participant

    @metalmick

    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! :/


    metalmick
    Participant

    @metalmick

    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.


    metalmick
    Participant

    @metalmick

    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.


    metalmick
    Participant

    @metalmick

    Fantastic plugin…. works superbly!

    https://wordpress.org/plugins/bp-avatar-suggestions/


    metalmick
    Participant

    @metalmick

    Fantastic plugin to sort this problem!

    https://wordpress.org/plugins/bp-avatar-suggestions/


    metalmick
    Participant

    @metalmick

    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!


    metalmick
    Participant

    @metalmick

    Dropped this script into my Aptana editor but it’s asking for some more code on the next line? Brackets?


    metalmick
    Participant

    @metalmick

    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.


    metalmick
    Participant

    @metalmick

    None of these are working! Still have @ username on profile page. 🙁


    metalmick
    Participant

    @metalmick

    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.


    metalmick
    Participant

    @metalmick

    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.


    metalmick
    Participant

    @metalmick

    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’ );


    metalmick
    Participant

    @metalmick

    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?
    Malcolm


    metalmick
    Participant

    @metalmick

    Can’t find ‘member-header.php’. can please advise me… trying to get rid of this stupid @username!!!

Viewing 14 replies - 1 through 14 (of 14 total)
Skip to toolbar