Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 17,201 through 17,225 (of 64,516 total)
  • Author
    Search Results
  • #156379

    Topic: Template

    in forum Installation
    ChrisWin
    Participant

    Looking for
    1) good tutorial to skin my BBpress.
    2) place where I can see beautifull bbpress template.
    3 this is possible to set a them just for my BBpress without change my whole template? Since the BBPress is inside my travel blog?

    Regards
    Chris

    #156377
    Robkk
    Moderator

    maybe this plugin will work , only works without BuddyPress installed though

    https://wordpress.org/plugins/bbpress-members-only/

    Robkk
    Moderator

    also just found this plugin too , havent tested though.

    https://wordpress.org/plugins/bbpress-protected-forums/

    pazzaglia
    Participant

    Thanks, @Robkk I didn’t know how to use that – I didn’t realize it was as easy as adding it to my functions file.

    Thanks for the addition @undergroundnetwork!

    Since I posted I’ve been using this outdated-but-it-works plug-in.
    https://wordpress.org/plugins/search-bbpress/

    Although that plug-in, works, it also displays shows links to slides that I have on the homepage in the results – not a big deal as I don’t have too many slides but I’d rather that not happen.

    In an effort to reduce plug-ins I’m going to give this code a shot.

    Ciao,

    L

    undergroundnetwork
    Participant

    I’ve added to the code as the above code does not search for Forum Titles, this code includes titles in the search as well:

    
    /**
     * Include bbPress 'topic' custom post type in WordPress' search results */
     
    function ntwb_bbp_topic_cpt_search( $topic_search ) {
    	$topic_search['exclude_from_search'] = false;
    	return $topic_search;
    }
    add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' );
    
    /**
     * Include bbPress 'forum' custom post type in WordPress' search results */
    
    function ntwb_bbp_forum_cpt_search( $forum_search ) {
    	$forum_search['exclude_from_search'] = false;
    	return $forum_search;
    }
    add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' );
    
    /**
     * Include bbPress 'reply' custom post type in WordPress' search results  */
    
    function ntwb_bbp_reply_cpt_search( $reply_search ) {
    	$reply_search['exclude_from_search'] = false;
    	return $reply_search;
    }
    add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );
    
    #156360
    Robkk
    Moderator

    @sceko

    just checked and this plugin https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/

    shows the visual editor in the edit page too.

    if you still have issues reply back.

    #156353
    Robkk
    Moderator

    @robertosalemi

    if it still doesnt work , a last step you can do is reinstall bbPress if there was an issue with your first install.

    #156349
    Robkk
    Moderator

    Thanks for sharing , if you havent already contact the theme author so that it wont happen to future users of both bbPress and the Salient theme.

    #156348
    Robkk
    Moderator

    well there was an after the deadline spellcheck plugin in the past for bbPress standalone versions

    but you will have to custom develop this kind of functionality for your client

    #156346
    Robkk
    Moderator

    @siddardha , @arpitg

    i think the plugin author should just incorporate this type of thing into their plugin.

    just tell them that you want more bbPress plugin integration to show topics/replies created on the user profile.

    they can probably add the little fancy dropdown/menu item and everything too.

    #156345
    Robkk
    Moderator

    @j0n4h

    I am using the loop-forums.php that’s provided on github for the hierarchicalloop-forums.php forum layout, if maybe that’s it?

    that file is not causing the issue.

    the file only affects the forum archive section , not the post count in the replies loop.

    the post count below the avatar is rendered because of the theme, you can see it on there bbPress forum demo on their site.

    http://theme-fusion.com/avada/forums/topic/hello-avada-users/

    contact your theme author and maybe tell them that there is a bug , or ask them how to remove their function for their post count so that you can just use Robin’s plugin.

    #156339

    In reply to: v2.5.2 for download?

    Robin W
    Moderator
    #156327
    Robin W
    Moderator

    ok, the post count is being out in by something called the bbps ranking system

    the line in the browser comes out as

    <div class=”bbps-post-count”>Post count: 0</div>

    The only reference I can find to this is in this topic

    (CSS Review Needed) Switching poster picture and link to UserPro

    where the plugin author talks about adding different bbpress templates, which add this line – in the example in the link above it shows as

    <div class="bbps-post-count"><?php printf( __( 'Post count: %s', 'Avada' ), bbp_get_user_reply_count_raw(bbp_get_reply_author_id()) ); ?></div>
    
    

    which of course references the avada theme !!!

    If Avada hasn’t asked you to change bbpress files, then I suspect that they might be using the same hook I use to make this appear – suggest you refer Avada back to this post, and ask then if they have a hook to

    do_action (‘bbp_theme_after_reply_author_details’) or can explain why that line appears

    #156325
    j0n4h
    Participant

    I originally deactivated all the plugins, but I have:

      bbPress – Private Replies
      bbPress – Report Content
      bbPress Enable TinyMCE Visual Tab
      bbPress Pencil Unread
      BuddyPress (would that affect it?)
      GD bbPress Attachments
      GD bbPress Tools

    They’re active again, however. I also have Fusion Core (the theme’s plugin, which they claim is not the problem). I reactivated Akismet, but deleted entirely the cache plugins.

    #156323
    j0n4h
    Participant

    @robin-w

    I am using the loop-forums.php that’s provided on github for the hierarchicalloop-forums.php forum layout, if maybe that’s it?

    https://github.com/robkk/bbPress-Hierarchical-Forum-and-Category-Layout

    #156322
    allyson9
    Participant

    Anyone else who might be able to help? It’s so strange… no links to the Forum anymore in the WP admin. Where can I see what path bbPress thinks it’s using?

    #156321
    j0n4h
    Participant

    Is it not a default feature? When I installed bbpress, it was already a feature from the start. I’ve contacted my Theme dev and they said:

    Hey Jonah,

    I’m not aware of Avada touching the post count code at all. I can see you have a thread open over at the bbPress forum:

    Post Count Incorrect, Repair Tools Don't Fix the Problem.

    I think it would be best to see what they have to say. Hopefully we can use the information they provide to find where the issue is coming from.

    Thanks!

    Ryan

    #156314
    arpitg
    Participant

    </div>
    <?php } ?>
    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw($user_id) ); ?></p>
    <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw($user_id) ); ?></p>
    </form>

    </div>

    #156312
    arpitg
    Participant

    hello Robin,

    When I copied this code above </form> tag
    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw($user_id) ); ?></p>
    <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw($user_id) ); ?></p>

    then find a syntax error
    Parse error: syntax error, unexpected ‘Started’ (T_STRING) in /home/cahiveco/public_html/wp-content/plugins/userpro/templates/view.php on line 110

    #156309
    Robin W
    Moderator
    #156308
    Robin W
    Moderator

    ok, I’d do two things

    1. move the code to above </form> line
    2. Try it with the following to force bbpress to take the id

    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw($user_id) ); ?></p>
     <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw($user_id) ); ?></p>

    `

    #156306
    siddardha
    Participant

    hey robin, here is the entire code:

    <div class=”userpro userpro-<?php echo $i; ?> userpro-id-<?php echo $user_id; ?> userpro-<?php echo $layout; ?>” <?php userpro_args_to_data( $args ); ?>>

    <?php _e(‘Close’,’userpro’); ?>

    <div class=”userpro-centered <?php if (isset($header_only)) { echo ‘userpro-centered-header-only’; } ?>”>

    <?php if ( userpro_get_option(‘lightbox’) && userpro_get_option(‘profile_lightbox’) ) { ?>
    <div class=”userpro-profile-img” data-key=”profilepicture”>profile_photo_url($user_id); ?>” class=”userpro-tip-fade lightview” data-lightview-caption=”<?php echo $userpro->profile_photo_title( $user_id ); ?>” title=”<?php _e(‘View member photo’,’userpro’); ?>”><?php echo get_avatar( $user_id, $profile_thumb_size ); ?></div>
    <?php } else { ?>
    <div class=”userpro-profile-img” data-key=”profilepicture”>permalink($user_id); ?>” title=”<?php _e(‘View Profile’,’userpro’); ?>”><?php echo get_avatar( $user_id, $profile_thumb_size ); ?></div>
    <?php } ?>
    <div class=”userpro-profile-img-after”>
    <div class=”userpro-profile-name”>
    permalink($user_id); ?>”><?php echo userpro_profile_data(‘display_name’, $user_id); ?><?php echo userpro_show_badges( $user_id ); ?>
    </div>
    <?php do_action(‘userpro_after_profile_img’ , $user_id); ?>
    <?php if ( userpro_can_edit_user( $user_id ) ) { ?>
    <div class=”userpro-profile-img-btn”>
    <?php if (isset($header_only)){ ?>
    permalink($user_id, ‘edit’); ?>” class=”userpro-button secondary”><?php _e(‘Edit Profile’,’userpro’) ?>
    <?php } else { ?>
    id_to_member($user_id); ?>” data-template=”edit” class=”userpro-button secondary”><?php _e(‘Edit Profile’,’userpro’); ?>
    <?php } ?>
    skin_url(); ?>loading.gif” alt=”” class=”userpro-loading” />
    </div>
    <?php } ?>
    </div>

    <div class=”userpro-profile-icons top”>
    <?php if (isset($args[‘permalink’])) {
    userpro_logout_link( $user_id, $args[‘permalink’], $args[‘logout_redirect’] );
    } else {
    userpro_logout_link( $user_id );
    } ?>
    </div>

    <?php echo $userpro->show_social_bar( $args, $user_id, ‘userpro-centered-icons’ ); ?>

    <div class=”userpro-clear”></div>

    </div>

    <?php if (!isset($header_only)) { ?>

    <?php
    // action hook after user header
    if (!isset($args[‘disable_head_hooks’])){
    if (!isset($user_id)) $user_id = 0;
    $hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
    do_action(‘userpro_after_profile_head’, $hook_args);
    }
    ?>

    <div class=”userpro-body”>

    <?php do_action(‘userpro_pre_form_message’); ?>

    <form action=”” method=”post” data-action=”<?php echo $template; ?>”>

    <input type=”hidden” name=”user_id-<?php echo $i; ?>” id=”user_id-<?php echo $i; ?>” value=”<?php echo $user_id; ?>” />

    <?php // Hook into fields $args, $user_id
    if (!isset($user_id)) $user_id = 0;
    $hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
    do_action(‘userpro_before_fields’, $hook_args);
    ?>

    <?php foreach( userpro_fields_group_by_template( $template, $args[“{$template}_group”] ) as $key => $array ) { ?>

    <?php if ($array) echo userpro_show_field( $key, $array, $i, $args, $user_id ) ?>

    <?php } ?>

    <?php // Hook into fields $args, $user_id
    if (!isset($user_id)) $user_id = 0;
    $hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
    do_action(‘userpro_after_fields’, $hook_args);
    ?>

    <?php // Hook into fields $args, $user_id
    if (!isset($user_id)) $user_id = 0;
    $hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
    do_action(‘userpro_before_form_submit’, $hook_args);
    ?>

    <?php if ( userpro_can_delete_user($user_id) || $userpro->request_verification($user_id) || isset( $args[“{$template}_button_primary”] ) || isset( $args[“{$template}_button_secondary”] ) ) { ?>
    <div class=”userpro-field userpro-submit userpro-column”>

    <?php if ( $userpro->request_verification($user_id) ) { ?>
    <input type=”button” value=”<?php _e(‘Request Verification’,’userpro’); ?>” class=”popup-request_verify userpro-button secondary” data-up_username=”<?php echo $userpro->id_to_member($user_id); ?>” />
    <?php } ?>

    <?php if ( userpro_can_delete_user($user_id) ) { ?>
    <input type=”button” value=”<?php _e(‘Delete Profile’,’userpro’); ?>” class=”userpro-button red” data-template=”delete” data-up_username=”<?php echo $userpro->id_to_member($user_id); ?>” />
    <?php } ?>

    <?php if (isset($args[“{$template}_button_primary”]) ) { ?>
    <input type=”submit” value=”<?php echo $args[“{$template}_button_primary”]; ?>” class=”userpro-button” />
    <?php } ?>

    <?php if (isset( $args[“{$template}_button_secondary”] )) { ?>
    <input type=”button” value=”<?php echo $args[“{$template}_button_secondary”]; ?>” class=”userpro-button secondary” data-template=”<?php echo $args[“{$template}_button_action”]; ?>” />
    <?php } ?>

    skin_url(); ?>loading.gif” alt=”” class=”userpro-loading” />
    <div class=”userpro-clear”></div>

    </div>
    <?php } ?>

    </form>

    </div>

    <?php } ?>

    </div>
    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw() ); ?></p>
    <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw() ); ?></p>

    #156304

    In reply to: How to start?

    Toni
    Participant

    Because of the intructions I got from the forum – I knew what to look for and found this:

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


    So I have now The Shortcode. I don’t want to even read the “other” method in detail.
    My opinion: I don’t understand why this set-up must be so laborious.

    #156303
    Toni
    Participant

    Somehow the menu is in order this time. And…

    I found what you were explaining to me, and the shortcode (what I was searching for):

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

    Thanks again, I knew exactly what to look for this time.

    #156302
    Toni
    Participant

    Oh, I have reinstalled bbPress to try again. Now my set-up is different. I will start a new thread.

Viewing 25 results - 17,201 through 17,225 (of 64,516 total)
Skip to toolbar