Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Usernames Only – Plugin Announcements

  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    This thread will be used to list any major things you should know.
    If you have a general question, please create a new thread. Thanks!

    * As of BP 1.2.4 and version 0.53 of the plugin, core hacks from the previous versions are no longer needed!

    v0.54 released – fixes multiple replacement in activity updates (thanks to intimez for reporting)

Viewing 19 replies - 26 through 44 (of 44 total)
  • Avatar of abcde666
    abcde666
    Participant

    @erich73

    Hi Ray,

    when clicking on the Display-Name within the users Profile-Page, then it does not do anything.
    I mean when I am at the Tab “Friends” of that user (http://domain.com/members/katzi56/friends/ ) and then clicking on the Display-Name-Link, then the page does NOT forward to the users default-profile-page, like (http://domain.com/members/katzi56/activity/ ).

    So the Link of the Display-Name in the users Profile-Page does not work……

    Is this a bug ?

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    @rich
    I assume so…… lets wait for JJJ and BP 1.2.5 and see what it does then :-)

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @erich73 – Your issue isn’t related to this plugin. Rich’s link to ticket #2409 is what you’re looking for.

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    I’m reviewing the filters for the Welcome Pack 2.2 release.

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    @r-a-y I’ve changed the filter from ‘bp_member_name’ to ‘bp_get_member_name’, as it seems that is what I should have been using originally. Can you see any issue? I haven’t tested it yet.

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @DJPaul – This will work for Welcome Pack:
    echo apply_filters( 'bp_core_get_user_displayname', $member->display_name, $member->ID )

    FYI, this requires BP 1.2.4.

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Ok, I’ll use that. Thanks for your help with this. By the way, why 1.2.4? It seems to be in 1.2.3 at least: http://trac.buddypress.org/browser/tags/1.2.3/bp-core.php

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @DJPaul – It’s because the second parameter got added to the bp_core_get_user_displayname filter in BP 1.2.4. I’m using that second parameter, $member->ID.

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Ok, if anyone complains it’ll require 1.2.4, I’ll blame you :p

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    No problem! I see you announced it on Twitter as well ;)

    Avatar of rossagrant
    rossagrant
    Participant

    @rossagrant

    @r-a-y Hi mate, hope you are well!

    Is there a way to display the uername in a members profile rather than there display name. It’s the last place on my site where I can see it. I don’t mean the main section on a members profile page but when you actually click on the ‘profile’ tab on a members profile page. It still displays the display name.
    Thanks!

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @rossagrant – You could, but it’s a design decision by me to leave it that way.

    I’ve listed the reasons why on multiple occasions, but I’ll bring up the example of Twitter.
    If you’re on someone’s Twitter page you can view their display name in the sidebar.

    Avatar of rossagrant
    rossagrant
    Participant

    @rossagrant

    @r-a-y I totally agree with you but it’s been a request I have been asked for. The site is all financial and where money is involved it seems people want to remain anonymous.

    Could I trouble you for some code to change that name under the profile tab into a username. Cheers r-a-y I do appreciate it mate! :)

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @rossagrant – Here’s something quick. Add the following to your CSS:

    table.profile-fields tr.field_1 {display:none;}

    This will hide the “Name” field from profile pages. If you really need the username to be shown in the profile loop, since you’re using the plugin on a financial site, donate something to the plugin and I’ll look into switching the display name to username.

    Avatar of rossagrant
    rossagrant
    Participant

    @rossagrant

    @r-a-y Thanks mate! When I say financial I mean that is it’s topic rather than me making my millions! Haha! I’ll gladly donate something to get you a few beers though! How much we looking at? Just drop me the details and I’ll get something over to you! Thanks again!

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @rossagrant – There’s a tab at the top of the page called “Donate;)

    Donate whatever amount you feel is suitable and I’ll look into this when I can.

    Avatar of rossagrant
    rossagrant
    Participant

    @rossagrant

    @r-a-y Nice one r-a-y, I hadn’t seen the donate button. Just adding my bank account to my PP account so as soon as it’s authorised I’ll send you something over. Thanks for your help!

    Avatar of razzgpe
    razzgpe
    Participant

    @razzgpe

    @r-a-y

    Thx for your plugin!
    Its perfect. But is there now a solution, how to display two custom fields as the display name?

    See also this topic please:

    http://buddypress.org/community/groups/creating-extending/forum/topic/get-fullname-of-two-fields-firstname-and-lastname/

    Best regards!
    Razz!

Viewing 19 replies - 26 through 44 (of 44 total)

You must be logged in to reply to this topic.