Hello @robin-w,
If I’m not mistaken, doesn’t this come with bbPress by default? Not sure what template it is actually in right now, but if you open up a single forum, you should see it. For example this URL.
Plugins
Thanks.
Thanks Robin. I’ll do that when bbPress has been updated for php 7.1
Hello @robin-w,
I’m not using a default bbPress function to hide the topics. I’m using a custom plugin to handle the hiding of topics so members who are participants have a choice if they want the topic to be public to all members or private to moderators and keymasters. As you can see with the code above, that excludes the custom private topics from search results. Now what I need to do is update the pagination counts.
For example, there’s a topic named “Testing” and another topic named “test123”. Pagination will show 2 topics. If “testing” is now marked private, pagination will show 2 topics. I need to figure out a way to update the pagination so it only shows 1 topic since that’s all is showing to participants. However if a moderator comes along with the required permission to view a private topic, the pagination should still show 2 topics since the moderator has permission to see the private topic.
I hope this helps explain my goal.
Thanks.
Suspect you are using php 7.1
3 fixes
1. downgrade to a lesser version of php
2. upgrade to bbpress 2.6 RC
3. in bbpress 2.5.12 go to /includes/forums/functions.php and change line 1851 from
$meta_query = $posts_query->get( ‘meta_query’ );
to
$meta_query = $posts_query->get( ‘meta_query’, array() );
Since the next upgrade will fix that anyway, no issue in changing the bbpress file
best I can offer I’m afraid
wp_bp is buddypress
bbpress uses custom post types for forums, topics and replies, and various ‘options’ settings, then of course users have meta data.
Quickest way would be to re-install and reactivate bbpress then use that to delete as above and then remove bbpress again. Much better than messing with sql tables
That would work if I had bbPress installed. I had deleted it because it wouldn’t run on php7.1 or php7.0.19
I’ll have to use phpmyadmin. Are wp_bp files all related to bbPress?
Or does wp_bp refer to BuddyPress?
If wp_bp refers to BuddyPress what bbPress files should I remove from mySQL?
Hi when i want to check my forums i get this erreur
View post on imgur.com
Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs\forum\wp-content\plugins\bbpress\includes\forums\functions.php:1800 Stack trace: #0 C:\xampp\htdocs\forum\wp-includes\class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 C:\xampp\htdocs\forum\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 C:\xampp\htdocs\forum\wp-includes\plugin.php(515): WP_Hook->do_action(Array) #3 C:\xampp\htdocs\forum\wp-includes\class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 C:\xampp\htdocs\forum\wp-includes\class-wp-query.php(3238): WP_Query->get_posts() #5 C:\xampp\htdocs\forum\wp-includes\class-wp.php(617): WP_Query->query(Array) #6 C:\xampp\htdocs\forum\wp-includes\class-wp.php(735): WP->query_posts() #7 C:\xampp\htdocs\forum\wp-includes\functions.php(955): WP->main(”) #8 C:\xampp\htdocs\forum\wp-blog-header.php(16): wp() #9 C:\xampp\htdocs\forum\index.php(17): require(‘C:\\xampp\\htdocs…’) #10 {main} thrown in C:\xampp\htdocs\forum\wp-content\plugins\bbpress\includes\forums\functions.php on line 1800
I’ve got 7 forums all named the same due to an issue mentioned in another post.
How do I remove all bbPress files from the mySQL database before installing bbPress again once it’s ready for PHP7.1?
Is there a plugin which will do this?
I’m running latest WordPress with php 7.0.19 and mySQL 5.6.35.
I installed phpBB and it worked fine, but I wanted something like the Ad Inserter plugin I’m using on WP and couldn’t find anything suitable.
phpBB is a good forum program with lots of good extensions. I’m hoping bbPress will ‘soon’ be updated to function properly with php 7.0.19 and 7.1.
In the meantime I’ve got to post another question elsewhere on how to cleanup the mysql database and get rid of the 7 forums I created using bbPress earlier – all forums named the same because none of them ever appeared as a forum in the listings or appeared anywhere except as a listing on my sidebar- so when I do try bbPress again I won’t endup with a mess of forums all named the same.
My php is 7.0.19 and bbPress produces blank page errors mentioned above.
Hi,
Hate to be a bother, and I can imagine you get a million questions, but this is the only thing holding me back from launching a site I’ve been working on for 9 months, so I’m pulling my hair out over here. Any help would be appreciated. It seems like no one has been able to solve for this, given my extensive Googling on the subject.
Yoast and any other SEO plugins aren’t compatible and just output blank, so that is not an option. Is there any way at all to access the topic title to add to the page title on bbPress topic pages?
Thanks
You shouldn’t need to do any of the above, setting your WordPress install to use German as the default language should automatically download bbPress’ translations.
p.s. If you’re using the method above for a different reason, uploading them to wp-content/languages/bbpress instead of wp-content/languages/buddypress would be the answer 😉
Same problem on my page also using PHP 7.1 latest version of bbPress and SSL with valid certificate and also use forced SSL over cloudflare hope there will be a fix soon.
EDIT: Downgrading to PHP 7.0 will solve the problem for now, but anyway I hope PHP 7.1 support will be there soon.
url, screenshot, more detail?
how much if nay of this have you been through
Before Posting
I would like to make a glossary with bbpress, any idea?
Thanks
// my website https://www.lottery.co.th/forums
I have ElasticPress and working for WordPress but not for bbpress. What do I need to do to get it working?
Thank you Robin !
I tried to reload the css, but no change.
I tried to change other settings:
Forums index styling is working. I changed the size of “3. Forum Headings Font”.
“Topic/Reply Styling – 5. Topic/Reply Date Font” doesn’t work.
So,“Topic/Reply Styling” doesn’t work.
I doubt below plugin.
“bbPress – Sort topic replies1.0.3”
Dear support team,
please help to solve the issue, while buddypress is active then bbpress search results are not displayed as it should, because the URL is then forward to main page instead of display the search results.
Screen video > https://www.screencast.com/t/DjsAlpyn2s
Looking forward to your help.
BR, Alex
Hello,
I run a very large community (ca. 3 Mio posts, 60k users) and using over 17 years Woltlab as community software. Basically, my community is a forum / discussion board, but also has a magazine, gallery and a marketplace.
As I work for many years with WordPress on other projects, I really like the pros in using an open system. Thats the total opposite of a software like WBB from Woltlab, and its getting worser and worser.
So, I really think its time for changing the system and that finally 😉 brings me to my questions:
1. There is no direct importer for Woltlab, right? As far as I read you must transfer the data to phpbb and then there is an importer phpbb >> bbpress, right?
2. How is the performance if you are running a very large community?
3. I watched a few sites that uses bbpress, but they only give me little impressions how the functionality of the software is. Is there a documentation on how the moderation works / what functions exists?
Thanks in advance!
Regards, Andreas
I am using bbp style pack.
But, “Topic/Reply Styling – 10. Topic Header” doesn’t work.
I want to change Topic Header size.
bbp style pack 3.59
WordPress 4.7.5
Twenty Sixteen
bbPress2.5.12
bbPress – Sort topic replies1.0.3
I don’t open my HP link yet.
Hi,
Thanks for the response. I’m not following how this would solve the problem, though. From what I can see of that filter, I need to pass in the topic title into this function, but I can’t get the topic title in functions.php early enough.
Here’s the function (in functions.php) I’ve created to modify the title in other ways needed (replace “Forum” with “Investment Groups” and replace mdash; with a hyphen as the main separator). This is where I’d want to incorporate the logic:
function theme_mod_title() {
add_filter('document_title_separator', function() {
return '$%';
});
remove_filter('pre_get_document_title', 'theme_mod_title');
$find = array(
'/ \$% /',
'/^Forums/'
);
$replace = array(
' - ',
'Investment Groups'
);
$title = wp_get_document_title();
// filter the title
$ftitle = preg_replace($find, $replace, $title);
NOT SURE HOW TO ACCOMPLISH THIS, BUT LOGIC NEEDED IS
//if (on bbpress topic page){
$ftitle = bbpress topic title . ' - ' . $ftitle;
//}
return $ftitle;
}
add_filter('pre_get_document_title', 'theme_mod_title');
The bbPress part is where I’m stuck. I’m not sure how to actually get the topic title early enough to pass it into the document title. This seems to be the only place I can actually set any new meta title tag logic, but I can’t tap into anything bbPress this early in the process.
Thanks again
Could you expand on some of the configuration setup you’re using here please?
What version of WordPress are using?
I think you’re talking about the “front end” editor like here on bbPress.org?
Or maybe you’re using a plugin to enable TinyMCE, if so what plugin is it?
The above info should help us to reproduce the issue if you could please @jesus-1 🙂
Same problem.
Site is running certified SSL and have had no issues with other plugins or wordpress itself.
Running PHP 7.1, latest version of bbPress
Problem exists in Firefox and Opera. Don’t use IE or Chrome.
Site is closed to public while in developement. Doesn’t seem to stop people accessing forum.
When clicking on Forums in Dashboard the url result is
https://mysimpleknitting.com/wp-admin/edit.php?post_type=forum
Message on page is:
The mysimpleknitting.com page isn’t working
mysimpleknitting.com.com is currently unable to handle this request.
When I attempt to access forums from url directly:
When I type in https://mysimpleknitting.com/forums/
The result is the same error.
Clicking on Forums in the Settngs brings up the proper bbPress page.
Hoping someone has solved for this…
I’m trying to make sure that all single topic pages are unique for SEO purposes. Currently, topics simply have the format “Forum – [Forum Name] – [Site Name]”. I want to prepend the topic so that the meta title tag format is “[Topic Name] – [Forum Name] – [Site Name]”.
I do not want to use Yoast or any other plugin, as this should be a pretty simple change.
The problem I am having is two fold:
1. In functions.php, I am unable to use anything like is_bbpress() or bbp_is_single_topic() to tell if I am on a specific page.
2. I am unable to get the bbPress topic title ahead of the pre_get_document_title() function so that I can prepend it into the meta header.
Any help would be greatly appreciated. This is for a WordPress/BuddyPress/bbPress integration.
Thanks in advance