@dayan89, sorry, i forgot to tell you about a second patch – https://bbpress.trac.wordpress.org/changeset/5392. It’s repair calculating of position for new reply.
put this into your custom css
#bbpress-forums div.bbp-topic-content img, #bbpress-forums div.bbp-reply-content img {
max-width: 70%;
}
Ok, i have something that seems to work, try it out if you want to, feel free to give me feedback on it.
function fix_default_search_string_is_bool($args)
{
//bbpress gives FALSE as search string causing no replys to show, this fixes it.
if ($args['s'] === false) {
unset($args['s']);
}
return $args;
}
add_filter('bbp_after_has_replies_parse_args', 'fix_default_search_string_is_bool');
I understand why you might want only certain users creating topics.
But, I don’t understand why you wouldn’t want those who can create topics from also being able to create replies.
This would seem more functional long term:
membership1 = create topics + create replies
membership2 = create replies only
And like Robin W indicated a simple membership/role plugin could easily set this up. However, limiting those who can create topics to be able to only reply to their own topics would require some custom coding.
I’ve done similar customization, it just takes lots of work as a number of bbPress functions/templates would be affected in both the creating and editing of topics/replies.
And keep in mind all customized functions would need to be periodically updated as security issues arise and other often connected bbPress functionality is updated, as well. This wouldn’t be a set-up once and forget it modification.
Good luck,
Chad
Hi,
After making an import of data from phpBB 3.2 to bbPress 2.6beta2,
impossible to connect one of the users formerly present in phpBB.
The following errors are immediately displayed when attempting to connect:
Notice: Undefined index: _bbp_converter_rows in …/wp-content/plugins/bbpress/includes/admin/converter.php on line 753
Notice: Undefined index: _bbp_converter_db_user in …/wp-content/plugins/bbpress/includes/admin/converter.php on line 754
Notice: Undefined index: _bbp_converter_db_pass in …/wp-content/plugins/bbpress/includes/admin/converter.php on line 754
Notice: Undefined index: _bbp_converter_db_name in …/wp-content/plugins/bbpress/includes/admin/converter.php on line 754
Notice: Undefined index: _bbp_converter_db_server in …/wp-content/plugins/bbpress/includes/admin/converter.php on line 754
Can someone help me figure out what’s going on? Thanks.
WP: 4.7.5
bbPress: 2.6beta2
phpBB: 3.2
Hi there,
I’m running into an interesting issue and I’m hoping somebody can help. My client’s site is running bbPress and we have unchecked “Allow guest users without accounts to create topics and replies” in the settings but somebody still posted to the forum anonymously. After noticing the post I logged and noticed that the topic was started by user number that is no longer active in WordPress.
Is there another setting somewhere in bbPress that would allow users to post anonymously that I’m missing?
Thanks for your help.
I’m experiencing an issue where a forum is sending notification emails to almost all members bar a small handful. The forum has nearly 700 members but there are roughly ten members that never receive notifications.
Having checked for spam issues, setup SPF records and the bbPress Notify (No-Spam) plugin, I installed the WP Mail Log plugin which has revealed that emails simply aren’t being sent to these email addresses. The users are subscribed as far as we can tell but for some reason the system is not sending emails to these users.
I don’t think I’ve missed anything obvious, but could be wrong so any suggestions would be greatly appreciated.
Thanks!
hi robin, yes i did. is it? i wasn’t sure because the activity filter works fine for the rest but the entries made by bbpress do not. bp-support-forums didn’t answer. now i tried to deactivate all plugins and changed theme to standard, same… nobody else seems to have this problem. it’s weird 😀
Hi, i have the same error after only updating wordpress, not bbpress. Any solution to this ?
SQL is triggered in bbp_has_replies in wp-content/plugins/bbpress/includes/replies/template.php but it has not changed.
I’ve tried this as well:
#sidebar-left .widget, #sidebar-right .widget {
margin: 0 0 1em !important;
}
body.bbpress div#content{
width:100% !important;
}
Hi, i am using role scoper to give access to forums and bb press notifies to send notification emails. If I add a topic to the forum. It sends an email to every user who is not authorized to access it.
hey, hope you’re well.
i could need some help on fixing my filter options in the activity stream for topics and replies. they just don’t filter, i’m still seeing everything
This is what i found:
function activity_filter_options() {
?>
<option value="<?php echo $this->topic_create; ?>"><?php esc_html_e( 'Topics', 'bbpress' ); ?></option>
<option value="<?php echo $this->reply_create; ?>"><?php esc_html_e( 'Replies', 'bbpress' ); ?></option>
<?php
}
I’m pretty bad at php, but i have a feeling there must be something wrong. 😀 tried changing topic_create to bbp_topic_create, but no. Can you help me? 🙂
Hello,
I am considering bbPress. I would like to migrate posts from an old style mailing list into a modern forum.
Is there a current way of doing this?
If not, I may write a Java application for this purpose. Is it practical then to access the bbPress database directly for the Java code in order to insert posts? I’d like to retain the original timestamps. I’d also need to create users, associated with the email addresses of the posters.
Regards,
Rupert
Tried your steps, but still no luck. The bbpress topics for posts allows the comment section of WordPress posts to integrate with bbpress topics. It also creates new topics of each new post published. If you know a different plugin or another method to get this to work, I’d appreciate it.
Hi folks,
i added the following code to a php file in the /mu-plugins/ folder, to deactivate a plugin for logged-in users:
add_filter( 'option_active_plugins', 'disable_logged_in_plugin' );
function disable_logged_in_plugin( $plugins ) {
require (ABSPATH . WPINC . '/pluggable.php');
if ( is_user_logged_in() & !is_admin() ) {
$key = array_search( 'bloom/bloom.php' , $plugins );
if ( false !== $key ) {
unset( $plugins[ $key ] );
}
}
return $plugins;
}
Strangely bbPress gets also deactivated by it, while all other plugins run without any problem.
Do you have an idea why this happens and what to change?
Regards
Dominik
use the private groups plugiun in addition to bbpress
Private groups
I am trying to replace my comments on posts with bbpress topics. This plugin is working for the most part…I’m able to auto create new topics of my published posts on the forum. However, my comment box has disappeared on the posts. There is a comment button to click. But when clicked, there is nothing displayed for posting comments.
I have found out that this is a theme issue and not a plugin issue. When I change to a different theme, such as a WordPress default theme, the plugin works. However, I do not want to lose my current theme. Does anyone know if there is any css code I can add to my theme in order to make the bbpress comment box to appear on the WordPress posts.
Website: http://bamadigest.com
Thank you!
Just to drop in here on the thread I originally started. We worked on this for several days. Probably put in way too many hours and way too much manpower. We never ever could resolve it. There are a few interesting things to note:
A. When we ran some of the “optimizing” and “updating” tools built into BBPress (like the tools to re-link posts with their authors, re-set user privileges, etc.), the site would function. Then as soon as someone made a post, everything broke again. So it was most definitely something in a relationship within the db that was breaking down. Running all the db cleaning tools in BBPress would fix the problem until a member made any post or replied to anything.
B. After looking deeply into the db, I found that new replies were somehow not being associated correctly across all tables with their author sometimes, but mostly the issue was they were not being correctly linked to their parent. What this did was to mess up WP’s (and BBPress’s) ability to render the pages in proper ordering. You know, who posted what, who replied, nested responses, etc. So, the page 500 errored out.
Now then, our company did not have the time or money for us to spend fixing this problem or rooting out what caused it. So, we had to make the financial decision to back up our data, set up clean db and WP app servers, and migrate to them. Then, destroy the problem db and app servers. On the clean install, moved data across and everything works absolutely perfectly.
This is good for us. But this is bad for people experiencing what we went through. Unfortunately, we never found what caused it, or how to solve it. Other than just manually “fixing” the db with BBPress tools every time someone made a post or reply. But that is just stupid.
Update… the only plugin I didn’t disable in the testing before is Buddypress (the core plugin). I just disabled everything except bbpress and buddypress. And changed back to the default theme. Still got the same error. Then I disabled buddypress itself. That stopped the error. But, I also only get the error for some users.
I’m going to replace all the core buddypress files to see if that resolves it.
Apologies @sagiet and thanks @robin-w, we’ll be releasing bbPress 2.5.13 with a fix for this PHP errors shortly
bugs should be submitted to
https://bbpress.trac.wordpress.org/
thanks
Suspect you are using php 7.1
3 fixes
1. downgrade to a lesser version of php
2. upgrade to bbpress 2.6 RC
3. in bbpress 2.5.12 go to /includes/forums/functions.php and change line 1851 from
$meta_query = $posts_query->get( ‘meta_query’ );
to
$meta_query = $posts_query->get( ‘meta_query’, array() );
Since the next upgrade will fix that anyway, no issue in changing the bbpress file
best I can offer I’m afraid
Fatal error: Uncaught Error: [] operator not supported for strings in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /customers/c/b/5/weeting.net/httpd.www/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp.php(735): WP->query_posts() #7 /customers/c/b/5/weeting.net/httpd.www/wp-includes/functions.php(955): WP->main(”) #8 in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800
plz what to do .
tnx
GREAT!
This is done by adjusting the value.
Thank you very much.
————————————————————-
/* Change margin */
@media only screen and (max-width: 499px) {
/* Change the width of the author column */
#bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
display: none;
}
/* position the left hand side of the content column */
#bbpress-forums div.bbp-reply-content {
margin-left: 0px;
}
/* hide the avatar */
a.bbp-author-avatar {
display: none;
}
}
looks fine to me – all quite readable, but it is your site so your call!
play with the following numbers
so overall you might try
/* Change margin */
@media only screen and (max-width: 499px) {
/* Change the width of the author column */
#bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
width: 50px;
}
/* position the left hand side of the content column */
#bbpress-forums div.bbp-reply-content {
margin-left: 70px;
}
/* hide the avatar */
a.bbp-author-avatar {
display: none;
}
}