Search Results for 'bbpress'
-
Search Results
-
Topic: bbp_author_metabox error
Hi bb Team,
I found a bug, maybe, on bbpress ver.: 2.5.12 if I use action bbp_author_metabox
I try to add some user info on metabox but if I call this:
add_action('bbp_author_metabox', array($this, 'bbp_author_details')); function bbp_author_details($post_id) { echo "<p>Test</p>"; }in html code I’ve this on start tag:
`<p>Test</p><!DOCTYPE html>
<!–[if IE 8]>`and on the right place:
<div id="bbp_author_metabox" class="postbox " > <button type="button" class="handlediv button-link" aria-expanded="true"><span class="screen-reader-text">Commuta il pannello: Informazioni autore</span><span class="toggle-indicator" aria-hidden="true"></span></button><h2 class='hndle'><span>Informazioni autore</span></h2> <div class="inside"> <p> <strong class="label">ID:</strong> <label class="screen-reader-text" for="bbp_author_id">ID</label> <input type="text" id="bbp_author_id" name="post_author_override" value="xxxxx" data-ajax-url="xxxx" /> </p> <p> <strong class="label">IP:</strong> <label class="screen-reader-text" for="bbp_author_ip_address">Indirizzo IP</label> <input type="text" id="bbp_author_ip_address" name="bbp_author_ip_address" value="xxxxxx" disabled="disabled" /> </p> <p>Test</p></div> </div>I found that do_action( ‘bbp_author_metabox’, get_the_ID() ) it’s called twice:
-on author_metabox function (bbpress/includes/admin/topics.php)
-on bbp_author_metabox function (bbpress/includes/admin/metaboxes.php)
-on author_metabox function (bbpress/includes/admin/replies.php)This cause html error code.
I think it’s name error on bbpress/includes/admin/topics.php and should be do_action( ‘bbp_author_attributes_metabox’, get_the_ID() );
Thank you
DavidHi. I’m using the bbpress private groups plugin and it seems to be causing problems with my blog. I get a 500 error when I try to add a new blog post, and it also gives an error when I try to save or publish a pre-existing draft. Is there anything I can do about that? I don’t want to lose my private forums because there are different groups on the site that need their own spaces.
Thanks!
I have added wp-media button in bbpress topi form, I want to cancel while uploading any big file.
Please help….
…Topic: 500: post_status no array
Hey guys,
I get a 500 error after the latest update:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/vhosts/<url>/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /var/www/vhosts/<url>/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /var/www/vhosts/<url>/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /var/www/vhosts/<url>/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /var/www/vhosts/<url>/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /var/www/vhosts/<url>/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /var/www/vhosts<url>/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /var/www/vhosts/<url>/wp-includes/clas...'ln 1800 looks like this:
$post_stati = $posts_query->get( 'post_status' ); // Default to public status if ( empty( $post_stati ) ) { $post_stati[] = bbp_get_public_status_id(); // Split the status string } elseif ( is_string( $post_stati ) ) { $post_stati = explode( ',', $post_stati ); }could be fixed by forcing the array:
$post_stati = $posts_query->get( 'post_status' ); if (!is_array($post_stati)){ $post_stati = array($post_stati); } // Default to public status if ( empty( $post_stati ) ) { $post_stati[] = bbp_get_public_status_id(); // Split the status string } elseif ( is_string( $post_stati ) ) { $post_stati = explode( ',', $post_stati ); }side note: wp version 4.7.4, bbpress version 2.5.12
Thanks in advance,
TobyTopic: BBPress and Woocommerce
Hi,
Sorry if this gets posted in the wrong place.
I am looking at setting up a marketplace forum. When users signup to the forum is their a way of giving them a storefront linked to their profile.
Shabir
Hi,
When I click on notify me that time I am getting notification of my comments only when someone commenting on my replies it is not sending me an email that so and so person replied on my comment. Here on bbpress.org when we check on “Notify me of follow-up replies via email” then it works perfectly like this functionality I want on my site.
Please advice me.
Hi,
I have followed this documentation page
to enable TinyMCE. Now I would like to change the default behavior of TinyMCE to not add a paragraph for each new line but use instead <br>.
For WordPress I have to use thisfunction tinymce_remove_root_block_tag( $init ) { $init['forced_root_block'] = false; return $init; } add_filter( 'tiny_mce_before_init', 'tinymce_remove_root_block_tag' );But the TinyMCE in bbPress doesn’t get this setting.
I have tried to do something likefunction bbp_enable_visual_editor( $args = array() ) { $args['tinymce'] = true; $args['quicktags'] = false; $args['forced_root_block'] = false; return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );but it doesn’t work.
How can I pass that “forced_root_block” to the TinyMCE enabled for bbPress?Thanks
Massimo
This is both feedback and a request.
I’m working on simplifying the UI of a Commmons In A Box site, which means I’m working with both BuddyPress and bbPress. While working on the group/forum page, I found that the forum title is hard coded as a simple h3 with no selectors into wp-content/plugins/bbpress/includes/extend/buddypress/groups.php at line 767. This is just before the content-single-forum template call.
My request is that the forum title be moved from groups.php and into content-single-forum.php where it can be customized through the normal child theme process. Let me know if there is a better place than here to file this as an issue.
Thanks!
When users Register, they are not given a role in the bbPress form. It remains blank and I have to assign it manually.
I have turned on the feature to “Automatically give registered visitors the [Participant] role”
Site: SohoSpark.com
bbPress version: 2.5.12-6148.
WP version: 4.7.4
Theme: Bliss by Bluthemes 3.1.0
Active Plugins:
All In One SEO Pack
bbp style pack
Better Click To Tweet
Captcha by BestWebSoft
Contact Form by BestWebSoft
Google Analytics
Hide Admin Bar From Non-admins
PixelYourSite
Search & Replace
Smart Forms
Thrive Visual Editor
UpdraftPlus – Backup/Restore
WP Edit
Topic: bbPress User Ranks Released
Hi,
Just wanted to share a newly released plugin available called bbPress User Ranks and it allows you to create user ranks, star ranks, RPG ranks, user badges and month badges which display on forums and user profiles. It also has widgets and shortcodes.
You can view all the features and screenshots here:
http://pre55.com/downloads/bbpress-user-ranks/
You see the free lite version here:
https://wordpress.org/plugins/bbp-user-ranks-lite/
The plugin was created as I had been using the brilliant bbp user ranks plugin created by Robin W and although this worked great for what I initially wanted I eventually needed something a little more custom.
I have therefore built my plugin from scratch incorporating lots of great features I think will increase engagement for any bbPress forum.
Let me know what you guys think, if you have any suggestions please let me know.
Topic: Seo for bbPress
Hello, dear!
Can you help me with seo question? If anyone creat any topic, how can i do the seo title to be created automatically from the title of the topic and seo description from the content of the topic?Thank you for any answere..