Hey again, Sorry 2 questions in one day đ
OK here is what i am thinking… Rather than using /forums/ for my main forum page i would like to create my own custom Forums page.. Now would this need to be done via a BBpress template or simply by creating a WordPress page and then using shortcodes to display specific forums..
Doing the above assuming it was possible.. i would call the WP page “Forums” but this would conflict with the BBpress Forums base which by default is “forums” so yeah i am at a little bit of a loss here.
Again as always THANKS in advance to anyone who takes the time to reply / assist me with this.
Regards, Darren
Iâm also a new user and trying to resolve some issues with an installation using the Frisco theme. Â I have the theme set to default to the Forum page which is this link (Iâm still in Maintenance mode but hopefully you’ll know the answer anyway):
http://www.wwe-club.com/wordpress/
The list of Forumsworks fine. Â When I click on a specific forum, the breadcrumb link looks like this:
Forums âș Forums âș General Wrestling Discussion
The question is, why two âForumsâ? Â The first one links to the default home page and works fine.
The second one leads to:
http://www.wwe-club.com/wordpress/forums
which is a blank page. How can I get rid of that second âForumâ? Thanks!
@ashenkargmailcom – I did make ‘some-sort’ of progress on this today, taking a previous multisite install (wp 3.5.1) and then running the latest bp + bbp ‘trunk’ (bp 1.7 beta2 & bbp 2.3 beta1). In this test I had:
a. Buddypress network activated
b. bbPress only activated in the root (site 1 in my case of a 3 site multisite)
The inability to create group forum topics persists with the default buddypress theme, my Genesis Theme (Agency running Genesis Connect) HOWEVER, creating new topics (w/in group forums) does seem to work if I activate the twenty-twelve theme OR activating the genesis theme (agency) without Genesis Connect. I’m still not 100% sure what this means, though it leads me to think the the issue may not be in the database (which is where I previously thought the malfunction-at-the-junction happened…).
In a second test, I did this:
a. Buddypress only activated in the root (site 1 in my case of a 3 site multisite)
b. bbPress only activated in the root (site 1 in my case of a 3 site multisite)
& any theme (genesis w/ genesis connect, buddypress default) will allow the full creation of group topics. The same applies (as Fee) pointed out above if both bp & bbp are network activated. The only unworkable situation (for me) seems to be bp (network active) & bbp (single (root) site active).
Still not resolved (to my liking) but perhaps eliminating some variables…
Thanks. I’ll try that. I don’t think it’s a theme OR a plugin issue, since I deactivated (and actually ended up deleting all plugins but BBpress) and switched the the default theme.
I would like to make Recent Posts the default view for http://coffeecupnews.org/forum , Currently it is Forums. (I think it’s more beneficial to the community to see what’s new than to see a list of forums every time they visit the page.)
While I am also experiencing the create group topics issue already documented on other threads, this issue sounds more like the one @sydneydesigner noted a couple of months ago. However, his workaround does not work for me, and you will see why below.
Issue background:
My clientâs site has BuddyPress installed alongside bbPress. They want group forums as an option within BuddyPress groups.
In order to use bbPress for this functionality, I have unchecked Discussion Forums within the BuddyPress settings and enabled the Allow BuddyPress Groups to have their own forums option under the bbPress forums settings (Settings > Forums > BuddyPress section).
Whatâs happening:
When I navigate to a BuddyPress group admin and go to enable forums for it, I see the following (image link):

However, when I check the box and click Save Settings, nothing happens. Looking at the html for the page reveals the following:
- Gist
- screenshot
It appears that the form tag(s) are missing, so there is nothing there to POST against.
I was able to enable/disable the option by temporarily switching the theme to the BuddyPress default theme and saving the setting that way. It does not appear to work from client’s normal theme, however.
Doing some digging, the edit_screen() function found in bbpress/includes/extend/buddypress/group.php seems to generate the checkbox and text for enabling/disabling a group forum, while the form element that should be there looks like it’s from the groups/single/admin.php template file.
Does anyone have any insight into why the form element wouldn’t be loaded into this group admin page?
Version information:
WordPress version: 3.5.1
bbPress version: 2.2.4
BuddyPress version: 1.6.4
Genesis Connect for BuddyPress version: 1.2
bbPress Genesis Extend version: 0.8.4
Genesis version: 1.9.1
Genesis Child Theme: Blissful version 1.0
I managed to create a child theme and upload the default theme from 2.1.3 and everything works fine now. Still trying with the default template from 2.2.4.
I’m no expert on bbpress theming, but I got it working on my site.
The bbpress theme files are in the `bbpress/templates/default` folder.
Whatever you copy from this core bbp theme folder into your own theme folder will override the core bbp theme files. (I think).
Probably someone more knowing about bbpress theming should help you out further, but until then, I hope I might have gotten you going again.
This is a nice guide to what the individual theme files actually do:
http://perishablepress.com/bbpress-theme-template-files/
Hey all
I’m running bbpress with wordpress, WPML, buddypress and the buddybosstheme. I have three fora with three subfora each, two fora and their subfora are translations of the default EN fora and subfora respectively.
When I want to create a new topic in NL or FR, these are posted under the default langguage and do not show up in the list of topics of the subforum.
Changing the language in the backend to the correct one does make them show up. If you view a topic you can’t see the actual content.
Same thing for replies. Replies don’t show up, even if you change the language.
Could anyone point me in the right direction?
Thanks in advance
Pieter
It is in the template files `form_reply.php` and `form_topic.php`
The line that calls the WP_Editor class to create the textarea using the relatively new WordPress core front end editor is this one:
`bbp_the_content( array(‘context’ => ‘reply’)`
You can look into the `bbp_the_content` function to see how BBP does it and how you can circumvent default behaviour.
Notice that this line only applies if the fancy editor is enabled for the current user*. Otherwise the template file falls back to display the classical textarea (which is also the one used in this forum).
*) It seems there’s a bug in BBP 2.2.4 making the fancy editor available only to the keymaster. This can be overridden in the code of course.
Thanks for this guys, fantastic stuff. Should be included by default.
I would like to be able to create custom user roles for bbpress
We have a premium membership feature for the communities with our organisation and one of the things I would like to do is to be able to create a custom user role for the communities who have paid for premium without screwing up future upgrades as indicated in this post.
By default, when a user creates a group you are automatically granted with powers to create forums. There is an option to turn this off but that would make my intended function redundant. I would like to have it so that by default you can’t create forums unless you have paid for premium. FYI, we do not have site-wide forums activated, only group forums.
Is it possible to create a user role for each community, with subset permissions to be able to have a keymaster, moderator, participant etc. for their own group forums?
On a side note, I cant seem to be able to change the group forums from fixed to liquid… any ideas how I can do this?
I installed bbpress on my wordpress site. It is a new site, I have no other plugins installed. It still have the default 2012 theme.
I can access the forum menus from the dashboard, and I’ve created a few forums. If I click “view” in the list of forums from the dashboard, I can see them.
However, when I go to see my web page, there is no option on the navigation menu for the forums. There is just “Home”, “Blog”, and one other page I already created.
How is one visiting the site supposed to find the forums?
I tried Simple Press briefly and it just created it’s own page and a menu link. I also tried Mingle, and for that I needed to create a page on the navigation menu for it before I did the install. What do I need to do for bbpress?
Thanks
@pjtna and @sambora5150 : Lucky, you guys found me, (or viceversa :))
I was looking to do exactly that. So here it is.
The code should go in bbpress template file loop-single-reply.php, below the PHP code line that contains. The file is located in plugins > bbpress > templates > default > bbpress folder.
`do_action( ‘bbp_theme_before_reply_author_admin_details’ )`
Th actual code should be,
`
$user = get_userdata( bbp_get_reply_author_id() );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
echo “@”.$user_nicename;
}
`
But you should never edit that file, as the changes will be lost when you upgrade bbpress plugin.
So, copy the file and put it in your theme within a folder ‘bbpress’ (you will have to create that folder).
You will also need to add the following line to your theme’s function.php
add_theme_support(‘bbpress’);
OR untested but simple method, add all of the following to the function.php of your theme.
`function append_mention(){
$user = get_userdata( bbp_get_reply_author_id() );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
echo “@”.$user_nicename;
}
}
add_action(bbp_theme_before_reply_author_admin_details, append_mention);`
For the first part of your question this is what bbPress does for ‘forum’ parents and should work fine, maybe some more tips from here will help.
The second part regarding ‘section titles’ this is planned for a future release but for now you can use @lynq’s solution here.
Lastly you would have to customize the \templates\default\bbpress\form-user-register.php template: https://codex.bbpress.org/theme-compatibility/
Unfortunately looks like this is impossible in the default version.
I need this too but I have not found any decision. And seems that the developers do not make any steps in this direction, so that hardly expect it soon. Use built-in Buddypress group forums are now the only solution.
I will be very happy to know that I was wrong!)
Thx Garindan đ ! I do it like that for the moment. But is not good to modify core :/
Hope a nice solution will be find to that….
or a solution for shortcode work with the default page forums ?
thx
@josefabiosan @judsonlmoore
Could you, or anyone, please give a more clear solution to this problem when you say you created a new page? I created a site within BP this morning and everything was fine, but I then enabled site-wide forums and maybe, maybe not, is when I started getting the capabilities error on line 453. I had to create a new page for “forums” because I didn’t change the default “forums” slug. I assigned my new page and that part works fine, in fact, the forums work great. I’m just getting this capabilities error when I try to create a site from within BP. Any help would be apprecaited.
Thanks,
Kevin
@pantheism: you need to go to your file located at:
http://pantheismnow.org/wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=2.2.4
And after that change the line 28:
background-color:Â #FBFBFB;
to whatever you want for the background color.
Have you worked with CSS before?
You can change the font family at line 14 located in the file:
http://pantheismnow.org/wp-content/themes/autumn-almanac/style.css
You are using “Trebuchet MS” for the moment.
Use a filter instead of hacking bbPress core, that way you don’t lose your work when a new update comes out.
In this case look at the `bbp_get_the_content()` function in `includes/common/template-tags.php`. You can use `bbp_parse_args()` to filter all the default values đ
It’s a bit more complicated than a filter toggle IÂ believe.
Check out https://codex.wordpress.org/Roles_and_Capabilities
By default only Author roles and above have the ability to upload files, and that’s for security reasons so that’s probably a good thing.
You can tweak your roles to change the ability to upload files, but at the moment it’s a little messy. Another issue is if you want to let all your users upload files.
If you are just looking for images there is a bbPress attachment plugin in the .org repo that can handle that without having to mess with all the user stuff.
I ended up getting
$user = get_userdata( $user_id );
$user->add_role(âbbp_participantâ);
to work. (I had been using the wrong method to get the $user.)
But it is still messy. And @moonoi points out this will be lost whenever the UI is used, due to the set_role bug.
get_role( âauthorâ )->add_cap( âread_private_topicsâ );
Still does not work, although it should. It would be a better solution for me because like 90% of sites I only actually need one role per user.
It would be good to fix WP in this regard, and then remove the mess from bbPress. Or in the meantime just make BBPress work like everything else. Mucking about with roles is an orthogonal problem.
@Moonoi I have not played with the Members Plugin, but WP by default does NOT store capabilities against users. It stores Roles agains users, and capabilities against Roles, at least by default.
Anthony
Ok, so I fixed half of this problem. Turns out that somewhere, someone has made the bbP function that checks if the wp_editor should be used return false, if the user is not “keymaster”.
Since I have no idea where or why this happens, I’ve overridden it by inserting this in my theme (maybe someone else has the same problem):
`
add_filter(‘bbp_use_wp_editor’, ‘ml_allow_wp_editor’, 1000, 2);
function ml_allow_wp_editor($value, $default) {
return true;
}
`
The “participant” users still get an error, when they try to upload a file. I hope someone who knows the inner workings of bbP can help.
Thanks!
Still, my music forum is still only capable of using BBpress 2.1.2 – The “Automatically assign default role to new, registered users upon visiting the site.” doesn’t seem to work for me. My newly registered users cant use the forum if I update đ
okay guys please visit this site so you would understand what I want to talk about here. what I want to do is to add a column right next to my forum list and before the buddypress default theme sidebar. and I want to include pictures inside that column is there a way to do this? now this might sacrifice some of the width with forum list column but that is fine that’s actually what I need. because I want to add some excitement to the site instead of just a white page with a forum. basically I need web design help please any ideas is welcome.
my site: http://schoolruled.com/