Search Results for 'bbpress'
-
Search Results
-
I hope to customize bbpress reply form area with dropdown selection list. I could not find any previous post reporting similar case in bbpress. Referring to post “Save meta box data from selected dropdown list” with link I prepared similar code for the bbpress reply post condition, but failed to achieve the goal.
Please kindly provide suggestions!` add_action( ‘bbp_theme_before_reply_form_content’, ‘so_custom_meta_box’ );
//add_action( ‘add_meta_boxes’, ‘so_custom_meta_box’ );function so_custom_meta_box($post){
add_meta_box(‘so_meta_box’, ‘Custom Box’, ‘custom_element_grid_class_meta_box’, $post->post_type, ‘normal’ , ‘high’);
}add_action(‘bbp_theme_before_reply_content’, ‘so_save_metabox’);
function so_save_metabox(){
global $post;
if(isset($_POST[“custom_element_grid_class”])){
//UPDATE:
$meta_element_class = $_POST[‘custom_element_grid_class’];
//END OF UPDATEupdate_post_meta($reply_id, ‘custom_element_grid_class_meta_box’, $meta_element_class);
//print_r($_POST);
}
}
function custom_element_grid_class_meta_box($post){
$reply_id = bbp_get_reply_id();
$meta_element_class = get_post_meta($reply_id, ‘custom_element_grid_class_meta_box’, true); //true ensures you get just one value instead of an array
?>
<label>Choose the size of the element : </label><select name=”custom_element_grid_class” id=”custom_element_grid_class”>
<option value=”normal” <?php selected( $meta_element_class, ‘normal’ ); ?>>normal</option>
<option value=”square” <?php selected( $meta_element_class, ‘square’ ); ?>>square</option>
<option value=”wide” <?php selected( $meta_element_class, ‘wide’ ); ?>>wide</option>
<option value=”tall” <?php selected( $meta_element_class, ‘tall’ ); ?>>tall</option>
</select>
<?php
}Topic: bbpress and custom themes
I’ve recently tried the bbpress plugin and have had 0 luck figuring out how to install any themes. Does anyone out there know of a good tutorial explaining how to do this?
I really want to use bbpress but it just looks horrible with my theme from Elegant Themes. (And the theme looks great).
Thanks!
Loving bbPress.
We’ve set our fora (forums) to show only for logged-in users.
When a visitor is not logged in and they click on the Fora link, bbPress shows the following message:
Oh, bother! No forums were found here.
We’d rather that the message said ‘Fora are viewable by logged in members’.
How and where do we edit the ‘Oh bother!’ message? (Which might be the right CSS file?)
Thank you.
bbPress Version 2.6.4
It is a vanilla install, no customisation or plugins.
I tried to deactivate bbPress and get the following error:Fatal error: Uncaught Error: Cannot unset string offsets
in /hsphere/local/home/somewhere/something/wp-includes/class-wp-role.php on line 75Call stack:
WP_Role::remove_cap()
wp-content/plugins/bbpress/includes/core/capabilities.php:240
bbp_remove_caps()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-content/plugins/bbpress/includes/core/sub-actions.php:40
bbp_deactivation()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-admin/includes/plugin.php:812
deactivate_plugins()
wp-admin/plugins.php:194Can you please assist?
Hi there, I’m experiencing the following error after installing bbPress on my local PC (the site is not public) and setting up a test forum:
“WordPress database error Incorrect DATETIME value: ‘0’ for query SELECT p.ID FROM wp_posts AS p WHERE p.post_date < ‘0’ AND p.post_type = ‘forum’ AND ( p.post_status = ‘publish’ OR p.post_status = ‘private’ OR p.post_status = ‘hidden’ ) ORDER BY p.post_date DESC LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/twentytwenty/singular.php’), get_header, locate_template, load_template, require_once(‘/themes/twentytwenty/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, adjacent_posts_rel_link_wp_head, adjacent_posts_rel_link, get_adjacent_post_rel_link, get_adjacent_post”
My setup:
A new WordPress 5.4 install with no other self-installed plugins
Theme: Twenty Twenty
Windows 10
PHP 7.4.4
MySQL 8.0.19
I created a forum called ‘Test Forum1’ & this appears in the WordPress Admin. When I click the permalink to view the forum I see the above error on a blank white screen.Any advice much appreciated – thanks.
Hi,
I use WordPress version 5.4.1 and bbpress version 2.6.4 on my website http://www.afvallenkunjeleren.nl with the theme woostify.
I have something strange: I have downloaded the .mo file (named it bbpress-nl_NL.mo, and the .po file is bbpress-nl_NL.po) from the official bbpress site and uploaded it through file manager in my forum.
But nothing will be translated. When I look in the plugin Loco translate, that I use there is nothing translated.
Can anyone help me please?
Thank you very much in advance!
With warm regards,
Klaziena WaertsTopic: 404 errors on pages
I have been having an issue with my website, almost once a day the pages return broken links and 404 errors. I have to manually save the permalinks to fix it.
I have tried a lot of ways like creating a default htaccess file, but nothing works. So I started deactivating plugins once this happens. When I deactivate bbPress everything works again, so I was wondering if somebody knows what can be causing the issue?
It happens only to pages, not posts or archives.
This is the website I am having problems with: https://academiamunicipal.uned.ac.cr/