Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 26 through 50 (of 58,443 total)
  • Author
    Search Results
  • #199194
    Robin W
    Moderator

    The problem is that themes do not use the wordpress template standards – in many cases for good reasons, but bbpress cannot understand every theme.

    I presume you have been here

    Step by step guide to setting up a bbPress forum – Part 1

    #199191
    badrobot
    Participant

    Hi – I am running the Activetab Child Theme with a left side bar. The Pages menu includes an option to make the pages full width with no side bar. How do I do that to Forum pages? There are numerous solutions posted on this none of which work. There seems to be wide spread demand to have full width bbpress forum pages but no easy way to do it. It makes sense not have the forum pages crowed with side bar noise that is required on the main page but nowhere else. The lack of support for this is a serious weakness in the bbpress plugin.

    I have a child theme implemented and have no problem adding bbpress specific overrides to the style sheet if they work and persist after plugin, theme and WordPress upgrades.

    #199190
    boka003
    Participant

    Hello,

    Need to convert the wpForo plugin to bbPress.
    I will like to move all topics from wpForo to bbPress if is possible,
    Thank you

    #199189
    Michał
    Participant

    Yesterday I installed this plugin, but I do not see any migration option anywhere … I am asking you for help, I can give data to my server, phpmyadmin etc.

    Comments on the xoops module “news” also this plugin moves?

    I am waiting 2 years on this forum for any help! sick… I thought that it helps people here

    I would like to finally go on wordpress and bbpress.

    Please Angelo Rocha help me, You are the last man who gonna make this, i migrate all articles with comments and users, i need migrate only module NEWBB.

    Best regards. You can find my e-mail previous message.

    #199168
    Michał
    Participant

    I still need help with migrate forum xoops newbb to bbpress, it`s similar mysql structure like phpbb. I can pay for help. My mail: michal [ at ] kulturystyka.org.pl

    Best ragards.

    Robin W
    Moderator

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #199131
    Robin W
    Moderator

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #199103
    Robin W
    Moderator

    can you swap to a default theme and retest with only bbpress running as plugin

    ukutabs
    Participant

    Hi everyone,

    Hopefully someone can help me decipher this error (with WP_DEBUG). Without WP_DEBUG simply getting a blank page. Front index and viewing topics works fine, but for some reason the forums (where you see a list of topics) don’t work.

    Tried disabling all plugins, besides bbPress of course. Running the latest WordPress version 5.1.

    Kind regards,
    Jonas.

    
    Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/ukuworld/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /var/www/ukuworld/wp-includes/class-wp-hook.php(286): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /var/www/ukuworld/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/www/ukuworld/wp-includes/plugin.php(531): WP_Hook->do_action(Array) #3 /var/www/ukuworld/wp-includes/class-wp-query.php(1736): do_action_ref_array('pre_get_posts', Array) #4 /var/www/ukuworld/wp-includes/class-wp-query.php(3387): WP_Query->get_posts() #5 /var/www/ukuworld/wp-includes/class-wp.php(622): WP_Query->query(Array) #6 /var/www/ukuworld/wp-includes/class-wp.php(739): WP->query_posts() #7 /var/www/ukuworld/wp-includes/functions.php(1105): WP->main('') #8 /var/www/ukuworld/wp-blog-header.php(16): wp() #9 /var/www/ukuworld/index.php(17): require('/var/www/ukuwor...') #10 {main} thrown in /var/www/ukuworld/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800
    manilajohn824
    Participant

    I like the bbPress plugin because of the Freshness column on the forum page. However I do have a couple of questions.

    1. In my current forum/blog I do not allow participants to add topics, they are only allowed to add comments to a topic. Is there a way in which I can only let the key master add a topic and NOT participants?
    2. In my current forum/blog all topics are password protected. Is there a way in which I can set a password for the individual topics? (The password would be the same for all topics and all participants know the password.)

    Wordpress version: 5.1
    bbPress version: 2.5.14

    Regards,

    Geoffrey Bender
    @hotmail.com">gbenderftg2@hotmail.com
    ussbasilone.org/forums/

    #199082
    Robin W
    Moderator

    as stated above

    You should note that this just magnifies the image, so it will be less defined the bigger you make it.

    best I can do without code (I’m just a bbpress user!)

    #199081
    paloprisk
    Participant
    #199067
    #199061
    ajuuls
    Participant

    Hello! It’s about the Forum BBPress have. Whenever i activate the %postname% in permalinks i the the URL i want. But then the “Forum” page can’t have widgets.

    Example:

    With widgets, i get the URL i dont want:
    http://www.dgf-esport.dk/?page_id=709

    Without widgets, i get the URL i want:
    http://www.dgf-esport.dk/forum

    I’ve tried plugins with a side widget which many recommend, but the problem here is the i cant se the widget because of the permalinks, which i dont really get..

    The website is live but far from finished yet. I do really hope anyone can help me!

    #199054
    Robin W
    Moderator

    that is presuming you have run the normal tests

    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.

    #199049
    zahra1
    Participant

    hello
    I have this same problem
    I did import bbpress data from old site to my new site but now i can’t open Admin Replies Page and get “503 – Service Unavailable error” , but i can access Topics page, Forums page, and all settings of the plugin.
    please help me
    its so emergency for me

    #199045
    spaceman_qc
    Participant

    bbPRess-wordpress is really slow on my site. 7 to 10 seconds loading the main forum page. Submitting a new topic can go over 20 sec. 75% of that time is waiting for a reply…

    It’s hosted on a VPS and when I monitor the CPU and RAM memory, it is always under the max, CPU runs at 50-70% on a request and ram stays around 70% used.

    It seems to me that the requests to mySql takes a long time to execute.

    We have 11500 topics and 75000+ replies. It was a phpBB forum that has been converted to bbPRess.

    What can I do to improve performances?

    #199043
    rngeer
    Participant

    Managed to sort this out myself. We are using BuddyPress Registration Options plugin and I missed the check box: Only registered or approved members can view BuddyPress/bbPress pages (Private Network).

    I need a drink ha…

    #199041
    rngeer
    Participant

    Hello,

    BBPress is running great on this site but if a visitor is a guest and clicks a topic to view the content, they are redirected to the home page. We are using WordPress pages with shortcodes to manage the forum.

    If you view the sample forum and click the I’m In topic it goes to the home page as guests. We need guests to be able to see the topic info to decide if they want to join.

    Any info would be great, here is the page:

    <a href=”http://www.raptureintheairnow.com/forums/main-forum/&#8221;

    Thank you.

    #199037

    In reply to: Comments Blacklist

    Robin W
    Moderator

    ok, try this plugin

    bbp blacklist checker

    once activated go to tools>bbp blacklist checker

    This lets you switch off the code that is causing the issue.

    It’s just a bit of testing code, not intended for permanent live use, but may help confirm if it’s bbpress or something behind that is causing the issue.

    Try it for both anew post and an edited one

    #199008
    nhungthientai
    Participant

    Hi guys,
    Hope this doesn’t come across as a really stupid question, or should I say, hope this doesn’t come across as a question that shows my stupidity……

    You have me interested in the name “bbpress”. Can you shed some light on where the name came from and whether it means anything in particular?

    Thanks in advance.

    #199003

    In reply to: Layout for Categories

    pixelzen
    Participant

    Yes I got that far, not sure how to use modify the following code just for that sepecific category/forum This is the code for the discussion page

    <?php
    /**
    * [g1_bbp_forums] shortcode callback function.
    *
    * @param array $atts
    * @param string $content
    * @return string
    */
    function g1_bbp_forums_shortcode( $atts, $content ) {
    /* We need a static counter to trace a shortcode without the id attribute */
    static $counter = 0;
    $counter++;
    extract( shortcode_atts( array(
    ‘id’ => ”,
    ‘class’ => ”
    ), $atts, ‘g1_bbp_forums’ ) );
    // Compose final HTML id attribute
    $final_id = strlen( $id ) ? $id : ‘g1-bbp-forums-‘ . $counter;
    // Compose final HTML class attribute
    $final_class = array(
    ‘g1-bbp-forums’,
    );
    $final_class = array_merge( $final_class, explode( ‘ ‘, $class ) );
    // Note: private and hidden forums will be excluded via the
    // bbp_pre_get_posts_normalize_forum_visibility action and function.
    $query = new WP_Query( array(
    ‘post_type’ => bbp_get_forum_post_type(),
    ‘post_parent’ => $settings[‘parent_forum’],
    ‘post_status’ => bbp_get_public_status_id(),
    ‘posts_per_page’ => get_option( ‘_bbp_forums_per_page’, 50 ),
    ‘ignore_sticky_posts’ => true,
    ‘no_found_rows’ => true,
    ‘orderby’ => ‘menu_order title’,
    ‘order’ => ‘ASC’
    ) );
    if ( ! $query->have_posts() ) {
    return ”;
    }
    // Start output buffer
    ob_start();
    ?>
    <div class=”<?php echo implode( ‘ ‘, array_map( ‘sanitize_html_class’, $final_class ) ); ?>”>
    <div class=”g1-collection g1-collection–grid g1-collection–one-third g1-collection–simple”>

      <?php while ( $query->have_posts() ) : $query->the_post(); ?>
      <li class=”g1-collection__item”>
      <article>
      <?php if ( has_post_thumbnail() ): ?>
      <figure class=”entry-featured-media”>

      post->ID ); ?>”>
      <?php the_post_thumbnail( ‘g1_one_third’ ); ?>

      </figure>
      <?php else: ?>
      <?php echo do_shortcode( ‘[placeholder icon=”camera” size=”g1_one_third”]’ ); ?>
      <?php endif; ?>
      <div class=”g1-nonmedia”>
      <div class=”g1-inner”>
      <header class=”entry-header”>
      <h3 class=”entry-title”>
      post->ID ); ?>”><?php bbp_forum_title( $query->post->ID ); ?>
      </h3>
      <p class=”entry-meta g1-meta”>
      <span><?php _e( ‘Topics’, ‘bbpress’ ); ?>: <?php bbp_forum_topic_count( $query->post->ID ); ?></span>
      <span><?php bbp_show_lead_topic() ? _e( ‘Replies’, ‘bbpress’ ) : _e( ‘Posts’, ‘bbpress’ ); ?>: <?php bbp_show_lead_topic() ? bbp_forum_reply_count( $query->post->ID ) : bbp_forum_post_count( $query->post->ID ); ?></span>
      </p>
      </header>
      <div class=”entry-summary”>
      <?php the_excerpt(); ?>
      </div>
      </div>
      </div>
      </article>

      <?php endwhile; ?>

    </div>
    </div>
    <?php
    // Reset the $post global
    wp_reset_postdata();
    // Return and flush the output buffer
    return ob_get_clean();
    }
    add_shortcode( ‘g1_bbp_forums’, ‘g1_bbp_forums_shortcode’ );

    #199001

    In reply to: Layout for Categories

    Robin W
    Moderator

    ok, now I can see – this is well beyond free help, buy suggest you start by looking at modifying

    wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php

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

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.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-archive-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    #198995
    Robin W
    Moderator

    for anyone finding this topic

    I kicked this code around to improve it and also stop the 404 error when a participant trashes a topic, so latest version is

    /*Customize the BBPress roles to allow Participants to trash topics*/
    add_filter( 'bbp_get_caps_for_role', 'ST_add_role_caps_filter', 10, 2 );
    
    function ST_add_role_caps_filter( $caps, $role ){
        // Only filter for roles we are interested in!
        if( $role == bbp_get_participant_role() ) {
    			//only change delete topics 
    			$caps ['delete_topics']= true ;
    	}
    	return $caps;
    }
    /*then only allow participants to trash their own topics*/
    add_filter( 'bbp_map_topic_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
    
    function ST_tweak_trash_meta_caps( $caps, $cap, $user_id, $args ){
    	// apply only to delete_topic
    	if ( $cap == "delete_topic" ){
    		// Get the post
    		$_post = get_post( $args[0] );
    		if ( !empty( $_post ) ) {
    
    			// Get caps for post type object
    			$post_type = get_post_type_object( $_post->post_type );
    			
    			// Add 'do_not_allow' cap if user is spam or deleted
    			if ( bbp_is_user_inactive( $user_id ) ) {
    				$caps[] = 'do_not_allow';
    
    			// Moderators can always edit forum content
    			} elseif ( user_can( $user_id, 'moderate' ) ) {
    				$caps[] = 'moderate';
    
    			// User is author so allow edit if not in admin
                } elseif ( user_can( $user_id, 'participate' ) && ( (int) $user_id === (int) $_post->post_author ) ) {
                    $caps      = array();
    				
    			// Unknown so do not allow
    			} else {
    				$caps[] = 'do_not_allow';
    			}
    		}
    	}	
    	// return the capabilities
    	return $caps;
    	}
    
    //then redirect to the forum after trashing topic
    add_action('bbp_template_redirect', 'ST_trash_topic_check', 8);
    
    //check if topic has been trashed by author and show forum if it has
    function ST_trash_topic_check() {
    	$topic_slug = get_option( '_bbp_topic_slug') ;
    	//quick check if we need to do this function, so bail if not a topic
    	if (strpos($_SERVER['REQUEST_URI'], $topic_slug) == FALSE) return ;
    	$forum_slug = bbp_get_root_slug() ;
    	//if check is set (ie we prefix forums with the forum slug) then part 1 will be forum slug and part 2 will be topic slug, if not part 1 will be topic slug
    	$check = bbp_include_root_slug() ;
    	$link = explode('/',$_SERVER['REQUEST_URI']);
    	//next we need the topic id (post id) of the topic so we need to check if it is a topic and if so, find the topic id
    	if (is_user_logged_in() && $check && $link[1] == $forum_slug && $link[2] == $topic_slug ) {
    		$post = bsp_get_page_by_slug( $link[3], OBJECT, 'topic' );
    		$login_check=1 ;
    		} 
    	elseif (is_user_logged_in() && empty($check) && $link[1] === $topic_slug) {
    		$post = bsp_get_page_by_slug( $link[2], OBJECT, 'topic' );
    		$login_check=1 ;
    	}
    	//now we need to check if the topic has been trashed by author
    	if (!empty ($login_check) && $post->post_status == 'trash' && $post->post_author == get_current_user_id() ) {
    		$topic_id =  $post->ID;
    		//then redirect to the forum we came from
    		$forum = bbp_get_forum_permalink (bbp_get_topic_forum_id (  $topic_id )) ;
    		wp_redirect ($forum) ;
    		exit ;
    	}
    	else return ;
    					
    }

    I’ll add this function into my style pack plugin shortly

    bbp style pack

    #198994
    Robin W
    Moderator

    I kicked this code around to improve it and also stop the 404 error when a participant trashes a topic, so latest version is

    /*Customize the BBPress roles to allow Participants to trash topics*/
    add_filter( 'bbp_get_caps_for_role', 'ST_add_role_caps_filter', 10, 2 );
    
    function ST_add_role_caps_filter( $caps, $role ){
        // Only filter for roles we are interested in!
        if( $role == bbp_get_participant_role() ) {
    			//only change delete topics 
    			$caps ['delete_topics']= true ;
    	}
    	return $caps;
    }
    /*then only allow participants to trash their own topics*/
    add_filter( 'bbp_map_topic_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
    
    function ST_tweak_trash_meta_caps( $caps, $cap, $user_id, $args ){
    	// apply only to delete_topic
    	if ( $cap == "delete_topic" ){
    		// Get the post
    		$_post = get_post( $args[0] );
    		if ( !empty( $_post ) ) {
    
    			// Get caps for post type object
    			$post_type = get_post_type_object( $_post->post_type );
    			
    			// Add 'do_not_allow' cap if user is spam or deleted
    			if ( bbp_is_user_inactive( $user_id ) ) {
    				$caps[] = 'do_not_allow';
    
    			// Moderators can always edit forum content
    			} elseif ( user_can( $user_id, 'moderate' ) ) {
    				$caps[] = 'moderate';
    
    			// User is author so allow edit if not in admin
                } elseif ( user_can( $user_id, 'participate' ) && ( (int) $user_id === (int) $_post->post_author ) ) {
                    $caps      = array();
    				
    			// Unknown so do not allow
    			} else {
    				$caps[] = 'do_not_allow';
    			}
    		}
    	}	
    	// return the capabilities
    	return $caps;
    	}
    
    //then redirect to the forum after trashing topic
    add_action('bbp_template_redirect', 'ST_trash_topic_check', 8);
    
    //check if topic has been trashed by author and show forum if it has
    function ST_trash_topic_check() {
    	$topic_slug = get_option( '_bbp_topic_slug') ;
    	//quick check if we need to do this function, so bail if not a topic
    	if (strpos($_SERVER['REQUEST_URI'], $topic_slug) == FALSE) return ;
    	$forum_slug = bbp_get_root_slug() ;
    	//if check is set (ie we prefix forums with the forum slug) then part 1 will be forum slug and part 2 will be topic slug, if not part 1 will be topic slug
    	$check = bbp_include_root_slug() ;
    	$link = explode('/',$_SERVER['REQUEST_URI']);
    	//next we need the topic id (post id) of the topic so we need to check if it is a topic and if so, find the topic id
    	if (is_user_logged_in() && $check && $link[1] == $forum_slug && $link[2] == $topic_slug ) {
    		$post = bsp_get_page_by_slug( $link[3], OBJECT, 'topic' );
    		$login_check=1 ;
    		} 
    	elseif (is_user_logged_in() && empty($check) && $link[1] === $topic_slug) {
    		$post = bsp_get_page_by_slug( $link[2], OBJECT, 'topic' );
    		$login_check=1 ;
    	}
    	//now we need to check if the topic has been trashed by author
    	if (!empty ($login_check) && $post->post_status == 'trash' && $post->post_author == get_current_user_id() ) {
    		$topic_id =  $post->ID;
    		//then redirect to the forum we came from
    		$forum = bbp_get_forum_permalink (bbp_get_topic_forum_id (  $topic_id )) ;
    		wp_redirect ($forum) ;
    		exit ;
    	}
    	else return ;
    					
    }

    I’ll add this function into my style pack plugin shortly

    bbp style pack

Viewing 25 results - 26 through 50 (of 58,443 total)
Skip to toolbar