Search Results for 'bbpress'
-
Search Results
-
I’m looking to get the same setup as this here forum. I can’t figure out how you get your topics to show as the main content on your “forums” page. If your page slug is set to “forums”, and you have your bbPress slugs set to “forums”, then bbPress reads it as the forum-archives page, isn’t that right?
In that case, I’d have to make the forum-archives php file into a topics archive (then use the forums list widget for the sidebar).
And then, once you get the topics to show up on the “forums” page, you have a “Forums” sidebar on the left with names and descriptions, which the built-in widget doesn’t have an option for.
Even with a fully-custom page template, the fact that the slug is “forums” causes the conflict and automatically shows the forums archive page. Does that makes sense?
Any hints on how you did this? Thanks very much in advance.
Dave
Topic: Language change problem
Hello, I am using latest BBpress as a plugin for WordPress 3.2.1.
I want to enable lithuanian language for BBpress, created necessary folder and uploaded language file, but i can’t find bb-config.php file. There is no such file at all… What should I do? Thank you.I just spent hours figuring this out so I thought I’d try and save others the bother by sharing it here.
The basic aim was to hide the contents of topics in a bbPress 2.0 forum from any users not logged in. This makes for a nice private forum.
I found suggestions about making forums hidden, private and so on but none of them really worked as they hid them for logged in users too.
My final solution was to make bbPress ‘dumb’ when it comes to logged out users. I.e., it could either be clever and say “there are topics, but you’re not allowed to see them until you login” or it could just say “there are no topics”.
The following code does the latter, dumb version by hooking into the forums, topics and replies loops.
Code:function pj_hla_logged_in_topics($have_posts){
if (!is_user_logged_in()){
$have_posts = null;
}
return $have_posts;
}
add_filter(‘bbp_has_topics’, ‘pj_hla_logged_in_topics’);
add_filter(‘bbp_has_forums’, ‘pj_hla_logged_in_topics’);
add_filter(‘bbp_has_replies’, ‘pj_hla_logged_in_topics’);I simply placed this within my theme’s functions.php but you could just as easily wrap this in a function.
Hope that helps someone!
Topic: bbPress 2.0 – How-to video
A great YouTube video by Dev4Press about setting up and using bbPress 2.0.
His video was made using a bbPress 2.0 beta, but nothing has really changed since.
I am using bbpress2.0 (bbress 2.0.1 plugin) on WordPress 3.2.1 and want to allow “pre” tag and “class” attribute for non-admin users.
I modified /includes/kses.php in the WordPress.
I placed fllowing code in the definition of $allowedtags.
'pre' => array(
'class' => array ()),Nevertheless, “class” attribute was removed.
So,
<pre class="value">my code</pre>was replaced with<pre>my code</pre>.Any thoughts?
Thank you.
Hello,
I just installed wordpress and bbpress in their last versions. I must have missed something because i see no link to a “bbpress administration panel”.
I’ve read http://bbpress.org/forums/topic/successful-install-but-where-is-the-administration-area but there is no “Admin” link.
The forum is here: http://www.nolactose.fr/forums/
Any help is very welcome.
Regards

Thanks for the suggestion though!