Hiya!
Use WP Plugin – codestyling-localization.
I just wanted to post, and suggest or see if these options existed already.
I’d love for the widgets that come along with bbPress to have some (any) custom display features (ie. Forum List widget allowing show/hide the number of topics within, etc.)
Also, a few more widgets would be great (ie. popular topic tags, topic info)
These options might be able to be accomplished by a shortcode, but I don’t believe the current shortcodes allow any parameters such as: [bbp-topic-index number-of-topics=5 pagination=false]
Anyone know of plans for these sorts of things, or if they already exist and I’ve just overlooked them?
Thanks.
Hi. I’m trying to create a bbPress shortcode so that I can display topics that have a certain meta_key value. I’ve been trying to piece it together from the global bbpress shortcodes and wordpress shortcode tutorials.
I’m using a Dev4Press premium plugin to create the custom fields for each bbpress topic. (http://www.dev4press.com/download/plugin-gd-taxonomies-tools) Now I just have to figure out how to filter based on the custom data.
Here’s what I have. It isn’t going so well, and I’d love a tip.
<?php function FilterTopics($topics_query = array()) {
'meta_key' => 'ride_destination',
'post_type' => 'topic',
'posts_per_page' => -1
);
}
if ( bbp_has_topics( $topics_query ) ) {
bbp_get_template_part( 'bbpress/pagination', 'topics' );
bbp_get_template_part( 'bbpress/loop', 'topics' );
bbp_get_template_part( 'bbpress/pagination', 'topics' );
// No topics
} else {
bbp_get_template_part( 'bbpress/feedback', 'no-topics' );
}
add_shortcode('sitemap', 'GenerateSitemap'); ?>
When you click on someones profile in the forums you’ll be taken to the forum/users/username which shows what you’ve entered in the about section as well as your forum activities. However, when someone clicks on the when when viewing a (blog) post that the same user has written you’ll be taken to the /author/username page showing which articles that user has written.
What I would like to do is to integrate the /forum/users/username page with the /author/username page so that every user has only one uniform profile page. Would this be possible? Are there any shortcodes to display “forum topics created” etc. so I can try modify the /author/username page?
I think I may have figured it out.
If I add a topic through the WP dashboard it creates this wierd “comments are closed” thing, but if I add them directly through the blog it seems to work…
Strange.
Thanks for the post, it has been a great help!
I am still struggling to get the topics to work. When I click on the topic it has my description an then it says “Comments are closed.” and there is no way to post anything…
Have a look here: http://urbanbeeguild.org.au/?page_id=227
Any help would be GREATLY appreciated 
Thanks,
Simon
if you have not try shortcodes here are they:
* Forums
[bbp-forum-index] – Show the forum index/archive
[bbp-single-forum id=$forum_id] – Show a single forums topics
* Topics
[bbp-topic-index] – Show the topics index/archive
[bbp-topic-form] – Show the new topic form
[bbp-single-topic id=$topic_id] – Show a single topic
* Topic Tags
[bbp-topic-tags] – Show a tag cloud of all topic tags
[bbp-single-topic-tag] – Show the topics within a specific tag
* Replies
[bbp-reply-form] – Show the topic reply form
* Views
[bbp-single-view] – Show topics associated with a specific view
* Account
[bbp-login] – Show the login screen
[bbp-register] – Show the register screen
[bbp-lost-pass] – Show the lost password screen
*this codes post by johnjamesjacoby in his forum
https://bbpress.org/forums/topic/bbpress-20-shortcodes
Hello mr. globetrotterdk, for your first question unfortunately there is no available documentation for bbpress 2.0 up to now.. pray that developer will update this soon. Thanks for them who makes their effort to update.
for your second question, have you try using bbpress shortcodes?
Anyone?
Could this be achieved with shortcodes somehow?
I am trying to get one forum to show up on a separate page than the normal forum index. I know the shortcode is [bbp-single-forum id=$forum_id] but I do not know where to find the forum_ID at and I have tried everything I can think of to get it to work. I believe this question was asked in the Sticky Shortcodes topic at the top of the page but it wasn’t answered, just linked to another page that had the same information as the topic post with no examples or explanation. Thank you in advance.
jake
Just a simple and maybe a stupid question: Where do i find the Forum ID?
I tried to copy the permalink but this wasn’t it.
@thecolab – A lot of the things you mention are more functions of a complete site than they are functions of only a forum. As such, bbPress can only predict so much of how any theme is setup, and sticks hard to the WordPress conventions of shortcodes, widgets, and theme hierarchy.
Since WordPress doesn’t have ‘section specific widgets’ neither does bbPress. Some people want full-width forums, others do not. bbPress comes with some examples on how you can make some of these things happen, but it doesn’t yet work for 100% of all themes and sites all the time.
Really what bbPress needs is for someone (other than me) to start developing themes and widgets for it. Until that happens, some things will remain balkanized my design to appeal to the greater 80% of WordPress users.
In addition, having someone contributing code patches and new features is also helpful. For a while Gautam was able to consistently help, and Jared helped with Genesis integration. If someone wants to dream up new features and code them under my tutelage, I’m happy to help someone else get things done.
Glad to see BBpress so tighly integrated with regular wp now, still it seems getting it running smoothly out the box is a bit of a challenge for the non-developer.
For instance, using the shortcodes scenario to list forums in a regular wp page is fine, but then when you click any of the forums the bbpress template is used instead, so any sidebar content which might have been added like logins, topics etc needs to be placed into the bbpress templates as well.
any advice on how to set it up so we can have a forums home, with all the bbpress widgets in the sidebar, and then maintain those throughout the forums.
Also off the bat the homepage of the forums doesn’t even have login or register buttons.
Finding some of the simple things you would expect missing.
Yes, I found one theme where everything works fine. (short codes can be placed in sidebar by pulling there text bar and shortcode on it)
How to make it work on other themes?
OR….
How to make new widgets for bbpress plugin? There is default login, list of topics etc, but I need let’s say Tag Cloud on the sidebar.
Yes! I very much want to use bbpress template tags within wordpress theme files. I tried it and get an error. I know the bbpress 2.0 codex will come out soon, and maybe that will help. But in the meantime? Thanks!
Also, why attempt to use the shortcode in the sidebar when it would be much better to just use the forum list widget?
Shortcodes don’t naturally work in sidebars.
Possible your theme has them enabled?
I have a WordPress with WPML plugin and it works ok in all the pages, menus, widgets and plugins.
Now I added the bbpress 2.0 plugin, and there is no way that WPML can read the language .mo files of bbpress.
I tried with CodeStyling Localization (another translate plugin) but the bbpress language files are not available. Localization section of WP shows this:
Textdomain: bbpress
Versión: 2.0
Estado: active
Descripción: bbPress is forum software with a twist from the creators of WordPress.
Compatibility: Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won’t be executed anymore. Please contact the Author about that.
How can I make bbpress 2.0 will be multilingual as the entire content?
Thanks!
Hey,
Does this allow BBpress template codes within WordPress posts and pages? I asked about here: https://bbpress.org/forums/topic/using-template-codes-within-wordpress
If it does, could you offer some guidance on implementing the codes?
Thanks.
Hello, shortcodes works well when I put them on the pages, but when Im trying to put them on the sidebars, its not working.
Heres the example: http://warezjasz.cal24.pl/
shortcode: [bbp-forum-index] is on the page and on the sidebar, but working only on the page.
I tried this on many templates, and its always the same.
ps: I also have another site, and the whole bbp shortcodes works there very well, even on sidebars, I have no idea what is the reason.
Hey, pretty simple question, is it possible to use the PHP template codes within WordPress themes? If so, how?
Also, how about tags inside posts/pages within WordPress, is that possible?
Thanks.
Just bumping it up as I still can’t find a conditional to use for determining if I am on the forum front/homepage.
*I am not using shortcodes but rather custom templates
also need a few other conditionals please:
What conditional can I use to see if I am on a topic-tag, or topic-tag-edit page?
finally, conditional for being on the users/users-edit page?
*trying to change titles around above the breadcrumbs in my template. and also using conditionals to remove breadcrumbs when on user page as they dont work on user pages yet.
thanks
I believe the only options available in shortcodes are for [bbp-single-forum id=$forum_id] and [bbp-single-topic id=$topic_id].
I agree that (a lot) more would be very useful.
I don’t know if this is possible at the moment. I started writing a plugin to try and add this functionality but my knowledge of php is not good enough.
I have achieved a similar solution, though it lacks some functionality, by using a multisite wordpress install, and having each site with its own forums, and making each site only viewable to members. Then, if you want a user to be able to see a forum you make them a member of the site. The downside of this is that you have multiple forum areas.
I have created some shortcodes to allow you to list forums from multiple sites on single page, but have not got around to adding it as a plugin yet.
If you would like to try it out then you can grab the code from the pastebin link here https://bbpress.org/forums/topic/multisite-displaying-forum-list and just create an empty folder in your plugins directory, then copy the text from pastebin into a new php file in that folder.
The usage is a bit strange and explained in the other thread