Skip to:
Content
Pages
Categories
Search
Top
Bottom

Several questions regarding freshness

Published on June 9th, 2020 by Mike Witt

I’m trying to clarify for myself the situation regarding “freshness” and I have several questions about that. There’s been a lot of discussion about this and there are a number of tickets, but I’m having trouble putting it all together. I apologize for rehashing old ground.

(1) Freshness vs Last Post

Sometime in the last few releases things changed so that (at least by default) the top level forum shows “Last Post” where it used to show “Freshness.” Is this (1) A temporary measure until freshness is fixed, (2) A change in philosophy, or (3) Simply a change in the “default” of something that can be configured?

(2) Freshness tickets

When I search on trac for open tickets which mention freshness, I come up with: 1925, 2659, 2876, 3310, 3356. I’ve seen it mentioned in the forums a number of times that freshness is a known problem, but I don’t see that any of these tickets is (I’m not sure how to say it but) the “main ticket” for the underlying problem. Can anyone help me out with this?

(3) bbp style pack

In many of the conversations about freshness (and other problems like threading and indentation) bbp style pack is the only thing mentioned as a solution. I’m almost getting the impression that this plugin is considered kind of a necessary part of bbPress, in order for things to work properly. Comments?

I’m still learning about bbPress and if anyone wants to point me to any “background” information or documentation that I *should* have already looked at, that would be appreciated.

Bug in bbp_subscriptions_handler

Published on June 9th, 2020 by Artur Khylskyi

function bbp_subscriptions_handler always have $action = ''

I`m fix this:


if (!$action && $_GET['action']) {
    $action = htmlspecialchars($_GET['action']);
}

Check this… I think is bug…

‘Last post’ info not bring updated

Published on June 8th, 2020 by kellyteagle

Hi,
An odd problem that I’ve just become aware of. When a user replies to a Post in Forum, the ‘last post’ info gets updated on the list of posts, but the Forum page does not. The result is that the Posts lists page displays Last post: 11 minutes ago by Ann Other. The forum page displays Last post: 2 days 21 hours ago by Some Onelse

There are no other error messages anywhere, and the site is running the latest versions of WP, BuddyPress and BBpress.
Can anyone help please?

Thanks,
Kelly

How to show the Register button besides the Login button?

Published on June 7th, 2020 by crebspark

Hi,

Can you help me figure out how to add a Register button beside the login button? I’m not talking about a rightside bar widget.

I’m talking about the default view when someone tries to view a forum and is not logged in.

Thanks

CSS to remove New Topic option in Forum

Published on June 7th, 2020 by fdittmar

Hi,

Could someone tell me if it’s possible (or even help me with identifying the correct specificity) to stop users from creating new topics in a specific subforum please.
Running BBP as part of a learning management system where user level/access etc are set based on their student/course status. Been fine for 3 years but now I’d like to provide a slightly stricter UI for some specific courses (which means the Forums/Topics).

My situation is:

Forum
-Subforum
–Topics
—Replies
–Topics
—Replies
-Subforum
–Topics
—Replies

My problem is in one of the subforums where the topics created by our teachers are listed but (obviously) the students also see the ‘Create New Topic’ option (which they need elsewhere). I wish to remove that New Topic Creation option there. I can’t do it via the Forum Attributes eg Closed Status because it needs to remain open for other child topics in the same forum.

I thought that using CSS (display:none) to remove the entire New Topic Entry box would work for me but my inexperience shows through because I can’t work it out even after hours looking online.

Is it possible to apply such css by adressing it against a specific post id?

I can remove the new topic box in the browser inspector various ways
(eg .bbp-reply-form, .bbp-topic-form {display: none;} or with #new-topic-0 etc) but I can’t get it done just for the 1 Subforum/Topic) –
This does not work: #bbpress-forums #bbp-forum-POSTID #new-topic-0. I also tried variations ul.bbp-parent-forum-21435 etc

In this example my Forum is post 21435, the topic in it is 21437 and I want to remove the New Topic Entry box on that page (students should only go to 21437 and use Replies there, not create topics)(sorry, actual forums are in the school system so not public).

Sorry for long post / cry for help. Maybe someone could assist… Thanks

bbPress Shortcodes appear to request new WordPress registration

Published on June 7th, 2020 by megatill

Hi – I have a WordPress site that has been operational for 5 years.
I wanted to add a Discussion Forum using bbPress, and I have been successful in installing the bbPress plug-in.
Using the bbPress Shortcode Codex, I wanted to create a requirement for people to log into my new Discussion Forum using

– Display the register screen.
– Display the lost password screen.

However, when I test these two options, it appears that these two options actually create a new WordPress account – with no connection to my existing WordPress site at all. When I test the Register facility, a new page opens with the WordPress create account box (create username and password).

What is wrong with the Shortcode usage, please?

WordPress 5.4.1 running Enterprise theme.

Who and What I Find – About this site


bbPress Version 2.6.5

Text disappears after double paragraph

Published on June 6th, 2020 by desmond234

Hello hoping someone can help.

When posting in forums on my website (either starting a topic or replying), if there is a double paragraph, the text that follows will not show when the post is submitted. It will be there in the text field and in the visual editor, but the whole paragraph will disappear.

Any ideas?

Search Results Item Header Info

Published on June 6th, 2020 by Pete

Hi,

I’m trying to add some detail to search results associated with replies to topics. By default, it would seem that if a search finds a hit in a particular topic post, it includes the name of the topic and the relevant forum in the header for the particular search result:
Default Topic Result Header
In contrast, a hit on a reply to a particular topic does not include any topic or forum information: Default Reply Result Header

I thought I might be able to solve my problem by modifying the loop-search-reply.php template to include what looked like it might be the relevant code from the loop-search-topic.php template:


<div class="bbp-topic-title-meta">

	<?php if ( function_exists( 'bbp_is_forum_group_forum' ) && bbp_is_forum_group_forum( bbp_get_topic_forum_id() ) ) : ?>

		<?php esc_html_e( 'in group forum ', 'bbpress' ); ?>

	<?php else : ?>

		<?php esc_html_e( 'in forum ', 'bbpress' ); ?>

	<?php endif; ?>

	<a>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a>

</div><!-- .bbp-topic-title-meta -->

<?php do_action( 'bbp_theme_after_topic_title' ); ?>

but it seems that was a little naive of me. This block of code certainly includes what could be the required information:Modified Reply Result Header but what I thought would be inserted as the forum name turns out to be the topic name.

Looking at the above code, I can see why this might be—the relevant text, ‘bbpress’, in the code block above appears to be just some placeholder text, and is the same placeholder text used to reference the topic name. I had thought that the text replacement might be a little more context sensitive than it appears to be.

So my question is, can anyone tell me how that text (‘bbpress’ in the above code segment, which is taken directly from the default loop-search-topic.php template) gets replaced, or more specifically I guess, can anyone tell me where to inject a function or the like to set this or some other piece of placeholder text (I appreciate that it may need to be different to the placeholder text being used for the topic name) to the relevant forum name?

Thanks

Undefined Variable Error

Published on June 5th, 2020 by devansh1995

Hello Team,

My wp admin is showing this error Undefined variable:

Notice: Undefined variable: topic_id in /home3/castudyw/public_html/wp-content/plugins/bbpress/includes/replies/template.php on line 461

Notice: Undefined variable: topic_id in /home3/castudyw/public_html/wp-content/plugins/bbpress/includes/replies/template.php on line 467

Please help me how to resolve it.

No Forums in Admin Dashboard. No Forum options in Users

Published on June 5th, 2020 by tumptyteapot

WordPress Version 5.4.1
bbPress Version 2.6.5

Mizan Therapy

I have no links to Forum in the dashboard. I have no forum options for users.
I can see the forums exist from the front end but I cannot get to them from the admin

I have disabled all plugins apart from bbPress and tried another theme. The problem still exists.
I have installed the User Role Editor but no options for forums exist there either.
I have cleared caches on the site and in the browser.

https://snipboard.io/C4xL6M.jpg

Skip to toolbar