Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 2,526 through 2,550 (of 6,813 total)
  • Author
    Search Results
  • #158606
    Robkk
    Moderator

    give me your theme name

    I have tried using all of the bolded .php page options as well as copying the single.php into the bbpress plug in php page.

    to me this sounds like your not doing it right

    follow this guide

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    and this too

    https://codex.bbpress.org/theme-compatibility/

    it could also be a theme or plugin issue.

    It could be a theme or plugin issue

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

    #158605
    Robkk
    Moderator

    the bbpress.org editor is what bbpress has by default you can activate the editor in settings>forums.

    other than that you can see what is causing these weird issues .

    It could be a theme or plugin issue

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

    #158597
    Robkk
    Moderator

    @zvonfeng

    are you using pieces of this theme https://github.com/syamilmj/Supportte

    or did your theme come with that kind of forum layout??

    because it says you need to install the search everything plugin for the search bar to appear.

    and also i see breadcrumbs by the title.

    other than that if you did take parts of the Supportte theme it would be harder to customize than the default bbPress theme.

    peter-hamilton
    Participant

    hi Jacob, first of all, P2Breathe is a boring theme, and all those functions are common to install to any bbpress forum.

    I would love to see a link to your slowed down website, just to have a look.

    I disagree with your initial statements about bbpress not being mature forum software, Vbulletin and IPBoard are both main competitors, but bloated and full of extra functions most forums do not use/need, slowing them down just as much as some plugins can do to bbpress.

    BBPress does exactly what they do, and perhaps even more thanks to the wordpress platform and the 1000’s of people on forums developing more every day, ofcourse most plugins are crap (sorry dev’s) just like anything that comes mass produced, but following tips and hints from other users should guide you through the swamp to find the real gems there are available.

    For me BBPress is becoming more and more the forum choice by default.

    And you mentioned Disquss, so no need to have bbpress concentrate on comments for wordpress since there is already a very good alternative.

    Peace
    Peter Hamilton
    Onlijn.com

    #158583
    Robin W
    Moderator

    But the other problem is still there:
    For example, I have A and B forums and I created a topic in A, then when I open B forum, the A topic will show up in B, too.
    But I don’t want A’s topic showing up in B. How do I do that?

    Is the issue there with all plugins disabled AND a default theme?

    #158572
    Robin W
    Moderator

    you should have breadcrumbs and searchbar by default

    for searchbar look in

    dashboard<settings>forums>forum features and make sure that ‘search’ is ticked.

    Your theme can prevent breadcrumbs from showing, as can other plugins

    Themes

    As a test switch to a default theme such as twentytwelve, and see if this fixes.

    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.

    #158567
    Robin W
    Moderator

    It could be a theme or plugin issue

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

    Then come back

    #158556
    BrendenW
    Participant

    Back at last! It was just the .php memory. When they ‘increased’ it, they just didn’t do a good enough job of it which was why I was still having problems. It’s now currently all back up and working. I have followed your directions re: deactivating, removing and then reactivating with no effect.

    I’m not sure if/what good any of this information might be to you but:
    * the page I have set for the forum is “default template” and the sidebar is set as “Default sidebar” BUT no matter which page template I select, nothing changes, even if I select full width template I am still shown as having a side bar. Further, despite it showing the default sidebar as being selected, it is actually a different sidebar (called archive/post/search sidebar) which is being displayed. This is the sidebar that displays for “Category”, but not for subcategories. I can’t however find anywhere outside of .php files that set the category sidebar. So I don’t know if there is perhaps code messing up in there somewhere.

    Also, should I be creating a bbPress.php file to add to the theme? I can do this, it’s a mess around as I have to get the website people to upload it for me, but if it’s going to help I can do that.

    Thanks for your help Robin, sorry for the delay, but at least we’re back in to it now!

    #158534
    Kung Fu Designs
    Participant

    Gotcha… I disabled all plugins and theme, The forums works with a default theme, but not with the theme I am using, WeeklyNews, purchased on Themeforest. The problem is only the main navigation menu with the error message above. When I activate the theme, but deactivate all plugins but bbPress, the problem still exists.

    #158533
    Robin W
    Moderator

    The tests I suggested are to find the error, I am not expecting you to stay without them.

    If you follow the tests, then if the forums work with just bbpress as the only plugin and your theme, then bbpress is conflicting with another plugin, hence you add back until you find which one, THEN you come back and let us know.

    If even the above doesn’t work, then bbpress you change to a default theme such as tewntyten. If that works the issue is with your theme, so we go down that route.

    If none works then bbpress has not installed properly.

    #158529
    wombatnaturals.com
    Participant

    Hi,
    I’m using bbpress with the Organic Web theme and I cannot get my sidebar widgets to show up.
    I have tried using all of the bolded .php page options as well as copying the single.php into the bbpress plug in php page.
    I have the page set to Default Page on the page template option.
    Any idea as to what can be causing this? If you need more information please ask away, I’d be happy to provide it for you. Just not sure what else you’d need. =)
    Thanks!

    #158516
    Robin W
    Moderator

    ok, I can your issue

    It could be a theme or plugin issue

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

    Then come back

    Robin W
    Moderator

    ok, if you have ftp access then…

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.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/themes/%your-theme-name%/bbpress/loop-single-forum.php
    bbPress will now use this template instead of the original

    Then look at line 74

    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    
    

    The ‘size’ => 14 is the avatar size, so reduce this to what you want.

    #158469
    Robin W
    Moderator

    It could be a theme or plugin issue

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

    Then come back

    #158425
    Robkk
    Moderator

    i dont think this is a bbpress issue.

    try switching your theme to a default theme like twenty twelve

    or see if a plugin is causing the issue , deactivate every plugin but bbpress if that fixes the issue reactivate them one at a time to see what plugin might be causing the issue.

    #158410

    In reply to: bbPress not working!?

    Adri Oosterwijk
    Participant

    I had not try to install and run bbPress without other plug ins.

    I deactivate any other plug in and switched to the default twentytwelve theme.

    Now it works.
    So I have to find out wicht plugin or what part of the child theme is causing this issue.
    Thanks for now and I will get back when I know more.

    #158407
    Robkk
    Moderator

    okay i think i got this

    install the bbpress topics for posts plugin

    you can go to your discussion settings and edit what you want to show how you like i did like this

    i ticked the ones with [X]

    [ ] Create a new bbPress topic in ~~~ for new posts
    (check this if you want to replace wordpress comments with bbpress entirely)

    [X] Copy post tags to new topics

    [X] Copy post comments to new topics (when available)

    On the post page, show:

    [ ] Entire topic

    [X] show reples only

    [ ] Only the ~~~ most recent/oldest replies

    [ ] A link to the topic

    the rest of the settings are for if you want to display a link below your blog post to lead to the topic.

    create your page called “Learn Dash” if you already did , edit the page

    go to the screen options in the very top , click it , now check discussion settings this should show the settings for comments, pinkbacks, and bbpress topics for posts.

    check the Use a bbPress forum topic for comments on this post option

    now check both settings that say copy post tags and use default display settings.

    now either use a specific topic from the id , or automatically create a topic from this post to a specific forum.

    #158403

    In reply to: bbPress not working!?

    Robkk
    Moderator

    yeah i am a little too

    hmmm did you try bbpress by itself with no other plugins activated??

    when you do try it by itself use a default theme like twentytwelve and see if we can find the issue.

    you could get the product custom post type from woocommerce right??

    #158397
    DuncanMarshall
    Participant

    It seems this is a known issue for WordPress when ordering by meta query. BBPress does this to order by “last active” which is the default (and in my case, desired).

    Loading a forum index, on my site, takes about 20 seconds.

    Here is the offending SQL:

        [9] => Array
            (
                [0] => SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) WHERE 1=1  AND wp_posts.post_parent = 9  AND wp_posts.post_type = 'topic' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'closed' OR wp_posts.post_status = 'private' OR wp_posts.post_status = 'hidden') AND (wp_postmeta.meta_key = '_bbp_last_active_time' ) GROUP BY wp_posts.ID ORDER BY wp_postmeta.meta_value DESC LIMIT 0, 15
                [1] => 19.448324918747
                [2] => require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), apply_filters('template_include'), call_user_func_array, bbp_template_include, apply_filters('bbp_template_include'), call_user_func_array, bbp_template_include_theme_compat, BBP_Shortcodes->display_forum, bbp_get_template_part, bbp_locate_template, load_template, require('/themes/xx/bbpress/content-single-forum.php'), bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
            )

    There’s a ticket which seems to be addressing my problem here: https://bbpress.trac.wordpress.org/ticket/1925

    Unless I’m misreading it, the upshot is “We should probably be using post_modified on the topic instead of a meta value for ‘last activity’, so as to avoid using the JOIN… but we haven’t yet”.

    So how do other sites do it? This one, for instance? Or WordPress.org? They have more posts than I do, but have got around this issue somehow.

    Any solution?

    Thanks.

    #158371
    Robin W
    Moderator

    It could be a theme or plugin issue

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

    Then come back

    #158355
    Robin W
    Moderator

    ok, more drastic action required

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

    Sorry I’m running out of ideas beyond this … 🙂

    #158352
    Robin W
    Moderator

    @vikingpoker

    I have another plugin user with this issue, which helps as it should get me quicker to a solution.

    But can I also ask your help?

    Could I please ask you to do 2 things (or any combination will help me)

    1. Could you try version 1.2 – I’m not sure if the latest version 1.3 is an issue

    Therefore could you go to http://www.rewweb.co.uk/bbp-style-pack-1-2/ and follow the instructions.

    If this works, then let me know, as it will eliminate much of my code as the issue.

    2. If you are able to could you :
    a. Deactivate all plugins except bbpress and bbp style pack and see if this fixes. if it does, re-enable one at a time to see which is causing the error when my plugin is also active.
    b. If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then switch back to your normal theme and re-enable all plugins (except mine as this is causing the issue) and come back with the results

    Robin W
    Moderator

    It was quicker to code it than describe it.

    Basically I’ve created a new widget called (rew) Login Widget

    Copy all the below into your functions file

    You’ll see that all it required was taking out the label, and putting ‘placeholder’ into the input line

    I even changed lost password into forgot your password !

    The go into widgets and you’ll see the new widget (rew) Login Widget

    enjoy !

    class Rew_Login_Widget extends WP_Widget {
    
    	/**
    	 * bbPress Login Widget
    	 *
    	 * Registers the login widget
    	 *
    	 * @since bbPress (r2827)
    	 *
    	 * @uses apply_filters() Calls 'bbp_login_widget_options' with the
    	 *                        widget options
    	 */
    	public function __construct() {
    		$widget_ops = apply_filters( 'rew_login_widget_options', array(
    			'classname'   => 'bbp_widget_login',
    			'description' => __( 'A simple login form with optional links to sign-up and lost password pages.', 'bbpress' )
    		) );
    
    		parent::__construct( false, __( '(rew) Login Widget', 'bbpress' ), $widget_ops );
    	}
    
    	/**
    	 * Register the widget
    	 *
    	 * @since bbPress (r3389)
    	 *
    	 * @uses register_widget()
    	 */
    	public static function register_widget() {
    		register_widget( 'Rew_Login_Widget' );
    	}
    
    	/**
    	 * Displays the output, the login form
    	 *
    	 * @since bbPress (r2827)
    	 *
    	 * @param mixed $args Arguments
    	 * @param array $instance Instance
    	 * @uses apply_filters() Calls 'bbp_login_widget_title' with the title
    	 * @uses get_template_part() To get the login/logged in form
    	 */
    	public function widget( $args = array(), $instance = array() ) {
    
    		// Get widget settings
    		$settings = $this->parse_settings( $instance );
    
    		// Typical WordPress filter
    		$settings['title'] = apply_filters( 'rew_widget_title', $settings['title'], $instance, $this->id_base );
    
    		// bbPress filters
    		$settings['title']    = apply_filters( 'rew_login_widget_title',    $settings['title'],    $instance, $this->id_base );
    		$settings['register'] = apply_filters( 'rew_login_widget_register', $settings['register'], $instance, $this->id_base );
    		$settings['lostpass'] = apply_filters( 'rew_login_widget_lostpass', $settings['lostpass'], $instance, $this->id_base );
    
    		echo $args['before_widget'];
    
    		if ( !empty( $settings['title'] ) ) {
    			echo $args['before_title'] . $settings['title'] . $args['after_title'];
    		}
    
    		if ( !is_user_logged_in() ) : ?>
    
    			<form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
    				<fieldset>
    					<legend><?php _e( 'Log In', 'bbpress' ); ?></legend>
    
    					<div class="bbp-username">
    						<input type="text" name="log" placeholder = "Username" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
    						
    					
    					</div>
    
    					<div class="bbp-password">
    						<input type="password" name="pwd" placeholder = "Password"  value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" tabindex="<?php bbp_tab_index(); ?>" />
    					</div>
    
    					<div class="bbp-remember-me">
    						<input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ), true, true ); ?> id="rememberme" tabindex="<?php bbp_tab_index(); ?>" />
    						<label for="rememberme"><?php _e( 'Remember Me', 'bbpress' ); ?></label>
    					</div>
    
    					<div class="bbp-submit-wrapper">
    
    						<?php do_action( 'login_form' ); ?>
    
    						<button type="submit" name="user-submit" id="user-submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
    
    						<?php bbp_user_login_fields(); ?>
    
    					</div>
    
    					<?php if ( !empty( $settings['register'] ) || !empty( $settings['lostpass'] ) ) : ?>
    
    						<div class="bbp-login-links">
    
    							<?php if ( !empty( $settings['register'] ) ) : ?>
    
    								<a href="<?php echo esc_url( $settings['register'] ); ?>" title="<?php esc_attr_e( 'Register', 'bbpress' ); ?>" class="bbp-register-link"><?php _e( 'Register', 'bbpress' ); ?></a>
    
    							<?php endif; ?>
    
    							<?php if ( !empty( $settings['lostpass'] ) ) : ?>
    
    								<a href="<?php echo esc_url( $settings['lostpass'] ); ?>" title="<?php esc_attr_e( 'Forgot Your Password', 'bbpress' ); ?>" class="bbp-lostpass-link"><?php _e( 'Forgot Your Password', 'bbpress' ); ?></a>
    
    							<?php endif; ?>
    
    						</div>
    
    					<?php endif; ?>
    
    				</fieldset>
    			</form>
    
    		<?php else : ?>
    
    			<div class="bbp-logged-in">
    				<a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>" class="submit user-submit"><?php echo get_avatar( bbp_get_current_user_id(), '40' ); ?></a>
    				<h4><?php bbp_user_profile_link( bbp_get_current_user_id() ); ?></h4>
    
    				<?php bbp_logout_link(); ?>
    			</div>
    
    		<?php endif;
    
    		echo $args['after_widget'];
    	}
    
    	/**
    	 * Update the login widget options
    	 *
    	 * @since bbPress (r2827)
    	 *
    	 * @param array $new_instance The new instance options
    	 * @param array $old_instance The old instance options
    	 */
    	public function update( $new_instance, $old_instance ) {
    		$instance             = $old_instance;
    		$instance['title']    = strip_tags( $new_instance['title'] );
    		$instance['register'] = esc_url_raw( $new_instance['register'] );
    		$instance['lostpass'] = esc_url_raw( $new_instance['lostpass'] );
    
    		return $instance;
    	}
    
    	/**
    	 * Output the login widget options form
    	 *
    	 * @since bbPress (r2827)
    	 *
    	 * @param $instance Instance
    	 * @uses BBP_Login_Widget::get_field_id() To output the field id
    	 * @uses BBP_Login_Widget::get_field_name() To output the field name
    	 */
    	public function form( $instance = array() ) {
    
    		// Get widget settings
    		$settings = $this->parse_settings( $instance ); ?>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'bbpress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $settings['title'] ); ?>" /></label>
    		</p>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'register' ); ?>"><?php _e( 'Register URI:', 'bbpress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'register' ); ?>" name="<?php echo $this->get_field_name( 'register' ); ?>" type="text" value="<?php echo esc_url( $settings['register'] ); ?>" /></label>
    		</p>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'lostpass' ); ?>"><?php _e( 'Lost Password URI:', 'bbpress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'lostpass' ); ?>" name="<?php echo $this->get_field_name( 'lostpass' ); ?>" type="text" value="<?php echo esc_url( $settings['lostpass'] ); ?>" /></label>
    		</p>
    
    		<?php
    	}
    
    	/**
    	 * Merge the widget settings into defaults array.
    	 *
    	 * @since bbPress (r4802)
    	 *
    	 * @param $instance Instance
    	 * @uses bbp_parse_args() To merge widget settings into defaults
    	 */
    	public function parse_settings( $instance = array() ) {
    		return bbp_parse_args( $instance, array(
    			'title'    => '',
    			'register' => '',
    			'lostpass' => ''
    		), 'login_widget_settings' );
    	}
    }
    
    add_action( 'widgets_init', function(){
         register_widget( 'Rew_Login_Widget' );
    });
    #158284
    kc9wwh
    Participant

    I do have the “Member” role set at the default under Settings > Forum.

    One other thing I noticed is to make sure that when editing the user the Secondary Roles would become checked when switching to different roles and I had to make sure that only the one selected under Forum Role was the one selected under Secondary Roles as well…

    Otherwise, like for the “board” role, it had Participant checked also along with Board Member and the Board Member roles never seemed to actually apply until I unchecked Participant.

    #158281
    Robin W
    Moderator

    Hmmm.. I’ve just spent some time playing with this code, and it’s not really working.

    It is quoted in lots of sites inc http://gawainlynch.com/customising-dynamic-roles-in-bbpress-2-2/

    But as far as I can see you get the member role, but the site default role capabilities – can’t work out why at the moment. What is you site default, and would that make sense?

Viewing 25 results - 2,526 through 2,550 (of 6,813 total)
Skip to toolbar