Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 3,301 through 3,325 (of 6,794 total)
  • Author
    Search Results
  • #143099
    Tu Nguyen
    Participant

    Hello, I have installed bb and create a page named “Forums” (slug:forums) and assign for it a Template (not Default Template) but it always use Default Template (page.php) for displays forums . I also tried create a page with named page-10.php (or page-forums.php) (10 is the ID of the page and forums is slug) but not successfully. If I change “Forum Root” in BB settings, e.g: forums2 (not “forums” ) it works. But in breadcrumb the url to root forum is mysite.com/forum2. I want it is the same with the url when user select it from menu is mysite.com/forums.

    Can anybody help me? Thanks

    #143093
    Robin W
    Moderator

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, the it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    #143087
    mshane8
    Participant

    Hello-

    I am redesigning a site and want to migrate my current forums, topics and replies from my current site into my new site.

    I have read through the instructions but I have 2 issues:

    1) What is my platform? I am migrating from current bbpress plugin version to another. Both the production site and the dev site are on the same hosting provider with different databases obviously. I am assuming I use the default setting phpBB?

    2) More importantly- what is the table prefix? It is default setting. I did not assign a custom prefix. But I cant find the table prefix anywhere in the MySQL database. There isn’t a table with the prefix wp_bb_ or anything related to that table structure?

    * I am only using bbPress for forums, topics and replies. I am not using Buddy Press.

    Thanks so much for the advice. The migrating instructions are not very specific.

    #143040
    Robin W
    Moderator

    Whilst much of this link is blanked out, it does seem to indicate a problem with conflicting page templates.

    http://www.experthelp.com/question/74882/i-have-installed-two-plugins-shopp-and-bbpress-a-shop-and-a-forum-the-start-page-of-each-plugin-is-showing-up-blank-on-my-wordpress-site-how-do-i-fix-it

    What I’d suggest you do is create a page template for your bbpress so that it only uses that one, leaving shop to use whatever template it is using.

    https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ part 8

    You don’t say what theme you are using – and in fact it could be the theme’s page template that is causing the issue.

    But let’s suggest for a starter that you look in your theme, and copy then rename it’s default page template as per part 8 above.

    If you need further help doing that, or it doesn’t work, come back

    #143026
    Brennon
    Participant

    @robin-w

    Thank you for the quick response. When I use the default page to display the forum on it doesn’t expand into the side bar but it does however compress the forum into a small box. See here. I know I am going to have to change something in the template but I don’t know what. Thanks.

    #142965
    Developer ICAN
    Participant

    Hi,

    When i place any of the BBPress default widgets that ‘list’ (ie ‘Recent Replies’, ‘Forums’, ‘Recent Topics’) on a category.php WordPress template, the listings
    shows recent ‘posts’ from wordpress rather than BBPress objects?

    Is this a bug or is there anything any one can suggest? I’ve tried resetting the query etc right above the widget output and underneath but nothing seems to work?

    Thank you for any advice here!

    #142933
    Robin W
    Moderator

    You’ll be needing to modify

    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-topic.php

    #142924
    traemccombs
    Participant

    Heh, stop being so awesome in your replies. πŸ™‚

    Anyway, me, the non-coder, still doesn’t understand why it(bbpress plugin) can’t simply have an option to use styles from other themes. If nothing else, the CSS etc would be a nice “base” for things like link colors, font sizes, whatever.

    *sigh*

    I tried bbPress Tweaks. Meh.

    I’ll read the link you posted. Hopefully it doesn’t suck.

    bbPress has such a non-WP feel about it though in everything I’ve come to expect from WordPress. Part of it is my frustration with PHPBB, and part of it is my frustration with not being able to get a non-sucky looking forum with bbPress.

    And, I have yet to see a non-sucky bbPress based forum. Most are fairly crappy in how they present and deal with the content.

    Easy of me to throw stones in a glass house when I don’t code I guess. I just wish there were more sane defaults in bbPress that looked better out of the box.

    #142916
    Robin W
    Moderator

    bbPress by default tries to use your themes default templates as it’s base. So it is already using your theme’s page template, maybe not the particular one you’re after, but it will be for your theme, or one you have created.

    It will look for the following files in your theme in this order, and use that for it’s forums

    plugin-bbpress.php
    bbpress.php
    forums.php
    forum.php
    generic.php
    page.php
    single.php
    index.php

    See https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ for more detail and how to get it to use a particular template.

    Since some theme writers create a bbpress template, and some have variously named page templates, it would be kinder hard to get bbpress to work out which of your themes files are page templates, and which you want to use.

    Yes, getting the right template to display forums can involve you in renaming and moving some files, but that’s because you have decided to use a non-default theme (no criticism), and so your theme writer and the writers of bbpress would need to be telepathic to know how the other one is going to code. As I said some themes actively allow for bbpress, for others it is just one of thousand of plugins.

    The plugin bbPress Tweaks

    https://wordpress.org/plugins/bbpress-wp-tweaks/

    In dashboard>settings>bbpress tweaks allows you to select from available templates as a dropdown, so partly achieves what you are after.

    I fully appreciate that WordPress and plugins can cause a lot of frustration, and no you’re definitely not a troll (yet!), but less heaven and hell in your posts would be better!

    #142909
    Doremdou
    Participant

    Hi,

    I really need pagination WITH threaded replies on my bbpress forum. Because when a topic has over 500+ replies it is NOT conceivable to display them on the SAME page.

    Do someone have a trick to do the following?

    Enable threaded replies N levels deep

    Break replies into pages with N top level replies per page and the first/last page displayed by default
    Replies should be displayed with the older/newer replies at the top of the page

    the outdated plugin Threaded Replies had those options, but I cant find them on bbpress, that is just a shame… :/

    Thank you very much for your help πŸ™‚
    Dorem

    #142901

    In reply to: Removing "Started by:"

    Robin W
    Moderator

    Ok, you need to do the following

    If you have a child theme, then do this in there

    If you don’t have a child theme, then seriously consider creating one, it’s very quick and easy, and will ensure that changes you make don’t get lost on theme or bbpress upgrades. Just google wordpress child theme videos and you’ll get lots of help.

    In your theme create a bbpress directory
    wp-content/themes/yourthemename/bbpress

    then copy

    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-topic.php to this directory so that you have
    wp-content/themes/yourthemename/bbpress/loop-single-topic.php

    Edit this file to delete line 60 which says

    <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>
    

    and save.

    bbPress will now use the file in your theme’s bbpress folder instead of the default, and you won’t lose your change on bbpress upgrades – but will it it is in your main theme, so if you don’t create a child theme, keep a note of what you changed, as if your theme updates, then you may/will lose the bbpress folder and file.

    #142891
    crzyhrse
    Participant

    Thanks Robin and hi again… πŸ™‚

    That doesn’t find anything that seems to pertain, plenty of padding in the normal sense for various aspects of replies… And pertaining to replies is what I’m looking for because that is where the nesting (offsetting? indenting?) or threading occurs, per the Reply threading setting in the forum settings section of the Admin settings section…

    I’ve searched through directories everywhere that made sense, php and css, for terms like nest, thread, indent, offset… found nothing… It would need to be some sort of code that recognized whether it was a first, second or third reply, etc, and also somehow say how much to indent… It would also seem to need to some way be affected by the setting for it, as mentioned above…

    I was kinda hoping to maybe attract John James Jacoby’s attention on this, noticing how much he seems to know in the various support areas I’ve looked over time..?

    This would seem to be something that would be helpful to others as well..? The default indent distance I believe is much more than is needed to show nesting, and the less it indents the less the following indents will be crowded to the right, don’t know but maybe even get cut off…?

    Thanks… It is nice when someone replies, doesn’t always happen… πŸ™‚

    John.

    #142890
    w2kd
    Participant

    Not a total new install but a new install of BBPress and we do have wishlist.
    Also the page is not totally blank it still has the banner and footer but no menu or content generated. No side bar widgets.
    I tried to deactivate the plugin without success.
    Changing to the default template did work so its the AIR theme from Yootheme

    So what next – look for something in the theme that could be causing it

    #142869
    Robin W
    Moderator

    Is this a new installation, or has this just started on an old one.

    Try disabling all other plugins, and seeing if that fixes it. If so then re-add back one at a time to see which is causing.

    If none, the switch to a default theme such as twentytwelve and see if it still occurs

    Come back and let us know the results

    #142868
    Robin W
    Moderator

    Try

    Step by step guide to setting up a bbPress forum – part 4

    The actions are used in the templates held in

    wp-content/plugins/bbpress/templates/default/bbpress/

    #142849

    Topic: Freshness Date Format

    in forum Plugins
    lajd
    Participant

    Hi,

    How should I modify the format of the freshness date.
    I want to change it to date and time.
    I already google it,also search in this forum but can’t find clear solution.

    see attached image:
    screenshot

    Thanks

    #142817
    e11eca
    Participant

    Hello!

    I’m having an issue with bbPress 2.5.3, Slider Revolution 4.0.5, and Woocommerce 2.1.2. I contacted Slider Revolution, and they said they couldn’t figure out the issue and that I should contact my theme creator since their plugin came bundled with my theme, but the theme creator says it isn’t a theme issue, so I’m reaching out to bbPress since the Woocommerce help desk is down for the weekend in hopes I can at least get a leg up – even though it’s a pretty weird triple-plugin conflict.

    1. When all plugins are activated, layer styles in Revolution Slider’s slide editor show a tiny white font in all the previews, but only generate default dark text.

    2. When all plugins are activated, I cannot add a slider to a page where bbPress forums are active – it just doesn’t appear, even when I have disabled the theme’s default header, or tried to insert it via shortcodes or php. (Any other page and the slider loads fine)

    3. When I deactivate bbPress and its associated plugins, the slider loads correctly because there is no forum on the page.

    4. When bbPress and Woocommerce are both deactivated, everything works as it is supposed to in the editor as well.

    Existing sliders on the website still load correctly – it’s just an issue of making new ones with a forum on the same page, and getting the editor to work. bbPress prevents a slider created in the Slider Revolution plugin from being published on a page with a forum, and Woocommerce messes up the editor.

    Any help or ideas are appreciated. I’ve tried the troubleshooting options in the plugins and nothing seems to fix the issue. Thanks!

    #142815
    tom211221
    Participant

    thanks for the help i do not have the default template this was created for me…is there someway i can get it?

    and where do i copy it to and how? sorry im new to all this

    #142814
    Robin W
    Moderator

    The page you are using to display is a full width page.

    Since you are using a child theme of twenty twelve, I presume you still have the default template which has a sidebar.

    If so, then copy this file, and rename it to bbpress.php and put it into your theme’s root ie
    wp-content/themes/twentytwelve-Child/bbpress.php

    That will ensure that bbPress uses a template with a sidebar

    #142800
    Robin W
    Moderator

    @netweb Stephen, Thanks for this, and having now looked at the trac ticket and bbp_parse_args function I see how this works.


    @nicmare

    Wherever you see bbp_parse_args, there’s a filter for the function to do this.

    bbp_parse_args has the format

    function bbp_parse_args( $args, $defaults = array(), $filter_key = '' )
    

    The resultant filter name is made up of bbp_before_’ . $filter_key . ‘_parse_args’

    (there is an bbp_after one as well!)

    The filter key is the third argument in the bbp_parse_args

    $r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '',
    		'link_after'        => '',
    		'count_before'      => '<span>',
    		'count_after'       => '</span>',
    		'count_sep'         => '</span><span>',
    		'separator'         => '',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );

    so ‘list_fourms’ in the last line is the third argument.

    This should help you for the other two functions, as filters will then be obvious !

    #142783
    Mycelus
    Participant

    Ok, the problem is, these features should be integrated into bbPress by default, all forum software has this, and the plugins for quoting for example don’t work like it should, and signature plugins are also outdated and not the best.

    EDIT: Didn’t see two posts above, editing post…

    #142779

    In reply to: Mirroring Forum Posts

    Robin W
    Moderator

    Sorry, totally misread this – thought you had posts mirroring and wasted to get rid of them.

    I suspect that it would be very hard to get them to just replicate in the database, hits at core code.

    But you could re-do your forum templates to show them twice.

    Beyond my immediate knowledge, but start by looking at you forum page loop, and then the templates viz

    wp-content/plugins/bbpress/templats/default/bbpress

    #142774
    Robin W
    Moderator

    ok, so I know how to filter variables (and am documenting for the codex), but I cannto figure the syntax for an array.

    As an example (and apologies for long code – but in this case hope you’ll let me off!)

    function bbp_list_forums( $args = '' ) {
    
    	// Define used variables
    	$output = $sub_forums = $topic_count = $reply_count = $counts = '';
    	$i = 0;
    	$count = array();
    
    	// Parse arguments against default values
    	$r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '<li class="bbp-forum">',
    		'link_after'        => '</li>',
    		'count_before'      => ' (',
    		'count_after'       => ')',
    		'count_sep'         => ', ',
    		'separator'         => ', ',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );
    
    	// Loop through forums and create a list
    	$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
    	if ( !empty( $sub_forums ) ) {
    
    		// Total count (for separator)
    		$total_subs = count( $sub_forums );
    		foreach ( $sub_forums as $sub_forum ) {
    			$i++; // Separator count
    
    			// Get forum details
    			$count     = array();
    			$show_sep  = $total_subs > $i ? $r['separator'] : '';
    			$permalink = bbp_get_forum_permalink( $sub_forum->ID );
    			$title     = bbp_get_forum_title( $sub_forum->ID );
    
    			// Show topic count
    			if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
    			}
    
    			// Show reply count
    			if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
    			}
    
    			// Counts to show
    			if ( !empty( $count ) ) {
    				$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
    			}
    
    			// Build this sub forums link
    			$output .= $r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'];
    		}
    
    		// Output the list
    		echo apply_filters( 'bbp_list_forums', $r['before'] . $output . $r['after'], $r );
    	}
    }

    If I wanted to turn off the topic and reply counts, I could use a filter which would look something like

    function hide_forum_counts () {
    $r['show_topic_count'] = false ;
    $r['show_reply_count'] = false ;
    $r['separator']  = ' ';
    return $r ;
    }
    add_filter('bbp_list_forums','hide_forum_counts') ;

    Stephen, JJJ or other bbp genius – can you post the answer, I have tried everything to prevent needing to copy all the original function, but have failed

    #142773
    nicmare
    Participant

    Yes. So this is my code which works:

    add_filter('bbp_list_forums','custom_bbp_list_forums',10);
    function custom_bbp_list_forums( $args = '' ) {
    
    	// Define used variables
    	$output = $sub_forums = $topic_count = $reply_count = $counts = '';
    	$i = 0;
    	$count = array();
    
    	// Parse arguments against default values
    	$r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '',
    		'link_after'        => '',
    		'count_before'      => '<span>',
    		'count_after'       => '</span>',
    		'count_sep'         => '</span><span>',
    		'separator'         => '',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );
    
    	// Loop through forums and create a list
    	$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
    	if ( !empty( $sub_forums ) ) {
    
    		// Total count (for separator)
    		$total_subs = count( $sub_forums );
    		foreach ( $sub_forums as $sub_forum ) {
    			$i++; // Separator count
    
    			// Get forum details
    			$count     = array();
    			$show_sep  = $total_subs > $i ? $r['separator'] : '';
    			$permalink = bbp_get_forum_permalink( $sub_forum->ID );
    			$title     = bbp_get_forum_title( $sub_forum->ID );
    
    			// Show topic count
    			if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
    			}
    
    			// Show reply count
    			if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
    			}
    
    			// Counts to show
    			if ( !empty( $count ) ) {
    				$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
    			}
    		}
    		// Output the list
    		echo apply_filters( 'bbp_list_forumss', $r['before'] . $output . $r['after'], $r );
    	}
    }

    but maybe there is an easier way to modify arguments array?!

    #142765
    Robin W
    Moderator

    BBpress uses your themes page.php file as default page template.

    If you copy this (or any other page template) into the root of your theme and call it bbpress.php, it will be used instead.

    ie

    wp-content/themes/yourtheme/bbpress.php

    If you are after individual templates, these are held in :

    bbpress/templates/default/bbpress

    If you want to alter these, create a bbpress folder under your theme

    ie

    wp-content/themes/yourtheme/bbpress

    then any of these templates that you copy to this folder will be used instead, and you can modify them there.

Viewing 25 results - 3,301 through 3,325 (of 6,794 total)
Skip to toolbar