So I thought we had the 404 issue resolved, but not quite. Forum Directory showing (used short code on page) and links from there to primary forums works just fine. I have now discovered that child forums get 404 error. Updated permalinks, tried default theme, still no luck. Tried making the “parent” forum a category, no joy that way either.
Tried moving the bbp-twentyten template files into child theme (and adding theme support to functions.php) and everything went haywire.
One thought is to use pages with shortcodes for the child forums, but this site is going to have tons of child forums so that is not an appealing option and would not be user friendly for the client.
Any ideas?
Because the skeleton plugin adds the capability of adding theme templates which do not require added markup such as the header/footer/etc.
The way it is now, bbPress has a bunch of twentyten specific templates which handle all the output for bbPress. Each of these templates carries the overall ‘layout’ for twentyten instead of just what is output by bbPress.
If my understanding is correct, I would create a single bbpress.php file that holds just the twentyten layout. ‘The_content’ would then be auto replaced according to what page you are on.
This would mean that in order to get a custom setup in any theme, I would only have to modify one template file, ‘the twentyten base layout’ instead of modifying every file.
Basically I am trying to find a way of making it easier for me to build and market bbPress templates that work in any theme.
An example would be people that don’t want a sidebar. You would simple change the bbpress.php file to remove the sidebar, change the css attribute for the content area to be fullwidth and your done. You don’t have to modify the other bbPress templates.
*Yeah, I know, there are shortcodes, custom page templates etc already avail, but trying to find an even better approach.
I am using custom theme templates from bbPress within my own theme. So no shortcodes or creating pages etc.
What I am trying to do is to show the list of most recent topics below the forum list on the forum homepage.
I am using the following code:
<div id="forum-front" class="bbp-forum-front">
<div class="entry-content">
<?php bbp_get_template_part( 'bbpress/content', 'archive-forum' ); ?>
<br><br>
<h3><?php _e( 'Recent Topics: ', 'bbpress' ); ?></h3><br />
<?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?>
</div>
</div><!-- #forum-front -->
This seems to work, however, the pagination for the topics is wrong. Currently it tries to go to /forums/forum/last-forum-title/page/2/
It should go /topics/page/2/
Using the default bbPress templates within my own theme, what would I add to the archive-forum.php file in order to show recent topics with pagination that works right?
*I saw that devpress managed to pull it off, so asked over there as well.
@Gautam Fair point.
@anointed I hope so, perhaps the new version might have better out of the box support
@letheos I think I will have another go with bbcodes, this does now seem like the best option. I’ll post back if I have any luck.
Thanks for the replies.
You can use shortcodes and just add some custom css styling.
Dario,
1. Create a page.
2. Make it a homepage.
3. Add the right shortcodes.
4. Add proper styling.
The latest versions now have admin settings in the dashboard that allow the admin to create additional whitelists of supported tags. It also detects Viper’s Video Quicktags and allows all those tags to be added to the whitelist via a single checkbox.
I’ve implemented a means by which other shortcode plugin developers can make their plugins get automatically detected by the whitelist, declaring which safe shortcodes they support, and giving them the same single checkbox ‘add to whitelist’ functionality that I’ve currently done with my bbPress BBCode plugin and Viper’s Video Quicktags.
Has anyone been able to get bbPress 2.0 and the Thesis theme to work together?
I have tried a number of things but I just can’t get it to work.
If I do nothing and rely on the default theme the forum is totally unusable. Not only is there no styling but none of the functionality works (no links appear for a start!).
I have tried creating a child theme as per instructions on this forum, tried using shortcodes and I have also tried copying the relevant parts of the default theme over to the thesis theme folder.
This seems to get slightly better results in the sense that I get the forum functionality, but there is no styling. You can see my current attempt here:
http://www.jezza101.co.uk/forums
It seems to me like part of the theme’s framework is somehow breaking bbPress, there must be some fundamental incompatibility in there somewhere – but I really don’t know enough to debug this.
I have asked over at the Thesis support forum but there seems to be little understanding of what’s going on over there. Is there anyone over here who has any suggestions?
Don’t modify the core function. Makes a plugin and make your own Shortcodes instead. You’ll need to look into how switch_to_blog works. You’ll also need to see how my Switch Site Rewrite plugin reloads the permalinks for each switch. The reason this isn’t in core is its a labor intensive set of requests for the server to pull off, particularly across multiple servers or data centers in large installations.
you can use short codes listed here:
https://bbpress.org/forums/topic/bbpress-20-shortcodes
but even easier, if you are ok with the default layout, is to just use the template, “bbPress – Forums (Index)” for the blank forum page you’ve created (under page attributes on the edit page).
I’ve noticed a lot of people looking for plugins that add bbcode to the forum in the new bbPress 2.0 version. I was also interested so I paid attention. I think someone mentioned that the way to do it would be to use wordpress shortcodes, but that before enabling these in forum topics and replies it might be best to create a whitelist of safe shortcodes that you want to allow.
Well I waited and no-one developed this, and so I looked into doing it myself. I have now done this and added my first ever wordpress plugins into the repository! These being:
bbpress2-shortcode-whitelist
and bbpress2-bbcode
Using these two together creates a safer way of including bbcode in your forum. I will expand the whitelist to include other cool but safe shortcode plugins as I become aware of them. I also plan to add an admin page that allows manual addition of shortcodes you wish to allow.
Travis,
Thank you for responding to my earlier question eventhough it’s a mute point now since I am beta testing another forum plugin.
Our team needs a simple forum that can be plugged right into a full-width page. The template we are using was built with that in mind.
The only problem we found with BBPress was it’s lack of one shortcode for the entire plugin. Why implement short-codes for bits and pieces of a software package and not the whole?
We implemented BBPress into a full-width page. Looked good until we clicked on any link inside the forum. When it was redrawn, it would leave the full-width page and revert back to a normal width page with sidebar widgets being displayed.
Modifying our template to fit a plugin is out of the question. Our template works with every other plugin we have installed and should not have to be modified to make a plug-in work. The plugin should work, regardless. If we start modifying a template everytime we load a plugin, we would be in trouble.
In other words, you need a short-code for the entire forum, not section.
We are currently beta-testing simplepress which uses one shortcode for the entire plugin.
BBPress has a lot of potential but doesn’t quite meet the requirements for a seamless forum plugin.
-Mark
Hey Andrew,
I took a look at bbPress Post Toolbar but it seemed to add bbcodes either by hand or by clicking a button. With “normal” wordpress, and inside the buddypress group forums, if you just enter the url as text, with no added adornment, it just shows up as embedded video. I believe the same is true for image urls but haven’t tested recently.
Also, I’m confused. On both the WPplugin directory as well as the master501 website, it shows the latest version as being back in August, not today???
Thanks,
joe
Are there options for short code [bbp-topic-index]?
e.g.
[bbp-topic-index max=7 pagination=off breadcrumbs=off]
I am also interested in the ability to migrate group forums to bbpress 2.0 plugin (and out of the groups).
I have managed to set up bp groups so they each have their own forum without having their forum contents displayed at the top level menu by deleting the bp forums page (and removing it from trash).
I then created a site-forums page for the bbpress site-wide forum by creating a “Site-Forums” page in WP and using the bbpress shortcode bbp-forum-index to list the available forums. I may add other shortcodes later.
Unfortunately, I am still left with a lot of content under “groups” that were only created to form quasi forums under buddypress internal groups version of bbpress.
Personally, I really like the idea of having both types of forums available!
joe
Sorry, I searched before, but just saw that user sulliwane2 asked a similar question 4 weeks ago in https://bbpress.org/forums/topic/bbpress-20-shortcodes
Adding a few arguments would be very useful!
Are there options for short code [bbp-topic-index]?
e.g.
[bbp-topic-index max=7 pagination=off breadcrumbs=off]
If not, a few arguments would be a welcome addition to this and other short codes.
I’ve done the same thing to my installation, however, you may want to use a check to check a users role so only certain roles can post shortcode.
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/