Skip to:
Content
Pages
Categories
Search
Top
Bottom

Which Page Template filename can I use to display a Forum?

Published on June 7th, 2021 by bobdobbs

After installing bbpress I have a set of forums.

Every forum is presented using a php template in my child theme.
The php template has the filename bbpress.php.

I’d like to create a php template that applies *just* to the individual forum pages. Not the forum topics or singles. Or anything else.

I’ve been looking at this:

Template hierarchy in detail

The heirarchy seems to suggest that you can use ‘single-[forum].php’, which suggests that ‘[forum]’ needs to be substituted with the name of the forum.

… which is great. But I want one template to be applied to all forum singles and nothing else.

Just to test, I copied my existing bbress.php to a file called ‘single-forum.php’.
bbpress did pick this up and use it for my forum singles.
But the page didn’t present the actual forum. Where the forum should have been, there was just empty space.

So… how do I create a template that gets applied to all forums and nothing else?

How do I create a header for a forum?

Published on June 7th, 2021 by bobdobbs

I’ve set up a set of discussion forums on a site. Now I want to the purpose of each forum to be clear.

One forum is called ‘Introductions’.
I’d like to have a message on the page saying something like “Hi. This is where we get to know each other”.

I guess I could hack up something with ACF and put some logic in the page template that shows the forums. But I’m wondering if there’s a faster option.

Is there an inbuilt way to make add non-hardcoded content to the forum pages?

error 401

Published on June 7th, 2021 by serrurier94

I can not enter into the forum without log in. But i open topic to public view mode. I get error messages 401 in Google search console. Can anyone help me?. I am using bbPress 2.6.6.

The matter of backslashes

Published on June 7th, 2021 by djintelbe

Hello,

Some mathematical objects written in mathjax/latex use backslash (\). For example, one use \sqrt{} for the square root function, \mathbb{} for the set of numbers. In bbpress forums, these objects work perfectly but when the forums are displayed in buddypress activities streams, the backslash disappears and therefore the mathematical symbols are not rendered and make the texts difficult to read. If the texts are typed directly in buddypress side, things are also alright. So, the problem seems to be in the transition from forum to the buddypress activities.

I tried some solutions but nothing work. For example, I tried this solution: remove_filter( ‘bp_get_the_topic_post_content’, ‘stripslashes_deep’ ); but it did not work.
So I am asking for help; how can I do to solve the problem?

Thank you in advance

WordPress 5.7.2
bbpress 2.6.6

Regards

Nestor

How can I re-order the list of forums

Published on June 5th, 2021 by bobdobbs

I’ve installed bbpress and created a set of forums.

On the forums page of my website, a linked list of forums shows… which is great.

However, I now want to alter the order in which the forums are listed.

Usually for post types, the admin screen allows a re-ordering of posts via the ‘quick edit’ link.
However, in the bbpress forums admin screens, forums don’t have the ‘quick edit’ listing.

I’ve installed and configured a couple of plugins that allow admins to re-order post types. These don’t seem to touch bbpress forums.

At a last resort I’m sure I could find a code snippet online. But I’d like to work within the CMS admin as much as I can.

Is there a way to alter the order of the bbpress forums list display without falling back to code?

Expired member still getting subscription notifications

Published on June 5th, 2021 by sleestak

I have a paid membership WordPress (5.7.2) site using bbPress. I have it set for users to be able to subscribe to forums/topics. However, when their membership expires, they are still getting email notifications of their subscriptions. How can I prevent this?

Thanks!

bbpress wrong topic and reply time

Published on June 5th, 2021 by salar2

Hi,
My website WordPress version is 5.5.5. bbpress version 2.6.6 BuddyPress 7.3.0.
Child theme is Twenty Twenty.
BBpress language is farsi. My problem is the time of topics and repies is 4:30 off incomparision to Tehran time (It actually shows UCT instead of Tehran’s time). 3 examples:

برادرم جنسیت بچه اش رو نمیگه

دکتر معینی پزشک زنان

واکسن کرونا

How to edit the topics that are shown in the bbp-single-view popular

Published on June 5th, 2021 by vincenzon617

I am thinking about editing what the shortcode

Viewing 25 topics - 4,451 through 4,475 (of 27,123 total)
Viewing 25 topics - 4,451 through 4,475 (of 27,123 total)
displays. What I would like to change it to is to display the most popular topics per day. For example, a topic that has 10 replies one day and so classed as ‘popular’ has 1 the next day and so it is no longer on the list.

I have made a function that returns the number of replies in the current day by using the topicID but I am unsure where to go from here, to link it to this feature.

Any help is greatly appreciated!

Too many search forms

Published on June 4th, 2021 by jason4locations

When I use the bbPress forum search form, it adds it to the search form that was already there, so now there are two. I’d prefer to only have one, the bbPress one. I thought removing the one that was already there would be a WordPress problem (not a bbPress problem) because, to remove it, I could use the Disable Search plugin or the code at

https://www.wpbeginner.com/awp-tutorials/how-to-disable-the-search-feature-in-wordpress/

with Code Snippets. But, neither of those two methods worked. I couldn’t find the form that was already there at the widgets page. I also couldn’t remove it by customizing a header. I know that this might seem like more of a WordPress or theme problem, but because bbPress has the option of adding its forum search form, I thought a lot of people who use bbPress might wind up with too many forms (and bring it up at this forum). But, I couldn’t find anyone who has the same problem as me, at this forum. My site is at dancing4locations.org. There, you can see the bbPress form that I want to keep below the login form, and the form that I want to remove (which is to the left of the login form).

Thank you.

Redirect to previous page after login

Published on June 4th, 2021 by justcasper

Hello,
i found a lot of old (5+ years old) posts about that topic but none of them worked from me.
We have a private bbpress-forum and we want to be able to share links for the forum.
The flow shloud be like this:

1. Visitor clicks the link.
2. If the visitor isn’t logged in he gets redirected to the loginpage (already done).
3. After loggin in he should go back to the last page (the one from the link)

What is the best way to do this?

Skip to toolbar