Forum Replies Created
-
In reply to: customize forumIn reply to: oversized emojis in replies
sorry giving up – I get This is a private group and you must request group membership in order to join.
Sorry I have only so long to help people
In reply to: oversized emojis in repliessite still requires login
In reply to: installing bbpress wipes my admin roleyou can never guarantee that every plugin will work with every other plugin or combination of plugins and settings.
suggest you :
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
In reply to: Error in forum previewwhat do you mean by ‘forum preview from wp’ ?
In reply to: How to display all submitted topics on page?ok, that would require some custom programming to create
In reply to: new topic issuesusers can create new topics in individual forums, but not in the forum index
In reply to: String Translation IssueThe message in the .po is
‘This user…’
but in your example it is
‘you are…’
The code should be translated
but you can just put this in your functions file
//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == 'You are not currently subscribed to any forums' ) { $translated_text = 'new text'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );
and change ‘new text’ to whatever it should say
In reply to: How I can remove the written “Forum bbPress”sorry I don’t have time to install your theme to my test site.
In reply to: how to make the bbpress page as homepagejust put
[bbp-forum-index]
In reply to: Users importNot sure you can, and since users are allocated wordpress ID’s during import, which then link to the topics and replies, then a 2 stage import would not know which author to apply to which topic.
In reply to: List parent forum in Recent Topics widget?great – glad you’re fixed
This code will limit the topic title to 80 or whatever number you set $length to
Put it in your child theme functions.php file
add_filter ('bbp_new_topic_pre_title' , 'rew_limit_topic_length' ) ; add_filter ('bbp_edit_topic_pre_title' , 'rew_limit_topic_length' ) ; function rew_limit_topic_length ($topic_title) { $length = 80 ; if (strlen($topic_title) > $length) { $topic_title = substr($topic_title, 0, $length); } return $topic_title ; }
In reply to: The Participant role is not editableso they seem to be saying that their plugin won’t let you change it.
not sure I can help further without access, and that’s beyond free help
In reply to: How I can remove the written “Forum bbPress”unfortunately it isn’t enough. Normally the title is just Forum, so without being able to examine a browser to see where this is coming from, I ma not able to help.
It may be your theme is doing this.
The only solution I found was 8 years old
may well still be valid – link to this please
In reply to: Users can use index create thread areacan you say which shortcode(s) you are using on that page
In reply to: List parent forum in Recent Topics widget?my style pack plugin has a latest activity widget that lets you display the above
In reply to: User Roles – Adding/RenamingThe 2nd function assumes that you only have the default roles.
Put this first and it should work ie
//BBpress Rename Roles // /* BBPress Renaming Roles */ add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' , 1); function ntwb_bbpress_custom_role_names() { return array( // Keymaster bbp_get_keymaster_role() => array( 'name' => 'Administrator', 'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) ), // Moderator bbp_get_moderator_role() => array( 'name' => 'Moderator', 'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) ), // Participant bbp_get_participant_role() => array( 'name' => 'Member', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) ), // Spectator bbp_get_spectator_role() => array( 'name' => 'Spectator', 'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() ) ), // Blocked bbp_get_blocked_role() => array( 'name' => 'Blocked', 'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() ) ));} //BBpress Rename Roles End // //BBpress Custom Roles // function add_new_roles( $bbp_roles ) { /* Add a role called tutor */ $bbp_roles['bbp_lead'] = array( 'name' => 'Community Lead', 'capabilities' => custom_capabilities( 'bbp_lead' ) ); 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_lead' ) $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 'tutor' role */ case 'bbp_lead': 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' => 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; } } // End BBpress Custom Roles //
In reply to: How to display all submitted topics on page?a link to a site where your desired layout is shown would be great
In reply to: How I can remove the written “Forum bbPress”a link to the site where it is would be great
yes, it makes a gravity post and a topic post.
You could code to remove the latter as part of this function by adding further code, but in all honesty I wouldn’t worry, you’d need to be creating thousands of topics a month to make an impact on performance
In reply to: Login Widget Help Neededgreat – glad you are fixed
to only have it for a specified form, you add the form id
eg
add_action( 'gform_after_submission_5', 'set_post_content', 10, 2 );
will make it fire only for gravity form ID 5
In reply to: Login Widget Help Neededtry this in your custom css
.container { width: 100%; } .et_pb_widget { word-wrap : normal ; } #sidebar .bbp-login-form label { width: auto; }