I’ve managed to cobble together a solution. Essentially bbp-style-pack was selecting its own “bbpress.php” file instead of whichever was put into the theme folder. Essentially it just meant I had to edit the “bbpress.php” file at “wp-content/plugins/bbp-style-pack/templates” instead of creating one in my themes folder.
Secondly, it seems the visual issues were caused by using the Greenshift plugin, the styling of which was not recognised by bb-style-pack. This is understandable and no-ones fault but my own for assuming that they would be compatible. Instead I created a new header using just standard Gutenberg blocks and styling which worked fine, just had to add a custom font and some padding to the content.
I am a first time user of bbPress plugin and am mighty impressed by the ease inspite of it being used in an untested version of WordPress.
I am using WordPress 6.1.1, though it is listed as not tested, I decided to try.
My bbPress version is 2.6.9
I am using the theme Astra version 3.9.4
Help needed:
1. I have filled in some details on my Forum page, which are not visible on the output page https://milk-one.in/forums/forum/career-opportunities-with-natural-living/
2. Is there a way I can copy Categories from one forum to another?
Thank you so much for your attention.
Best regards,
Sid
I have created a thread on the The Event Calendar support forum
\bbpress\includes\users\template.php
Doing anything involves finding out where and why this is happening.
If we find that, then we can look at possible causes and potential solutions.
I am yet to be convinced it is a bbpress issue at all. bbpress uses this element when a user inserts a link – that is true, but it is a generic piece of wordpress code. This is a bit like saying because Fred cuts his lawn, any lawn that is cut must have been cut by Fred.
I am not seeing this form on any pages in my test site.
The code is in some javascript in the footer, and could be loaded by anything, including a wordpress setting, theme or plugin.
so can you
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
@robin-w exactly it’s a WordPress element that’s only suppose to load on the backend! I use bbpress plugin and what BBpress does is that it causes this element to load on the front end! so that people who want to post a new topic or reply to an existing one can edict their texts and insert links. For example right now if you are tying something on bbpress and try to make word a link, you tap on the link in the editor menu and you will see “that wordpress element” pop out.
I use Bbpress plugin and that elment shows up visibly when users want to link a text as well!
BBpress causes that backend “wordpress element” to show up on the front end.
The thing is even when the “wordpress element” is not visibly seen i.e when a user is trying to edict a link when typing a new Topic on the Forum. “The wordpress element” can still be seen hidden in “the source code” of the page and other pages even when not visibility seen. This doesn’t disrupt the user experience but here is the reason why I have a problem with this;
SEO
The “wordpress element” has a H1 tag. when it’s loading in the front end. My pages has it’s H1 tittle which I put there. So the H1 tag tittle tag on my page and the H1 tag on that “wordpress element” on the source code makes for redundant (2) H1 tags on my site page.
Apparently search engines like Bing has a big issue with redundant H1 tags and shows it in my Bing webmaster report as a critical SEO error that need to be fixed. while search engines like Google have no problem with this.
Is there a way that when BBpress pulls that “wordpress element” (that by default loads only at the backend) to the front end, it changes the tag on that “wordpress element” to a H3 tag??
The page is 1500 lines.
but still no idea what your image has to do with bbpress????
ok, I cannot say why that is happening.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
ok, all I can say is that it works on my test site.
I am not a bbpress author, just a guy sat in his kitchen trying to help others
bypassed and went to the site – the link is just a webpage – no sign of bbpress on here.
At present the site is in development behind a firewall so I cannot share it, though this should change next week as I bring it live but then a username and password will be needed.
However, what I have identified is that when a two word search is made the resulting URL is
…/forums/search/worda+wordb/
This produces the error.
However if I change the URL to
/forums/search/holding%20tank/
It then works so the code is inserting the wrong word separator.
This seems to have been quoted before https://bbpress.org/forums/topic/forum-search-form-widget-space-between-words-returns-a-404/
Though that was some years ago.
I have already tried a standard theme.
Does this provide any clues?
I know many fellows talked about how to remove a sidebar from a topic page, but they all are too complicated for me. So, I’m wondering whether I can remove a sidebar from a topic page by editing “funtions.php”.
For example, the url of a topic page includes string “topic”, so the following code (not completed yet) will work?
function bbPress_sidebar_hide() {
$url = $_SERVER['REQUEST_URI'];
if(strpos($url,'topic') !== false){
// here is the code for removing or hiding a sidebar which I don't know
}
@robin-w while I have messaged my site security company and waiting on a response from them! I did a malware scan of my domain using Sucuri;
The site seems clean! You can use Sucuri to check! Also my Google search console and Bing webmaster does not show any malwares! I will still appreciate if you can tell me the name of the your security so I can my site Security company look into that. It could be a false flag.
Pending that, could you please help me with a code snippet to change the H1 tag in the the insert/edict link form (that pops up when someone wants to insert a link on BBpress). How can I change the H1 tag there to H3 tag??? Please I’ll appreciate a code snippet that can do this pleaseee!
Can I use the topic/replay display template of this site(https://bbpress.org/)?
I think this template is more sophisticated than the original one.
And, when I hide avatars, the topic/replay display becomes in a bad shape (too much and unnecessary spacing), especially on a mobile screen.
I did this initially as I activated the FSE fix first, then when that didn’t work I created a bbpress.php. I may try creating a new header that is a bit simpler specifically for forum pages if integration isn’t well supported.
Hello,
On this page on my site. I can see that bbpress insert/edict link form is causing my site to have redundant H1 tags. This is bad for my Bing SEO as it’s showing up as something I need to fix. So I have 2 H1 tags. One is the tittle of the page and the other one is coming from the link insert/edict form on my site “front end source cod” that’s a feature created by bbpress.
Please can that insert/edict form have H3 tag please ? is there a way to course the form to have a H3 tag and not a H1 tag??
Secondly the form edict menu does not function properly. The form link and other menus does not show or work on the “reply box” on the front end even if I’m accessing the site as an admin! Also the “create a new topic form” the insert/edict link form doesn’t show up on a pop up but instead shows up on my footer. I’m using both the latest version of bbpress and wordpress.
I will really like to fix this issues. thanks for any help or advice that would be provided for this issue!!
FSE themes are relatively new.
Have you tried not having the bbpress.php but keeping the FSE theme fix in style pack?
I think it is the same as in this thread
Disappearance of the menu
so follow the suggestions in my response there
The image (png format) of the menu does not appear on any of the pages where bbpress is being used.
Example of the problem: https://anaimo.com/forum-list/
Example of how it is: https://anaimo.com/sdk/
Also, if you insert any image, either png or jpg, it doesn’t display.
Is this related to this thread?
Hi
I’ve just installed bbForums on my WP.ORG site, http://www.positivepython.co.uk.
WP Version 6.1.1, using Xolo Theme. Confirm the issue also happens on theme 2022
bbPress version 2.6.9
My site is set up so the Forums are the home page foe the site. I have set up some forums, but when I click on one of the forum titles, the link doesn’t take you to the forum, but it does go to a page of the (two currently) posts I have put on my site.
I am sure its something obvious, but I haven’t seen anything in forums or docs to help me.
Thanks in advance.
thanks, by comparing settings on my working site with yours, I found the culprit
In
Dashboard>events>settings>general you had ‘Include events in main blog loop’ ticked. No idea what this does, but unticking it seems to fix the issue.
If you need it ticked….
I reckon (but not certain) it is something to do with how event calendar is reacting with a WordPress function called WP_Query.
When listing a topic, bbpress sets the 2 custom post types ‘topic’ and ‘reply’ so that it can list the topic first and then fires WP_Query to get the list for the display. I think events calendar is catching that query and filtering for an event required process, the effect of which is to strip the ‘topic’, so only the replies get listed.
You can fix this by using this code
add_filter ('bbp_show_lead_topic', 'rew_true') ;
function rew_true () {
return true ;
}
This does alter a bit how the topic page looks. I could build a topic display page to overcome this, but beyond free help I’m afraid.
that’s great – thanks
so on my test site, I hid a forum and logged in as a participant, and the index shows fine.
so we need to work out what the difference between your site and my test site is.
so initially let’s eliminate outside factors such as a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back