Search Results for 'bbpress'
-
Search Results
-
Hey there,
I have made some changes in bbpress/includes/core/capabilities.php
The changes alter the capabilities of roles.
I wish these changes to survive updates. So I would like to include these changes in the file functions.php of my child theme.
Changes are in bold:
Change 1
// Moderator
case bbp_get_moderator_role() :
$caps = array(// Primary caps
‘spectate’ => true,
‘participate’ => true,
‘moderate’ => false,
‘throttle’ => true,
‘view_trash’ => true,// Forum caps
‘publish_forums’ => false,
‘edit_forums’ => false ,
‘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;
Change 2
// Participant/Default
case bbp_get_participant_role() :
default :
$caps = array(// Primary caps
‘spectate’ => true,
‘participate’ => true,// Forum caps
‘read_private_forums’ => true,// Topic caps
‘publish_topics’ => false,
‘edit_topics’ => false,// Reply caps
‘publish_replies’ => true,
‘edit_replies’ => true,// Topic tag caps
‘assign_topic_tags’ => true,
);break;
}return apply_filters( ‘bbp_get_caps_for_role’, $caps, $role );
}How can I include them in the file functions.php of my chid theme? Thank you very much in advance
Hi there!
I use bbpress along with the Optimize Press theme. It has always worked great.
However, recently, the index shortcode has stopped displaying properly. Instead of a nice, neat little box that listed all my forums, it is now sprawled out all over the page. What is going on, and how do I fix this?
You can see what I mean here: http://www.themusiciangirl.com/community-forum/
Thanks so much,
Maya
wordpress 4.4.1 – bbpress 2.5.8 – ultimate member 1.3.35
on profile page of every user the site gives 404 page not found.
After the bbpress instalation the wordpress use this custom structure
/index.php/%year%/%monthnum%/%day%/%postname%/thanx
Please Councils – use bbPress 2.5.8, extension Ultimate Member 1.3.36, Ultimate Member – Online Users 1.1.0, Ultimate Member – Profile Completeness 1.1.9 (on their website, I found the answer).
When specify a custom of profiles field, fail to show it to me nowhere. I tried insert a shortcode in several placesbut no success. Still I do not know what I’m doing wrong.
I guess I have something set a wrong, but I do not know what.For any advice, I would be grateful, Vendulka