Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,451 through 20,475 (of 64,517 total)
  • Author
    Search Results
  • #146716
    Sidati
    Participant

    Sorry, if i mis-explaining my idea, i just want to know if there’s purpose of using this method, that’s all, sometimes there’s causes enforce the devs to take the hard way, i like bbpress but it can be mush better 🙂

    #146712
    peter-hamilton
    Participant

    Hello

    I am quite a newbie in regards to web design/development, especially wordpress and bbpress are quite tricky to learn when not knowing anything about php etc.

    For about 5 months i have been hacking away and pasting existing code to create what I hope to be a nice allround bbpress/buddypress theme.

    It is still being worked on but I would love some feedback on my progress.

    BBFacelook theme development

    Thanks in advance
    Peter Hamilton

    #146707
    calfacemedia
    Participant

    Hi everyone

    We have a client who manages blocks of flats who wants a site focused around a forum. I was looking for some advice as to whether bbPress would would accommodate some of his requirements or if you had another suggestion. Thanks!

    – Multiple User levels – so he can assign each user when they sign up to individual forums/threads and they are restricted from viewing any others.
    – Capacity to see at a glance live updated list of who has commented in what thread, pulled together for him to view with ease.
    – Is there a way to integrate Dropbox into a site like this? He wants to have various documents downloadable by users but doesn’t want to have to reupload all of them to the back end of the site.
    – He would like a tag cloud also.

    #146706

    In reply to: Tamriel Foundry Forums

    peter-hamilton
    Participant

    One of my main motivators of continuing with BBPress is Tamriels foundry, one of the few examples that show that it is possible to create a forum similar to that of premium forums, with the added bonus of having wordpress/bbpress and budypress with their helpful communities.

    You guys rock and thanks to looking at your code I am able to create my own community site.
    http://www.cultivators-forum.com

    +1

    P.H.

    #146701

    In reply to: Help with forum layout

    Robin W
    Moderator

    bbpress will use your standard page template.

    see

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

    for the order and which one to look for.

    But it is styling that will determine the width.

    look in your theme’s style.css for code something like

    #sidebar
    {
    padding: 20px 0 10px 0;
    margin-left: 545px;
    width: 190px;
    }

    and you may need to play with the content

    #content {
    float: left;
    width:500px;
    }

    If you just want it changed for bbpress pages, then try

    #bbpress-forums.sidebar
    {
    padding: 20px 0 10px 0;
    margin-left: 545px;
    width: 190px;
    }

    may or may not work, css not my strong point !

    Stephen Edgar
    Keymaster

    It’s not a setting at all, this can occur from various actions, typically if a bbPress forum or BuddyPress group has it’s visibility changed from hidden to private and vise versa. Potentially any changes made to private/hidden/public forums/groups so it’s worth checking what these are set for each forum and group you are having issues with.

    #146695
    Robin W
    Moderator

    ok, could be lots of things, presume you’ve referred back to your developer?

    and presume this is a new installation of bbpress, so has never worked?

    I’d start by trying :

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    #146683
    Stephen Edgar
    Keymaster

    99% sure it is a compatibility issue with that Headway theme you are using.

    I can’t find a reference to bbPress on their site, only a dead link to a BuddyPress article on their FAQ page http://headwaythemes.com/frequently-asked-questions/ that I think eventually lands you at this page https://headwaythemes.com/downloads/community-builder/ which mentions ‘Discussion Forums’ in the image, no specific bbPress reference.

    If you don’t have a bbpress.php file in your theme folder try creating one based on your preferred page template, e.g. page.php or page-sidebar.php etc, just make a copy of the file and rename it to bbpress.php.

    Short of that working I think you will need to contact the Headway support to find out if they support bbPress or not.

    Stephen Edgar
    Keymaster

    A couple of thoughts, not explicitly what you asked for but are related 😉

    Use bbp_show_lead_topic, here on bbpress.org if you go to a topic with many pages (actually more than 1 page) you always see the original topic at the top of the page.

    And

    Use CSS, take a look at the source of this topic, you’ll notice that any reply by the original topic author has a CSS class topic-author

    #146680
    Stephen Edgar
    Keymaster

    You can also use https://codex.bbpress.org/bbp_show_lead_topic/ it is what is used here on bbpress.org to seperate the topic from the replies using different template parts.

    Take a look at content-single-topic-lead.php, you will also see bbp_show_lead_topic() in various other template parts such as the ones you originally mentioned.

    Stephen Edgar
    Keymaster

    Your first issue is a known issue and is fixed for the next release of bbPress.
    https://bbpress.trac.wordpress.org/ticket/2587

    A workaround for that issue is to run the repair tools after moving a topic.

    Your second issue could you give detailed reproduction steps and I’ll take a look.

    eg.

    1 Create this
    2. Do this
    3. Click this
    4. Now this

    Results: This is what happened
    Expected Results: This is what I expected to happen.

    #146678

    In reply to: Forum Error

    Stephen Edgar
    Keymaster

    I have no idea what that could be, bbPress v2.x does NOT include a file named forum.php

    Are you sure you are using bbPress?

    Stephen Edgar
    Keymaster

    @jbboy I removed your image, there is no need nor place for this kind of language here on bbPress.

    #146672
    localsports
    Participant

    I am trying to use the import tool in bbpress to transfer all the posts and users from my vbulletin forum to my new bbpress forum. The vbulletin forum was set-up and hosted by a web company. I emailed them and asked for the required set-up information and they responded with the following:

    Database Server: niagara.localsportsreport.com
    Database Port: 3306
    Database Name: lsr_niaglsr
    Database User: lsr_niaglsr_ro
    Database Password: XXXXXXXXXXXXXXXX (password blocked out for privacy)
    Table Prefix: forum_

    However, when I enter this information into the database settings page on the import page and press start, it comes back with the following:

    Repair any missing information: Continue
    Conversion Complete
    No reply_to parents to convert
    No replies to convert
    No tags to convert
    No super stickies to stick
    No stickies to stick
    No topics to convert
    No forum parents to convert
    No forums to convert
    No passwords to clear
    No users to convert
    No data to clean
    Starting Conversion

    Any suggestions on what could be wrong?

    Robkk
    Moderator

    @robin-w hey thanks for helping me out

    and i was using 5 pages as an example

    i would like the topic starter label throughout a topic , for whatever number pages it may have

    so should i basically use this

    //This function adds the author to the reply
    function reply_display_author () {
    	if( get_post_type() == 'reply' ) {
    	echo '<span class="bbp-topic-started-by">' ;
    	printf( __( 'Topic started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) )) ; 
    	echo '</span>' ;
    	}
    	else {
    	return ;
    	}
    	}
    add_action ('bbp_theme_before_reply_content', 'reply_display_author') ;

    with this function instead??

    <?php if ( bbp_thread_replies() ) : ?>
    
    			<?php bbp_list_replies(); ?>
    			
    			
    		<?php else : ?>
    			<?php global $countr ;
    			$countr=-1 ; ?>
    		
    			<?php while ( bbp_replies() ) : bbp_the_reply(); ?>
    			
    			<?php 
    			$countr ++ ;?>
    			
    			<?php bbp_get_template_part( 'loop', 'single-reply' ); ?>
    
    			<?php endwhile; ?>
    			
    			
    		<?php endif; ?>
    #146662
    dryan1144
    Participant

    Out of the box, bbpress shows topics from a particular forum when you are on that forum’s archive page. Makes sense. If that forum has a sub-forum, it will link to those sub-forums, but it won’t show the actual topics from that sub-forum.

    I’m trying to modify the default bbpress loop on a forum page (loop-topics.php) to include the sub-forum topics.

    Here’s an explanation:

    Forum A
    Sub-forum A1
    Sub-forum A2
    Forum B
    Sub-forum B1
    Sub-forum B2
    So when viewing Forum A’s archive page, I’d like to show topics from Forum A, sub-forum A1 and sub-forum A2.

    The code needs to be dynamic in order to work with whatever parent forum archive a user is on.

    You can pass wp_query args into bb_has_topics(), but I can only only come up with code that shows topics from one forum – not multiple forums.

    To better explain what I’m working with, here’s an example of a loop that grabs topics from the parent forum:

    
    <?php
    
    $parents = get_post_ancestors( $post->ID );
    
    $id = ($parents) ? $parents[count($parents)-1]: $post->ID;
    
    $parent = get_page( $id );
    
    ?>
    
    <?php $bbp_loop_args = array('post_parent' => $parent->ID, 'post_type' => 'topic'); ?>
    
    <?php if ( bbp_has_topics($bbp_loop_args) ) : ?>
    
        <?php while ( bbp_topics() ) : bbp_the_topic(); ?>
    
            <?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
    
        <?php endwhile; ?>
    
    <?php endif;?>
    

    Any ideas on how this can be achieved?

    nirgalo
    Participant

    bbPress 2.5.3, WP 3.9.1

    I moved a topic from forum A to forum B (on the same site), by editing the topic and updating the Forum field. The topic was properly moved and now appears in forum B, but the post count of forum A still retains the old count when the topic was in forum A (and probably the count of forum B was not updated either but I am not sure of this). To get the count I am using bbp_get_forum_post_count(). Looks like a bug to me. Any workaround?

    #146653
    Sidati
    Participant

    Any one can explain me why bbPress uses 3 post-types and ignore the WP comments system and taxonomy ??

    #146650
    Sidati
    Participant

    I think its WordPress problem, i try to deactivate the bbPress and the link keep showing the slug instead of the ID


    Sidati

    #146647
    Sidati
    Participant

    Hello,

    I’m a WP developer, and i tried recently to integrate the bbPress with a wordpress theme, and i can understand why there’s 3 post-types (forums + topics + replies ), why not just one post-type (topic) and forum can be just (taxonomy) related to this post-type and then replies are just normal comments (make the “topic” post-type support comments). that make a lot of thing mush easier.

    – like comment/replies moderation.
    – manage the forums (taxonnomies) easly.
    – reduce the DB size and benefits from the taxonomies, posts, comments tables instead of push everything in posts table which is the largest table.
    – and this make the bbPress super easy to integrates with themes. (its just post-type :)).

    Is there a purpose from going on this complicated way ???
    Anyway thank you for this great plugin, em truly appreciate this effort 😀


    Sidati

    robgranholm
    Participant

    Thanks for this info!

    So, the bbpress.php page worked, its loading the correct forums looking page now, no sidebar, but I can add that into this page. I see how it works.

    The breadcrumbs code unfortunately does not work, causes a parse error if I try to add the second part, this one http://take.ms/JKeuq

    The first part works, but if I add the second part, it breaks. If I just have the second part, it breaks….has this code become outdated?

    Robin W
    Moderator

    ok, may be a little rough, but seems to work

    put this in your functions file

    //This function adds the author to the reply
    function reply_display_author () {
    	global $countr ;
    	if ($countr == 5 ) {
    	echo '<span class="bbp-topic-started-by">' ;
    	printf( __( 'Topic started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) )) ; 
    	echo '</span>' ;
    	}
    	else {
    	return ;
    	}
    	}
    	
    	add_action ('bbp_theme_before_reply_content', 'reply_display_author') ;
    	

    and then create a file called bbpress in the root of your theme and copy across loop-replies.php

    then amend from line 42 so that it reads

    <?php if ( bbp_thread_replies() ) : ?>
    
    			<?php bbp_list_replies(); ?>
    			
    			
    		<?php else : ?>
    			<?php global $countr ;
    			$countr=-1 ; ?>
    		
    			<?php while ( bbp_replies() ) : bbp_the_reply(); ?>
    			
    			<?php 
    			$countr ++ ; 
    			
    			<?php bbp_get_template_part( 'loop', 'single-reply' ); ?>
    
    			<?php endwhile; ?>
    			
    			
    		<?php endif; ?>

    seems to do the trick !

    Robin W
    Moderator

    This dropped into your functions file puts it in every reply – just thinking about how you’re get every 5th !

    //This function adds the author to the reply
    function reply_display_author () {
    	if( get_post_type() == 'reply' ) {
    	echo '<span class="bbp-topic-started-by">' ;
    	printf( __( 'Topic started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) )) ; 
    	echo '</span>' ;
    	}
    	else {
    	return ;
    	}
    	}
    add_action ('bbp_theme_before_reply_content', 'reply_display_author') ;
    Robin W
    Moderator

    So your test site works, but you live site doesn’t?

    If there on the same servers, then it has to be a difference in either settings (database) or code.

    I’d try to work out which by backing up my test site, and then restoring my live site database to it

    see https://codex.bbpress.org/creating-a-test-site/

    for details if you’re not familiar.

    That should let you see which is it, and you can progress from there

    come back and let us know how you get on

    #146618
    ebarcena
    Participant

    I’m grad this issue is getting worked on.

    Hey Evan Herman can you please share your temporal solution code exactly as I should paste it in my functions.php

    I pasted it like this but nothing happened:

    $body_class = get_body_class();
    if ( in_array('bbpress',$body_class) ) {
    		?>
    		<script>
    		  jQuery(document).ready(function() {
    		    jQuery('.menu-item-347').removeClass('current_page_parent');
    		    jQuery('.menu-item-2592').addClass('current_page_parent');
    		  });
    		</script>
    <?php
    	}

    Thanks!

Viewing 25 results - 20,451 through 20,475 (of 64,517 total)
Skip to toolbar