Hello!
I followed the github recommendations below:
function my_custom_roles( $role, $user_id, $user_role ) {
if( $role == ‘Key Master’ )
return ‘Site Owner’;
return $role;
}
add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 3 );
And I get this error on my bbpress page:
Warning: Missing argument 3 for my_custom_roles() in /home/belly/public_html/wp-content/themes/kickstart-child/functions.php on line 90
The page does still come up, but this is visible above the author’s avatar.
Any thoughts?
Thanks!
Sharon
see this article for info on creating bbpress test users and data
3 Quick Ways to Create bbPress Test Data
sam
I’ve tried adjusting the CSS, specifically for the bbpress footer, such as:
.bbp-footer {position:absolute; bottom:0;}
Nothing seems to budge.
The footer on all other pages on the iPad are working fine…
Experienced paid bbPress programmer needed for bbPress 1.1 enhancements on WordPress 3.4.1 site.
Contact moderators@kurzweilai.net.
Hi guys,
I am trying to achieve this (a mockup through Google Dev tools) however I am unable to find where I can actually edit the code behind this, it seems to be hard coded behind a bbpress function – which I personally think is silly if I have to rewrite it just to make it how I want it…

I am gunning to make my installation of bbPress hierarchical in display, however currently it only displays the “Freshness” of the forum.
Can anyone point me into the right direction here?
EDIT: I wasn’t super clear, what I meant to say was – I would like to instead of having “15 hours and 30 minutes ago” with the username, the topic title. I can achieve the rest
Thanks
I see css code in reply have display:none.
How can I fix?
I guess the best way to illustrate this is:
I installed, activated, etc. Forums. In the back end all seems to be well. In the front end I have nothing other than a 404 Error message. The Forums page on the menu came from bbPress and is not a page I created, published and added to the menu. Since bbPress added it to the menu the problem seems to be like this: You have a piece of paper with text in your left hand and a title in your right hand. How do you get the paper with text to appear under the title in your right hand?
Is this a code issue, a permalink issue or what? Given my extreme lack of expertise I really need someone to give me step by step instruction.
Please check the front end yourself:
cycleshanty.com and click on Forums
WP version 4.1
Thanks in advance.
@robin-w
Awesome I appreciate the help and time you have given so far and will most likely contact you after the silly season is over.
I will continue to have a play around with this for now as I feel I am close but just one little thing is missing.
If anyone else has any ideas or knowledge on this please feel free to contribute.
From what can gather this used to be “easy” to do prior to bbPress 2.2 when the dynamic roles were implemented. I have seen mention of some filters being able to manipulate map in some way to allow custom bbpress roles to be assigned to wordpress roles.
However as I am not a wizard on these things, I tend to blunder around trying to make sense of it.
I cannot the users (role is editor) give permission to upload media. I gave the plugin ‘user role editor’ a try, but also doesn’t work. I want that the editors (my users) can upload a picture, but it seems impossible. Another issue is that all the users can use the HTML tab, I cannot hide that tab. Why is this difference between the WP and BBPress roles? I’m very familiar and happy with WP (more than 50 installs) but bbpress is till now a very user unfriendly program for me. But maybe someone can change my mind. Please help, i am also satisfied that someone give me as answer that its not possible, in that case i need to search for other forumsoftware.
Hi my forum appears in a part of the site that has a generic login. So what i need is that users have to type in email and name in order to post – is this possible? is there a shortcode for this or do i have to add something to the bbpress.php?
thank you in advance
Melanie
@bob1nz
How can I assign non-standard bbpress roles with custom capabilities to non standard wordpress roles also with custom capabilities using the map so this is performed dynamically?
Sorry, but without major involvement in looking at this and how it is interacting with whatever plugins you are using, I cannot quickly come up with an answer.
If you want me to take a professional look after xmas, contact me via my website
http://www.rewweb.co.uk
@boertje – suggest you start your own thread
hello everyone,
sorry.. I’m a newbie..
I have installed on localhost the last version of WP and bbpress 2.5.4.
This is the problem:
I put [bbp-forum-index] in page forum but I see a wrong layout.
You can see these screeshots:
https://drive.google.com/folderview?id=0B6Jo8p7NSE9bQ05ON3AxQUl4RkE&usp=sharing
any idea to solve this issue?
thanks
Marco
So here’s what I’ve tried thus far. Deactivated all bbpress plugins, deactivated my child theme, flushed cache, deactivated Akismet, deactivated and deleted all cache plugins. After each of these things, I retried repairing via Tools>Forums, again to no avail.
Still looking for help. Thanks.
I have the same problem here, give the plugin user role editor a try, but also doesn’t work. I want that the editors (my users) can upload a picture, but it seems impossible. Another issue is that all the users can use the HTML tab, I can t hide that tab. Why is this difference between the WP and BBPress roles? I’m very familiar and happy with WP (more than 50 installs) but bbpress is till now a very user unfriendly program for me. But maybe someone can change my mind.
bbpress uses the default wordpress user setup, but adds a bbpres role to the wp-capabilities in user_meta.
So as long as there is a wp_user then on first login by that user bbpress will allocate the default bbpress role as set in Dashboard>settings>forums.
In think this plugin might be your solution, as it seems to create and update wordpress via AD
https://wordpress.org/plugins/active-directory-integration/
and then bbpress will use that wordpress database to add the role.
Thanks for your reply @robin-w
I tried that but it assigns the user the default role in bbpress.
I gave a dummy user the admin role in wordpress and what I want is for the user to be automatically given the admin role in bbpress as well.
Using the code you supplied it leaves the user with the default role.
How can I assign non-standard bbpress roles with custom capabilities to non standard wordpress roles also with custom capabilities using the map so this is performed dynamically?
Forgive me if this is the wrong area. I’m a pretty new WordPress user but I’m using it to build an Intranet. Management decided they wanted a message boards and I discovered bbPress so I thought I’d give it a go instead of using SMF.
However, I was wondering if there was any way in which I could create accounts and authentic login details via Active Directory (around 500 users) instead of creating all the accounts manually.
I did search for this but the threads were 4/8 years old so I wasn’t too confident in how relevant they are.
Thanks
Hi,
We have installed the latest bbPress + latest WP on our site. Also we have Disqus if this matter.
We read that bbPress is integrated with ‘Discussion’ settings from WP installation.
In our ‘Discussion’ settings we have:
In ‘E-mail me whenever‘ section:
‘Anyone posts a comment‘ – Checked
In >Before a comment appears section:
Comment must be manually approved – Checked
Comment author must have a previously approved comment – Checked
…however it seems that in our forums anyone can post without our approval. (We have the ‘anonymous posting’ in bbPress’ settings ‘on’).
What we want to do is:
Anyone can post but their first post must be approved in order for the author to have the right to post freely from there on.
How can we achieve this?
@tajender
You’d need to modify
wp-content/bbpress/templats/default/bbpress/form-reply.php
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/bbpress/templats/default/bbpress/form-reply.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/%your-theme-name%/bbpress/loop-single-reply.php
bbPress will now use this template instead of the original
you should really do this inside a child theme
Functions files and child themes – explained !
but if you do it in your main theme, keep a copy of what youb have done as updates are likely to overwrite
The you would need to modify line 20
<?php if ( bbp_current_user_can_access_create_reply_form() ) : ?>
to put in a check to see if it’s current user
It’s too near xmas, and I have too much else on to write and test the code but it will involve bbp_get_currect_user and the topic author $user_id
The bbpress function is
$role_map[‘admin’]= bbp_get_user_role( $user_id );
For the standard roles you will end up with
bbp_keymaster
bbp_moderator
etc.
as that’s how they’re stored in the database,
Next one is on the shortcodes you mentioned. https://codex.wordpress.org/Shortcode
The bbpress codes work in a similar fashion to wordpress’s shortcodes and there are a few examples on that page as to how they work.
While they are useful I’m not entirely convinced you need them at this stage.
They can be used to put features of the forums on other pages that are not your main forums such as login, one category of your forums, tag clouds etc. You can use the [bbp-forum-index] on a page if you have created one but I’m pretty sure you shouldn’t need to unless that what you want.
I believe that plugin would still be fine with your current version of WP and bbP.
Had to split the reply as I don’t seem to be able to post more than one link per reply
Ok no worries.
Im going to give you some links to look at as they have some potentially useful info.
First one is for the permalinks https://codex.wordpress.org/Using_Permalinks
I normally have these setup with post name checked in the settings but you are free to choose your own.
It also makes it easier to find posts and topics etc with “pretty” names in your url bar. My websites forums for example are at myurl/forums <– easy peasy. I never setup a page for bbpress and this worked out fine.
I’VE GOT IT!!!!! 🙂
This is what I did to create a title for my bbpress pages (when I had disabled my title-wrapper), in case it helps anyone else.
I first called the title in, by adding the following code to my bbpress.php file (formerly page.php):
<?php the_title();?>
Then I wrapped it in a div like so:
<div id= bbpressTitle>
<?php the_title();?></div>
Then I created CSS, based on this new class:
#bbpressTitle {
font-size: 32px;
font-family: Roboto Slab;
Font-weight: 200;
display: block;
color: #70908F;
}
And it actually worked. Please take this with a grain of salt… I’m an acupuncturist, not a coder. 😉
Thanks again for all of your help, Bob1nz!
Goodnight,
Sharon