Search Results for 'test'
-
Search Results
-
Hi,
I’m using bbPress 2.5.4 on WP 4.1 with Time theme, and when I go to my forums root page a very annoying text suddenly stretches my footer mile long.
It goes like this: “At [website title], the privacy of our visitors is of extreme importance to us (See this article to learn more about Privacy Policies.). This privacy policy document outlines the types of personal information is received and collected by [website title] and how it is used.Log Files
Like many other Web sites….”
How do I get rid of this? I went through all the settings, even checked my pages, found nothing whatsoever.
My footer has 3 columns with widgets, and a page widget (using it for a logo image only, no text) is being replaced with this damn text on the forums root page. All other pages display the correct widget. I retested it 3 times, this damn text replaces any “page” widget I add to my footer, and if I add multiple widgets with different pages in them, they all get replaced by the same text multiple times!
I never saw this text until I installed bbPress and went to the forums root page. I couldn’t find it in my database either so it must be in some files?Topic: bbPress not working!?
After installation no items appears in WordPress Dashboard, no custom post types are created (as far as I can see)…… No menu item in Settings menu. Nothing happens. Why? What do I do wrong. I am trying for about a day now and I can’t figure it out…… pulling my hair out. Please help.
Worpdpress 4.1, bbPress latest, local site, developing mode1
Topic: Custom Roles & Capabilities
Hello Everyone,
So I’ve been working to get some custom permissions setup for our site and are running into some issues…I’ve followed the document located here and in turn have added the following code to my functions.php file in my child theme:
//code to add members and board roles function add_new_roles( $bbp_roles ) { /* Add a role called member */ $bbp_roles['bbp_member'] = array( 'name' => 'Member', 'capabilities' => custom_capabilities( 'bbp_member' ) ); /* Add a role called board */ $bbp_roles['bbp_board'] = array( 'name' => 'Board Member', 'capabilities' => custom_capabilities( 'bbp_board' ) ); 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_member' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_board' ) $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 ) { /* Capabilities for 'Member' role */ case 'bbp_member': 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' => false, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => false, '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' => true, ); /* Capabilities for 'Board Member' role */ case 'bbp_board': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => true, 'view_trash' => false, // Forum caps '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; } }The problem I am running into is that the bbp_member role can’t seem to read and private topics, even though I have that capability set to true…? The bbp_board role works just as expected and in playing with the bbp_member role it seems to come down to the “moderate” capability…which I really don’t want on for our regular members.
Any help on this would be greatly appreciated.
I have the latest versions of WP, bbPress and BuddyPress installed.
Thank you
