via https://wordpress.org/support/topic/how-to-remove-protected-from-pw-protected-page-titles?replies=7#post-1658659
For ‘protected’
add_filter('protected_title_format', 'ntwb_remove_protected_title');
function ntwb_remove_protected_title($title) {
return '%s';
}
And for ‘private’
add_filter('private_title_format', 'ntwb_remove_private_title');
function ntwb_remove_private_title($title) {
return '%s';
}
[bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID
https://codex.bbpress.org/shortcodes/
So if the forum you want has an ID of 341 use [bbp-topic-form forum_id=341]
you’ll need to disable the bbpress plugin
https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F
Just deactivate the bbpress plugin for starters.
then you’ll need to figure out why it isn’t working for you.
I’d start by uninstalling bbpress, and reinstalling it in case there was a corruption as it downloaded
Then if it still doesn’t work, I’d disable all the other plugins and if it then works add them back one at a time to see which is causing the issue.
If not plugins, then I’d try switching to a default theme to prove that you WP installation is ok.
if all that fails, come back
Apologies, snow & under are a couple of terms that come to mind.
I just imported your data into a clean MySQL database and everything imported correctly.
(The one side note is a couple of BBCodes, [align & [flash weren’t converted to WordPress ‘safe’ HTML, but that is another issue.)
Where to from here I am not sure as ‘your’ content appears fine at my end and isn’t causing the importer to miss/fail etc.
I think the next step would be for you to try this on a local install:
MAMP if you use Mac http://www.mamp.info/en/mamp-pro/index.html
XAMPP if you use PC http://www.apachefriends.org/en/xampp.html
Setup and install WordPress & bbPress in this install.
Export your entire phpBB database and import it into your local setup and give that a go.
https://www.phpbb.com/kb/article/transferring-your-board-to-a-new-host-or-domain/
My theory here is there could be ‘something’ going on with your web hosts configuration and if the local import works we can then export this data from WordPress on your local host and then import this into your remote host.
antonyc resolved this issue by updating a theme’s forum template pages (archive-forum.php and forum.php) with a theme update per https://buddypress.org/support/topic/forum-root-returns-my-wp-archive-page/ FYI
Hi, I have created a private forum for members of my Board and staff to share news and views. I’ve also created user accounts for the people I want to have access. My (stupid) question is this: how do those users get to the Forum? Where do they login and how?
No code please, I won’t understand it!
Using BBPress Version 2.4.1, WordPress 3.6.1, Theme is Graphene Version 1.9.2, website is http://www.yourbackyard.org.uk.
Thank you, these work for the _blank:
add_filter( 'bbp_get_reply_content','links_blank_follow', 90 );
add_filter( 'bbp_get_topic_content','links_blank_follow', 90 );
function links_blank_follow($text) {
if( strpos( $text, $_SERVER['HTTP_HOST'] ) === false )
return str_replace('<a', '<a target="_blank"', $text);
return $text;
}
But I don´t know really: how I can use no nofollow, if the link is set to your own site.
had a look
You login works fine. If you fail then you will be taken to the default wordpress login page. If you want to change this page see
https://codex.wordpress.org/Customizing_the_Login_Form
For the lost password, try resetting your permalinks dashboard>settings>permalinks and just click save.
I appreciate the reply, the reason I suggested that my settings were correct were that I used the settings out of that domain’s wp-config file.
Hmmmmm…. Probably need to ensure you have the correct table prefix…
However, let me ask you, how long does the converter script run before it starts feeding back responses on its activity? For example, if it is succeeding does it start listing the tables or posts successfully migrated?
Seconds…
My point is that I want to know whether I should walk away from it, if say, it hasn’t reported anything other than “started” within 5 minutes or so.
Your import ~200 posts should be done in under 2 minutes give or take.
Open up phpMyAdmin and check your table names for the Mingle forum

In my case above the table prefix I would use is wp_
The Mingle Forums Datbase Tables are: wp_forum_forums, wp_forum_group,s, wp_forum_posts, wp_forum_threads, wp_forum_usergroup2user & wp_forum_usergroups
OK there was a similar question in the Buddyboss forums and if you are using the Buddyboss theme, it should be put in the bbpress subfolder (copy to child theme if not there) in the oop-single-reply.php file after the
<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
Now a further question – if I want to replace the Real Name displayed with only the @username, what should I do?
Thanks!
I haven’t got a clue what that problem might be, I’m sorry. Did you upload a valid functions.php in between your different tries (with/without <?php ?>) ?
(and yes, I see my code could be a little shorter, feel free to optimize this :))
Copy and paste in your php function code below:
<?php
add_filter( 'bbp_get_author_link', 'remove_author_links', 10, 2);
add_filter( 'bbp_get_reply_author_link', 'remove_author_links', 10, 2);
add_filter( 'bbp_get_topic_author_link', 'remove_author_links', 10, 2);
function remove_author_links($author_link, $args) {
$author_link = preg_replace(array('{<a[^>]*>}','{}'), array(","), $author_link);
return $author_link;
}
?>
Thank you for your answer Koendb!
Looks like I’m doing something wrong. After having copied your code into my functions.php under themes and customizr, both just as you wrote it and with the <?php and ?> as below, my webpage disappears and goes completely blank until I remove everything again. Why might that be?
<?php add_filter( ‘bbp_get_author_link’, ‘remove_author_links’, 10, 2); ?>
<?php add_filter( ‘bbp_get_reply_author_link’, ‘remove_author_links’, 10, 2); ?>
<?php add_filter( ‘bbp_get_topic_author_link’, ‘remove_author_links’, 10, 2); ?>
function remove_author_links($author_link, $args) {
$author_link = preg_replace(array(‘{<a[^>]*>}’,'{}’), array(”,”), $author_link);
return $author_link;
}
Add a filter that removes the links.
Copy the code below into your function.php file: (you might need to add <?php at the start and ?> at the end)
add_filter( ‘bbp_get_author_link’, ‘remove_author_links’, 10, 2);
add_filter( ‘bbp_get_reply_author_link’, ‘remove_author_links’, 10, 2);
add_filter( ‘bbp_get_topic_author_link’, ‘remove_author_links’, 10, 2);
function remove_author_links($author_link, $args) {
$author_link = preg_replace(array(‘{<a[^>]*>}’,'{}’), array(”,”), $author_link);
return $author_link;
}
BBPress adds some jQuery dependent javascript to the header which breaks the defer loading (cause a javascript error).
Javascript will be insert by setup_actions in bbpress/templates/default/bbpress-functions.php
add_action( 'bbp_head', array( $this, 'head_scripts' ) );
Would it be possible to make this script independent of jQuery or otherwise insert it with wp_enqueue_script and set its dependency of jQuery?
I also want to know how to remove this action. I tried:
global $BBP_Default;
remove_action( ‘bbp_head’, array( $BBP_Default, ‘head_scripts’ ) );
Thanks for your attention. I will need this fixes to get WP Defer Loading work with BuddyPress, see: https://github.com/bassjobsen/wp-defer-loading/issues/5
Hiya,
I’m trying to hide the “allowed tags” bit of the reply form and decided to try and use the bbp_get_allowed_tags filter.
However, the filter doesn’t seem to want to work. I’ve added the following to my theme’s functions.php:
function sibs_bbp_get_allowed_tags($retval){
var_dump($retval);
return $retval;
}
add_filter('bbp_get_allowed_tags', 'sibs_bbp_get_allowed_tags' );
This produces no effect though, almost as if the filter isn’t even working.
Am I using it wrong? Kinda confused…
Oh, and I realise this might not be the best way to hide the “allowed tags” feature. I’ll probably just use another method, but I’d like to discover what’s wrong with what I’ve done here anyway.
Thanks
Hi Bookkus, I have exactly the same problem here.
I’m using a child theme of BP default. bbPress 2.3.2, BP 1.7.3, WP 3.5.2.
The pages generated by bbPress follow my theme styling fine:
http://community.allen-heath.com/forums/forum/me
However when I use a bbPress shortcode, the styling / font goes wrong:
http://community.allen-heath.com/forums
http://community.allen-heath.com/forums-activity
Have you ever fixed this?
I am trying to add a button to update single topic on click. Using do_action & add_action(‘update_topic’,’bbp_update_topic’,10,2); and to show button I have added: add_filter( ‘bbp_theme_before_topic_title’, ‘update_button’ ); however since the code to show the button is inserted in ‘bbp_theme_before_topic_title’ the do_action is called in every topic title on page refresh. How can I isolate the do_action to work on one single topic title at a time and only fire on button click? I am really lost on this one and appreciate any ideas or suggestions.. Thanks in advance!
That plugin looks fine to use with bbPress 2.x, you just need to download either the bbpress-close-old-posts.php file and upload it to your plugins folder, or download the .zip, extract to a folder and upload that folder to your plugins folder.
But since it’s not listed at bbpress.org plugins list, I’m not sure if it’s safe or even compatible with my current install.
You will at times find many themes and plugins that are not hosted on WordPress.org, sometimes they are proprietary code, other times they are just quick snippets of code, it doesn’t mean they are unsafe and usually a quick note to the author will confirm if they work with the latest version of bbPress.
btw, searching for “lock” at bbpress.org plugins, at the bottom of the page you will see: ”Viewing 1 to 4 (4 total)” but there are only 3 plugins listed.”
Thanks, this is a known issue and will hopefully be fixed soon.
The CSS class for this widget is bbp-login-form
This is exactly what I need but I’m getting a fatal error when I try to activate the plugin:
Parse error: syntax error, unexpected T_STRING in /xyz-mysite/wp-content/plugins/changeauthors.php_/changeauthors.php on line 36
I copied the code exactly off github, turned it to a php file, zipped it and then uploaded as a plugin.
Many thanks for this, this makes sense and looks like a logical solution.
But, I’ve realised my issue is probably bigger than I thought. It’s not just a sidebar issue but more fundamental. When viewing or posting a new topic or reply the forum ‘jumps’ out of its parent page.
e.g –
(Viewing forum1 which is embedded in page1 using shortcode)
When I post a new topic my url changes to:
/’forum-root-slug’/’topic-slug’/
and so I have ‘jumped-out’ of my original location. This is not what I want to happen. I want the user to stay within the current location. And so, sidebar1 should also stay there without any hacks/workarounds, and sidebar2 should also stay in place for page2 which contains forum2 etc.
So going forward:
==> Any idea how to set a dynamic ‘forum-root-slug’ so that it is whatever the parent location is?