Search Results for 'bbpress'
-
Search Results
-
Topic: First name and last initial
Hello everyone. I’m using the following snippet that will display the first name and last initial for users in buddypress. However, in bbpress it has no effect. Any ideas on how I could edit this to get it to work for bbpress? I’m so sad that something like this isn’t a default option.
$changeLastInitial = new changeLastInitial; add_filter('bp_displayed_user_fullname', array( $changeLastInitial, 'last_initial' ), 7, 1); add_filter('bp_get_member_name', array( $changeLastInitial, 'last_initial' ), 7, 1); add_filter('bp_get_the_profile_field_value', array( $changeLastInitial, 'last_initial_xprofle' ), 7, 3); add_filter('bp_core_get_user_displayname', array( $changeLastInitial, 'bp_core_get_user_displayname' ), 7, 2); class changeLastInitial { function bp_core_get_user_displayname($name, $id) { $name = $this->last_initial($name); return $name; } function last_initial_xprofle($value, $type, $id) { if ($id == 1) { $value = $this->last_initial($value); } return $value; } function last_initial($name) { $name_a = explode(' ', $name); // if there is at least two parts to the name if (count($name_a) == 2) { // replace the last part of the name with the first letter of the last part $name_a[count($name_a) - 1] = substr($name_a[count($name_a) - 1], 0, 1); // put it all back together $name = implode(' ', $name_a)."."; } return $name; } }
Hi everyone,
I use WordPress 5.03 with BBpress version 2.5.14.
My website is http://club.geef-model.nlThe issue that I experience with my forum is that I don’t receive a notification when I new user is registered.
Most likely it is just one box I have to enable 😉
but I cannot find it.I hope there is somebody who has the solution for me.
Thank you in advance for your help and response.
With kind regards,
Klaziena Waerts, the NetherlandsMy site is in Dutch and when I must translate it, or change it (for a short while) to English is that no problem at all 🙂
Hi! I tried typing @mention user for reply. but when I try displaying it by query.. it didn’t have the link to the user tag. i just display a plain text
Been looking around about how to convert an old VBulletin forum into BBPress where all of the users in VB are already in WP. What I was planning on doing was processing the topics finding the WP user for the post and then adding it to BBPress.
Only there doesn’t seem to be an API type widget to add a post, is there a bit of a hint somewhere as to what I need to do that will let me add the topics (as topic or reply) so that I can do it diresctly if necessary?
Thanks
LarryAt certain points searching/filtering/sorting in the admin for bbpress custom post types (topics, replies, forums) I get a white screen with the error “Invalid post type.” It appears in the URL that it might be resending the post type which is creating an array so in the url it says &post_type=array& which is throwing the error.
Example: https://mydomain.com/wp-admin/edit.php?orderby=modified&order=asc&s=Product+Releases&post_status=all&post_type=Array&_wpnonce=d255a43653&_wp_http_referer=%2Fwp-admin%2Fedit.php%3Forderby%3Dmodified%26order%3Dasc%26s%3DProduct%2BReleases%26post_status%3Dall%26post_type%3Dtopic%26action%3D-1%26m%3D0%26bbp_forum_id%26action2%3D-1&action=-1&m=0&topic-prefix=0&bbp_forum_id=18134&filter_action=Filter&paged=1&action2=-1Is there any way to fix this? We are trying to sift through many many topics to do some edits on a forum that we are migrating and need better ways to find posts in the admin. Any input as to where to fix it or if it is even fixable would be greatly appreciated.
WP version: 5.0.3
bbPress version: 2.5.14
Site: https://corepointuc.wpengine.com (it’s locked down private but this is an admin issue)
Theme: Divi Child theme
Not sure if this is a bug so please let me know if I need to report it as such. (ie. trac ticket)Thank you for any input or leads in the right direction!
LeslieWP : 5.0.2
bbPress : 2.5.14
Theme : Custom (built with _S)Hi everyone,
Im having some issues in my custom theme.
I have a custom register page where I put this code :<?php echo do_shortcode( ‘[bbp-register]‘ ); ?>
The thing is, I don’t want the user to be redirected to my wp-login page after registration, for obvious security reasons.
I had a look to some codes but non of them fit to my issue.
Do someone have any idea ?
Cheers,Chaaampy.
Topic: Create new forum error
Hi,
i installed bbpress today on my wordpress site which have WordPress 5.0.3, bbpress 2.5.14. If i click on the Forum page in the admin panel it keeps loading forever. i tried reinstalling but still the same.If i try to create a new forum it keep loading for about 3 mins and then show this error:
” Create New Forum
“class=”help-tab-content”> Publish – You can set the terms of publishing your forum in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a forum or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a forum to be published in the future or backdate a forum.Any idea what is causing this error?
WordPress v5.0.3
bbPress v2.5.14Im using the function
bbp_user_favorites_link()
on my homepage post content to show a favorite link icon in the upper righthand corner of the post image.When you click it, it goes to the single topic page. The “like” gets liked or unliked but I want to remain on the homepage. i dont want to go to the single topic page when clicking that icon from the homepage.
https://forum.thecritterdepot.com/
Note: You cannot “like” when youre not logged in. But I made a dummy icon that tells you you need to log in when clicked.
I tried looking through all the bbpress “favorites” functions but couldnt figure out how to remove this behavior.
Thanks!
Topic: Manage bbpress subscription
Hello,
I have a BBpress forum and a topic with question and answer. Users subscribe to notification topic when they answer or ask a question. Now, i would like to delete olds subcriptions to prevent user mark as spam notification (user who don’t use link in mail) and don’t use so many transactionals mails. How can i do that easily ?
ThanksTopic: Events manager and bbpress
I have both events manager and bbpress installed
I tried to give participants any capabilities in events manager but it’s not getting saved. Any bbp_role doesn’t allow me to edit their events manager capabilities, but it works fine with other roles I create using Ultimate Member or User Role Editor, and the bbpress roles don’t show up in the Role Editor so I can’t fix that manually from there.
Any advice?The post editor of bbpress is not fully displayed on mobile devices. WordPress version is 5.0 and bbpress version is 2.5.14.
I’ve tried different mobile devices and the problem remains. This is a recent problem, which has been normal before.