Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 16,926 through 16,950 (of 64,516 total)
  • Author
    Search Results
  • #157317
    Robkk
    Moderator

    @devilwoif

    follow this link

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

    download the .zip

    use this forums.php file inside and add in your child theme in a folder called bbpress

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

    #157313
    peter-hamilton
    Participant

    Another way to cheat a little is to make an actual page, call it yourdomain-forums

    Then you could add the existing shortcode from BBpress like this

    <h1>title of category 1</h1>
    [bbp-single-forum id=XX]

    <h1>title of category 2</h1>
    [bbp-single-forum id=XX]

    Then make a link in your menu to that page

    I am doing it here

    onlijn.com/onijn-forums

    www

    #157311

    In reply to: Picture

    Stagger Lee
    Participant
    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 50;
        }
        if ($size == 80) {
            $size = 190;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);
    /* We increased the tiny avatar size, so adjust the position */
    #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums .widget_display_replies img.avatar {
        margin-bottom: -2px;
    }
    /* Increase max-width for the big avatars */
    #bbpress-forums div.bbp-forum-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar {
    /*margin: 12px auto 0;*/
    max-width: 110px;
    }
    #157305
    dapike
    Participant

    Today I’ve been working on trying to migrate from the Mingle forum to bbPress. I have managed to get the import utility to create names for each of the subforums that I had in Mingle, but none of the actual topics or posts have been imported. Does anybody have any suggestions? Thanks.

    #157304
    Stagger Lee
    Participant

    Problems with other forum scripts are (if we forget about WP integration for a moment) like this, and i have seen it more than often.

    People come to forum, relax, discussing, forget about time. But they forget about main portal too. It doesnt exist for them. I have seen many popular and crowded forums and people behind main portal lose money, time, energy to write editorials and news. Nobody is reading this, nobody “knows” about portal when they are on forum. And all try to make other forum scripts look a like something near CMS are madness, better not to go this way.

    Here you have old brother WordPress, so popular in the world. You discuss in the forum, suddenly sidebar widget display new article from portal, as it says “did you forget to read news”. Just one example of many of them.

    All is here, all exist to make bbPress (or BuddyPress) most popular forum script. To follow steps of WordPress.
    Smart core coders, wish exist, older brother WordPress is there to push bbPress in the front of other forum scripts.

    #157303
    Stagger Lee
    Participant

    I am not saying all this because of me. I have now so many (tested) snippets and tweaks i can make bbPress more advanced than phpBB3 forum. I am thankfull to core guys, and I am not complaining.

    Integration (affinity better to say) with WP core is so amazing it just blow minds.

    I am saying this because of core coders guys. It is pitty lose hours, days, weeks and last nobody or very few people use bbPress.

    #157302
    Robin W
    Moderator

    ok,

    firstly if you just create a page for your forum and use the shortcode

    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]

    then just that forum will be displayed.

    to change the breadcrumb display – see

    Layout and functionality – Examples you can use

    #157301
    Robin W
    Moderator

    ok thanks for that

    I’m just a humble bbpress user who’s written some plugins.

    I’m working on one now that adds some styling changes (the common ones asked for)

    #157300
    Stagger Lee
    Participant

    I read somwehere (or was it for BuddyPress, but it is the same logic), that you avoid new options and functions in core to reduce support. It is OK and understandable.

    I this sentence i said you can do much with only CSS and styling. To “sell” bbPress to WP beginners.
    It is very behind other forum software right now.

    WordPress has its own “demo” websites, all those nice and fancy themes around web. BbPress has it not.

    #157299
    Rapforthemoment
    Participant

    Hey guys. On bbpress when someone posts a topic, I want to change the Author, Post, Favorite, and Subscribe colors that are above the post they make, to black. I don’t want to change the yellow background, but the text color itself. The Author, Post, Favorite, and Subscribe text color is yellow right now so you can’t see the text.

    Also, if you can. On the topics page where it shows all the posted topics on the forum, the freshness color of the topics in yellow. The Topic, Voices, Posts, and Freshness text color is black, but the freshness text below (for example, 1 day, 20 hours ago) is yellow. I’d like to change that to black also.

    If anybody can help that’d be awesome. Thank you friends!

    #157296
    Robin W
    Moderator

    try

    https://wordpress.org/plugins/bbp-private-groups/

    This should stop bbpress forum entries displaying when they shouldn’t.

    #157286
    Sterke-Jerke
    Participant

    Hi,

    I have latest version of BBpress, Buddypress and Tapatalk running.
    All seems to be working fine. But…
    I use the Buddypress groups to limit users access to certain forums. This works OK with the Web Ui.
    If you are not a member, buddypress shows that you can ask access….

    Only problem I am facing is: tapatalk does not respect all these settings, It is able to post and retrieve forum posts, even if the users are not members of the groups.
    Doesn’t matter if I make the forum hidden or private.

    I hope I am on the rigjt place. Perhaps I should post this in the Buddypress support part …

    Thx

    #157284
    Stagger Lee
    Participant

    First, for a whole week now I am collecting, testing, verifiyng snippets around the web, most from this forum, and make my own collection. To have it all on one place on localhost. Stop making it, it never ends. 🙂 bbPress is so, so, so manageable and easy to add all functions other forum software have.

    Second, you won hearts of coders and developers. What about WP/bbPress beginners ?
    As you already lose your time coding make some new theme for this support forum. To make it as demo for bbPress, to make it shine and stick out.

    There is a reason why WP holds so much of web, and bbPress is not in this league.
    Dont get me wrong, I read your topic about complicating things and rised support with new functions/options. I am talking about plain old CSS2/CSS3. No database queries, and you “sell” your product/code.

    So, thanks and apologies if I offended someone.

    jaydd
    Participant

    bbpress sub-forum
    I make a forum and then i make another forum parented to the first forum, on the webpage the sub forum is shown under the forum with smaller font(shown on the image), but i don’t want that because i will have tons of subforums under that parent, tho it should only be shown when i click on the parent forum. Any idea?

    #157277

    In reply to: Sidebar not Showing

    Robin W
    Moderator
    #157276
    Robin W
    Moderator

    I know nothing about visual composer, but a quick google produces

    http://codecanyon.net/item/bbpress-shortcodes-for-visual-composer/9073637

    which suggests that standard shortcodes don’t work?

    #157273
    Robin W
    Moderator

    my plugin

    bbp additional shortcodes

    has a code

    [display-forum-index forum= ‘2932, 2921′ breadcrumb=’no’ search=’no’] Displays the selected forum indexes

    which lets you organise the order of forums

    #157271

    In reply to: first post

    Matthias
    Participant

    Hi Robin,
    The full error is this:
    Parse error: syntax error, unexpected ‘only’ (T_STRING), expecting ‘,’ or ‘;’ in …./blog/wp-content/themes/virtue_premium/bbpress/loop-replies.php on line 54

    <?php // if user is not logged in and is the first reply
    if( !is_user_logged_in() && $rep_position =2 ) {
    echo “Replies only viewable for logged in users”;
    }
    // if user is not logged in and is after the forst reply, then don’t do naything
    elseif( !is_user_logged_in() && $rep_position >2 ) {
    }
    //otherwise carry on as usual
    else bbp_get_template_part( ‘loop’, ‘single-reply’ ); ?>

    #157266
    webplayer
    Participant

    I am creating a page using visual composer and making it have tabs. One of those tabs is forum, and when I embed a bbpress shortcode in that tab and publish the page. bbpress breaks our of visual composer and takes over the whole page. Any idea for why this is happening?

    #157264
    touchdowntech
    Participant

    Very interesting and I’m looking forward to the continual development of bbPress. I’m refreshing a sports website and will be implementing a forum plugin. Probably bbPress.

    #157263
    touchdowntech
    Participant

    How do I change the posts to replies like the bbPress forum?

    #157258
    Stagger Lee
    Participant

    When you already use so much time and energy dont try to imitate Facebook. It is not worth it, and all this time can be used for something very unique for bbPress.

    #157250
    Stagger Lee
    Participant

    This seem to works. Or seems to work, I never know difference.

    add_filter('bbp_before_get_reply_author_role_parse_args', 'ntwb_bbpress_reply_css_role' );
    function ntwb_bbpress_reply_css_role() {
    
    	$role = strtolower( bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) ) );
    	$args['class']  = 'bbp-author-role bbp-author-role-' . $role;
    	$args['before'] = '';
    	$args['after']  = '';
    
    	return $args;
    }
    
    add_filter('bbp_before_get_topic_author_role_parse_args', 'ntwb_bbpress_topic_css_role' );
    function ntwb_bbpress_topic_css_role() {
    
    	$role = strtolower( bbp_get_user_display_role( bbp_get_topic_author_id( $topic_id ) ) );
    	$args['class']  = 'bbp-author-role bbp-author-role-' . $role;
    	$args['before'] = '';
    	$args['after']  = '';
    
    	return $args;
    }
    #157245

    In reply to: first post

    Robin W
    Moderator

    I thought I can do it with a filter in functions.php.

    unfortunately not that easy if you don’t want to show the replies, as the loop-replies file has no easy filter to hook to !

    yes you can put this in your main theme, just be aware itr will get overwritten by any theme update, so keep a good note of what you did, so you can do it again if needed.

    create a directory on your theme called ‘bbpress’
    ie wp-content/%your-theme-name%/bbpress
    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-replies.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/%your-theme-name%/bbpress/loop-replies.php
    bbPress will now use this template instead of the original

    so that gets the right file

    I wish I had time to write a solution for you for free, but I’m tied up in other work.

    but basically you want to look at lines

    <?php while ( bbp_replies() ) : bbp_the_reply(); ?>
    
    <?php bbp_get_template_part( 'loop', 'single-reply' ); ?>
    
    

    You want to stop it getting the template loop-single-reply if it is after pos 1, so something like

    <?php while ( bbp_replies() ) : bbp_the_reply(); ?>
    
    <?php // if user is not logged in and is the first reply
    if( !is_user_logged_in() && $rep_position =2 ) {
    echo  "Replies only viewable for logged in users";
    }
    // if user is not logged in and is after the forst reply, then don't do naything
    elseif( !is_user_logged_in() && $rep_position >2 ) {
    }
    //otherwise carry on as usual
    else bbp_get_template_part( 'loop', 'single-reply' ); ?>
    
    
    #157243

    In reply to: first post

    Matthias
    Participant

    I thought I can do it with a filter in functions.php.
    Don’t want to setup a child theme for this.
    Is it possible to do it with just adding a additonal bbpress file to my theme?

    My php-code knowledge is just search, copy and paste 😉

    Thanks
    Matthias

Viewing 25 results - 16,926 through 16,950 (of 64,516 total)
Skip to toolbar