Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,201 through 12,225 (of 14,261 total)
  • In reply to: CSS Plugin

    @robin-w

    Moderator

    Developers: please… design a simple plugin for people like me. A very-simple-plugin that allows me to change colors, fonts and two or three things more. I would be help a lot to BBPress users than don’t know how to use CSS.

    It’s on my list of things to do when I get some time – agree it would be really useful, but I need to learn a bit more about how to get plugins to write css !

    In reply to: Full Width Forum Pages

    @robin-w

    Moderator

    Ok, you’ll need to copy this and rename it bbpress as per the above

    As this is a theme file, I’m having to guess a bit about what it is doing, so this may or may not work.

    So once you have this as bbpress.php

    delete

    $is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() );
    

    and replace it with

    $is_page_builder_used = TRUE ;
    

    come back and let us know if that works

    @robin-w

    Moderator

    Great – glad you’re fixed !

    @robin-w

    Moderator

    Sorry, no immediate way to style it, the words use the font size and other styling from the bbp-reply-author class.

    I’ll look to add this ability in the next version

    In reply to: Full Width Forum Pages

    @robin-w

    Moderator

    You need to get bbpress to use the full width template

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

    @robin-w

    Moderator

    click a forum subject on the left hand side

    eg installation, troubleshooting

    Now at the bottom of the page there will be a new topic area.

    Yes I know a ‘new topic’ button on the left would be great, I’m just a humble contributor here !

    @robin-w

    Moderator

    Try

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

    which I pretty much wrote following this and other requests for that sort of functionality

    @robin-w

    Moderator

    great – glad you’re fixed !

    In reply to: Online Magazine Theme

    @robin-w

    Moderator

    Great – I do hate that them authors won’t write variants of themes for no-sidebar/1 sidebar/2 sidebar, it would make life so much easier 🙂

    In reply to: Online Magazine Theme

    @robin-w

    Moderator

    ok, I downloaded the theme and had a play

    you need to create this file as bbpress.php

    <?php global $theme; get_header(); ?>
    
        <div id="main">
        
            <?php $theme->hook('main_before'); ?>
    
            <div id="content2">
                
                <?php $theme->hook('content_before'); ?>
            
                <?php 
                    if (have_posts()) : while (have_posts()) : the_post();
                        /**
                         * Find the post formatting for the pages in the post-page.php file
                         */
                        get_template_part('post', 'page');
                        
                        if(comments_open( get_the_ID() ))  {
                            comments_template('', true); 
                        }
                    endwhile;
                    
                    else :
                        get_template_part('post', 'noresults');
                    endif; 
                ?>
                
                <?php $theme->hook('content_after'); ?>
            
            </div><!-- #content -->
        
            <div id="sidebar-primary">
    
       <?php
            if(!dynamic_sidebar('sidebar-bbpress')) {
                /**
                * The primary sidebar widget area. Manage the widgets from: wp-admin -> Appearance -> Widgets 
                */
                $theme->hook('sidebar-bbpress');
            }
            $theme->hook("sidebar_primary_after");
        ?>
        
    </div><!-- #sidebar-primary -->
            
            <?php $theme->hook('main_after'); ?>
            
        </div><!-- #main -->
        
    <?php get_footer(); ?>
    
    

    Then in your style.css you need to add the following to the bottom just above the

    /* =END
    
    
    #content2 {
      float: left;
      overflow: hidden;
      width: 630px;
    }
    
    

    That should do it

    In reply to: Online Magazine Theme

    @robin-w

    Moderator

    sorry…

    <? get_sidebar(); ?>
    

    should read

    <?php get_sidebar(); ?>

    @robin-w

    Moderator

    try using the method shown here

    Layout and functionality – Examples you can use

    @robin-w

    Moderator

    you have a smart theme that is displaying that, which someone has customised.

    can you look in your theme and see if you have a folder here

    wp-content/themes/eighties/bbpress

    If you have can you list the files held there

    @robin-w

    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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.

    In reply to: UNDEFINED Header. . .

    @robin-w

    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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.

    In reply to: UNDEFINED Header. . .

    @robin-w

    Moderator

    Try method 2 !

    In reply to: UNDEFINED Header. . .

    @robin-w

    Moderator

    how are you accessing this page – which of these is it?

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

    @robin-w

    Moderator

    ok,

    In your theme create a bbpress directory

    wp-content/themes/%yourtheme%/bbpress

    where %yourtheme% is your theme name

    Then copy the following file to that folder

    wp-content/plugins/bbpress/template/default/bbpress/form-topic.php

    So you end up with

    wp-content/themes/%yourtheme%/bbpress/form-topic.php

    You can then edit this file, and bbpress will use this version.

    @robin-w

    Moderator

    @editor-mike – sorry do you have a problem after deleting 100 replies at a time?

    @robin-w

    Moderator

    I think this should do it. It’s from my library of code and haven’t used it in a while, so come back if it’s not what you want

    You’ll need to add it to your functions file

    Functions files and child themes – explained !

    //This function adds descriptions to the sub forums
    function custom_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 );
    			$content = bbp_get_forum_content($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['before'].$r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'].'<div class="bbp-forum-content">'.$content.'</div>'.$r['after'];
    		}
    
    		// Output the list
    		return $output ;
    	}
    }
    
    add_filter('bbp_list_forums', 'custom_list_forums' );

    @robin-w

    Moderator

    Live and learn 🙂

    Maybe a theme or plugin issue?

    with

    wp 4.0
    bp 2.5.4
    theme : twentyten
    Yoast SEO

    I get

    In reply to: CSS questions

    @robin-w

    Moderator

    usually putting #bbpress-forums in front does the trick eg

    #bbpress-forums .entry {
    background-color: #f4f4f4;
    }

    In reply to: change the post

    @robin-w

    Moderator

    there is a setting for this

    Dashboard>settings>forums

    Disallow editing after….

    change this to whatever you want

    @robin-w

    Moderator

    Ok, I created the changes needed – go to my site and download the changed files – instructions are there

    bbPress – Making Profile Pages Private

    Come back if you have any queries

    @robin-w

    Moderator

    @peterwsterling

    Are you saying that you get this issue with

    wp 4.0
    BP 2.5.4
    NO plugins apart from bbPress
    Twentyfourtenn theme

    ?

Viewing 25 replies - 12,201 through 12,225 (of 14,261 total)