Search Results for 'code'
-
Search Results
-
Hello everyone! I have a problem with one topic and I don’t know what to do. That specific topic have 3 replies(2 from admin and 1 from the user that post it). If I enter in admin I can see those replies, if I enter in db I also cand see them, but on the frontend is empty. Firstly I thought all the replies are hidden but they are not render on the frontend. I watched on other topics and everything works fine. What can it be? Thank you!
If I put
`
$a = array(
‘post_type’ => ‘reply’,
‘post_parent’ => bbp_get_topic_id()
);
$b = get_posts($a);
var_dump($b);
`
On others topics I can see the replies but on that one is an empty arrayHi all,
I am using Thrive Theme Builder, which has a set of templates (or you can easily create your own) that you can apply to different pages, etc. One nice feature is that they are “smart” in that you can set your theme colors and then if you change them, they’ll change on all of the pages in your site that use the smart templates.
It’s easy to specify which Thrive Theme Builder template to use for pages that show up in the wp Pages list. However, BBpress forum pages seem to be generated on demand. Right now, if I click on a forum, it us using a random (but probably the first alphabetical) template (the default “Audio post”). Which needless to say, is not what I want and is ugly to boot.
Is there a way to specify which Thrive Theme Builder template to use for these pages? I am not a coder (at all) and I’m highly leery of poking around with php files and so on, especially as they might get overwritten or broken by wp or Thrive or BBpress updates down the line. So what I really want is a setting that says, “choose this Theme Builder template for the forum pages.”
Thanks!
Topic: Total post views
Users are asking for total post views. I have no idea why but thought Iโd ask if its a setting. If not were do I go to ask for code writing help.
Hi,
I’m receiving this error 1-2 times per day like clockwork:
Current plugin: bbPress (version 2.6.9) PHP version 8.1.6 Error Details ============= An error of type E_ERROR was caused in line 33 of the file /home/site/public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-converter-db.php. Error message: Uncaught TypeError: register_shutdown_function(): Argument #1 ($callback) must be a valid callback, class BBP_Converter_DB does not have a method "__destruct" in /home/site/public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-converter-db.php:33 Stack trace: #0 /home/site/public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-converter-db.php(33): register_shutdown_function(Array) #1 /home/site/public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-converter-base.php(150): BBP_Converter_DB->__construct('site_db', '&9Ah58fa', 'site_db', 'localhost') #2 /home/site/public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-converter-base.php(104): BBP_Converter_Base->init() #3 /home/site/public_html/wp-content/plugins/bbpress/includes/admin/converters/phpBB.php(24): BBP_Converter_Base->__construct() #4 /home/site/public_html/wp-content/plugins/bbpress/includes/admin/tools/converter.php(94): phpBB->__construct() #5 /home/site/public_html/wp-content/plugins/bbpress/includes/users/functions.php(982): bbp_new_converter('phpBB') #6 /home/site/public_html/wp-includes/class-wp-hook.php(307): bbp_user_maybe_convert_pass('') #7 /home/site/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #8 /home/site/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #9 /home/site/public_html/wp-content/plugins/bbpress/includes/core/sub-actions.php(265): do_action('bbp_login_form_...') #10 /home/site/public_html/wp-includes/class-wp-hook.php(307): bbp_login_form_login('') #11 /home/site/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #12 /home/site/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #13 /home/site/public_html/wp-login.php(518): do_action('login_form_logi...') #14 thrown
Hi
I am now using the [BBP-STATS] shortcode and am trying to adjust the below code so that instead of ‘Forum Members’ being position higher than the $stats[‘user_count’] value presented, I am looking for code adjustment that will place $stats[‘user_count’] to the Right and inline with ‘Forum Members’
Currently;
Forum Members
xxxxLooking to achieve;
Forum Members xxxxCode currently is …
—-
<dt><?php esc_html_e( ‘่ทฏ Forum Members’, ‘bbpress’); ?></dt>
<dd>
<?php echo esc_html( $stats[‘user_count’] ); ?>
</dd>
—-Any guidance most welcomed
Topic: seachform shortcode
I used the shortcode[bbp-search] make seachform.
I want to change border color and size of this searchform.
So I wrote CSS like this.#bbp_search {
border-color:#0c162a important!;
width:50%;
}But the design did’t change.
What CSS should I write?