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
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.