Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 35,226 through 35,250 (of 64,516 total)
  • Author
    Search Results
  • #109225
    Anointed
    Participant

    I would try is_bbpress() from the bbp-common-template.php functions file.

    #109145
    Anointed
    Participant

    I put the recent topics below my forum lists by modifying the archive-forum.php template file as follows:

    <div class="entry-content">

    <?php bbp_get_template_part( 'bbpress/content', 'archive-forum' ); ?>
    <br><br>
    <h3>Recent Topics:</h3>
    <?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?>

    </div>

    Notice the second function which grabs the topics. Flip the functions around and you’ll get what you are after.

    *I am assuming you added all the bbpress template files to your own theme so that you have full control over editing everything. If not, you will end up loosing your changes every time you update.

    #109209
    Anointed
    Participant

    Yeah, the breadcrumbs don’t yet function correctly on the users page. JJ is aware of the problem and has it on the todo list.

    #109161
    Anointed
    Participant

    Just a guess, but I would refresh the sites permalinks in the admin, and then refresh the forums links in the admin to see if it helps. Basically just go to each page and click save… beyond that not sure

    #40064
    highexistence
    Participant

    Every single permalink for forums give me a ‘page not found’ error. I’m using BBpress 2.0 and Buddypress 1.5 on the latest version of WP.

    Any suggestions? Thanks :)

    #108904
    ineken
    Member

    thank you for help.

    I found the right file, I found the good part, I think it was leave I should use.

    function widget( $args, $instance ) {

    extract( $args );

    $title = apply_filters( ‘bbp_replies_widget_title’, $instance );

    $max_shown = !empty( $instance ) ? $instance : ‘5’;

    $show_date = !empty( $instance ) ? ‘on’ : false;

    // Query defaults

    $replies_query = array(

    ‘post_status’ => join( ‘,’, array( bbp_get_public_status_id(), bbp_get_closed_status_id() ) ),

    ‘posts_per_page’ => $max_shown,

    ‘order’ => ‘DESC’

    );

    // Set the query name

    bbp_set_query_name( ‘bbp_widget’ );

    // Get replies and display them

    if ( bbp_has_replies( $replies_query ) ) :

    echo $before_widget;

    echo $before_title . $title . $after_title; ?>

      <?php while ( bbp_replies() ) : bbp_the_reply(); ?>

    • <?php

      $author_link = bbp_get_reply_author_link( array( ‘type’ => ‘both’, ‘size’ => 14 ) );

      $reply_link = ‘‘ . bbp_get_reply_topic_title() . ‘‘;

      /* translators: bbpress replies widget: 1: reply author, 2: reply link, 3: reply date, 4: reply time */

      printf( _x( $show_date == ‘on’ ? ‘%1$s on %2$s, %3$s, %4$s’ : ‘%1$s on %2$s’, ‘widgets’, ‘bbpress’ ), $author_link, $reply_link, get_the_date(), get_the_time() );

      ?>

    • <?php endwhile; ?>

    <?php echo $after_widget;

    endif;

    bbp_reset_query_name();

    }

    I miss it more than learning how to change it: D

    thank you I go little by little.

    #40077
    Kasper Isager
    Participant

    bbp-breadcrumb(); behaves strangely when viewing your profile. Instead of displaying the users username it displays the most recent WordPress post (e.g Home › Forum › Hello World!). The meta title for profiles is also bit strange… It just shows “›› Your Profile” and not “Username – Website title” as one might expect. Is this something that can be fixed?

    Thanks in advance,

    Kasper

    #109131

    In reply to: Seperate Forums

    Jaja..
    Member

    Nope you can only pull this off if you have PHP skills.

    Lets hope somebody will soon jump into this bbPress plugin code and start writing tutorials and info about different ways to list forums.

    For myself i can say this is the best bbPress forum layout (listing) i’ve ever seen.

    http://www.onemorething.nl/community/forum

    I’m trying to list my layout like that but it’s very difficult.

    #108074
    Niekje
    Member

    I need this translation but the problem is that I am unable to login there with my WordPress account. I can login here no problem but as soon as I go to https://translate.wordpress.org/projects/bbpress/plugin/nl/default I am unable to login :s

    #40091
    nathanbunn
    Member

    I have a template, originally designed for WordPress 3.2.1 and modified to accomodate the bbPress 2.0 plugin. One of the PHP functions I use in my navigation menu is the is_page() function, which finds if a certain page is selected and has been set to append a CSS style to the list item.

    Is there an equivalent function that can be used for the bbPress plugin? If not, is there a workaround solution?

    #40090
    Jaja..
    Member

    I’ve insert this to the loop. (showing on the homepage)

    <?php if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) ) : ?>

    <?php bbp_get_template_part( 'bbpress/loop', 'forums-1' ); ?>

    <?php else : ?>

    This print only the first forum ID (top forum) and hides all others.

    Next i would like to make this.

    <?php if ( bbp_has_forums( array( 'posts_per_page' => 1, 'max_num_pages' => 1 ) ) ) : ?>

    <?php bbp_get_template_part( 'bbpress/loop', 'forums-1' ); ?>

    <?php else : ?>

    <?php if ( bbp_has_forums( array( ‘posts_per_page’ => 1, ‘max_num_pages’ => 1 ) ) ) : ?>

    <?php bbp_get_template_part( ‘bbpress/loop’, ‘forums-2’ ); ?>

    <?php else : ?>

    <?php if ( bbp_has_forums( array( ‘posts_per_page’ => 1, ‘max_num_pages’ => 1 ) ) ) : ?>

    <?php bbp_get_template_part( ‘bbpress/loop’, ‘forums-3’ ); ?>

    <?php else : ?>

    Only problem it will always call the first (top) forum ID.

    I need to find an $args? for calling a forum ID in each loop, this way i can say get forum ID 4 on the first loop and get forum ID 12 on the second loop.

    #40088
    Ravi
    Participant

    Hi,

    The single topic page shows only the thumbnail of an author and it looks fuzzy.

    How do I make it to show full image?

    I am using bbPress 2.0 plugin.

    http://ravidreams.in/offgrid/forums/topic/alternatives-to-st-augustine-grass/

    is an example topic page.

    Full image URL format is here:

    http://ravidreams.in/offgrid/wp-content/uploads/avatars/7/71c948a9c1d112404e9f6ec0e62bcae6-bpfull.jpg

    Current thumbail at

    http://ravidreams.in/offgrid/wp-content/uploads/avatars/7/71c948a9c1d112404e9f6ec0e62bcae6-bpthumb.jpg

    Please let me know which file to edit and what to add.

    Thanks

    #40059
    Ravi
    Participant

    Hi,

    The forum homepage now shows only list of forums.

    How to show list of latest topics above this forums index? (like it is done in the bbPress forums page)

    I am using bbPress 2.0 plugin.

    Which file should I edit and what should I add?

    http://ravidreams.in/offgrid/forums/ is the site I am working on.

    Thanks,

    Ravi

    #109021

    In reply to: bbpress capacity

    purplesky
    Member

    Thankyou Anointed for all that information.

    I notice you mention there is not much difference in server load…I presume BBpress uses less server load? May I ask what percentsge less?

    #109070
    lckitchen
    Member

    Sounds great. Is using shortcodes hard to control if the forum grows or is there a list of how many “main” pages and different shortcodes I would need? I guess this is a much more tedious way of doing it and changing the theme code would be best?

    I will look for that thread…

    You think I shouldn’t download that “bbPress attachments” plugin though?

    Thanks again! You are most helpful :)

    #109069
    Anointed
    Participant

    Yes, changing that will make it full width. It should function just fine.

    Using shortcodes with full width template pages works as well.

    I believe that there is a thread here somewhere with a link to attachments that works with 2.0. Seem to remember reading it somewhere.

    #109068
    lckitchen
    Member

    Thank you for your rapid reply anointed, I contacted Orman’s support, we’ll see what they say.

    Since I am new to bbPress, at your first glance of my above forum link… does it look like I got the installation and functions working, just having a problem with the width template (code)?

    I tested how it would look by adding this short code [bbp-forum-index] into a regular “page” (not forum) and setting it to use full width template and I got that page to look like it should; http://limecitykitchen.com/forum-bbpress (just not functioning) Look better though, hope they can help me fix the code.

    Also, will the “bbPress attachments” plugin work well with the bbPress 2.0 plugin?

    https://bbpress.org/plugins/topic/bb-attachments/

    Thanks again!

    Anointed
    Participant

    glad you got it figured out.

    #109067
    Anointed
    Participant

    If it were me, I’d ask Ormon to write a quick function for your theme to switch the body class to

    page-template-template-full-width-php

    for post_type forums/topics/replies/users/.

    *Basically run that last in the chain as to override the default setting only for the forums.

    That would probably be the quickest and best approach to take for this particular theme.

    That will give you full width forums. There are lots of ways to approach this and he may even have better ideas.

    #109160
    Anointed
    Participant

    NO, not bothered at all, was just saying that I didn’t understand what you were asking is all.

    If I understand you basically want to take the code from the topics widget and use it as a standalone loop instead of a widget?

    Keep in mind I’m not a great coder: If it were me, I would simply copy the code from the bbp-core-widget.php file that I needed for the topics widget. I would then strip out the widget portion of the code and hard code in the default arguments.

    This basically would give me the same loop used by the widget.

    // Query defaults
    $topics_query = array(
    'author' => 0,
    'post_parent' => any,
    'posts_per_page' => 10,
    'show_stickies' => false,
    'order' => 'DESC',
    );

    Probably better ways out there, but that’s how I would try it

    #109066
    lckitchen
    Member

    Hello, I am having similar issues, I can’t get bbPress to work well with my custom WP theme (self-hosted wp site). http://limecitykitchen.com/mingle/mingle/mingle-3

    I installed the bbPress 2.0 plugin and have so far only created one test forum and no topics yet but I am already so frustrated about the way it shows up, it’s definitely missing padding and the window should be full width like this; http://limecitykitchen.com/fullwidth_test

    I love my theme and don’t want to change that just to get bbPress to work, how do I integrate the bbPress forum into my WP site? Are there certain files I need to modify? Style sheets? Move items around in the folders?

    Perhaps I need to somehow create a childs theme?

    Or should I put the forum on a WPMU?

    Or in a different directory on my main domain hosting with a separate WP install?

    Any help with this is HIGHLY appreciated!

    Thank you!

    #109159
    venividi
    Participant

    //anointed, I must say sorry if I bothered you.

    You might see the ‘bbPress Topics list’ widget, in wordpress widgets. I meant I want to use the widget ‘outside the loop’.

    That must be done the code like below:

    <?php

    if ( bbp_has_topics( array( ‘author’ => 0, ‘show_stickies’ => false, ‘order’ => ‘DESC’, ‘post_parent’ => ‘any’, ‘posts_per_page’ => 5 ) ) )

    bbp_get_template_part( ‘bbpress/loop’, ‘title’ );

    ?>

    #108853
    lmburford
    Member

    Ok, ive been testing these things out for the past 2 weeks. Buddypress and BBpress communicate, however their actual integration as 2 separate plugins is kinda light. They do/can send info back and forth, and BBPress will publish to the activity stream, and things like that.

    TO answer the question asked…

    When you install Buddypress and use the group forums, it says “Sync with existing bbpress install”. This means an existing version of the built-in BUDDYPRESS BBPress, not the BBPress Plugin.

    You can have Buddypress and the BBPress Plugin (from wordpress), but you install them as 2 seperate plugins and they pretty much operate that way, other than some communication.

    As far as integrating BBPress into the Buddypress theme. You can use the built in Buddypress version, which uses the same themes and etc. But for the separate plugin version, I havent found a way to do it, other than that they are both built into the same wordpress theme (unless you find/make a BBPress theme thats similar.

    Hope that helps.

    lmburford
    Member

    I registered here just to help you, because i was having this same issue.

    I was frustrated as well… BUT the solution is so simple. Too bad theres no documention to tell everyone.

    Whatever u changed the BBPress “Forums base” name to, make a wordpress page with that permalink. And then put in the short code [bbp-forum-index] (or any BBPress shortcode u like).

    If you changed the BBPress Forums base name to “theboards”, then make a new wordpress page with the same permalink “theboards”. So your forum will be located at mywebsite.com/theboards, regardless of if you create new forums or topics, theres nothing there. Create a page, pop in that shortcode or any of the ones at the link below and ZAP BOOM POW, go to mywebsite.com/theboards and its there! lol

    BBPress Shortcodes- https://bbpress.org/forums/topic/bbpress-20-shortcodes.

    Hope that helps.

    This was useful! thanks.

    I simple used the insert code (which I was looking for but didn’t see and assumed not available) within my main template instead of using teh bbPress subtempate.

    [bbp-forum-index]

Viewing 25 results - 35,226 through 35,250 (of 64,516 total)
Skip to toolbar