Forum Replies Created
-
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' );
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
MatthiasHi @danpb,
sorry it is working. Not backwards for older posts, but for new posts.
The plugin was the solution…
Thanks for your support!
MatthiasHi @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
MatthiasYes i have, but in french and sometimes in english⦠http://snippetbarn.bp-fr.net/
Thanks for the link
MatthiasDonβ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
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
MatthiasWant to show number of
topics created:
replies created:
in the buddypress user profile.
bbpress without buddypress did the job without modification…Any ideas?
Sounds like a good idea π
Thanks
MatthiasHi @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
MatthiasHi @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
MatthiasThis “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
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
MatthiasHi @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
MatthiasDid 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…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
Matthiashi @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/editIn 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