Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,201 through 13,225 (of 14,210 total)
  • @robin-w

    Moderator

    add the following to your functions file, and the sub forum descriptions will display

    //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

    ah..

    I would expect it to look like the second by default. If you take out the starter theme does it revert to that?

    In reply to: Freshness for Category

    @robin-w

    Moderator

    ‘Here’s a combined screen shot showing that page without (left) and with (right) bbPress activated’

    The screenshot wasn’t in your last post. Can you post it again ?

    In reply to: Freshness for Category

    @robin-w

    Moderator

    Yes I’m here, but all the people on this site are volunteers and we have work and life to do as well as be on here !

    I’m come back to you shortly !

    @robin-w

    Moderator

    Mine come within seconds/minutes. It will depend to some extent on your host provider, but I would contact them in any case to check that you have everything set up right in the host part.

    @robin-w

    Moderator

    Great, come back if you need more help !

    @robin-w

    Moderator

    Great, come back if you need more help !

    @robin-w

    Moderator

    1) have you set up your email address in dashboard>settings>general?

    2) If registration is automatic, then they’ll be sent a password. They can change this in their bbpress profile – they can just click on their avatar, or you can add this to wdigets or the menu – see

    Layout and functionality – Examples you can use

    In reply to: Plugin submission

    @robin-w

    Moderator

    I’m making a list of useful plugins at the moment.

    can you post a list of yours and a URL to each

    Thanks

    @robin-w

    Moderator

    maybe theme or plugin related.

    Try

    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.

    @robin-w

    Moderator

    What wordpress theme are you using?

    @robin-w

    Moderator

    You don’t appear to be using bbPress.

    @robin-w

    Moderator

    Not really sure how to answer this given that your link goes to myBB software !

    I’ve not seen a ‘read more’ on a bbpress forum, and it would most likely to be theme related – that is you main theme.

    If you post a link to your bbpress forum, we can see the issue

    In reply to: Freshness for Category

    @robin-w

    Moderator

    so you are left with a sidebar that has lots in it except your custom widget?

    Sorry I am a bit confused – can you explain further or post a couple of screenshots showing the two different situations, and a url link to your site.

    @robin-w

    Moderator

    on styling, yes all can be changed.

    see

    bbPress Styling Crib

    for lots of help.

    On your page http://atlantacraftbeer.com/beer-exchange/ – what is this page? In theory if it is a normal page with a sidebar, and you put the [bbp-forum-index] shortcode on it it should work.
    How is this page set up?

    In reply to: text buttons

    @robin-w

    Moderator

    can you post a link?

    I’d try switching themes to test if it is a theme issue

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    If I have understood correctly, you need to change the forums slug

    Dashboard>settings>forums and change forum root slug to in your case discuss

    @robin-w

    Moderator

    Just had a two minute play with

    https://wordpress.org/plugins/wp-useronline

    Looks like it would sort your who’s on line.

    In reply to: Forum layout

    @robin-w

    Moderator

    is it just the words ‘Mayrhofen’ Forum you are wishing to move?

    @robin-w

    Moderator

    Have you tried posting to their support forum?

    https://wordpress.org/support/plugin/bbpress-private-replies

    @robin-w

    Moderator

    I have no idea of this plugin works if you are using buddypress (it does with bbpress) but might be worth a quick test – let us know either way !

    https://wordpress.org/plugins/bbp-profile-information

    In reply to: Theme Recommendation

    @robin-w

    Moderator

    yes and yes !

    bbPress uses the wordpress login, you simply have an additinla contro, to set the user access level to the forums.

    So each users has a wordpress access level and a bbpress access level, but only one login !

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    not sure if this will do what you want?

    https://wordpress.org/plugins/bbpress-post-topics/

    In reply to: New replies first

    @robin-w

    Moderator

    @slprof

    If you want to try just the latest reply, then try

    function change_reply_order() {
    $args['order'] = 'DESC';
    $args['posts_per_page'] = '1';
    return $args;
    }
    add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
    

    But I suspect it will have some weird effects on the site, and of course you’ll never see anything but the latest post, so if pupil a posts and a minute laters pupil b, then you’ll never see pupil a’s.

    or do you mean that for each topic, pupil a would be pupil a’s reply, pupil b would see pupils b’s reply etc.?

Viewing 25 replies - 13,201 through 13,225 (of 14,210 total)