Skip to:
Content
Pages
Categories
Search
Top
Bottom

I have adapted BP-Real Names plugin


  • nig3d
    Participant

    @nig3d

    in order to work with the latest version of BP, but it’s not covering ALL the places where the names are displayed. Too many add filters.
    I used as reference the new bp-user-names only plugin, but I’m not quite finished yet.
    does somebody want to help me?
    does somebody want to point me out to the functions used to display the names? Are they all in side bp-core-templatetags file?

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

  • nig3d
    Participant

    @nig3d

    btw, for who wants to help me, these are the functions I have identified so far:

    add_filter(‘bp_get_member_name’, ‘bp_the_site_member_realname’);
    add_filter(‘bp_get_displayed_user_fullname’, ‘bp_the_site_member_realname’);
    add_filter(‘bp_get_loggedin_user_fullname’, ‘bp_the_site_member_realname’ );


    nig3d
    Participant

    @nig3d

    it looks like nobody is interesting on it, well I will publish it as alpha version next weekend and then we will see.
    I just noticed that to display exactly the same thing (the name of the logged in user for example), several functions are used in several places, a little mess.
    I will investigate on it and post some tickets if needed.

    +1 intrested in this..please letme know wen u manage to finish it


    techguy
    Participant

    @crashutah

    Have you contacted the BP-real names plugin creator? That sounds like the first place to go to find people that are interested.


    r-a-y
    Keymaster

    @r-a-y

    I wouldn’t use the same function across multiple filters… since each filter is different.


    nig3d
    Participant

    @nig3d

    Thank you r-a-y, are you the author of username only plugin?
    Yes I realized that after I posted it and I have already changed the functions.
    About the author: no, I haven’t contacted him, but since the last release of the pluing, BP changed a LOT of functions, so the author should have studied the same code I’m studying. Nevertheless I will contact him since anyway I’m using his code :D


    nig3d
    Participant

    @nig3d

    ray: it looks like you are the author of username plugin, I have some questions for you about your code, can I ask?


    paulhastings0
    Participant

    @paulhastings0

    try @r-a-y


    r-a-y
    Keymaster

    @r-a-y

    @nig3d – What questions do you have? I’ll try to answer them. But it’s always best to dig through the code yourself to find out which functions do what.


    nig3d
    Participant

    @nig3d

    https://buddypress.org/community/groups/buddypress-real-names/

    the link is broken, somebody knows how to contact the author?

    http://dev.benoitgreant.be/wordpress-mu/blog/2009/11/buddypress-real-names
    thats the plugin homepage, maybe ul find his details there?


    grosbouff
    Participant

    @grosbouff

    Hi nig3d. I’m the Real Names plugin author. I’m back on BuddyPress those days. Please feel free to contact me !

    @grosbouff will you be updating real names to work with latest bp?? i left you a comment on your site but no reply


    nig3d
    Participant

    @nig3d

    ok as promised I link the modified plugin. It’s not complete yet and I’m sharing it just because I know I couldn’t work on it at least for 2 weeks so if anybody wants to finish it, I think the original author won’t mind it. I won’t by sure.

    this is the temporary link:

    http://gameprog.org/buddypress-real-names.zip

    unzip it in the folder wp-content/plugin

    then use the dashboard to install it SITE-WIDE (otherwise it won’t work)

    then go to the x-profile setup and add a mandatory text box (I suggest to do it at least), called surname (or what you prefer)

    then add a new, NOT mandatory text box, you can call it “complete name: or such.

    then on the buddypress setup, you can click on the new real-name plugin setup.

    Choose the correct base field to use and the options you need.

    Of course the “real-names” won’t work until the user profile won’t be rebuild or modified.

    With the current version more or less half of the places where the username is usually shown, will show the name and surname.

    Unluckily BP is a mess with the username management and there are so many different functions to show the names that track all of them is a good effort.

    DO NOT USE for production version of BP.

    I will try to finish it if I will have the time, ray plugin is very useful to track all the functions used to show the username, but even ray had to make some nasty hacks to make them work almost everywhere.


    nig3d
    Participant

    @nig3d

    @grosbouff @r-a-y

    if you want to have a look, suggestions are quite appreciated, thanks!
    if you want to help to finish the update, it will be appreciated too, because I need the plugin if I want to finish the professional social network I’d like to create.


    Ryan Cronin
    Participant

    @xrolleh

    Hey nig3d,

    I’d gladly help work on this plugin. It’s essential to my site. Shoot me an email about what you want me to do specifically.

    Email: Ryan@blackoutplaylists.com


    Ryan Cronin
    Participant

    @xrolleh

    @nig3ed

    Please lets finish this together.


    nig3d
    Participant

    @nig3d

    @xrolleh Hello Ryan,

    sorry I just noticed the post, did you try/download the modified plugin?

Viewing 18 replies - 1 through 18 (of 18 total)
  • The topic ‘I have adapted BP-Real Names plugin’ is closed to new replies.
Skip to toolbar