Create pages, use Shortcodes or Page Templates.
hi @Mark Barnes i tried your codes, saved to file and upload it on plugin folder then activated it..
after activation i am looking for the import button or something like that … i can’t find it… can you please help me where to find it?
thank you
hi @Mark Barnes i tried your codes, saved to file and upload it on plugin folder then activated it..
after activation i am looking for the import button or something like that … i can’t find it… can you please help me where to find it?
thank you
created a log in page as well using the same process
1) created a new page named “Log in”
2) added the following code in HTML:
[bbp-login]
<h1>To Register</h1>
[bbp-register]
3) added that page to my secondary menu
http://pairmybeer.com/log-in-to-pair-my-beer/
Still working on a layout for the forum homepage/landing page and having issues with some of the other short codes for forum and topic indexes
Hi i tried using the code [bbp-single-forum id=$forum_id] as
[bbp-single-forum id=$Introduction] where Introduction is the forum id, but it is not working. Please help me. Can you exactly mention what is the forum id here, is it the title what we provide for the forum .
@Hagandasz
I had problems finding this, too.
Go to Forums on Dashboard.
Hover the mouse over the title of the forum, and a link comes up at the bottom of the page. (In Opera it does, anyway)
e.g. http://pour-your-heart-out.com/wp-admin/post.php?post=36&action=edit
in this case, $forum_id is 36
you don’t use the $
The same principle works with the rest. I know it says “post=36” but I guess that’s just how wordpress stores stuff.
I can’t seem to get any of the bbPress widgets to work properly… the shortcodes function, but they aren’t formatted or anything, so if I try to use them in a text widget I just end up with messy text that is about 100 lines long, and get a bunch of Page Not Found errors when clicking on it.
I think I am having trouble because I originally installed bbPress separately, then added the plugin when it became available. I’m not sure what to do.. it is all a big mess
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?