Forum Replies Created
-
In reply to: Help with forum display
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' );
In reply to: Help with forum displayah..
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‘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 CategoryYes 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 !
In reply to: New users don't receive emails with passwordsMine 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.
In reply to: Updating Color and Shortcode HelpGreat, come back if you need more help !
In reply to: Updating Color and Shortcode HelpGreat, come back if you need more help !
In reply to: New users don't receive emails with passwords1) 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
In reply to: Plugin submissionI’m making a list of useful plugins at the moment.
can you post a list of yours and a URL to each
Thanks
In reply to: Forum sort order different when logged outmaybe 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.
In reply to: Help with forum displayWhat wordpress theme are you using?
In reply to: can't choose template for my websiteYou don’t appear to be using bbPress.
In reply to: How do I remove "read more?"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 Categoryso 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.
In reply to: Updating Color and Shortcode Helpon styling, yes all can be changed.
see
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 buttonscan 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.
In reply to: Forums index vs custom page shorturlIf I have understood correctly, you need to change the forums slug
Dashboard>settings>forums and change forum root slug to in your case discuss
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 layoutis it just the words ‘Mayrhofen’ Forum you are wishing to move?
In reply to: Modifying Private replies to work with topicsHave you tried posting to their support forum?
https://wordpress.org/support/plugin/bbpress-private-replies
In reply to: Display Location User Meta below User RoleI 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 !
In reply to: Theme Recommendationyes 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 !
In reply to: Putting the @username below namegreat – glad you’re fixed !
In reply to: bbPress Topic / Post Category and Synchronizationnot sure if this will do what you want?
In reply to: New replies firstIf 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.?