I am trying to only have topics show up inside forums and not on pages.
I’ve clicked off the discussions and comments in screen options. I’ve deselected Allow Comments in sharing options. On the actual forum, I’ve disabled discussion and comments in the screen options. I even installed and activated, “No Page Comment” and selected “Pages” and in the settings, disabled all page comments and trackbacks. Yet, topics are still on all my pages.
Can anyone tell me if I forgot something, or knows a solution? It’s like my bbPress is possessed by evil stuff.
Hello people,
I have a new forum. So i’m testing some things.
After i made a topic (with a new account) i get to see this weird thumbnail failure (see image)
View post on imgur.com
How do i solve this?
I am allowing non-users/members to see the forums in my paid membership site. However, they cannot participate in the forums.
Ideally what I’m looking for is a way to let them see and read the forums and replys for 2 minutes before a pop up comes over and says “you must join the community to be in the forum” and then the forums are blacked out.
Pinterest do a similar thing with their website. Would anyone know how to make this possible, perhaps a plugin or similar?
Many thanks,
Rebecca
WordPress : WordPress 4.7.4 avec le thème BlackFyre.
bbpress : Version 2.5.12
http://www.vieuxetmechants.com/
Hello i’ve created custom and i don’t understand the role MembreVetM can’t edit or delete their own post
function add_new_roles( $bbp_roles )
{
$bbp_roles['bbp_gamer'] = array(
'name' => 'Gamer',
'capabilities' => custom_capabilities( 'bbp_gamer' )
);
$bbp_roles['bbp_membrevetm'] = array(
'name' => 'MembreVetM',
'capabilities' => custom_capabilities( 'bbp_membrevetm' )
);
$bbp_roles['bbp_veteran'] = array(
'name' => 'Vétéran',
'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
);
$bbp_roles['bbp_officier'] = array(
'name' => 'Officier',
'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
);
return $bbp_roles;
}
add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 );
function add_role_caps_filter( $caps, $role )
{
/* Only filter for roles we are interested in! */
if( $role == 'bbp_gamer' )
$caps = custom_capabilities( $role );
if( $role == 'bbp_membrevetm' )
$caps = custom_capabilities( $role );
return $caps;
}
add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
function custom_capabilities( $role )
{
switch ( $role )
{
case 'bbp_gamer':
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' => false,
'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' => false,
// Reply caps
'publish_replies' => true,
'edit_replies' => true,
'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,
);
case 'bbp_membrevetm':
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' => true,
'edit_topics' => true,
'edit_others_topics' => false,
'delete_topics' => true,
'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' => true,
'edit_topic_tags' => false,
'delete_topic_tags' => true,
'assign_topic_tags' => true,
);
break;
default :
return $role;
}
}
Hey there,
I would like to replace an old vBulletin-Board with bbPress. Yet the polling options are heavily used by users that I don’t want to bother with “goto wp-poll first, create a poll, copy this snippet in your post and adjust the poll-id”. My search so far did not reveal a better solution.
Is there one?
Is there another wp-plugin that can forum and easy poll functionality?
Kind regards,
Nefarius
Hello,
I’m using a plugin to integrate Amazon CloudSearch on my site. Whenever I exclude private topics from search results or private forums from search results, I might use some code like this.
function exclude_private_topics_search() {
$topic_id = bbp_get_topic_id();
if(gdbbx_is_topic_private($topic_id) ) {
add_post_meta($topic_id, 'acs_exclude', 1, true );
} else {
delete_post_meta($topic_id, 'acs_exclude');
}
}
add_action('bbp_new_topic', 'exclude_private_topics_search' );
add_action('bbp_edit_topic', 'exclude_private_topics_search' );
function exclude_private_forums_search() {
$forum_id = bbp_get_forum_id();
if (get_post_status($forum_id) == 'private') {
add_post_meta($forum_id, 'acs_exclude', 1, true );
} else {
delete_post_meta($forum_id, 'acs_exclude');
}
}
add_action('bbp_new_forum', 'exclude_private_forums_search' );
add_action('bbp_edit_forum', 'exclude_private_forums_search' );
The problem is this does not update pagination counts. For example if 2 topics that are private are hidden and there are 5 topics in the forum, it will still display a total of 5 topics instead of 3 topics. How can I update the pagination values if there are less topics displaying AKA private ones?
Thanks.
Hello,
I have a plugin that is used to index search results in to Amazon CloudSearch. I’ve written the below code to exclude private forums from search results. Now I need some code to automatically exclude all topics inside a private forum.
function exclude_private_forums_search() {
$forum_id = bbp_get_forum_id();
if (get_post_status($forum_id) == 'private') {
add_post_meta($forum_id, 'acs_exclude', 1, true );
} else {
delete_post_meta($forum_id, 'acs_exclude');
}
}
add_action('bbp_new_forum', 'exclude_private_forums_search' );
add_action('bbp_edit_forum', 'exclude_private_forums_search' );
Is there anyway I can get a list of topic IDs inside a forum ID?
Running latest version of bbPress and WordPress.
Thanks.
Hello,
I want to remove the bbPress Forum menu from frontend because it shows all forums for users although they hvae no access to it. How can I do this?
Hello,
Is there a way to remove the wordpress dashboard for participants/subscribers? Right now the participant/subscriber can see plugins that need to be updated for example and other information like Maintenance and Security Releases.
Thank you,
Diana
Hi
Newbie would be grateful for some help …..
WordPress 4.7.4 – bbPress 2.5.12
https://bijouxbutterflies.co.uk/forums/
Using the “Creating Content” guide I created my first forum and topic with no problems.
I then created a second forum (latest news) with one topic (trade mark registered).
Although both forums and both topics show in wp-admin, when I visit the website only the first forum shows.
What do I have to change to get both forums listed?
Thanks