Issue!
I installed rc-5 and woocommerce on two new installs this week and I’m getting this when i go to mysite.com/forum to see the forums list.:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Template_Loader::unsupported_theme_title_filter(), 1 passed in /opt/lampp/htdocs/th-fixed/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /opt/lampp/htdocs/th-fixed/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php:399 Stack trace: #0 /opt/lampp/htdocs/th-fixed/wp-includes/class-wp-hook.php(286): WC_Template_Loader::unsupported_theme_title_filter(‘Forums’) #1 /opt/lampp/htdocs/th-fixed/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘Forums’, Array) #2 /opt/lampp/htdocs/th-fixed/wp-content/plugins/bbpress/includes/core/theme-compat.php(561): apply_filters(‘the_title’, ‘Forums’) #3 /opt/lampp/htdocs/th-fixed/wp-includes/class-wp-hook.php(286): bbp_template_include_theme_compat(‘/opt/lampp/htdo…’) #4 /opt/lampp/htdocs/th-fixed/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘/opt/lampp/htdo…’, Array) #5 /opt/lampp/htdocs/th-fixed/wp-content/plugins/bbpress/includes/core/sub-actions.php(434): apply_fi in /opt/lampp/htdocs/th-fixed/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php on line 399)
Lastest everything both tested on xampp locally.
Hi ,
how to determine if its a member or an admin ( by admin , i mean the administrator and keymaster levels ) ?
if not , where can i find a good documentation about bbpress template tags like wordpress’ one ?
TFYT .
in bbpress plugin in my site the moderator roles the forum is not showing in dashboard,
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
something is putting that code there, you will need to work out what
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
ok, sorry but you can only fault find by testing.
Only having a live site is not a good policy, suggest you invest time in creating a test site
Creating a Test Site
the function (1) can sit in your plugin
the template (2) can also be in your plugin, but yes, you’ll need some code to do this
in my style pack plugin I have a directory and sub directory called
templates/templates1 and in this I have a bbpress templates I have amended eg
wp-content/plugins/bbp-style-pack/templates/template1/loop-forums.php
then in my plugin code I have (you’ll need to amend BSP_PLUGIN_DIR to a suitable name for your plugin
if(!defined('BSP_PLUGIN_DIR'))
define('BSP_PLUGIN_DIR', dirname(__FILE__));
add_action( 'bbp_register_theme_packages', 'bsp_register_plugin_template1' );
function bsp_register_plugin_template1() {
bbp_register_template_stack( 'bsp_get_template1_path', 12 );
}
function bsp_get_template1_path() {
return BSP_PLUGIN_DIR . '/templates/templates1';
}
This loads all templates in that directory and registers them with bbpress
come back if that doesn’t work for you with your code
Thanks Robin. I previously played with bbp_show_lead_topic, and I couldn’t get it to work (which is why I posted my question above.) I guess I was missing step 2, which is the template.
Question: Do the steps you describe change if I’m developing a plugin, instead of a theme? If I’m correct, the following code should help me (correct?)
correct way to override bbpress templates
Hello, i have a problem, i see a text before the text editor in bbpress.
The text is: “CONTENT string (0)”

How can i remove it?
Wordpress: 4.9.8
BbPress: 2.5.14
Website: https://www.ahoraajedrez.com/foros/foro/ajedrez-de-elite/
ok, try this – I think it works all fine, but let me know
what it does is check every 5 minutes that any topic posted over 1/2 hour is closed.
It will close all existing topics that meet this criteria.
A topic will therefore be closed 30-35 minutes after the original post date
BbPress close topic automatically 1/2 hour after topic is posted
Hi, in bbpress plugin in my site the moderator roles the forum is not showing in dashboard, help me how to do and also moderator only edit his own forum not others
Ok, I have looked everywhere for a solution to this, from digging through the support forum to plugins. I can’t seem to find it, so I’m going to see if anyone knows how to fix this issue for my particular needs.
I have bbpress installed, and we use it for an interactive fiction game. I have auto subscription set up for all users using I need for the forum/topic subscription emails that go out to users to include the author who wrote the topic/reply. As it is, if I write a reply, I don’t receive a copy of it in my email – even if I am subscribed to the forum. This is the same for all users. My users would like to receive a copy of their own reply to a topic or post in their email along with the other subscription emails.
I am fully capable of editing PHP, I just need to know where to look and what I’m looking for in the subscription email setup.
Thank you for any help.
i confirmed users but i can’t make it.
https://ibb.co/i6PF9U —> wp-admin account
https://ibb.co/hjmv9U —> visitor
also, if yo u enter wp-login.php i can’t open new open
there is this alert: “You cannot reply to this topic.”
my bbpress forum settings: https://ibb.co/dCEF9U
thank you for answer.
ok, so concentrating on a topic and it’s reply list and ignoring forums, you are saying that you would like
from clicking a topic in the forum list (a list of topics in the forum) you are taken to a page which displays
- the topic name
- some content/info but styled and controlled by you
- the replies as per normal
- the reply form
If so I suspect you need to do two things
1. use this piece of code in your functions file
bbp_show_lead_topic
2. amend content-single-topic-lead.php in your child theme’s bbpress directory.
by
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-topic-lead.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-single-topic-lead.phpbbPress will now use this template instead of the original and you can amend this
I have no idea how technical you are and whether that gives you enough to go ahead and fix, or if you need further help – let me know
I’m new to BBPress and I was looking at a few different sites for ideas. I run a PHPBB forum right now but I want to switch to BBPress (already have, it’s just not live yet)
I was curious how I can achieve this look? I’m guessing this isn’t CSS but some coding snippet, I want to be able to create a category and have the sub forums listed like this picture. If someone can point me in the right direction I can probably take it from there…
View post on imgur.com
Ok, firstly this is worrying because that is not the reply that I wrote.
Infact, I had a spam reply before yours, to some kind of advertising, and my reply was:
“Wow really?! Just a spam reply?!
Is bbPress not supported?”
So somebody has deleted that spam reply and altered my reply to it.
That’s genuinely really worrying. Either the forum is dishonest or it is not secure. Either way you need to check that out.
And secondly, your bad attitude is not appreciated. I’ve never had any experience with bbPress so asking “is bbPress not supported?” is nothing for you to be offended over. It is a legitimate question.
I have since discovered it is a theme issue, I appreciate your advising of that. But honestly, look out of your window. Whether its raining or sunny its beautiful day outside and life is great, don’t let noobs asking questions and wanting to learn get to you so much.
Hi Robin W, thank you for answer. My bbpress site some areas are broken in mobile. You can look screenshot or my forum page: notdefteri.net/forum Is there an add-on or code for %100 mobile compliance? thank you
https://ibb.co/bAxWgz
@ashaani
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
1. no you don’t need to copy any bbpress files into your theme
2. did you try my suggestions.
given that
https://westseattleblog.com/
behaves exactly the same – ie the content is way down the screen, I’m not quite sure what your question is.
If you get your theme to correctly display the content as you wish, then since bbpress is just content, it will follow
or am I missing something ?
1. bbpress is free software offered under OSF. There is no guarantee of support. If I gave you a free car, would you also expect me to service it for you for free?
2. BBpress is supported by volunteers (mainly me) who do so in their free time for no payment, so you expect someone to reply within 7 hours is frankly being a bit hopeful.
3. If you have followed the troubleshooting information in ‘before posting’ before er.. posting then you would probably have an answer without involving me, but to save you reading it…the most relevant part for you is
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Is it compatible with the plugin wp touch & bbpress, used with the plugin? for example: https://westseattleblog.com/forum/
bbpress can be made mobile compatible?
I just noticed that this website, bbpress.org, does something similar to what I’m looking for. (Except, I’d remove the avatar and date.)
So, how does that work? I noticed that this site’s theme is called BB’s Parent, but that doesn’t seem to be available to the public (so I can’t check its code 🙁 )