Do you mean wp theme template or bbpress theme template? Can you tell me what should I write into the CSS file? I need some help, coz I don’t know CSS well, I could copy you the code, just tell me which file you need.
Thank you
How very dumb of me… yes, it’s my custom theme. I could have sworn when I switched to Twenty Eleven with the same code I had the same problem.
Thanks for taking the time to reply.
Unless you place one of the forum short codes on a page, there is no page assigned to bbPress templates.
I found out how to change the breadcrumb url, alt and text myself. You can change the code in bbp-common-template.php (/wp-content/plugins/bbpress/bbp-includes/bbp-common-template.php) on line 1889…
// Add the breadcrumb
$crumbs[] = '<a href="/forums/">Forums</a>';
It’s just a normal link tag so you can name it and add alt tag as you wish 🙂
-
This reply was modified 13 years, 11 months ago by
Garindan.
-
This reply was modified 13 years, 11 months ago by
Garindan.
Hello,
I have installed the BBPress Forum and have reviewed the installation forums. I have placed the following short code on a page: [bbp-forum-index]
But it is not showing when you go to that page.
I am not sure what I am doing wrong.
Any advice would be greatly appreciated.
Regards…..
OK, but bbpress is running with
Custom root slugs to prefix your forums and topics with. These can be partnered with WordPress pages to allow more flexibility.
how I can find my page ID because forum based is “discussions” and I don’t have page name with “discussions”
Thank’s for help
my forum link
http://www.zikadonf.fr/monespace/discussions/forum/principal/
… might not be to use bbpress at all.
I have a standalone bbpress that I would love to import & integrate. I assumed that the “forum” would be a category on my wp install, and the topics subcategories, and the forum posts seen as wp posts and comments.
This would allow my wp site to act as neither blog nor forum but a truly integrated website, with everyone acting like an author, and a central way for me to control the content flow.
But from my explorations I discovered that it doesn’t work this way at all. Forum posts are not wp posts, there’s still 2 separate systems in this “integrated” model. So the comments on my wp install have a different codebase than the comments/replies in my forum, for example.
I’m considering totally tricking out one of the many form plugins (Gravity Forms, etc) to create “posts” in the “forum” category in my wp install. So the whole concept of the forum is nothing more than having logged in users create guest posts in a truly integrated wp install.
Just curious if anyone has done this — I can’t be the first guy to think of this idea. The biggest drawback so far is that i would need to find a way to import the posts in my old standalone forum to become posts in my new setup.
Log into your WordPress admin, go to Pages, click Edit on the page you want, then look at the URL. The post=xx part will show you the page ID, which you can then use in your code:
if( ! is_user_logged_in() && is_page( xx ) ) {
// use get_permalink() to get the URL.
}
This fits to the original question, so I am writing it here. What is the reason to have this bbp-login, bbp-register and bbp-lost-password code anyway? I’ve just spent a considerable amount of time customizing this bbp code to make it play nice with my theme. And then I had to realize that under certain circumstances the user ends up at the original WordPress login, register and lost password forms – which is certainly not waht I want. So why the … are those bbp forms there when obviously the original WordPress forms accomplish the same things. I could have customized the WordPress forms and all would have been good, no? To have this bbp forms seems to be redundant, confusing and – as it was in my case – time consuming. The bbp team, should supply such forms only if they go all the way, error detection and such included, or not supply it at all.
OK first read about short codes here.
Basically a short code is a place holder for content (html, images, posts, etc). When you place [bbp-forum-index] into the content of a page, it will be replaced automatically with an index of your forums in bbPress. Try it out and you’ll see what I mean.
Hello,
I want to add a link with the “pagetitle” of bbpress forum page.
bbpress is running in a wordpress page but how I can find it? where it is?
I want to past a simply code as
if ( !is_user_logged_in()&&is_page('???') ) {my link...
thank you for helping.
WP: 3.4.1
bbpress: 2.1.2
theme: Frisco for BuddyPress
If you need any css files or other I can copy the code here.
Are you familiar with what short codes do and how to use them?
You can use the [bbp-lost-pass] short code to show a change/lost password form.
There is an option in Settings > Forums to allow/disallow annonymous posting. Set this so that users are required to login in order to post in the forums.
You can show a registration form with the [bbp-register] short code.
There’s a lack of documentation at the moment because the site is being redone (slowly) and the individuals responsible for the majority of the documentation are also the main developers, who are busy writing code 😀
The location of the forums on your site depend on the settings you have set in Settings > Forums. Take a look at the documentation for basic settings.
You can also manually place the forums index on any regular WordPress page by using the [bbp-forum-index] short code. Short code reference.
Hello again,
I have created a new page and added [bbp-topic-form] shortcode inside it. However, this page isn’t 100% full width.
How can I “force” this page to get the .bbPress #page class ?
Thanks
Hi Guys,
bbPress (2.1.2) on WP 3.4.2 logout gives error code 500 (Internal server error).
Error log:
> mod_security: Access denied with code 500. Pattern match
> “\\.php\\?.=(http|https|ftp)\\:/.\\?” at REQUEST_URI
> [hostname “www.xxx.nl”] [uri
> “/wp-login.php?action=logout&_wpnonce=5a9ef61b36&redirect_to=http%3A%2F%2Fwww.xxx.nl%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26loggedout%3Dtrue%23038%3Bpaged%3D1%26%23038%3Bs”]
bbPress doesn’t use rawurldecode()?
For now, what is the best solution? Which file and which code should I change? Or is there another solution?
I have WordPress 3.4.2 and bbPress plugin version 2.1.2.
I recently used the migration tool to import the data from an old bbPress 1.1 forum. Everything seemed to go quite well. I did lose some topics but I can certainly live with it.
I have, however, noticed that the Login Notice “You Must be logged in to post a topic” is NOT showing when users are not logged in.
I can see the code (or what I think is the code) in the bbPress template but it just won’t show.
Yous assistance would be appreciated.
Drop this code snippet into a custom plugin (you can use Pluginception to easily create one)
function pw_bbp_auto_checK_subscribe( $checked, $topic_subscribed ) {
if( $topic_subscribed == 0 )
$topic_subscribed = true;
return checked( $topic_subscribed, true, false );
}
add_filter( 'bbp_get_form_topic_subscribed', 'pw_bbp_auto_checK_subscribe', 10, 2 );
Bob,
You may want to try this guide:
https://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/
You will copy file and move them inside your existing theme directory. This will override the default theme that lives inside the plugins directory.
Good luck!
Luke
This was the previously mentioned link with “legacy” in it: https://codex.bbpress.org/legacy/themes-and-templating/ – this references a templates directory which I believe has been taken out of the plugin architecture.
Hidy ho,
I’m working on creating a child theme for a site and am looking for the right tutorials. I found this link below: http://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/ and was pretty sure this was the most current. Can anyone confirm this is the most up-to-date information for child theming bbpress?
I found and followed a different tutorial that also had “legacy” in the slug – so any help you can offer here would be appreciated.
Thank you.
Luke
The taxonomy ID for tags is “topic-tag”. You don’t want to set the meta_key, however.
You can do it in a couple of ways. One is to use the “tax_query” parameter.
You could also pass a parameter like the following to your query:
'topic-tag' => array('tag-1', 'tag-2')
Does that help?
I’m trying to add featured images to forums. I have successfully filtered the register_post_type call like so;
/**
* Add thumbnails to forums
*/
function ys_forum_featured_images( $post_type ) {
$post_type['supports'][] = 'thumbnail';
return $post_type;
}
add_filter( 'bbp_register_forum_post_type', 'ys_forum_featured_images' );
That did not, however add the meta box to the post edit page so I further used the following;
/**
* Add featured image meta box
*/
function ys_bbp_featured_images(){
add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', 'forum', 'side', 'low');
}
add_action('add_meta_boxes', 'ys_bbp_featured_images', 100);
The meta box then appears but in the image details I see the “Insert into post” button and “Delete” link but no “Use as featured image” link.
Any idea how I get that added?
The only thing I could find were these tickets talking about the link appearing when it shouldn’t:
http://bbpress.trac.wordpress.org/ticket/1633
http://core.trac.wordpress.org/ticket/18669