FYI I’m using version 4.9.6 of wordpress and version 2.5.14 of bbPress.
I added custom code to my theme functions.php page to add customized roles for bbPress. The roles show up when I edit users and want to change their roles, but when I go to save it, they just default back to a participant role. How can I fix this? Here is the code I used below:
/* bbPress Custom Roles */
function add_custom_role( $bbp_roles ) {
$bbp_roles['my_custom_role2'] = array(
'name' => 'Producer',
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
);
$bbp_roles['my_custom_role3'] = array(
'name' => 'Engineer',
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
);
$bbp_roles['my_custom_role4'] = array(
'name' => 'Songwriter',
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
);
$bbp_roles['my_custom_role5'] = array(
'name' => 'Staff',
'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) // the same capabilities as keymaster
);
$moderator = bbp_get_moderator_role() ;
$bbp_roles[$moderator] = array(
'name' => 'Moderator',
'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) // the same capabilities as keymaster
);
$keymaster = bbp_get_keymaster_role() ;
$bbp_roles[$keymaster] = array(
'name' => 'Chief Executive Officer',
'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // the same capabilities as keymaster
);
$apprentice = bbp_get_participant_role() ;
$bbp_roles[$apprentice] = array(
'name' => 'Member',
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
);
return $bbp_roles;
}
add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
Hello
As a newbie, I am setting up a BBPress Forum and am looking for a Consultant to help me set it up.
Member Area – Answer Line
Has anyone had a good experience with such a Consultant? Could you provide their contact information?
Thanks,
Don
Don@DonBrownInc.com
I don’t know what went wrong but bbPress is giving 404 error on my site’s homepage 🙁
Good Day everyone,
For a few years now I have bbPress and WordPress installed in French language.
Currently using bbpress 2.5.14 and WordPress 4.9.6.
The two language files bbpress-fr_FR.mo and bbpress-fr_FR.po are located in the wp-content/plugins/languages folder.
Everything looks to work fine except that since the beginning notifications mails are sent in English language. I never figured out the reason and hope someone could help me.
Everytime it’s the default template like “Mr Foo wrote:”, “New Topic”, etc…
The original WordPress install was in English language but I installed the French pack during the updates, I define (‘WPLANG’, ‘fr_FR’); in wp-config.php as well and the admin interface is in french. I don’t understand. I tried to modified the .po / .mo file with a software but no effects. I’m using WP Config SMTP plugin but I don’t think it’s related, right ?
Any help / advise would be really appreciated.
I wish to edit the width of the forum table so it stretches across the whole page. How wold that be possible?
Hello,
I have created a forum thread in a bbpress forum. A user replies in my thread. I get a notification, but the topic field is empty, and I can’t click on the notification. Maybe it is caused by the fact that replies don’t have a title?
Cheers,
Lars
I wish to remove certain functions and text from the forum table (such as the name of the user who started the topic and his/her avatar) to reduce the cluttering. How could I delete/edit text and hyperlinks associated with bbPress?
I’m using twenty seventeen theme.
I’m creating a forum website and wish to add a particular sidebar to the right of the forum table with specific bbPress widgets. However, all plugins that allow new sidebars to be created require an existing sidebar to be replaced. Now my problem is that the only existing sidebar in the Forum page is the footer sidebar. which can’t be removed, and so, how do I create a completely new sidebar in a location where there is no sidebar previously existing (forum page)?
P.S.- I am using twenty seventeen theme.
I wanted to know if you can help me.
I get to import everything except the users.
I’m trying to import a phpBB3.2.2 to bbPress.
I’ve tried with bbPress 2.5.14, bbPress 2.6 RC5 and bbPress 2.6 beta2.
I’ve tried in the 3 modes with the phpBB.php of dintintos topics but none of them work for me;
– https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/phpBB.php
– https://gist.github.com/pixelnated/5c27a64c450578440554ba902560178f
I’m desperate. could you help me?
Is anyone know what is the code to display last reply by: username in topics?