Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Matthias
    Participant

    @matthias70

    Hi @danpb,
    I found a snippet in my theme functions.php that causes the missing link to profile in all @mentions in bbpress. When I delete the following code all @mentions in the bbpress topics and replies are shown.
    Can you have a look at the following code. Maybe you can see, why it deletes the mention links to the profiles…?

    // replies visible only for logged in users
    function bb_auth_reply_view( $reply_id ) {
    $reply_id = bbp_get_reply_id( $reply_id );
    
    // Check if password is required
    if ( post_password_required( $reply_id ) )
    return get_the_password_form();
    
    $content = get_post_field( 'post_content', $reply_id );
    
    // first topic reply shouldn't be hiding
    $rep_position = bbp_get_reply_position($reply_id);
    
    // if user is not logged in and not the first post topic
    if( !is_user_logged_in() && $rep_position > 0 ) {
    return "replies only for logged in users!";
    } else {
    // return normal
    return $content;
    }
    }
    add_filter( 'bbp_get_reply_content', 'bb_auth_reply_view' );

    Matthias
    Participant

    @matthias70

    Hi danbp,
    I can not find a setting to allow explicit @mention. I allowed the activity stream in buddypress. And @mentions are working fine in there.
    The notifications if someone is mentioned in the bbpress forums are working fine, too. I even have a dropdown field with suggestions for @mention in bbpress.

    The only thing is the missing link to the profile behind the @mention in replies…
    forums and buddypress sites are exluded from caching…

    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    Hi @danpb,
    the @username link works in the lead topic but not in replies?
    Did I miss something to add?
    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    Hi @danpb,
    sorry it is working. Not backwards for older posts, but for new posts.
    The plugin was the solution…
    Thanks for your support!
    Matthias


    Matthias
    Participant

    @matthias70

    Hi @danpb,
    now I’m using your code and the plugin, but my forum still shows no links in @mention
    I just was searching in the bbpress support forum and it seems that it is a built in feature. But I don’t know why it is not working on my install?
    Here is how @mention are shown in my forum. No link to the user profile at all

    Any suggestions to solve the problem?
    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    What is used here is a custom function.

    Hi @danbp and @ all other readers,
    do you know more about this custom function used in the buddypress forum?

    Just to get a link to the profile, if a user is mentioned ( @username ) in a topic…
    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    Hi @danbp,
    no I mean the link to the profile shown here in the buddypress forum replies.
    When I write @danpb it is linked to your profile!
    Just want the same in my bbpress install, but the code in functions.php above does not work…


    Matthias
    Participant

    @matthias70

    Hi @danbp,
    the @username on my site has still no link to the profile…?


    Matthias
    Participant

    @matthias70

    Yes i have, but in french and sometimes in english… http://snippetbarn.bp-fr.net/

    Thanks for the link
    Matthias


    Matthias
    Participant

    @matthias70

    Don’t know What is line 330 ? What are you doing at line 330 ?
    What should i hide ?
    If i have other snippets ? Huh… πŸ™„ why this question ?

    Just want to say, that my functions.php is now 330 lines long πŸ˜‰
    And I asked, if you have a repository with other code snippets like the above.
    At the moment I know only http://bp-tricks.com/

    Matthias


    Matthias
    Participant

    @matthias70

    Hi @danbp,
    the code blows up my function.php πŸ™‚ At the moment I’m at line 330, but it works like a charm.
    Where did you hide this piece of code? And do you have other code snippets like this?
    I searched the web, but I did not find it…
    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    Want to show number of
    topics created:
    replies created:

    in the buddypress user profile.
    bbpress without buddypress did the job without modification…

    Any ideas?


    Matthias
    Participant

    @matthias70

    Sounds like a good idea πŸ™‚
    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    Hi @henrywright
    It would be great, if buddypress plugins older than three years would be updated πŸ˜‰
    And I would like to see member profile stats
    https://wordpress.org/plugins/buddypress-member-profile-stats/
    and community stats
    https://wordpress.org/plugins/buddypress-community-stats/

    But is this the right place for plugin ideas?
    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    Hi @danbp,
    thanks for your explanation. I know, that this name field is required.
    But I wish they quit it in one of the next buddypress versions.
    When your using the mention feature on a buddypress install users have to be careful not to use the real name…
    I would prefer the way wordpress does handle the real name. When there is no addtional info the username is the realname. When you define more, you can change your realname… That would be the better and easier way…

    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    This “username / realname thing” is confusing my users, too.
    At least the realname field in the registration page should be hidden by default.

    After registration, some users can show their realname if the want.
    But this field should not set as required!!!

    Matthias


    Matthias
    Participant

    @matthias70

    Hi Henry,
    thanks for pointing me in the right direction.
    A lot of changes. I think my admin bar remains on top the next weeks πŸ˜‰
    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    Hi @henrywright thanks for you answer.
    Do you or anybody else know, how to hide this field by css.
    You know the “display none” thing πŸ˜‰

    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    Did not find a solution to work it out with the standard wordpress fields.
    The only way to go around this problem, was setting up xprofile fields…


    Matthias
    Participant

    @matthias70

    I think @azinfiro had the same problems a few month ago.
    Seems it is the normal buddypress behavior, not to show the wordpress fields
    https://buddypress.org/support/topic/wp-profile-fields-not-editable-in-bp-profile/

    This is a bit strange, cause I can change the wordpress fields in bbpress but not in buddypress?!?!
    Makes no sense to me!

    Thanks
    Matthias


    Matthias
    Participant

    @matthias70

    hi @danbp,
    I’m using the plugin version of bbpress. And it’s running fine.
    I can edit all fields from the backend in the frontend, too under
    http://exampample.com/forums/users/USER/edit

    In buddypress I can access the users profile and I can set the password and the email notifications
    BUT
    there is no way to change the “public name” and the “website field” oder the “biographical info”
    For editing this, the user has to go to the backend!!!

    Thanks
    Matthias

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