Your request can be accomplished with a little grunt work. Are you asking for an “all-in-one” shortcode?
…with the exception of being able to hide the sidebars.
Content areas and sidebars are independent areas within a WordPress installation. Hiding the sidebar can be accomplished a few different ways: Within Appearance > Widgets, or you could comment out the code in the template files. But sidebars/widgets are always independent of content areas.
Why can’t the whole forum be put into a short-code so it can be applied inside a full-width page?
Why can’t a full width page be created and the shortcode placed inside? That is more in tune with what WordPress is built to do. Create a page. Give it a full width template (if your theme provides it), and place the shortcode within that page. Anything after that is accomplished is a style issue. I just wrote a post about full-width forums in your other topic:
Full-Width Forum
You can also read up on shortcodes here:
bbPress 2.0 – Shortcodes
bbPress does a good job of being a forum out of the box. Sure, there are issues, but the code is still in its infancy. Any cosmetic customization is up to the user, however.
Hi, I recently install bbpress on my site. I created a login using the shortcodes but for one it prompts that you can’t register and also if you do sign in using my admin it will show already signed in and will not go to the forum. For the forum I cannot find a way to connect it to a page either. Perhaps if anyone could shed some light on this that would be great. Thank you very much
I see you’re using Genesis – so you could hook in via functions.php or Simple Hooks Plugin and just add some content/message after that notice.
bbPress already has a shortcode for registering: [bbp-register]
So you might add that via Simple Hooks which supports placing of shortcodes.
-Dave
I just solved it 2 minutes ago On my new site http://justaskpatrick.com I turned on registration and made the default role forum participant. On this new site I was also able to get the shortcodes working. I wasn’t able to on my main site http://allaboutfocus.com .
I seem to be having a problem using shortcodes – see this post: http://bbpress.org/forums/topic/funky-action-with-pages-with-shortcodes
Since I cannot use shortcodes, and my forums page http://allaboutfocus.com/forums does not have a registration link anyplace, how do people register to participate in my forums? Every forum page says you must be logged in but they give you no way to login or register.
Thanks,
Patrick
Does anybody have any ideas? Is this specific to genesis? Thanks.
Not sure why the [bbp-*] shortcodes aren’t working on this page.
http://beta.tartarus.co.nz/forum/
I have installed bbpress 2.0 at allaboutfocus.com on the Genesis Framework. Before I knew that shortcodes existed I create a single free forum with some test posts. You can see that here: http://allaboutfocus.com/forums/forum/free-forums/#
Now I’ve discovered shortcodes. I created a new empty page called /mojo-forums. I edit that page and add a couple of simple shortcodes. When I save the new page I am instantly directed back to edit session for page http://allaboutfocus.com/forums/forum/free-forums/ . This is bizarre. That is not the page I was editing. Keep in mind this is all happening in the admin area. When I click on view to view the page /mojo-forums it shows me page /forums which has no edit options.
Also – when I post a new test post it is showing the freshest post as 4 hours ago. But when you drill down to the post it has the correct time that I saved the post.
Help.
Thanks,
Patrick
Ah – awesome. Thanks Andre, really appreciate it.
Hopefully they’ll add that link into the bottom of the instructions so it reads:
== Installation ==
1. Place the ‘bbpress’ folder in your ‘/wp-content/plugins/’ directory.
2. Activate bbPress.
3. Visit ‘Settings > Forums’ and adjust your configuration.
4. Create some forums.
5. View your site.
6. Adjust the CSS of your theme as needed, to make everything pretty.
7. Create a page and add one or more of these short codes into it to display your forum: https://bbpress.org/forums/topic/bbpress-20-shortcodes
All the best.
Bob
You’d probably want to use one of these:
[bbp-forum-index] – Show the forum index/archive
[bbp-single-forum id=$forum_id] – Show a single forums topics
Here is the thread listing the shortcodes – https://bbpress.org/forums/topic/bbpress-20-shortcodes
this works:
add_action( ‘bbp_get_reply_content’, ‘do_shortcode’);
but it does allow every shortcode.
Both [bbp-single-forum id=ID] and [bbp-single-topic id=ID] include a reply form at the bottom.
The code wasn’t that hard, but there doesn’t seem to be a need, since you’d really want context to your ‘make a new post in the forum’ in that thread, wouldn’t you?
I’m not sure I’m getting you. If I’m creating a new page I can chose “No Sidebars” as template, which I have done for the page where I’ve put my bbpress shortcodes (myblog.com/forum) That page looks fine.
Yes, that what I meant and you already do that.
The problem is when I click on a topic or whatever on that page and gets taken to another page. Like myblog.com/forums/forum/topic/
Then the sidebars show up.
Its using another page template that I will describe later if you can provide me the content of “No Sidebars” page template. It will be modified to suit another template for use in bbPress.
Did I just answer your question?
I really appreciate that you’re taking your time to answer me!
Please don’t give up on me yet
For your notes, English was not my mother language. I’m Indonesian and I do love to help, since it took my two days to understand bbPress (and I still confused a lots) and able to start my own forum site. I browse this forum, since this is the only help available.
I’m not sure I’m getting you. If I’m creating a new page I can chose “No Sidebars” as template, which I have done for the page where I’ve put my bbpress shortcodes (myblog.com/forum) That page looks fine.
The problem is when I click on a topic or whatever on that page and gets taken to another page. Like myblog.com/forums/forum/topic/
Then the sidebars show up.
Did I just answer your question?
I really appreciate that you’re taking your time to answer me!
Please don’t give up on me yet
So far I’ve only set up forums using shortcodes, but I’d guess you need to change the code listed
// Setup the theme path
$this->dir = $bbp->themes_dir . ‘/bbp-twentyten’;
// Setup the theme URL
$this->url = $bbp->themes_url . ‘/bbp-twentyten’;
to
// Setup the theme path
$this->dir = $bbp->themes_dir . ‘/mytheme’;
// Setup the theme URL
$this->url = $bbp->themes_url . ‘/mytheme’;
Again, I’m guessing and haven’t attempted what you are doing.
Put [bbp-forum-index] as the content of the page if you want a list of forums displayed.
Put [bbp-topic-index] as the content of the page if you want a list of topics displayed.
Other shortcodes are listed at https://bbpress.org/forums/topic/bbpress-20-shortcodes.
Ok, I try to help.
You should read this https://bbpress.org/forums/topic/bbpress-20-shortcodes
Then if you still encounter problems, just reply again. I will be here.
Hi BJ, I’m afraid I’m none the wiser and have had no success getting the link on the menu. When I create a new Forum, from the bbPress plugin menu, the option of selecting the homepage template is not available. I’m not sure which page to call ‘page-front-forums’. I’ve no idea about shortcodes and from what I’ve tried to find out there’s nothing related to bbPress that can help with this problem.
General Comment: I got rid of another forum plugin because bbPress seemed to get better reviews and simpler config. The one I got rid of took 5 minutes to install and configure and it worked but just not the way I wanted it to. bbPress seems weirdly complicated requiring levels of knowledge beyond that of the ‘common user’ to even get it visible!
@noerman your questions are not actually related to shortcodes. You’d be better off starting new individual threads for your different questions.
Getting back on the topic of shortcodes: Just to reiterate what I brought up in the DevPress discussion about embedding forums in pages, I’d be very happy to have something like [bbp-reply-form id=$forum_id].
Hi, I’m new member here. It took me long time to start believe and use bbPress since it kind lack of features before bbPress 2.0
Now using bbPress 2.0, I develop (still locally) a forum site that turn out to be wonderful. Can’t wait to upload it into real site.
I’m using elegantthemes Premium WP theme and finally able to merge it with bbPress theme smoothly. I can’t believe how much power I have now after merge theme together, but I still trying to make it just like an ordinary forum site.
I willing to share my experiences next time, but I do need this account related shortcodes and found it here, Big Thanks!
I still have question about roles, how I can set specific forum moderator? or just maybe forum role manual in general will be great.
I notes most plugin were outdated, can we force them to update it? I know that a silly question, but it a wish (our wish actually).
I am trying to figure out how to allow custom shortcodes in topic posts. So far i’ve been trying to use bbp_shortcodes like this.
function bbp_custom_shortcode($codes) {
$codes[] = array(‘item’ => ‘item_func’);
return $codes;
}
add_filter( ‘bbp_shortcodes’, ‘bbp_custom_shortcode’);
The codes array is appended but it does nothing Can you explain how to do it properly.
No, I used the built in tool included with bbpress 2.0 (the importer).
There was no error provided (unless it’s logged in my server’s log files that I haven’t checked yet). After I clicked on recount and checked all of the boxes and clicked go, the browser just spun and came with a page saying there was an internal server error. Not other information was given. No error codes or anything.
Assuming you are using bbPress 2.x you can accomplish something similar with shortcodes. Create a page with the shortcode and change the WP setting to showing a page instead of the blog as the homepage.
This may or may not be the right forum for this, but technical support seemed the wrong place. Anyway…
I have a template I am using for my website called Habitat (http://www.kriesi.at/themes/habitat/). It allows me to create a new page and use the template in full width without the sidebar. Now… I -can- use shortcodes to put my forum in a new page and set the template without the sidebar, but I cannot find a shortcode for the forum root (I have three categories) and each subsequent link click takes me to the /forum URL and plops the sidebar back in.
To whit, I cannot find an option anywhere in the bbpress plugin that allows me to set the template to use.
Anyone shed some light on this? TIA.