Forum Replies Created
-
In reply to: Subscribe/Favourite ajax links issue
Done: https://bbpress.trac.wordpress.org/ticket/1905
Thanks a lot
In reply to: What does the single-view template do?Ah topic views, that points me in the right direction thanks. For reference then if anyone needs it that means you can do stuff like this:
add_action('bbp_register_views', 'view_popular_topics');
function view_popular_topics() {
bbp_register_view('popular-topics', __('Popular Topics'), array('meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num'), false );
}Then link to the view with:
<a href="<?php bbp_view_url('popular-topics'); ?>"><?php bbp_view_title('popular-topics'); ?></a>
There’s a couple of informative posts re this here:
http://bbpep.com/blog/2011/04/01/creating-custom-views-in-bbpress/
In reply to: What does the single-view template do?Apologies for bringing this up again but I’m stiffed if I can figure out how the single-view template files are used either.
Anyone figure this out?
In reply to: 2.1 Ignoring certain template files?Adding the following to the child theme’s functions.php or bbpress-functions.php seems to fix this so all template files are used as expected:
remove_filter( 'bbp_template_include', 'bbp_template_include_theme_compat', 4, 2 );
Not sure if this is supposed to be required though.
In reply to: 2.1 Ignoring certain template files?I originally noticed this on my own theme which has some homemade plugins and such which I thought might be causing this so to be sure I downloaded 3967 from Trac and put it in a fresh WP3.3 install.
I then copied /bbp-themes/bbp-twentyten into the themes folder and made it a child theme of twentyeleven called bbp-child-test, after activating bbp-child-test the same happened. So to answer your question bbp-child-test is the current active theme.
archive-forum.php
archive-topic.php
ALL the page-whatever.php files
single-forum.phpThese are all called by bbp as expected
single-topic-whatever.php
single-reply-whatever.php
single-user-whatever.phpThese are all ignored in favor of page.php