Search Results for '+.+default+.+'
-
Search Results
-
When I create in /wp-content/themes/my-theme/bbpress/loop-topics.php then I can overwrite the default BBPress template this way.
But creating /wp-content/themes/my-theme/bbpress/loop-topics-[FORUM_ID_HERE].php doesn’t use this template for that category ID which seems to be against https://developer.wordpress.org/themes/basics/template-hierarchy/ and https://codex.bbpress.org/themes/theme-compatibility/template-hierarchy-in-detail/
Is there a way to create a separate page template per forum ID without using conditional tags in loop-topics.php?
Topic: No option to create groups
I want to change the default so that all new users are subscribed to all forums by default. I have seen some replies to this question which say it can be set on group admin pages, but I can’t see any way on the BBPress settings to create groups, and I cant find any plugins to add the functionality. What am I doing wrong?
I’m running WordPress 4.9.4 with Twenty Seventeen Child Theme, and bbPress 2.5.14
I am trying to set the sort order alphabetical for only 1 of our forums, leaving the rest as default. I tried a function that I found in another thread below, but it resulted in all the topics just disappearing.
/*
//* Change sort order of Topics within a specified bbpress forum
function my_custom_display_topic_index_query ($args) {
$thisforumid = bbp_get_forum_id();if($thisforumid == 15283) {
$args[‘orderby’] = ‘date’;
$args[‘order’] = ‘ASC’;
}return $args;
}
add_filter(‘bbp_before_has_topics_parse_args’, ‘my_custom_display_topic_index_query ‘ );
*/Topic: New install
Hey All,
So i’ve just installed the plugin. All working great, fab, thank you!
However, i’ve created some someforums BUT when I go to the actual forum front end i get this
Database Errors
Query Call Stack Component Error Code Error Message
SELECT SQL_CALC_FOUND_ROWS wasp_posts.ID
FROM wasp_posts
INNER JOIN wasp_postmeta
ON ( wasp_posts.ID = wasp_postmeta.post_id )
WHERE 1=1
AND wasp_posts.post_parent = 656
AND ((()))
AND ( wasp_postmeta.meta_key = ‘_bbp_last_active_time’ )
AND wasp_posts.post_type = ‘topic’
AND (wasp_posts.post_status = ‘publish’
OR wasp_posts.post_status = ‘closed’
OR wasp_posts.post_status = ‘private’
OR wasp_posts.post_status = ‘hidden’)
GROUP BY wasp_posts.ID
ORDER BY wasp_postmeta.meta_value DESC
LIMIT 0, 15
apply_filters(‘template_include’)
wp-includes/plugin.php:203
bbp_template_include()
wp-content/plugins/bbpress/includes/core/sub-actions.php:436
apply_filters(‘bbp_template_include’)
wp-includes/plugin.php:203
bbp_template_include_theme_compat()
wp-content/plugins/bbpress/includes/core/theme-compat.php:559
BBP_Shortcodes->display_forum()
wp-content/plugins/bbpress/includes/common/shortcodes.php:241
bbp_get_template_part()
wp-content/plugins/bbpress/includes/core/template-functions.php:43
bbp_locate_template()
wp-content/plugins/bbpress/includes/core/template-functions.php:105
load_template(‘~/wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php’)
wp-includes/template.php:690
bbp_has_topics()
wp-content/plugins/bbpress/includes/topics/template.php:203
WP_Query->__construct()
wp-includes/class-wp-query.php:3336
WP_Query->query()
wp-includes/class-wp-query.php:3230
WP_Query->get_posts()
wp-includes/class-wp-query.php:2821
Plugin: bbpress 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘))) AND ( wasp_postmeta.meta_key = ‘_bbp_last_active_time’ ) AND wasp_posts.’ at line 1Topic: Quicktags
Can any one tell me what the Quicktags shortcuts actually do ? strong I’ve worked out makes the text bold but what about the others ? I’ve looked at the Quicktag Defaults and while it tells you how to set them up – no where does it say what they do.