Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 2,201 through 2,225 (of 11,605 total)
  • Author
    Search Results
  • #185855
    psychey
    Participant

    I have done a conflict test and have found out that it is a conflict between Ultimate Member and bbPress plugins.

    When bbPress plugin is deactivated, the menu structure becomes how the way it should be for the ‘Standard’ user role. When bbPress plugin is activated, the menu structure changes to look like the ‘Premium’ user role’s – this ONLY happens when the ‘Standard’ user role is in the forum page. The forum page on my website is called ‘Enter the Community’. The image of this conflict is here.

    #185818

    In reply to: bbPress (Replies)

    Shmoo
    Participant

    Well, if you’re not afraid to dive into the template files you could walk though them and comment-out the parts where the replies get included.

    I this part for example.
    no replies

    But when you start doing this you need to understand how to override bbPress template files by copying them over to your own WordPress theme directory. You can find more about that in the codex.

    It’s just walking through paths and following the hierarchy.

    OF course, back-up and always test this first locally. Never do stuff like this straight on live websites.

    #185806
    Robin W
    Moderator

    presuming that 367 is your forum number, then that should be ok

    if it is not displaying 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

    TrustedOrb
    Participant

    Hi Robin W,

    Will it work on latest WordPress and bbPress versions?

    Webface
    Participant

    Hello,

    WordPress version: 4.8 | bbPress version: 2.5.13

    when I try to visit a profile I find myself endig up on the 404 page. It happens with every account but one – mine. Its the oldest account on this installation. But that’s all. I tried it with other Users who got the exact same rights I have and so on but nothing changes.

    I tried:
    – different themes
    – every possible changes in user roles
    – deactivating from plugins

    But the strange and unique thing in my case is that there is one account that isn’t facing any problems.

    I can’t finde a solution. Would be awesome if anybody could help me out with that!

    You can test it here: https://netzwerk-schienenlaerm.de/foren/thema/1-phase-der-oeffentlichkeitsbeteiligung-des-eba-im-rahmen-der-eu-umgebungslaermrichtlinie/

    Thanks!

    Jonas

    pandraka
    Participant

    WordPress 4.8
    PHP 7
    bbpress 2.5.12
    buddypress 2.8.2

    I’m using group types on my bbpress/buddypress site. I’ve had to get creative when it comes to breadcrumbs. There was one minor changes to the bbp_get_breadcrumb function that I had to make to make the breadcrumbs work. I copied the function into my functions.php and added a filter. I’m getting an error/notice:
    Notice: Use of undefined constant mod_bbp_get_breadcrumb – assumed ‘mod_bbp_get_breadcrumb’

    The function is doing exactly what I want it to do. but this error is showing up. The functions is originally located in bbpress/includes/common/template.php file

    here’s the code:

    <?php
    function mod_bbp_get_breadcrumb( $args = array() ) {

    // Turn off breadcrumbs
    if ( apply_filters( ‘bbp_no_breadcrumb’, is_front_page() ) )
    return;

    // Define variables
    $front_id = $root_id = 0;
    $ancestors = $crumbs = $tag_data = array();
    $pre_root_text = $pre_front_text = $pre_current_text = ”;
    $pre_include_root = $pre_include_home = $pre_include_current = true;

    /** Home Text *********************************************************/

    // No custom home text
    if ( empty( $args[‘home_text’] ) ) {

    $front_id = get_option( ‘page_on_front’ );

    // Set home text to page title
    if ( !empty( $front_id ) ) {
    $pre_front_text = get_the_title( $front_id );

    // Default to ‘Home’
    } else {
    $pre_front_text = __( ‘Home’, ‘bbpress’ );
    }
    }

    /** Root Text *********************************************************/

    // No custom root text
    if ( empty( $args[‘root_text’] ) ) {
    $page = bbp_get_page_by_path( bbp_get_root_slug() );
    if ( !empty( $page ) ) {
    $root_id = $page->ID;
    }
    $pre_root_text = bbp_get_forum_archive_title();
    }

    /** Includes **********************************************************/

    // Root slug is also the front page
    if ( !empty( $front_id ) && ( $front_id === $root_id ) ) {
    $pre_include_root = false;
    }

    // Don’t show root if viewing forum archive
    if ( bbp_is_forum_archive() ) {
    $pre_include_root = false;
    }

    // Don’t show root if viewing page in place of forum archive
    if ( !empty( $root_id ) && ( ( is_single() || is_page() ) && ( $root_id === get_the_ID() ) ) ) {
    $pre_include_root = false;
    }

    /** Current Text ******************************************************/

    // Search page
    if ( bbp_is_search() ) {
    $pre_current_text = bbp_get_search_title();

    // Forum archive
    } elseif ( bbp_is_forum_archive() ) {
    $pre_current_text = bbp_get_forum_archive_title();

    // Topic archive
    } elseif ( bbp_is_topic_archive() ) {
    $pre_current_text = bbp_get_topic_archive_title();

    // View
    } elseif ( bbp_is_single_view() ) {
    $pre_current_text = bbp_get_view_title();

    // Single Forum
    } elseif ( bbp_is_single_forum() ) {
    $pre_current_text = bbp_get_forum_title();

    // Single Topic
    } elseif ( bbp_is_single_topic() ) {
    $pre_current_text = bbp_get_topic_title();

    // Single Topic
    } elseif ( bbp_is_single_reply() ) {
    $pre_current_text = bbp_get_reply_title();

    // Topic Tag (or theme compat topic tag)
    } elseif ( bbp_is_topic_tag() || ( get_query_var( ‘bbp_topic_tag’ ) && !bbp_is_topic_tag_edit() ) ) {

    // Always include the tag name
    $tag_data[] = bbp_get_topic_tag_name();

    // If capable, include a link to edit the tag
    if ( current_user_can( ‘manage_topic_tags’ ) ) {
    $tag_data[] = ‘‘ . esc_html__( ‘(Edit)’, ‘bbpress’ ) . ‘‘;
    }

    // Implode the results of the tag data
    $pre_current_text = sprintf( __( ‘Topic Tag: %s’, ‘bbpress’ ), implode( ‘ ‘, $tag_data ) );

    // Edit Topic Tag
    } elseif ( bbp_is_topic_tag_edit() ) {
    $pre_current_text = __( ‘Edit’, ‘bbpress’ );

    // Single
    } else {
    $pre_current_text = get_the_title();
    }

    /** Parse Args ********************************************************/

    // Parse args
    $r = bbp_parse_args( $args, array(

    // HTML
    ‘before’ => ‘<div class=”bbp-breadcrumb”><p>’,
    ‘after’ => ‘</p></div>’,

    // Separator
    ‘sep’ => is_rtl() ? __( ‘‹’, ‘bbpress’ ) : __( ‘›’, ‘bbpress’ ),
    ‘pad_sep’ => 1,
    ‘sep_before’ => ‘<span class=”bbp-breadcrumb-sep”>’,
    ‘sep_after’ => ‘</span>’,

    // Crumbs
    ‘crumb_before’ => ”,
    ‘crumb_after’ => ”,

    // Home
    ‘include_home’ => $pre_include_home,
    ‘home_text’ => $pre_front_text,

    // Forum root
    ‘include_root’ => $pre_include_root,
    ‘root_text’ => $pre_root_text,

    // Current
    ‘include_current’ => $pre_include_current,
    ‘current_text’ => $pre_current_text,
    ‘current_before’ => ‘<span class=”bbp-breadcrumb-current”>’,
    ‘current_after’ => ‘</span>’,
    ), ‘get_breadcrumb’ );

    /** Ancestors *********************************************************/

    // Get post ancestors
    if ( is_singular() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() ) {
    $ancestors = array_reverse( (array) get_post_ancestors( get_the_ID() ) );
    }

    // Do we want to include a link to home?
    if ( !empty( $r[‘include_home’] ) || empty( $r[‘home_text’] ) ) {
    $crumbs[] = ‘‘ . $r[‘home_text’] . ‘‘;
    }

    // Do we want to include a link to the forum root?
    if ( !empty( $r[‘include_root’] ) || empty( $r[‘root_text’] ) ) {

    // Page exists at root slug path, so use its permalink
    $page = bbp_get_page_by_path( bbp_get_root_slug() );
    if ( !empty( $page ) ) {
    $root_url = get_permalink( $page->ID );

    // Use the root slug
    } else {
    $root_url = get_post_type_archive_link( bbp_get_forum_post_type() );
    }

    // Add the breadcrumb
    $crumbs[] = ‘‘ . $r[‘root_text’] . ‘‘;
    }

    // Ancestors exist
    if ( !empty( $ancestors ) ) {

    // Loop through parents
    foreach ( (array) $ancestors as $parent_id ) {

    // Parents
    $parent = get_post( $parent_id );

    // Skip parent if empty or error
    if ( empty( $parent ) || is_wp_error( $parent ) )
    continue;

    // Switch through post_type to ensure correct filters are applied
    switch ( $parent->post_type ) {

    // Forum
    case bbp_get_forum_post_type() :
    // PAA – modified
    //echo ‘forum title’. bbp_get_forum_title( $parent->ID) ;
    $test_title = bbp_get_forum_title( $parent->ID) ;
    if ($test_title == ‘Group Forums’){
    $base_url = bp_get_root_domain();
    $crumbs[] = ‘Groups‘;}
    else
    {$crumbs[] = ‘ID ) ) . ‘” class=”bbp-breadcrumb-forum”>’ . bbp_get_forum_title( $parent->ID ) . ‘‘; };

    break;

    // Topic
    case bbp_get_topic_post_type() :
    $crumbs[] = ‘ID ) ) . ‘” class=”bbp-breadcrumb-topic”>’ . bbp_get_topic_title( $parent->ID ) . ‘‘;
    break;

    // Reply (Note: not in most themes)
    case bbp_get_reply_post_type() :
    $crumbs[] = ‘ID ) ) . ‘” class=”bbp-breadcrumb-reply”>’ . bbp_get_reply_title( $parent->ID ) . ‘‘;
    break;

    // WordPress Post/Page/Other
    default :
    $crumbs[] = ‘ID ) ) . ‘” class=”bbp-breadcrumb-item”>’ . get_the_title( $parent->ID ) . ‘‘;
    break;
    }
    }

    // Edit topic tag
    } elseif ( bbp_is_topic_tag_edit() ) {
    $crumbs[] = ‘‘ . sprintf( __( ‘Topic Tag: %s’, ‘bbpress’ ), bbp_get_topic_tag_name() ) . ‘‘;

    // Search
    } elseif ( bbp_is_search() && bbp_get_search_terms() ) {
    $crumbs[] = ‘‘ . esc_html__( ‘Search’, ‘bbpress’ ) . ‘‘;
    }

    /** Current ***********************************************************/

    // Add current page to breadcrumb
    if ( !empty( $r[‘include_current’] ) || empty( $r[‘current_text’] ) ) {
    $crumbs[] = $r[‘current_before’] . $r[‘current_text’] . $r[‘current_after’];
    }

    /** Separator *********************************************************/

    // Wrap the separator in before/after before padding and filter
    if ( ! empty( $r[‘sep’] ) ) {
    $sep = $r[‘sep_before’] . $r[‘sep’] . $r[‘sep_after’];
    }

    // Pad the separator
    if ( !empty( $r[‘pad_sep’] ) ) {
    if ( function_exists( ‘mb_strlen’ ) ) {
    $sep = str_pad( $sep, mb_strlen( $sep ) + ( (int) $r[‘pad_sep’] * 2 ), ‘ ‘, STR_PAD_BOTH );
    } else {
    $sep = str_pad( $sep, strlen( $sep ) + ( (int) $r[‘pad_sep’] * 2 ), ‘ ‘, STR_PAD_BOTH );
    }
    }

    /** Finish Up *********************************************************/

    // Filter the separator and breadcrumb
    $sep = apply_filters( ‘bbp_breadcrumb_separator’, $sep );
    $crumbs = apply_filters( ‘bbp_breadcrumbs’, $crumbs );

    // Build the trail
    $trail = !empty( $crumbs ) ? ( $r[‘before’] . $r[‘crumb_before’] . implode( $sep . $r[‘crumb_after’] . $r[‘crumb_before’] , $crumbs ) . $r[‘crumb_after’] . $r[‘after’] ) : ”;

    return apply_filters( ‘mod_bbp_get_breadcrumb’, $trail, $crumbs, $r );
    }

    add_filter( ‘bbp_get_breadcrumb’,mod_bbp_get_breadcrumb, 98, 2);
    ?>

    At this point I’m not sure what else to do or if it’s ok to ignore the warning

    #185614
    andrew55
    Participant

    The paragraph/break was there before the social icons were installed (Super Socializer). It’s just more obvious now.

    I thought paragraph/break was part of bbPress, but maybe I put them in there last year. I’ve been going through theme files and don’t see anything which should cause this.

    The into text and picture of hands is just a widget, which goes away after signup/login. I tested, and this isn’t the issue.

    Any suggestions for this strange issue?

    #185598
    andrew55
    Participant

    I tested and it seems to work great. Thank you very much.

    I think this will help greatly.

    #185585
    Robin W
    Moderator

    ok, this is untested for functionality, but doesn’t error

    add_filter( 'bbp_get_topic_subscribers', 'rew_filter_subscrbers' );
    add_filter( 'bbp_get_forum_subscribers', 'rew_filter_subscrbers' );
    
    function rew_filter_subscribers ($users) {
    	$role = 'my_custom_role' ;
    	$filtered_ids = array();
    	foreach ( (array) $users as $user_id ) {
    		$user_info = get_userdata($user_id);
    		$user_roles = $user_info->roles ;
    		if (!in_array ($role, $user_roles)) {
    			array_push($filtered_IDs, $user_id);
    		}
    	
    	}
    return $filtered_ids ;
    }

    Do you know how to put this in to your child theme’s functions file?

    If so you will need to change my_custom_role in this line

    $role = 'my_custom_role' ;

    to the role name that you are using

    If you don’t know how to use functions file, then come back

    #185556
    tmazawi
    Participant

    Solved the problem
    Basicly you have to uninstall the plugin
    and install the latest beta and upload it manually
    the problem was caused by the the php version 7.1…

    #185522

    In reply to: Avatar freshness

    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

    #185521

    In reply to: Iimprovements

    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

    #185515

    In reply to: Iimprovements

    netixel
    Participant

    Sorry…

    Thank you I will test bbp-topic-count 🙂

    Sad for this :
    1) Button to allow users to report a message to the moderator

    #185514

    In reply to: Iimprovements

    Robin W
    Moderator

    2) Shows the total topics, replies and total count under the avatar on each topic/reply view in bbpress
    Because this plugin https://wordpress.org/plugins/bbp-topic-count/ not tested up to : WordPress 4.8

    is tested to 4.8 – it says so and I wrote it !!

    can’t help with 1 – It should work, try it on your test site

    #185513

    In reply to: Iimprovements

    netixel
    Participant

    1) Button to allow users to report a message to the moderator
    because this plugin https://en-gb.wordpress.org/plugins/bbpress-report-content/ tested up to : WordPress 4.0.18 and now the wordpress version is 4.8…

    2) Shows the total topics, replies and total count under the avatar on each topic/reply view in bbpress
    Because this plugin https://wordpress.org/plugins/bbp-topic-count/ not tested up to : WordPress 4.8

    #185508
    kriskl
    Participant

    where can I download the latest Release Candidate 4?
    thanks

    Robin W
    Moderator

    ok, not quite sure what is happening

    1. are you using caching software? If so purge
    2. try dashboard>settings>permalinks and just click save – this will reset the links

    if both those fail, then 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

    #185433
    rchristman17
    Participant

    I installed bbpress in my site and followed instructions to create a new forum page from the main menu on my front page. Then I followed a tutorial to drop the log-in, register, and lost password widgets on my main sidebar that appears on every page, including the forum page. The problem I’m having is that when I test the registration from another computer, WordPress tells me that it cannot register new users? Did I do something wrong, or is it a temporary problem on WP end? I would assume I set something up wrong.

    Thanks.

    #185391
    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

    #185356

    In reply to: How many users online?

    Milan Petrovic
    Participant

    Hi,

    My GD bbPress Toolbox Pro plugin has users online status tracking feature, enhanced statistics block for forum front end, enhanced statistics widget (and a lot of other features):

    https://plugins.dev4press.com/gd-bbpress-toolbox/

    If you want to test plugin (admin side and front end), you can request a demo here:
    https://www.dev4press.com/request-demo/

    Regards,
    Milan Petrovic

    #185342
    Robin W
    Moderator

    Could be theme or plugin affecting this

    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

    #185340

    In reply to: Iimprovements

    netixel
    Participant

    Thank you @robin-w, sad that BBpress does not offer it of origin…

    Thank you @pinkishhue, but this plugin tested up to : WordPress 4.0.18
    now the wordpress version is 4.8…

    #185309
    ncrocketry
    Participant

    I’ve disabled all of the un-related plugins, still same behavior.

    All of my plugins are at the latest version, running the latest version of wordpress as of July 1, 2017.

    Plugins that are active:
    bbPress Version 2.5.12
    bbPress Messages Version 2.0.7

    Currently disabled:
    gd bbPress Version 2.4

    #185283
    PinkishHue
    Participant

    @lalitavalon I haven’t tested it but you could try the ‘display posts shortcode’ plugin, set the post type to replies and the category to the forum ID? Not sure if that would work exactly but worth a try.

    Display Posts Shortcode

    #185263
    Robin W
    Moderator

    the code only shows 50

    put this in your functions file (untested, but should work)

    add_filter ('bbp_before_has_forums_parse_arguments', 'rew_show_all' ) :
    
    function rew_show_all ($args) {
    	$args['posts_per_page'] = -1 ;
    return $args ;
    
    }
Viewing 25 results - 2,201 through 2,225 (of 11,605 total)
Skip to toolbar