Thanks Zearl, need to modify your code slightly to get it to work:
Had to remove ‘$user_role’
function my_custom_roles( $role, $user_id ) {
if( $role == ‘Key Master’ )
return ‘Site Owner’;
return $role;
}
add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 3 );
@mdroca You should paste that code into your theme’s functions.php file. Here’s a guide on how to do that safely: http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/
Also, for others wanting to hide bbPress breadcrumbs, this code is a bit more compact but does the same job:
add_filter('bbp_no_breadcrumb', function($arg) { return true; } );
Thanks for the reply Stephen. Am I correct in assuming that posting to bbPress is just like creating any WordPress custom post?
And if so, could I make my own post submission form using Gravity Forms, or are there hooks that need to be used to get it to post correctly?
There is no way to automatically assign topic tags at this stage.
Hi all.
I am using bbpress fist time.
I have configured the login widget with links to my “lost password” & “registr” page i have created with shortcodes: [bbp-register] , [bbp-lost-pass].
I have also created an page with shortcode: [bbp-login] which then i have changed the redirect link from wp-login to my own page link of the shortcode for login. The change i have done in bbpress/includes/common/template.php around line 1154.
Now my issue is that after i run a test register (from my page created with the shortcode) nothing happens. I get redirected to my custom login page. But i get no email or my test user does not show up in “Users” in my WP backend.
I have following plugins installed:
Advanced Custom Fields
bbPress – Report Content
bbPress Notices
bbPress Notify (No-Spam)
bbpress Simple Advert Units
bbPress Users Stats
Better WP Security
Crumina Menu Customizer
Facebook
Google Fonts WordPress
Math Captcha
Page Builder by SiteOrigin
WPBakery Visual Composer
WP Maintenance Mode
Hope someone can help me on this issue. 🙂
Great, thanks it worked! Is there any way of doing something similar with the tags? I want the tags automatically created without the user having any choice.
Also updated the codex to reflect the correct shortcode syntax https://codex.bbpress.org/shortcodes/
Try using [bbp-topic-form forum_id=544]
Hi
I read in the docs that you can now specify a forum to post to using the shortcodes without having to use the dropdown forum selection.
I tried using this shortcode but it doesn’t seem to work and I still get the dropdown.
[bbp-topic-form id=544]
I want to load a form to create a new thread but have the forum hardcoded.
Thanks
What happens after you have run the repair tool “Remap existing users to default forum roles”
https://codex.bbpress.org/repair-forums/
You may have enabled ‘Threaded Replies’ in the settings and this would stop you from seeing any pagination.
https://codex.bbpress.org/forum-settings/#forum-features
Yes, they will get overwritten and details on what to copy and where to copy them to can be found here:
https://codex.bbpress.org/theme-compatibility/
OK, turns out the CSV won’t cut the mustard in this case, so these two queries match the results of the last dataset you send me.
SELECT * FROM phpbb_topics WHERE phpbb_topics.topic_id > 330 AND phpbb_topics.topic_id < 338
SELECT * FROM phpbb_posts WHERE post_id IN (3810,3819,3840,3851,3862,3863)
Can you run both of those queries and this time when you click export (There are two export labels, click the one in the ‘Query results operations’ section)
This time you only need to select ‘quick’ and format ‘SQL’ and zip both thos files and attach a link here.
That shouldn’t be an issue and as you are also seeing this for WordPress Blog posts I would expect it is either your browser, try another (Firefox, Chrome etc) and also clear the browsers cache though due to issues previously mentioned in this topic most likely an issue with your web host sadly.
Just to be safe before contacting your web host change your WordPress theme, try switching to Twenty Eleven/Twelve/Thirteen and see if the issues still persists.
Also I presume you ran the bbPress ‘Repair Tools’ after the import:
https://codex.bbpress.org/repair-forums/
Dutch (nl) is at 98% in the /dev branch
https://translate.wordpress.org/projects/bbpress/dev
Dutch (nl) is at 0% in the /2.4.x branch
https://translate.wordpress.org/projects/bbpress/2.4.x
Dutch (nl) is at 100% in the /2.3.x branch
https://translate.wordpress.org/projects/bbpress/2.3.x
Most likely you have downloaded the 2.4.x branch as noted above as it is at 0% as there are translations waiting for approval.
Download the .po & .mo from the /dev branch
Rename and upload both bbpress-nl.po & bbpress-nl.mo to /wp-content/languages/bbpress/
Spanish (es) is 100% complete in the /dev branch
https://translate.wordpress.org/projects/bbpress/dev/es/default
Spanish (es) is 95% complete in the /2.4.x branch
https://translate.wordpress.org/projects/bbpress/2.4.x
Spanish (es) is 100% complete in the /2.3.x branch
https://translate.wordpress.org/projects/bbpress/2.3.x
via https://codex.bbpress.org/bbpress-in-your-language/
You should have bbpress-es.po & bbpress-es.mo in /wp-content/languages/bbpress/
I have some code to show the sidebar based on what page it is, and it works fine for the pages, but no sidebar shows on any bbpress pages:
if (is_page(79) || is_child(79) || is_ancestor(79) || is_bbpress()){
dynamic_sidebar(‘memberbar-sidebar’);
}
If a user makes a nice forum post I would like to be able to choose to post this single topic into a WP post/blog of categoryX. If I see another nice forum post then I would like to be able to choose to post this single topic to the same, or perhaps a different WP post/blog under categoryY. All video/images etc should be presented in WordPress as it would appear in the forum.
I’d like to see the topic content appearing as an article rather than a forum topic: No reply window shown even if logged in, instead show ‘number-of-replies’. No avatar, just a short comment ‘posted-by-xxx’. The topic title and ‘number-of-replies’ links the user to the respective forum topic in the main forum view.
————-
I was thinking this might be possible using shortcodes. e.g. create a new shortcode based on ‘bbp-single-topic’ (perhaps called ‘bbp-single-topic-post2blog’). Then add a drop-down-list beside each forum topic only visible for admins. The drop-down-list includes all WP posts/blogs. After selecting a WP post from the drop-down-list the shortcode and respective topic-ID gets added to the bottom of the WP post content.
What do you think? I have quite a clear picture on how this should work.
If this is possible I would be happy to test it.
Yep, I ran all the repair options per Buddypress’s instructions. I ran them a second time after I discovered this issue. I created that test forum after that point, so I ran them again just now for fun. Still no change. 🙁
The only next steps I can think of are to hit that ominous “Reset bbPress” button or dig up my backups and just try again.
Hi 🙂
I have a layout problem with the bbpress-login-widget. See the screenshot.

Where can I increase the distance, so that “username” (here in German: Benutzername) is displayed in full. So the last letters are not seen. I suspect in the CSS, but I can not find the relevant code.
Thanks a lot for your help!
Morgensonne
P.S.:
Ohh, the link to my screenshot is not working……….. (?)
Any help for me?
<?php st_last_poster_block ( get_the_ID() ) ?>
This function not exist in bbpress, it’s home made? you must to search in your functions lists..
We must to open this function to change a little parameter to remove reply to….
I can see all topics and replies just fine in the backend and in the database, though it’s confused me that posts seem to be saved in the wp_posts table, not wp_bb_posts. I also can’t figure out where the new forum gets saved, because it’s not in wp_bb_forums, nor do new topics appear in wp_bb_topics. Anyway, they appear in Buddypress activity streams, and I can edit them in the backend, so it seems they’re just not making it to the page.
This is correct, bbPress plugin 2.x no longer stores the data in the old BuddyPress DB tables, each type is a WordPress custom post type ‘forum’, ‘topic’ & ‘reply’ which you would see in the wp_posts table.
After the import did you run the repair tools?
https://codex.bbpress.org/repair-forums/
If not (or even if you did) it would be a good idea to run each of these.
Run each of these repair tools one by one:
https://codex.bbpress.org/repair-forums/
- Recalculate the parent topic for each post
- Recalculate the parent forum for each post
- Recalculate private and hidden forums
- Recalculate last activity in each topic and forum
- Recalculate the sticky relationship of each topic
If this still does not fix the issue please cteate a ticket on Trac so we can look further into this.
https://bbpress.trac.wordpress.org/
Check your language settings as per this thread for Dutch
Problems with the language
As to why you are using anything with Brazilian Portuguese bbpress-plugin-pt-br.mo I do not know.