Search Results for 'code'
-
Search Results
-
bbPress 2.5.14:
FILE: /var/www/test.site/wp-content/plugins/bbpress/includes/admin/converter.php ------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------- 310 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4 ------------------------------------------------------------------------------------------------- FILE: /var/www/test.site/wp-content/plugins/bbpress/includes/admin/tools.php ----------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------- 144 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead -----------------------------------------------------------------------------------------------------------In bbPress 2.6-RC6 everything is good.
bbPress 2.5.14
PHP Compatibility Checker 1.4.6I have enabled the Visual Editor for topics and replies using the following:
function bbp_enable_visual_editor( $args = array() ) { $args['tinymce'] = true; return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );The problem is that only administrator can add text-colors font-styes and other things like that.
I am getting html format when a subscriber uses colors and font-styles
<span style=”color: #00ff00;”><span style=”font-family: ‘book antiqua’, palatino, serif;”>wfwffwwf</span></span>WP Version 4.9.8
bbPress Version 2.5.14I would really appreciate any help,
Thanks!I wonder If I can set an email address for bbpress that is different from my WordPress admin email address? Ideally I should be able to set a different email addresses per forum (to send notifications to the moderators and/or the keymasters).
Does anyone know of a plugin or some code to make that possible?Topic: Two Indexes on One Website
Maybe I’m missing something, but I want to create two separate indexes (two separate sets of forums) on the same website. Right now, I have one set running using the short code [bbp-forum-index]. I assume if I use the same shortcode on a different page, I’ll get the same list of forums, when what I really want is a separate set of forums. This should be easy so I’m probably missing something… Help please! Thanks!
Using the following code, when I select Outfit Leader as the bbpress role, it displays ‘Member’ where it used to say ‘Keymaster’ on a forums post under the bbp-author-role class tag.
function add_custom_role( $bbp_roles ) { $bbp_roles['my_custom_role1'] = array( 'name' => 'Outfit Leader', 'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) ); $bbp_roles['my_custom_role2'] = array( 'name' => 'Chief of Staff', 'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) ); $bbp_roles['my_custom_role3'] = array( 'name' => 'Executive Officer', 'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );Expected functionality: Custom Roles would replace the name of the role they are getting capabilities from. So in this case each forums topic by this user would have their avatar, name below that, role name below that, and finally IP address below that.