Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • binaryfabric
    Participant

    @binaryfabric

    After looking at the DB, it seems as though the user_nicename was being unset when setting the display_name.

    What I ended up doing was forcing an update of the display_name & the user_nicename and this helped fix the issue.


    binaryfabric
    Participant

    @binaryfabric

    It was because I was updating my display name via wp_update_user that the profile page wasn’t showing.

    So i guess the real questions is, why is it that when I update the display_name via wp_update_user, the profile url isnt updated?


    binaryfabric
    Participant

    @binaryfabric

    Hey,

    Were you ever able to get this fixed. Im having issues with another language.


    binaryfabric
    Participant

    @binaryfabric

    @mikeboltonca

    I know its been awhile but were you ever able to figure this out without changing the core files?

    Thanks,


    binaryfabric
    Participant

    @binaryfabric


    binaryfabric
    Participant

    @binaryfabric

    @Hugo64 Dose the Buddypress Upload Avatar Ajax plugin work with BP 3.0+


    binaryfabric
    Participant

    @binaryfabric

    That might be your opinion, but I going to disagree. Why make a round trip to the DB if you already have the info in your object?

    As for your filter, I have checked it out, but decided to go a different route that made a little more sense to me, then having to override more templates.

    I already override: single-bp-email.php so in the template itself I just replace the function bp_email_the_salutation() with my own function. I added some logic as needed, and now it works OK.

    I say OK because I am still unable to override {{recipient.name}}. I supply bp_send_email() with a WP_USER, and it’s a little frustrating that it does not take the info from the object.

    Thanks for the direction though, you have helped me come to a solution that is sufficient for now.


    binaryfabric
    Participant

    @binaryfabric

    I will try and give it try once I get a chance. For now I am happy with Brajesh’s BP plugin.

    Thank you


    binaryfabric
    Participant

    @binaryfabric

    I belive the “issue” is here:

    class-bp-email-recipient.php:104 
    $wp_name = wp_specialchars_decode( bp_core_get_user_displayname( $this->user_object->ID ), ENT_QUOTES );

    Even though we have a WP_USER object we still try and go and retrieve the user from the DB by user ID.

    Anyway to get around this/have this changed/submit a request?

    Thanks


    binaryfabric
    Participant

    @binaryfabric

    Thank you I will look into that.


    binaryfabric
    Participant

    @binaryfabric

    I ended up going with Brajesh’s BP Activity Shortcode they do fantastic work on plugins for buddypress


    binaryfabric
    Participant

    @binaryfabric

    This worked for me, thanks


    binaryfabric
    Participant

    @binaryfabric

    I will look into both options to figure out what works best for me.

    Thank you for your help


    binaryfabric
    Participant

    @binaryfabric

    I like it but their are some features missing, like forcing the loading of hidden posts.
    Maybe I can take it and build upon that, I dont know.

    From the lack of replies I’m assuming their isn’t a straight forward approach at replicating the exact structure of the activity (or even other aspects or the plugin).

    Thanks.


    binaryfabric
    Participant

    @binaryfabric

    I will check it out and report back. Thank you.


    binaryfabric
    Participant

    @binaryfabric

    I guess it would be something like bp_buffer_template_part( ‘activity/index’, null, false ), maybe something little more customizable with filters and stuff.

    Thanks

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