Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 1,151 through 1,175 (of 6,777 total)
  • Author
    Search Results
  • #190920
    w3215
    Participant

    Thanks. Something that truly gave a clean interface (like gutenberg or medium.com as mentioned) would be ideal. But if there are not currently options for that for the bbpress text editor, are there options to improve the editor from the default?

    For example, to make it comparable to the text editor for ‘Discourse’ forum sites? (like https://discuss.reactjs.org/ or https://discuss.atom.io/).

    I have heard there may be a way to turn on the tinyMCE toolbar in bbpress, which is an improvement.

    However, I’m new to wordpress, but that seems to normally go along with a text editor that gives the writer two less than ideal options: a (i) “visual” option with the tinyMCE (the problem being it strips away a lot of formatting–for example removing tabs if you paste code in) or (ii) the basic “text” option, which is not great for a general audience bc it requires the writer deal with stuff like tags and html-jargon. Its also confusing to give users two different options that seem to do the same thing but in slightly different ways.

    So, if a Gutenberg-like experience is too much to ask right now, is there anything around that can give users the straightforward toolbar experience of the “Discourse” text editor?

    #190864
    Partizan
    Participant

    Hi!

    I have similar issue here but i can’t figure it out if this step by step guide is ment just for new forum installations?
    I have already existing forum with some content and can’t change the page where its shown. I followed method 1 and got it to show on new page but links are not rebuilt – they always show to original forum root no matter what i name it.

    Problem is that forum by default uses wrong theme page template and i would like to change that but can’t except if i show forum on a page done with method 1.

    Some ideas or a method to solve this issue?

    Thank you.

    #190860

    In reply to: Forum Creation Issue

    Dggerhart
    Participant

    So rather than passing back over disabling all of the other plugings (there were only a few, anyway) I flipped this over.

    I disabled BBPress. And re-enabled it. Which then took me to the settings page, which I saved with defaults.

    The issue no longer exists … I was able to open Forums, the Drafts, edit and publish.

    Sweet. Glad to be in here with you-all.

    I’m very excited about how these tools can support our community.

    Very best,

    #190849
    patbell101
    Participant

    [New topic] opens TinyMCE on the Text tab. My users think HTML is a government department 🙂 so can I default it to open on the View tab instead?

    #190838

    In reply to: Forum Creation Issue

    Robin W
    Moderator

    here is fine.

    ok so is this a new site? has it worked before and stopped working?

    What has changed – have you added a plugin upgraded plugins or done anything to themes.

    It could be a theme or plugin issue

    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

    #190815
    ericross
    Blocked

    I think this could work try this code, may be it works.

    1- Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .single-topic #bbpress-forums {
    margin-top: 0;
    }
    2- They do not show up on the bottom by default. If you would like to show, please add following code to Functions.php file in Appearance > Editor

    add_action( ‘bbp_template_after_single_topic’,’bbp_bottom_pagination’ );
    function bbp_bottom_pagination() {
    $output = bbp_get_template_part( ‘pagination’, ‘replies’ );
    return $output;
    }

    #190793
    liderxlt
    Participant

    Hi, I have a project which updates the forum daily through an import program.

    What I need is to run the repair tool that has bbpress once a day, when all imports are finished.

    I found this code but I can not make it work.

    function bbp_register_default_repair_tools() {
    
      // Topic meta
      bbp_register_repair_tool( array(
      'id' => 'bbp-sync-topic-meta',
      'description' => __( 'Recalculate parent topic for each reply', 'bbpress' ),
      'callback' => 'bbp_admin_repair_topic_meta',
      'priority' => 5,
      'overhead' => esc_html__( 'Low', 'bbpress' ),
      'components' => array( bbp_get_reply_post_type() )
      ) );
    
      // Forum meta
      bbp_register_repair_tool( array(
      'id' => 'bbp-sync-forum-meta',
      'description' => __( 'Recalculate parent forum for each topic and reply', 'bbpress' ),
      'callback' => 'bbp_admin_repair_forum_meta',
      'priority' => 10,
      'overhead' => esc_html__( 'Low', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type(), bbp_get_reply_post_type() )
      ) );
    
      // Forum visibility
      bbp_register_repair_tool( array(
      'id' => 'bbp-sync-forum-visibility',
      'description' => __( 'Recalculate private and hidden forums', 'bbpress' ),
      'callback' => 'bbp_admin_repair_forum_visibility',
      'priority' => 15,
      'overhead' => esc_html__( 'Low', 'bbpress' ),
      'components' => array( bbp_get_forum_post_type() )
      ) );
    
      // Sync all topics in all forums
      bbp_register_repair_tool( array(
      'id' => 'bbp-sync-all-topics-forums',
      'description' => __( 'Recalculate last activity in each topic and forum', 'bbpress' ),
      'callback' => 'bbp_admin_repair_freshness',
      'priority' => 20,
      'overhead' => esc_html__( 'High', 'bbpress' ),
      'components' => array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() )
      ) );
    
      // Sync all sticky topics in all forums
      bbp_register_repair_tool( array(
      'id' => 'bbp-sync-all-topics-sticky',
      'description' => __( 'Recalculate sticky relationship of each topic', 'bbpress' ),
      'callback' => 'bbp_admin_repair_sticky',
      'priority' => 25,
      'overhead' => esc_html__( 'Low', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type() )
      ) );
    
      // Sync all hierarchical reply positions
      bbp_register_repair_tool( array(
      'id' => 'bbp-sync-all-reply-positions',
      'description' => __( 'Recalculate the position of each reply', 'bbpress' ),
      'callback' => 'bbp_admin_repair_reply_menu_order',
      'priority' => 30,
      'overhead' => esc_html__( 'High', 'bbpress' ),
      'components' => array( bbp_get_reply_post_type() )
      ) );
    
      // Sync all BuddyPress group forum relationships
      bbp_register_repair_tool( array(
      'id' => 'bbp-group-forums',
      'description' => __( 'Repair BuddyPress Group Forum relationships', 'bbpress' ),
      'callback' => 'bbp_admin_repair_group_forum_relationship',
      'priority' => 35,
      'overhead' => esc_html__( 'Low', 'bbpress' ),
      'components' => array( bbp_get_forum_post_type() )
      ) );
    
      // Update closed topic counts
      bbp_register_repair_tool( array(
      'id' => 'bbp-sync-closed-topics',
      'description' => __( 'Repair closed topics', 'bbpress' ),
      'callback' => 'bbp_admin_repair_closed_topics',
      'priority' => 40,
      'overhead' => esc_html__( 'Medium', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type() )
      ) );
    
      // Count topics
      bbp_register_repair_tool( array(
      'id' => 'bbp-forum-topics',
      'description' => __( 'Count topics in each forum', 'bbpress' ),
      'callback' => 'bbp_admin_repair_forum_topic_count',
      'priority' => 45,
      'overhead' => esc_html__( 'Medium', 'bbpress' ),
      'components' => array( bbp_get_forum_post_type(), bbp_get_topic_post_type() )
      ) );
    
      // Count forum replies
      bbp_register_repair_tool( array(
      'id' => 'bbp-forum-replies',
      'description' => __( 'Count replies in each forum', 'bbpress' ),
      'callback' => 'bbp_admin_repair_forum_reply_count',
      'priority' => 50,
      'overhead' => esc_html__( 'High', 'bbpress' ),
      'components' => array( bbp_get_forum_post_type(), bbp_get_reply_post_type() )
      ) );
    
      // Count topic replies
      bbp_register_repair_tool( array(
      'id' => 'bbp-topic-replies',
      'description' => __( 'Count replies in each topic', 'bbpress' ),
      'callback' => 'bbp_admin_repair_topic_reply_count',
      'priority' => 55,
      'overhead' => esc_html__( 'High', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type(), bbp_get_reply_post_type() )
      ) );
    
      // Count topic voices
      bbp_register_repair_tool( array(
      'id' => 'bbp-topic-voices',
      'description' => __( 'Count voices in each topic', 'bbpress' ),
      'callback' => 'bbp_admin_repair_topic_voice_count',
      'priority' => 60,
      'overhead' => esc_html__( 'Medium', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type(), bbp_get_user_rewrite_id() )
      ) );
    
      // Count non-published replies to each topic
      bbp_register_repair_tool( array(
      'id' => 'bbp-topic-hidden-replies',
      'description' => __( 'Count pending, spammed, & trashed replies in each topic', 'bbpress' ),
      'callback' => 'bbp_admin_repair_topic_hidden_reply_count',
      'priority' => 65,
      'overhead' => esc_html__( 'High', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type(), bbp_get_reply_post_type() )
      ) );
    
      // Recount topics for each user
      bbp_register_repair_tool( array(
      'id' => 'bbp-user-topics',
      'description' => __( 'Recount topics for each user', 'bbpress' ),
      'callback' => 'bbp_admin_repair_user_topic_count',
      'priority' => 70,
      'overhead' => esc_html__( 'Medium', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type(), bbp_get_user_rewrite_id() )
      ) );
    
      // Recount topics for each user
      bbp_register_repair_tool( array(
      'id' => 'bbp-user-replies',
      'description' => __( 'Recount replies for each user', 'bbpress' ),
      'callback' => 'bbp_admin_repair_user_reply_count',
      'priority' => 75,
      'overhead' => esc_html__( 'Medium', 'bbpress' ),
      'components' => array( bbp_get_reply_post_type(), bbp_get_user_rewrite_id() )
      ) );
    
      // Remove unpublished topics from user favorites
      bbp_register_repair_tool( array(
      'id' => 'bbp-user-favorites',
      'description' => __( 'Remove unpublished topics from user favorites', 'bbpress' ),
      'callback' => 'bbp_admin_repair_user_favorites',
      'priority' => 80,
      'overhead' => esc_html__( 'Medium', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type(), bbp_get_user_rewrite_id() )
      ) );
    
      // Remove unpublished topics from user subscriptions
      bbp_register_repair_tool( array(
      'id' => 'bbp-user-topic-subscriptions',
      'description' => __( 'Remove unpublished topics from user subscriptions', 'bbpress' ),
      'callback' => 'bbp_admin_repair_user_topic_subscriptions',
      'priority' => 85,
      'overhead' => esc_html__( 'Medium', 'bbpress' ),
      'components' => array( bbp_get_topic_post_type(), bbp_get_user_rewrite_id() )
      ) );
    
      // Remove unpublished forums from user subscriptions
      bbp_register_repair_tool( array(
      'id' => 'bbp-user-forum-subscriptions',
      'description' => __( 'Remove unpublished forums from user subscriptions', 'bbpress' ),
      'callback' => 'bbp_admin_repair_user_forum_subscriptions',
      'priority' => 90,
      'overhead' => esc_html__( 'Medium', 'bbpress' ),
      'components' => array( bbp_get_forum_post_type(), bbp_get_user_rewrite_id() )
      ) );
    
      // Remove unpublished forums from user subscriptions
      bbp_register_repair_tool( array(
      'id' => 'bbp-user-role-map',
      'description' => __( 'Remap existing users to default forum roles', 'bbpress' ),
      'callback' => 'bbp_admin_repair_user_roles',
      'priority' => 95,
      'overhead' => esc_html__( 'Low', 'bbpress' ),
      'components' => array( bbp_get_user_rewrite_id() )
      ) );
      }
    #190791

    In reply to: Freshness Date Format

    Robin W
    Moderator

    ok so leave in the code that you have – that will make the default into date

    then add this

    function rew_forum_freshness_link( $forum_id = 0) {
    	echo rew_get_forum_freshness_link( $forum_id );
    }
    
    function rew_get_forum_freshness_link( $forum_id = 0 ) {
    		$forum_id  = bbp_get_forum_id( $forum_id );
    		$active_id = bbp_get_forum_last_active_id( $forum_id );
    		$link_url  = $title = '';
    
    		if ( empty( $active_id ) )
    			$active_id = bbp_get_forum_last_reply_id( $forum_id );
    
    		if ( empty( $active_id ) )
    			$active_id = bbp_get_forum_last_topic_id( $forum_id );
    
    		if ( bbp_is_topic( $active_id ) ) {
    			$link_url = bbp_get_forum_last_topic_permalink( $forum_id );
    			$title    = bbp_get_forum_last_topic_title( $forum_id );
    		} elseif ( bbp_is_reply( $active_id ) ) {
    			$link_url = bbp_get_forum_last_reply_url( $forum_id );
    			$title    = bbp_get_forum_last_reply_title( $forum_id );
    		}
    
    		$time_since = bbp_get_forum_last_active_time( $forum_id );
    
    		if ( !empty( $time_since ) && !empty( $link_url ) )
    			$anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $time_since ) . '</a>';
    		else
    			$anchor = esc_html__( 'No Topics', 'bbpress' );
    
    		return apply_filters( 'rew_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );
    	}

    and where you want to show a ‘since’ freshness link change

    bbp_forum_freshness_link() to
    rew_forum_freshness_link()

    You should put any amended templates into your child theme

    come back if you don’t know how to do that

    #190686
    u_Oi
    Participant

    When I change to any default wordpress theme the issue seems fixed. I thought It is something related with the theme

    Minimal Coming Soon & Maintenance Mode

    Inline Image Upload for BBPress

    WP User Avatar


    Yoast SEO

    Robin W
    Moderator

    sorry, can you be clear, this is JUST using the search box on forum pages – yes ?

    if so

    It could be a theme or plugin issue

    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

    #190671
    cinsin
    Participant

    thanks robin-w, I tried that plugin, changed a user back to Participant, the permissions listed for this user now indicated they can read_private_tocpic, but in effect they could not. I tried ” Remap existing users to default forum roles”, but no success.

    #190667
    u_Oi
    Participant

    HI,

    There is a “double” space in Notice and “By Author” info. I changed my wordpress theme to one of default wordpress theme and the error is fixed. I seems a CSS error.

    imagebam.com

    I using a theme called “Hitchcock”.

    How can I fixed?

    Thanks

    #190659
    Robin W
    Moderator

    It could be a theme or plugin issue

    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

    #190649
    cinsin
    Participant

    Hello

    My participants cannot view or reply to private topics. Administrators/keymasters seem to be able to.

    I’ve installed bbPress version 2.5.14, and Members Version 2.0.2 plugins. When I look at the participant’s role it:

    can read_private_forums
    cannot read_private_topics
    cannot read_private_replies

    and I cannot edit this role: “The Participant role is not editable. This means that it is most likely added via another plugin for a special use or that you do not have permission to edit it.”

    I tried deactivating plugins one by one to see if I could edit this role. I thought by default Participants could read and reply to private topics…

    Thanks for any help

    #190581
    locutus1
    Participant

    I changed the theme to twenty seventeen which is a default theme and it made no difference. I told my host about the issue. I told them everything that has been mentioned in this thread. They asked for the link to this thread which I gave them. This is their entire reply:

    “We just checked the logs on the server but we did not see any issue from the server side so we suggest you contact the plugin provider and ask them to have a look into this issue as that will certainly help.”

    I don’t know what info you would get from looking at logs but that’s all they said. So they give up.

    #190509
    Robin W
    Moderator

    ok, so if you say the forum is public, but hidden in buddypress, then we are on basic fault finding.

    so as a test

    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.

    I’d start with buddypress. You are just deactivating as a test.

    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

    #190501
    bensainz
    Participant

    I am having trouble getting the topic page template to default to the same page format as my forum page. I created a custom template “bbp-sidebars” that presents my forum page with a sidebar for forum page views and topic views. The forum picks up the custom template, but the topics page ignores it and defaults to the blog view template. So far I downloaded bbp Style Pack, bbp shortcodes, bbP Tookkit, Weaver for bbPress, and What the File to see if there was a setting to accomplish my goal. I also read multiple articles on custom templates, but none address the topic layout. Also, after a new topic or topic response is posted, I can manually go in and set the page settings to have it display the way I want. While my site is growing I can probably do this, but after a certain point it will be too hard to keep up.

    I am using WP 4.9.4, ForeFront theme Version 1.04 as a subtheme under GeneratePress V 2.02
    My Website is https://defensecareersHQ.com PW is “VetsHelpingVets”
    An example of my issue can be viewed here
    https://www.defensecareershq.com/forums/topic/how-about-l-3-technologies/

    Also, please note I manually set the all other topic pages to display correctly. Any advice is greatly appreciated.

    #190498

    In reply to: list of all functions

    Robin W
    Moderator

    I thought we had one, but can’t find it.

    The best way into bbpress is to start with the templates – these are the most likely thing you’ll want to alter, and placing amended ones in a ‘bbpress’ folder in your theme will make weordpress use these instead.

    so go to

    bbpress/templates/default/bbress/content-archive-forum.php

    This is the first template called, and all the functions and templates you want to use will cascade from here.

    #190453

    In reply to: removing search button

    themichaelglenn
    Participant

    I know this thread is 2 years old but it didn’t have the solution I was looking for, so I did some digging and figured out how to remove the Search button entirely. (So I’m putting it here in case anyone else looks for the same thing.)

    CSS will work to hide the Search button, but you can also remove it completely by modifying the bbPress template files.

    It took me a long time to find the right one, but what you wanna do is go to your plugins folder, and find the bbpress folder. Then look inside bbpress > templates > default > bbpress, and find the file named ‘content-archive-forum.php’

    This file outputs the <div id="bbpress-forums"> code at the top of your index page, then immediately after that it outputs the search field and the breadcrumbs.

    To remove the search box ONLY from your Forum Index page, just comment out the following lines of code:

    <div id="bbpress-forums">
    
    	<?php 
        
        /* Comment these lines out to remove search from your Forum Index page.
        
        if ( bbp_allow_search() ) : ?>
    
    		<div class="bbp-search-form">
    
    			<?php bbp_get_template_part( 'form', 'search' ); ?>
    
    		</div>
    
    	<?php endif; */ ?>
    
    	<?php bbp_breadcrumb(); ?>

    This will ONLY disable the search box; if you want to remove the breadcrumbs as well, then you need to comment out (or delete) the bbp_breadcrum(); line as well.

    NOTE: The safest way to do this is to create a bbpress folder inside your theme, and save the modified content-archive-forum.php there (otherwise it’ll be overwritten the next time bbPress updates.)

    #190443
    Robin W
    Moderator

    bbpress just uses the worpress login.

    On first login, users are given the default role on dashboard>settings>forums

    so it should all be fine.

    #190408
    Robin W
    Moderator

    create a directory on your child theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your child theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-statistics.php
    bbPress will now use this template instead of the original
    and you can amend this

    so copy this file to your PC and open it up.

    then remove lines 37-40 which say

    <dt><?php _e( 'Topic Tags', 'bbpress' ); ?></dt>
    	<dd>
    		<strong><?php echo esc_html( $stats['topic_tag_count'] ); ?></strong>
    	</dd>
    

    and save the file back to your website at wp-content/themes/%your-theme-name%/bbpress/content-statistics.php

    and yes being a child theme change it won’t get overwritten.

    #190395
    Robin W
    Moderator

    I’d suggest that something else is disrupting the setting

    It could be a theme or plugin issue

    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

    #190373
    Robin W
    Moderator

    Much of this is written so that I can come back to it in future, so bear with me!!

    IF YOU JUST WANT THE ANSWER – IGNORE THIS SECTION

    bbp_reply_url() calls bbp_get_reply_url.

    This function does maths by dividing the reply position by the number of replies per page in /includes/replies/template on line 487

    $reply_page = ceil( (int) bbp_get_reply_position( $reply_id, $topic_id ) / (int) bbp_get_replies_per_page() );

    bbp_get_reply_position gets the menu order in line 1742

    $reply_position = get_post_field( 'menu_order', $reply_id );

    Now I’m not sure if this reply position is comma separated, or if it is blank, then the rest of this function is adding a comma. The remainder of then function calls bbp_get_reply_position_raw which is in /includes/replies/functions

    this calls bbp_get_topic_reply_count, and in this function I think we have the issue.

    The function is in /includes/topics/template but in includes/core/filters.php

    we have a hook in line 177 which has

    add_filter( 'bbp_get_topic_reply_count', 'bbp_number_format', 10 );

    ‘bbp_number_format’ by default pouts the 000’s comma separator in.

    so if we remove this filter it should work.

    END OF…..IF YOU JUST WANT THE ANSWER – IGNORE THIS SECTION

    So try this in your functions file

    add_action('plugins_loaded', 'rew_fix_reply_numbers');
    
    function rew_fix_reply_numbers () {
    	remove_filter( 'bbp_get_topic_reply_count',    'bbp_number_format', 10 );
    	add_filter( 'bbp_get_topic_reply_count',    'rew_number_format', 10 );
    }
    
    function rew_number_format( $number = 0, $decimals = false, $dec_point = '.', $thousands_sep = '' ) {
    
    	// If empty, set $number to (int) 0
    	if ( ! is_numeric( $number ) )
    		$number = 0;
    
    	return apply_filters( 'rew_number_format', number_format( $number, $decimals, $dec_point, $thousands_sep ), $number, $decimals, $dec_point, $thousands_sep );
    }

    Let me know either way if this works !!

    #190366
    Mal
    Participant

    When I create in /wp-content/themes/my-theme/bbpress/loop-topics.php then I can overwrite the default BBPress template this way.

    But creating /wp-content/themes/my-theme/bbpress/loop-topics-[FORUM_ID_HERE].php doesn’t use this template for that category ID which seems to be against https://developer.wordpress.org/themes/basics/template-hierarchy/ and https://codex.bbpress.org/themes/theme-compatibility/template-hierarchy-in-detail/

    Is there a way to create a separate page template per forum ID without using conditional tags in loop-topics.php?

    #190348

    In reply to: Small template issues

    Robin W
    Moderator

    combination of your theme and bbpress, sorry but nothing that bbpress can do directly about this, works fine on all default wordpress themes.

    you can of course alter it with css for your theme.

Viewing 25 results - 1,151 through 1,175 (of 6,777 total)
Skip to toolbar