topics can be ‘sticky’ or ‘super-sticky’
sticky posts go at the top of their forum
Super sticky posts go at the top of every forum
sounds like your topics are becoming super sticky
you can look at these in then backend
dashboard>topics>edit topics and select topic > topic attributes on top right hand side> Type
they can also be set in front end
where in the topic they show in admin as
stick (to front)
if you click the ‘stick’ then it is sticky, if you click the ‘(to front)’ it becomes super-sticky which is very easy to do by mistake.
on relationships, bbpress uses wordpress ‘post-parent’
so a reply has a post parent of the topic it belongs to
a topic has a post parent of the forum it belongs to
and a forum has a post parent of a forum if it is a sub forum, or a category if it belongs to a category
These relationships are also stored in the post_meta table
details on ‘children’ are not kept – for instance displaying topics is done by a function called bbp_has_topics which selects topics where the post_parent is the forum concerned. bbp_has_relies has a similar serach for replies where the post_parent is the topic concerned.
Hi @fl3xtra,
If I understand correctly the problem you’re having, it’s a bug:
https://bbpress.trac.wordpress.org/ticket/3356
I’ve tried this patch on one of my sites and it appears to work. Bear in mind that I am NOT an expert on this.
Here’s the thread where I found out about the patch:
Several questions regarding freshness
if you have not got it already, you might also consider installing
bbPress – Moderation Tools
whilst it is old it still works, and tells the user that their post is being held, so that they don’t keep trying to repost it
This report already exists in the bbpress track.
7 months ago I posted this bug.
https://bbpress.trac.wordpress.org/ticket/3311
sorry, that’s how it works, and how all plugins that I have known use custom fields work. As far as I can see that’s how it worked under 2.5.x – no code change I can see.
I’m just a user who helps out here, so if you really feel strongly about it, I suggest you log a bug at
https://bbpress.trac.wordpress.org/
if you update to bbp-style-pack 4.5.9 and then
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
add_action ('bsp_form_topic_login' , 'rew_redirect' ) ;
add_action ('bsp_form_reply_login' , 'rew_redirect' ) ;
function rew_redirect () {
if ( ! is_user_logged_in() ) {
echo '<ul><li><a href="http://www.mysite.com/login">Click here to log in</a></li></ul>' ;
}
}
amending the url to what you want, and amend the text as well if you want to
Then how do I make it when the user clicks “log in” on the text: “You must log in to create a new topic” he redirected to my login page, not login deafult wordpress?
Hello,
I have 0 knowledge about making website and such… but please help!
I want to make it like this –
1. Forum name clicked
2. Goes to Single Forum Layout page with corresponding forum ID (Edited with Elementor).
3. When posted Topic is clicked, It’ll show the post, reply threads and reply form.
–
I’m using Elementor’s bbpress widget and has bbp Style Pack (My WordPress theme is twenty-ninteen).
First, I made a page with Forum Index, and created a Forum. I created a Forum from WordPress dashboard “Forum”.
Second, When I click this Title of the Forum, it takes me to a WordPress Theme without “Edit with Elementor” gives me Content missing error. I’m having a trouble with this too, it seems like I have to add: the_content (); code or <?php the_content(); ?> on somewhere in the Theme Edit on dashboard. None of the Google search matched what I see on my css and php code list.
Third, I created 3 different sub-pages to Forum Index page to put in Elementor’s Bbpress widget, changed layout to Single Forum and input ID of the forum that I found from the Dashboard’s Forum section.
Problem is here, I can’t connect when the Forum name is clicked, direct to the Single Forum page.
I noticed that Breadcrumb of the Single Forum page is Home > Forums > Forum > Videos.
“Home” is Home, I don’t have a page name “Forums”-where is this coming from?
The name of the page with Bbpress widget (Forum Index) is “Forum”.
From seeing this error, It seems like I have to edit directly onto the Dashboard’s Forums section. but with these Forum page I don’t have access to Edit with Elementor.
–
I appreciate anyone’s suggestions and help! If you need any more information or need to clarify anything, please let me know.
Thank you.
the bbpress displays are built using templates.
I’d start with looking at this
bbp style pack
which will let you do many things.
to put your stats at the bottom, you’d need to look at creating a page for your forums and using
[bbp-forum-index]
then you can use gutenburg blocks or whatever editor you have to add the stats widget at the bottom
this may be what you need to change the default template
bbPress WP Tweaks
given that you don’t understand code, then the best I can offer is to remove the bbpress login from the topic and reply forms.
This can be done by installing
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Topic/Reply Form and activate item 15
sorry, bbpress uses the standard wordpress login api, so it is code if you want to do something different
Can you explain it in detail? please! We use WordPress only in blogs. Is there any kind of issue with that? Can we use bbpress on this? The topics we choose for the forum is the same as blog categories. Here is the blog of my website:
ok I suspect you are talking about wordpress post custom fields.
if so, bbpress has never natively supported these, so I suspect you have code or an additional plugin such as acf or a bbpress plugin that is doing this.
This is the login URL for my user:
Login
I want to direct from the create topic and also reply, and all the links (which is in the bbpress plugin) that redirect the login to my WordPress deafult
Hello There,
I have just installed bbpress on my WordPress blog website I have created 7 categories in the main forum, but when I click on the categories, topics do not show on the category. I have created a demo forum on local, whenever I open the link a blank page shows up. I saved permalinks too, but it did not work.
Wordpress allows comment replies to ten levels deep. When many members are participating in a popular forum topic, it gets very confusing when trying to follow a line of discussion.
How can I allow comments to open/close on an individual level within the forum comments hierarchy structure?
Hi
I have a transparent header built with Astra theme and Elementor page builder. I am also using BuddyPress on my site.
I would like to change all the bbpress forum pages header to a different background color, none white, so the header menu can display properly.
What css codes should i use?
Bbpre Version 2.6.5 on latest WordPress installation
Thank you
bbpress just uses WordPress login.
When a user first logs on without a bbpress role (eg keymaster, moderator, participant spectator or blocked) bbpress looks at
dashboard>settings>forums>roles and if set gives the user that role – yours is almost certainly set to ‘participant’ – so you can switch off or amend that settings as you wish.
participants have then ability to create topics and replies.
I’m using version 2.6.5. I’m looking at all the subscribers on my WordPress site and wondering what “Participant” means? Are these the folks that signed up to the forum rather than just to comment on my posts? In other words, do people who sign up to the forum get assigned as “Participant?”
Thanks!
Hi
I have a login page for my users (generated by one of my plugins). however, when I download bbpress, it directs users to login on WordPress deafult log in page, how can I change the login page for my users to the login page generated by one of the other plugins?
Thank you
It’s been about 10 years since I’ve attempted anything WordPress or PHP for that matter, but while this works it feels like it’s going to break in an update.
add_filter( 'bbp_default_styles', 'rew_dequeue_bbpress_css' );
function rew_dequeue_bbpress_css ($defaults ){
fixed_bbp_enqueue_style("bbp-default", "css/bbpress.css", array(), bbp_get_version());
unset ($defaults['bbp-default']) ;
return $defaults ;
}
function fixed_bbp_enqueue_style( $handle = '', $file = '', $deps = array(), $ver = false, $media = 'all' ) {
// Attempt to locate an enqueueable
$located = bbp_locate_enqueueable( $file );
$located = str_replace('/bitnami/wordpress', '', $located);
// Enqueue if located
if ( ! empty( $located ) ) {
// Make sure there is always a version
if ( empty( $ver ) ) {
$ver = bbp_get_version();
}
// Make path to file relative to site URL
$located = bbp_urlize_enqueueable( $located );
// Register the style
wp_register_style( $handle, $located, $deps, $ver, $media );
// Enqueue the style
wp_enqueue_style( $handle );
}
return $located;
}
From what I can tell your snippet does, it just clears out the default css object so the loop to bbp_enqueue_style skips including it and then I can inject my own function. The scripts function seem more complicated because there are many more includes than one file and they’re based on pages from what I can tell. Is what I’ve done what you were referring to?
lists re very subjective – what I find useful you will find useless or not how you want it.
https://colorlib.com/wp/bbpress-plugins/
gives a list
I’d add bbp style pack to that list, but I wrote it, so I’m biased
bbp style pack
That plugin also lists other plugins that I have found added value to forums