Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 4,826 through 4,850 (of 64,487 total)
  • Author
    Search Results
  • #210033

    In reply to: index page is gone

    lesan
    Participant

    thank you for such a quick reply, appreciate the great support! In the meantime we found a conflict between forums page and forums prefix in settings of bbpress. solved now, all good

    #210031
    lesbelleshistoires
    Participant

    Here it is :

    <?php
    /**
     * Statistics Content Part
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // @codingStandardsIgnoreFile
    // Allow plugin text domain in theme.
    
    // Get the statistics.
    $stats = bbp_get_statistics(); ?>
    
    <?php do_action( 'bbp_before_statistics' ); ?>
    
            <div class="widget_display_stats">
    
                    <div class="row stats_list">
    
                            <div class="col-12 stats_list_item mb-2">
                                    <div class="bg-black-faded rounded-card p-2 h-100">
                                            <div class="row align-items-center">
                                                    <div class="col-auto text-center d-flex pr-0 align-items-center justify-content-center">
                                                            <i class="cera-icon cera-users text-primary fa-2x p-3 card"></i>
                                                    </div>
                                                    <div class="col">
                                                            <h3 class="mb-0"><?php echo esc_html( $stats['user_count'] ); ?></h3>
                                                            <h5 class="text-muted text-uppercase small font-weight-bold mb-0"><?php esc_html_e( 'Registered Users', 'bbpress' ); ?></h5>
                                                    </div>
                                            </div>
                                    </div>
                            </div>
    
                            <div class="col-12 stats_list_item mb-2">
                                    <div class="bg-black-faded rounded-card p-2 h-100">
                                            <div class="row align-items-center">
                                                    <div class="col-auto text-center d-flex pr-0 align-items-center justify-content-center">
                                                            <i class="cera-icon cera-message-square text-primary fa-2x p-3 card"></i>
                                                    </div>
                                                    <div class="col">
                                                            <h3 class="mb-0"><?php echo esc_html( $stats['forum_count'] ); ?></h3>
                                                            <h5 class="text-muted text-uppercase small font-weight-bold mb-0"><?php esc_html_e( 'Forums', 'bbpress' ); ?></h5>
                                                    </div>
                                            </div>
                                    </div>
                            </div>
    
                            <div class="col-12 stats_list_item mb-2">
                                    <div class="bg-black-faded rounded-card p-2 h-100">
                                            <div class="row align-items-center">
                                                    <div class="col-auto text-center d-flex pr-0 align-items-center justify-content-center">
                                                            <i class="cera-icon cera-alert-circle text-primary fa-2x p-3 card"></i>
                                                    </div>
                                                    <div class="col">
                                                            <h3 class="mb-0"><?php echo esc_html( $stats['topic_count'] ); ?></h3>
                                                            <h5 class="text-muted text-uppercase small font-weight-bold mb-0"><?php esc_html_e( 'Topics', 'bbpress' ); ?></h5>
                                                    </div>
                                            </div>
                                    </div>
                            </div>
    
                            <div class="col-12 stats_list_item mb-2">
                                    <div class="bg-black-faded rounded-card p-2 h-100">
                                            <div class="row align-items-center">
                                                    <div class="col-auto text-center d-flex pr-0 align-items-center justify-content-center">
                                                            <i class="cera-icon cera-radio text-primary fa-2x p-3 card"></i>
                                                    </div>
                                                    <div class="col">
                                                            <h3 class="mb-0"><?php echo esc_html( $stats['reply_count'] ); ?></h3>
                                                            <h5 class="text-muted text-uppercase small font-weight-bold mb-0"><?php esc_html_e( 'Replies', 'bbpress' ); ?></h5>
                                                    </div>
                                            </div>
                                    </div>
                            </div>
    
                    </div>
    
            </div><!-- .widget_display_stats -->
    
    <?php do_action( 'bbp_after_statistics' ); ?>
    
    <?php unset( $stats );
    #210030
    Robin W
    Moderator

    ok, what I need is for you to copy this file to your pc

    /var/www/html/xxxx/wp-content/themes/cera/bbpress/content-statistics.php

    then open it, and post the contents in this thread please

    #210026
    lesan
    Participant

    Hello,

    after about 3 years of using bbPress without any issues, we have an issue with the index page – the standard one that is specified in settings -> forum is not working. There is just the header and the footer displayed from the theme, no content at all.

    When I create a new page using the shortcode [bbp-forum-index], it is working fine. And all the threads and posts as well, they work fine on the original URLs. So it is really just the index page.

    I haven’t done any changes in the forum in the last year or even more.

    It is password protected, happy to share the password via a direct message.

    Thanks,

    Jan

    #210025
    lesbelleshistoires
    Participant

    Hi,
    I have a notice of undefined index too after being imported some demo-data and deleted most of them. I tried to switch to 2017 theme and reactive the theme but it does not work.
    Here the notice :
    Notice: Undefined index: reply_count in /var/www/html/xxxx/wp-content/themes/cera/bbpress/content-statistics.php on line 70
    Thanks for your help

    #210024
    Robin W
    Moderator

    looks like a genesis theme

    try adding

    bbPress Genesis Extend

    that should fix it

    come back if not

    edublogger
    Participant

    Hi, if someone could assist I would appreciate it.

    I have a new bbPress install here: https://classthink.com/forums/forum/microsoft/

    I’ve created a new page with the [bbp-forum-index] shortcode here: https://classthink.com/forums/

    But when I visit https://classthink.com/forums/ all I get is the Forums Archive.

    It’s my — possibly incorrect — understanding that if you create a page with the same address as the forum slug, it should redirect to the page (in this case the forum index) rather than the archive.

    Can someone please point me in the right direction?

    Thanks,

    Solitary_bee
    Participant

    Hello all,
    I have been running BBpress for more than three of years, but started getting feedback that ‘Participants’ could no longer post or reply a month ago.
    The user error message gives me no clue as to what’s behind the issue ‘ERROR your reply/post cannot be created’, and there’s nothing in the settings that gives a clue either.

    I paid up to get ‘Pro tools’ to contribute something financially to the developer pot, but found no new clues in the tools either.

    So this morning I thought I would chance a deactivation of the plugin and reinstall.

    The moment I pressed deactivate, I got the message in the title of the post. My entire site is out of action – nothing public except the error message in the title. I can’t access the wp-admin only the FTP, but what to do? My site is out completely.
    I believe I am up to date on all WP software (as flagged by the WP admin zone)… and anyway, I cannot offer any other info now.

    The source code behind the message says:
    Line 1: <div class="error"> <p>This Plugin needs BBpress to work, pls. install it first and activate.</p></div>
    Please help. It’s my busy time of the year.
    http://www.abeillessauvages.com

    #210009
    stracy2
    Participant

    I’d like to change the bbpress word “Forums” to “Support Forums”.

    Is this an easily replaceable word?

    #210008

    In reply to: Learning curve?

    robbytherobot
    Participant

    Thanks I will bear your link in mind as I do have some WordPress projects on the go and could do with help at times for reasonable cost or maybe there are things I can help with (decent copywriter and editor!)

    Amazing how one bad advice can change everything – based on this $2500 quote I’ve decided to ditch wordpress/bbpress for the project and go for one click install of Vanilla and save myself $2500 to setup a forum lol.

    #210003

    Topic: Learning curve?

    in forum Installation
    robbytherobot
    Participant

    Hello, sorry first of all I am not a full on developer so forgive any basic questions, I have only just considered using bbpress for a forum I want to setup, I am familiar with WordPress and working with various plugins, can modify basic code etc when I need to, however it’s not my main job. I’ve installed bbpress and am looking at getting a theme to work well with it. Am willing to pay for a pro theme that is simple for users, nothing that special is required.

    I just want to ask how hard is it as a fairly competent end user with some technical know how to set up a basic bbpress site, add a fairly functional user friendly theme, and get a forum up and running? It’s not wordpress.org, it might have max 100 users, closed/private forum.

    I had assumed like most plugins bbpress would work fairly well “out of the box” and adding a template and maybe a few additional plugins to improve functionality would not be a big deal.

    However I’ve just been quoted $2500 by a developer to do the above, to say my jaw hit the floor would be an understatement! Is bbpress THAT hard to implement that I need to pay mega bucks to get something simple up and running with it?? ๐Ÿ™

    PS the only reason I considered paying someone was to get it done in a few days rather than a few weeks as I have my main work to be getting on with as well… Otherwise I’d sit down and work through it step by step usually!

    #209996
    Robin W
    Moderator
    #209993
    Robin W
    Moderator

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    FTP transfer this to your pc and edit

    find starting from line 254

    <?php if ( ! is_user_logged_in() ) : ?>
    
    			<?php bbp_get_template_part( 'form', 'user-login' ); ?>
    
    		<?php endif; ?>

    and delete these lines

    and save

    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

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php

    bbPress will now use this template instead of the original

    #209991
    Robin W
    Moderator

    it come from

    bbpress\templates\default\bbpress\form-topic.php

    are you fine with FTP and changing files – if so I’ll give you intructions

    #209969

    In reply to: Topic is pending

    canvasstudio
    Participant

    So maybe long in coming, but just started working on a new bbpress BuddyPress forum.

    Basically if a topic contains an invalid code such as a url (not and image url link), once submit it goes into draft mode. There maybe other reasons, but invalid code in topic is one.

    I am currently working on a fix, short of making the tag available global. Biggest issue is link spamming.

    #209968
    Robin W
    Moderator

    can you try this in your child theme function file or snippets

    function rew_get_topic_split_link( $retval, $r, $args ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'          => 0,
    			'link_before' => '',
    			'link_after'  => '',
    			'split_text'  => esc_html__( 'Split',                           'bbpress' ),
    			'split_title' => esc_attr__( 'Split the topic from this reply', 'bbpress' )
    		), 'get_topic_split_link' );
    
    		// Get IDs
    		$reply_id = bbp_get_reply_id( $r['id'] );
    		$topic_id = bbp_get_reply_topic_id( $reply_id );
    
    		// Bail if no reply/topic ID, or user cannot moderate
    		if ( empty( $reply_id ) || empty( $topic_id ) || ! current_user_can( 'moderate', $topic_id ) ) {
    			return;
    		}
    
    		$uri = add_query_arg( array(
    			'action'   => 'bbp-split-topic',
    			'reply_id' => $reply_id
    		), bbp_get_topic_edit_url( $topic_id ) );
    
    		$retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" title="' . $r['split_title'] . '" class="bbp-topic-split-link">' . $r['split_text'] . '</a>' . $r['link_after'];
    
    		// Filter & return
    		return apply_filters( 'rew_get_topic_split_link', $retval, $r, $args );
    	}
    
    add_filter ('bbp_get_topic_split_link', 'rew_get_topic_split_link' , 10 , 3) ;
    
    function rew_is_topic_split() {
    
    	// Assume false
    	$retval = false;
    
    	// Check topic edit and GET params
    	if ( bbp_is_topic_edit() && ! empty( $_GET['action'] ) && ( 'bbp-split-topic' === $_GET['action'] ) ) {
    		$retval = true;
    	}
    
    	// Filter & return
    	return (bool) apply_filters( 'rew_is_topic_split', $retval );
    }
    
    add_filter ('bbp_is_topic_split' , 'rew_is_topic_split' ) ;
    #209962
    Chuckie
    Participant

    I had this reply @robin-w:

    I’d suggest filing a bug report with bbPress.

    The issue is that TML registers ‘action’ as a public query variable with WP. WP has a check in WP::parse_request(), which ensures that all GET and POST values of public query variables match. If they don’t, it dies with the error message you are seeing.

    For whatever reason, bbPress uses a different action key depending on GET/POST context. In this specific instance, the GET value of ‘action’ is ‘split’. However, the POST value (set via hidden field in the form) is ‘bbp-split-topic’. This difference is causing the condition described above.

    In code:

    $_GET['action'] = 'split';
    $_POST['action'] = 'bbp-split-topic';
    
    if ( isset( $_GET[ 'action' ] ) && isset( $_POST[ 'action' ] ) && $_GET[ 'action' ] !== $_POST[ 'action ] ) {
    	wp_die( __( 'A variable mismatch has been detected.' ), __( 'Sorry, you are not allowed to view this item.' ), 400 ); }
    #209961
    easyguitartube
    Participant

    Hi,
    I have a YouTube channel with guitar tutorials. I want to start a forum in my website where followers can share they videos playing the songs to get feedback and tips from others.

    My questions are:
    Is it possible to share videos within bbPress?
    If it is… where are the videos hosted?

    Thanks a lot

    #209960
    Jay Holtslander
    Participant

    It’s unfortunate that the edit capability for previous replies is timed.

    Adding:

    #209926
    Robin W
    Moderator

    when you last reported it, I said
    ‘ok, I can only suggest that you revert to the standard tests
    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@

    you did not respond to that, so can’t really help further if you don’t do the tests ๐Ÿ™‚

    joerga
    Participant

    Here’s the whole template right now:

    if (have_posts()) { ?>
        <?php while ( have_posts() ) : the_post(); ?>
    
            <div class="td-main-content-wrap td-main-page-wrap td-container-wrap">
                <div class="<?php if (!td_util::tdc_is_installed()) { echo 'td-container '; } ?>tdc-content-wrap">
                     <?php
    
                    echo do_shortcode('[tdc_zone type="tdc_content"]');
                    echo do_shortcode('[vc_row full_width="stretch_row_1400 td-stretch-content"]');
                    echo do_shortcode('[vc_column]');
                    echo do_shortcode('[vc_row_inner]');
    
    echo do_shortcode('[vc_column_inner width="1/3" tdc_css="eyJhbGwiOnsid2lkdGgiOiIyMCUiLCJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWxlZnQiLCJkaXNwbGF5IjoiIn19" is_sticky="yes"]');
                    echo do_shortcode('[td_block_list_menu menu_id="14949"]');
                    echo do_shortcode('[/vc_column_inner]');
                    echo do_shortcode('[vc_column_inner width="1/3" tdc_css="eyJhbGwiOnsid2lkdGgiOiI2MCUiLCJkaXNwbGF5IjoiIn19"]');
                    echo do_shortcode('[vc_column_text]');
                    echo do_shortcode('[bbp-forum-index]');
                       // the_content();
    
                    echo do_shortcode('[/vc_column_text]');
                    echo do_shortcode('[/vc_column_inner]');
                    echo do_shortcode('[vc_column_inner width="1/3" tdc_css="eyJhbGwiOnsid2lkdGgiOiIyMCUiLCJkaXNwbGF5IjoiIn19" is_sticky="yes"]');
                    echo do_shortcode('[vc_column_text]');
    
                    echo do_shortcode('[rs_my_reward_points]');
    
                    echo do_shortcode('[/vc_column_text]');
                    echo do_shortcode('[vc_column_text]');
    
                    echo do_shortcode('[userpro template=activity]');
    
                    echo do_shortcode('[/vc_column_text]');
                    echo do_shortcode('[/vc_column_inner]'); 
                    echo do_shortcode('[/vc_row_inner]'); 
                    echo do_shortcode('[/vc_column]');
                    echo do_shortcode('[/vc_row]');
                    echo do_shortcode('[/tdc_zone]'); 
    
                    ?>
    
                    <?php 
                    echo do_shortcode('[tdc_zone type="tdc_content"][vc_row full_width="stretch_row_1400 td-stretch-content"][vc_column][vc_row_inner][vc_column_inner width="1/3"][td_block_list_menu menu_id="14949"][/vc_column_inner][vc_column_inner width="2/3"][vc_column_text]bbPress FORUM SHOULD BE HERE![/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][/tdc_zone]');
                    ?>
                </div>
            </div> <!-- /.td-main-content-wrap -->
    
        <?php endwhile; ?>
    <?php 
        }
    joerga
    Participant

    Unfortunately this doesn’t work. The function gets then confused with the open and closing tags of the shortcod and echos some of them so the overall layout is broken.

    Any other ideas how to fix this or achieve on another way?

    Here you can see the problem: https://prime-surfing.de/prime-surfing-forum/forum/prime-surfing/

    Edit: I added a second section below this one with this code:

    echo do_shortcode('[tdc_zone type="tdc_content"][vc_row full_width="stretch_row_1400 td-stretch-content"][vc_column][vc_row_inner][vc_column_inner width="1/3"][td_block_list_menu menu_id="14949"][/vc_column_inner][vc_column_inner width="2/3"][vc_column_text]bbPress FORUM SHOULD BE HERE![/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][/tdc_zone]');

    This works fine so this tells me that the do_shortcode function interprets all the shortcodes right but something in the injsection of bbPress is not working along with the way I am trying to solve this.

    farukhcasy2
    Participant

    Does anyone have any experience/wisdom regarding the pros and cons of installing the bbpress plugin in one’s existing domain/site installation vs. setting it up in a sub-domain of the existing site?

    I’ve Googled this to death but can only find limited, conflicting information. Thanks.

    joerga
    Participant

    Hey everyone,

    I am currently setting up a new bbPress Forum and I made a custom template page which works fine but I can’t figure out why the forum injects in the wrong place (or if it works like this at all).

    I have the tagdiv Newspaper Theme installed and I usually layout my pages with the tagdiv composer.
    For the custom page template I took the code from the page.php from the tagdiv Composer directory adjusted it for my needs and then saved it to plugin-bbpress.php inside the Template root directory.

    I also created a page with tagdiv Composer with a layout with three columns, bbPress is supposed to be in the middle one. When I do a static page and add the bbCode shortcode [bbp-forum-index] it works fine and as expected. I have three colums with different content to the left and right and the bbPress forum in the middle.

    What I tried now is to use the same shortcodes from the tagdiv composer to create a custom template for the whole bbPress forum (in. So my code in the plugin-bbpress.php file looks like this:


    if (have_posts()) { ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <div class="td-main-content-wrap td-main-page-wrap td-container-wrap">
    <div class="<?php if (!td_util::tdc_is_installed()) { echo 'td-container '; } ?>tdc-content-wrap">
    <?php echo do_shortcode('[tdc_zone type="tdc_content"][vc_row full_width="stretch_row_1400 td-stretch-content"][vc_column][vc_row_inner][vc_column_inner width="1/3"][td_block_list_menu menu_id="14949"][/vc_column_inner][vc_column_inner width="2/3"][vc_column_text]

    '.the_content().'

    [/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][/tdc_zone]'); ?>
    </div>

    </div> <!-- /.td-main-content-wrap -->

    <?php endwhile; ?>
    <?php
    }

    On the frontend the shortcodes are renderd fine by the tagdiv Composer but bbPress injects over or before the columns and not in the middle one as I want it to (and where the the_content() function should place it).

    Any ideas how I can get this to work or any other ideas how to achieve this?

    Thanks!

    Newspaper Version 10.1
    bbPress Version 2.6.4

    Here’s the link to the static page: https://prime-surfing.de/profile-copy/
    And here’s one with the custom page template: https://prime-surfing.de/prime-surfing-forum/forum/prime-surfing/

    P.S.: Please don’t mind the mess with the other pages, still under consutruction.

    #209895
    adishor22
    Participant

    It looks like this is a known bug, and a patch might be implemented in the future (see “Attachments”):
    https://bbpress.trac.wordpress.org/ticket/3341

    Editing bbpress/includes/extend/buddypress/notifications.php as shown there has fixed the issue for me.

Viewing 25 results - 4,826 through 4,850 (of 64,487 total)
Skip to toolbar