Search Results for '+.+default+.+'
-
Search Results
-
Hi,
I’m experiencing some really odd behaviour when trying to change the slug for my Buddypress group directory (under which all my BBpress forums are housed) and redirect traffic.
My set-up is: BP 9.1.1; BBp 2.6.6, WP 5.8.1
Short explanation:
- traffic to a pre-change (/[old]/[groupname]) group url is being redirected to (/[new]/[groupname]/forum)
- This happens regardless of whether:
- There is a specific redirect in place
- There is a regex redirect in place (/[old]/(.*) to /[new]/$1/)
- There is no redirect at all
- My redirect provider – Rank Math – can’t explain this.
I’ve not modified my hta, and the only other redirect rules in page on the site relate to post-login behaviour. It seems there’s something deep within Buddypress, BBpress or WordPress which is driving this, but I have no idea what.
Does anyone have any idea what might be causing this abd how to address it? I dare not make this change on my live site without resolving and having a clear idea what’s behind it.
Appreciate any suggestions…
How can I restrict all forum content to members only?
I know that this is an oft-discussed topic, but I have yet to find a satisfactory solution.I want to have a website that has public content and a private forum.
All posts and pages will be private – except for all forum content.‘bbPress Members Only’is a great and mature solution, but it bars access to all posts and pages except for a few defaults.
Many membership plugins exist, including free ones. I could use one of those, but they not designed for this specific purpose. As such they require configuration for this specific case. This could work, but there are risks to privacy when configuring and updating a general-purpose plugin.
I found a plugin (sorry, can’t remember the name) that does most of what I want, but it leaves topic archives exposed. I think the point of that was that it allows a forum to advertise its content. This is the opposite of what I want.
The approach that I’m about to experiment with will be a programmatic one:
In PHP I will parse the URL. If the URL contains the string ‘forums’, then I’ll redirect the request to a gatekeeping page.In the meantime, if anyone can tell me about an approach or a plugin that I’ve missed, then please let me know.
Topic: Topic Sidebar
Topic: Broken Pagination
I am using WordPress 5.8 and BBPress 2.6.6. It appears by default BBPress creates an topic index page such as https://salvationcall.com/topics/. I found that Page 2 of this index page is broken; that is https://salvationcall.com/topics/page/2/. I am also of the view that I might experience the same problem with pagination as my forums keep growing. I have searched the bbPress site for solutions to no avail. I stumbled on a few pieces of information that suggested that setting “Forum root should show” to “Topics by Freshness” instead of “Forum Index” kind of works. However, it did not work in my case. I have diactivated many other plugins but still cannot find the cause. Any help?
Hi
When logged in and we use the forum search the results are password protected and they shouldn’t be.WordPress 5.8
bbPress Version 2.6.6I have disabled all plugins apart from bbPress and tried it on a default theme but the problem persists.
Is there any theme or way to use WordPress to make a forum that has two columns of independent replies? I refer to something that looks like this:
https://www.debate.org/opinions/should-18-and-19-year-olds-be-exempted-from-the-death-penalty
Using BBpress, etc. by default only gives you one single column of replies.
WordPress 5.8
bbPress 2.6.6
BuddyPress 9.0.0
Astra Theme 3.6.5Help! I have read every forum post about creating new custom roles in bbPress, but it still isn’t working for me. The created role names are displaying on my Users page in my Admin dashboard, but the roles themselves are not working as intended. When I assign a user a forum role, it is adding it under the “Roles” [i.e., Subscriber (WP Role), Founder (bbPress Role)] and not “Forum Roles.” I tested the different user role settings and they, too, are not working.
Am I missing something or doing something wrong? I’m new to bbPress and very frustrated after spending hours trying to get this to work.
This is the code I have create and placed in my Code Snippet plugin. The forum is being added to a paid members only website, so the URL would not be useful.
function authorready_add_new_roles( $bbp_roles ) {
$bbp_roles['bbp_probation'] = array(
'name' => 'Probation',
'capabilities' => custom_capabilities( 'bbp_probation' )
);$bbp_roles['bbp_subscriber'] = array(
'name' => 'Subscriber',
'capabilities' => custom_capabilities( 'bbp_subscriber' )
);$bbp_roles['bbp_founder'] = array(
'name' => 'Founder',
'capabilities' => custom_capabilities( 'bbp_founder' )
);$bbp_roles['bbp_leader'] = array(
'name' => 'Group Leader',
'capabilities' => custom_capabilities( 'bbp_leader' )
);$bbp_roles['bbp_moderator'] = array(
'name' => 'Moderator',
'capabilities' => custom_capabilities( 'bbp_moderator' )
);$bbp_roles['bbp_administrator'] = array(
'name' => 'Administrator',
'capabilities' => custom_capabilities( 'bbp_administrator' )
);return $bbp_roles;
}add_filter( 'bbp_get_dynamic_roles', 'authorready_add_new_roles', 1 );
function authorready_add_role_caps_filter( $caps, $role )
{
/* Only filter for roles we are interested in! */
if( $role == 'bbp_probation' )
$caps = custom_capabilities( $role );if( $role == 'bbp_subscriber' )
$caps = custom_capabilities( $role );if( $role == 'bbp_founder' )
$caps = custom_capabilities( $role );if( $role == 'bbp_leader' )
$caps = custom_capabilities( $role );if( $role == 'bbp_moderator' )
$caps = custom_capabilities( $role );if( $role == 'bbp_administrator' )
$caps = custom_capabilities( $role );return $caps;
}add_filter( 'bbp_get_caps_for_role', 'authorready_add_role_caps_filter', 10, 2 );
function custom_capabilities( $role )
{
switch ( $role )
{/* Capabilities for 'probation' role */
case 'bbp_probation':
return array(
// Primary caps
'spectate' => true,
'participate' => false,
'moderate' => false,
'throttle' => false,
'view_trash' => false,// Forum caps
'publish_forums' => false,
'edit_forums' => false,
'edit_others_forums' => false,
'delete_forums' => false,
'delete_others_forums' => false,
'read_private_forums' => false,
'read_hidden_forums' => false,// Topic caps
'publish_topics' => false,
'edit_topics' => false,
'edit_others_topics' => false,
'delete_topics' => false,
'delete_others_topics' => false,
'read_private_topics' => false,// Reply caps
'publish_replies' => false,
'edit_replies' => false,
'edit_others_replies' => false,
'delete_replies' => false,
'delete_others_replies' => false,
'read_private_replies' => false,// Topic tag caps
'manage_topic_tags' => false,
'edit_topic_tags' => false,
'delete_topic_tags' => false,
'assign_topic_tags' => false,
);/* Capabilities for 'subscriber' role */
case 'bbp_subscriber':
return array(
// Primary caps
'spectate' => true,
'participate' => true,
'moderate' => false,
'throttle' => false,
'view_trash' => false,// Forum caps
'publish_forums' => false,
'edit_forums' => false,
'edit_others_forums' => false,
'delete_forums' => false,
'delete_others_forums' => false,
'read_private_forums' => true,
'read_hidden_forums' => false,// Topic caps
'publish_topics' => false,
'edit_topics' => false,
'edit_others_topics' => false,
'delete_topics' => false,
'delete_others_topics' => false,
'read_private_topics' => true,// Reply caps
'publish_replies' => true,
'edit_replies' => true,
'edit_others_replies' => false,
'delete_replies' => true,
'delete_others_replies' => false,
'read_private_replies' => true,// Topic tag caps
'manage_topic_tags' => false,
'edit_topic_tags' => false,
'delete_topic_tags' => false,
'assign_topic_tags' => false,
);/* Capabilities for 'founder' role */
case 'bbp_founder':
return array(
// Primary caps
'spectate' => true,
'participate' => true,
'moderate' => false,
'throttle' => false,
'view_trash' => false,// Forum caps
'publish_forums' => false,
'edit_forums' => false,
'edit_others_forums' => false,
'delete_forums' => false,
'delete_others_forums' => false,
'read_private_forums' => true,
'read_hidden_forums' => false,// Topic caps
'publish_topics' => false,
'edit_topics' => false,
'edit_others_topics' => false,
'delete_topics' => false,
'delete_others_topics' => false,
'read_private_topics' => true,// Reply caps
'publish_replies' => true,
'edit_replies' => true,
'edit_others_replies' => false,
'delete_replies' => true,
'delete_others_replies' => false,
'read_private_replies' => true,// Topic tag caps
'manage_topic_tags' => false,
'edit_topic_tags' => false,
'delete_topic_tags' => false,
'assign_topic_tags' => false,
);/* Capabilities for 'group leader' role */
case 'bbp_leader':
return array(
// Primary caps
'spectate' => true,
'participate' => true,
'moderate' => true,
'throttle' => false,
'view_trash' => false,// Forum caps
'publish_forums' => false,
'edit_forums' => false,
'edit_others_forums' => false,
'delete_forums' => false,
'delete_others_forums' => false,
'read_private_forums' => true,
'read_hidden_forums' => false,// Topic caps
'publish_topics' => false,
'edit_topics' => false,
'edit_others_topics' => false,
'delete_topics' => false,
'delete_others_topics' => false,
'read_private_topics' => true,// Reply caps
'publish_replies' => true,
'edit_replies' => true,
'edit_others_replies' => true,
'delete_replies' => true,
'delete_others_replies' => true,
'read_private_replies' => true,// Topic tag caps
'manage_topic_tags' => false,
'edit_topic_tags' => false,
'delete_topic_tags' => false,
'assign_topic_tags' => true,
);/* Capabilities for 'moderator' role */
case 'bbp_moderator':
return array(
// Primary caps
'spectate' => true,
'participate' => true,
'moderate' => true,
'throttle' => true,
'view_trash' => true,// Forum caps
'publish_forums' => false,
'edit_forums' => false,
'edit_others_forums' => false,
'delete_forums' => false,
'delete_others_forums' => false,
'read_private_forums' => true,
'read_hidden_forums' => false,// Topic caps
'publish_topics' => true,
'edit_topics' => true,
'edit_others_topics' => false,
'delete_topics' => false,
'delete_others_topics' => false,
'read_private_topics' => true,// Reply caps
'publish_replies' => true,
'edit_replies' => true,
'edit_others_replies' => false,
'delete_replies' => true,
'delete_others_replies' => true,
'read_private_replies' => true,// Topic tag caps
'manage_topic_tags' => false,
'edit_topic_tags' => true,
'delete_topic_tags' => true,
'assign_topic_tags' => true,
);/* Capabilities for 'administrator' role */
case 'bbp_administrator':
return array(
// Primary caps
'spectate' => true,
'participate' => true,
'moderate' => true,
'throttle' => true,
'view_trash' => true,// Forum caps
'keep_gate' => true,
'publish_forums' => true,
'edit_forums' => true,
'edit_others_forums' => true,
'delete_forums' => true,
'delete_others_forums' => true,
'read_private_forums' => true,
'read_hidden_forums' => true,// Topic caps
'publish_topics' => true,
'edit_topics' => true,
'edit_others_topics' => true,
'delete_topics' => true,
'delete_others_topics' => true,
'read_private_topics' => true,// Reply caps
'publish_replies' => true,
'edit_replies' => true,
'edit_others_replies' => true,
'delete_replies' => true,
'delete_others_replies' => true,
'read_private_replies' => true,// Topic tag caps
'manage_topic_tags' => true,
'edit_topic_tags' => true,
'delete_topic_tags' => true,
'assign_topic_tags' => true,
);break;
default :
return $role;
}
}
Hello,
I copied the code forms-topic to create a very simple form for use in only one forum.
How I may please pre-select the forum from the drop-down that selects which forum to post by default? I’d assume it would require the forum ID but I do not know how to make it select to that forum by default.Thank you for any assistance.
Topic: All Replies 502 Error
- Running wordpress 5.8, php 7.4
- have deactivated all plugins except bbPress
- switched to a default theme
- flushed permalinks
- cleared cache
- repaired forums
bbPress All Replies still getting a 502 error. What can I do. WP Engine states segmentation faults, which is common with plugin error. Any advice?