Notice: Undefined offset: 0 in /homepages/22/d392911797/htdocs/app548697787/wp-content/plugins/bbpress/includes/topics/capabilities.php on line 80
Notice: Undefined offset: 0 in /homepages/22/d392911797/htdocs/app548697787/wp-content/plugins/bbpress/includes/replies/capabilities.php on line 62
Please help me with this Error š
It’s not an issue at all, it’s just what is displayed. bbPress always had one thing, BuddyPress started putting another one. I didn’t have time yet to have a look at the function in BuddyPress as I’m very busy professionally at the moment.
Pascal.
Do you think thia is a BuddyPress related issue or bbPress?
It kind of is both, the issue is caused by some CSS that becomes useless after it uses li.bbp-body that seems to not close properly, breaking the markup when threaded replies is enabled. The avatars going to the top left corner is caused by absolutely positioning the avatar when it reaches about 480px.
https://bbpress.trac.wordpress.org/ticket/2823
A possible workaround for this would be to have a horizontal forum layout.
This stylesheet has an example of the horizontal layout I was talking about. You can Place the file in a folder called css in your child theme to see how the layout takes affect. I have not tried it with 2016 theme yet though so I do not know how it will do.
https://gist.github.com/robkk/ec3129ef78397783fa2a23389be47649
Well not a bbPress specific plugin, but there are a few plugins that can work with custom post types (bbPress uses custom post types).
A plugin I found and tested is called NS Featured Posts, but like I said many other plugins could possibly work too.
After installing the plugin make sure to go to Settings > NS Featured Posts and make sure to add the topic custom post type from bbPress in the plugin’s settings.
Now we can go to Topics > All Topics and see a new column that says Featured. Make sure to click the checkbox near the topic you would want to feature.
Now we are going to make a custom view to display these featured topics in a topic list, and also be able to display them in pages with a shortcode.
Add this php code snippet into your child themes functions.php or insert this snippet into a custom plugin like functionality.
This function displays about 10 featured topics on a single page, change 10 to whatever you want.
function rkk_register_featured_view() {
bbp_register_view( 'featured', __( 'Featured Topics' ), array( 'meta_key' => '_is_ns_featured_post', 'meta_value' => 'yes', 'posts_per_page' => '10', 'max_num_pages' => '1'), false );
}
add_action( 'bbp_register_views', 'rkk_register_featured_view' );
Now in a custom page or widget area that has a widget text area that can handle shortcodes, insert this shortcode.
[bbp-single-view id='featured']`
I suspect you have a bbpress related function in your theme, or are running other bbpess reliant plugins
Hello, Pascal!
Thank you for helping me again. It turns out this is not .bbp-author-avatar issue. The issue starts when you enable threaded replies in bbPress settings. This is reproducible on fresh WP/bbPress install as well.
So, if threaded replies are enabled, the issue appears. I just disabled those setting on all of my sites and the issue disappeared.
Summary: if threaded replies are enabled in bbPress settings, the topic is rendered wrong on small screens (less than 414Ć736).
Bug? Iām using bbPress 2.5.8 with theme Twenty Sixteen (WP 4.4.2).
Hi,
Great tags š
Did you try with bbPress2.6-alpha ? It very very stable now and the importers have improved a lot.
https://bbpress.org/download/
Pascal.
Hi Pascal,
Guess what, all is working now even after I reenabled “bbPress Notify (No-Spam) 1.10”. I am stunned. What was the 4 days of agony for, I don’t know.
Speaking of cache issue, I was wondering about that. I installed “WP Super Cache – Clear all cache” in early dev but I don’t think it has ever worked. Do you have any recommendation?
I have one remaining issue:
The subscriber who clicked Forum Subscribe only gets notification on new Topic creation but not Replies. Subscribers have to subscribe to each topics in order to receive notification on replies. On top of that, “bbP Manage Subscriptions” plugin only controls at the Forum level but no the Topic level.
I need subscribers who subscribed to a Forum gets notification on all the replies within its Forum. Is this possible with some plug-in? I can’t find any.
And then I need subscribers gets notification of Topic updates, like when announcement was updated. Is it possible?
Hi,
I have bbpress installed and I’m using it having forums inside a group. My problem is that the title of a single topics seems like “Group | Webpage”. How can I like this forums? To show: “This is a topic | Webpage” or “This is a topic | Group | Webpage”
Thank you š
Several months ago I tried to import a phpbb 3.1 forum into bbpress. Sadly it didn’t work. It was frustrating because the description says it works. It would be very beneficial to have version numbers and dates associated with anything associated with bbpress, including importers. Otherwise it’s a constant source of frustration downloading, trying, failing. No need to have done so in the first place if the version number was already a part. Thanks for the consideration.
Does this not mean that there is an issue with bbpress?
bbp_setup_current_user was called incorrectly
It’s somewhere a cache issue or so !
So for me if it worked, there might be a conflict between bbPress Notify and async. Can you try to deactivate one and then other for a longer period ?
Pascal.
Hello!
I’m using bbPress 2.5.8 with theme Twenty Sixteen (WP 4.4.2). Accidentally I noticed, that when viewing topic on a devices with small screen (less than 414×736) all of the author avatars are sliding to the upper left. Here is a screenshot: 
I tried to install bbPress on a fresh WP install and the avatar does not seems to slide, when viewing in small screens. So, I deactivated all the plugins, removed all known theme modifications, css styles, but avatar is still misplaced.
Here is a link to the test topic: http://rugby-forum.ru/wp2/forums/topic/test/ Can you please, take a look and guess what may be wrong here and how to fix this?
Thank you in advance!
As these are not coming from bbPress, I don’t think i can help you here, sorry.
Please see what other plugins you might have.
Pascal.
I have a somewhat similar problem. I have an English site, but want to run a Dutch forum on it. Hence, changing the site’s general settings is no option for me.
I’ve uploaded Dutch bbpress-nl_NL.mo and bbpress-nl_NL.po files into the folder wp-content/languages/plugins (and there I removed the original en_GB files). I also tried making a wp-content/languages/bbpress folder with the language files, but failed to resolve the problem (which basically is that when Dutch forum participants type in text all of their words get marked with red underlining as if they are not knowing how to write).
I would very much appreciate some help here.
The site is called HenHub, and one of the (test) fora is called Facilitators.
Many thanks in advance!
So I thought: I have a MS installation, why not put the forums into their own subsite (subdomain). Noone will notice if I use the same theme and let the menus crosslink the sites. (Except those who actually look at the URL.)
My question is: Would you do that, too? Because it seems, people in these support forums only ever try to migrate their forums into their blog install, not the other way round. Which, as I would expect, would make things much slower on their end.
You can do that. You do not have to run a blog and forum on the same site. You can just use WordPress for content management on your bbPress forum only sub site.
@bethannon1
You can put this bbPress default themes CSS from the plugin into a folder called css in your child theme and edit the css file to your liking.
https://codex.bbpress.org/themes/theme-compatibility/
Hi, its WP-Mail-SMTP.
My understanding was that bbPress sends notification to noreply@mydomain.com with bunch of BCCs, that will be blocked everywhere, and I thought I needed async plugin to remedy issue, no?
I have something new here. When I disabled bbPress Notify (No-Spam) 1.10, well not exactly. When I disabled bbPress Notify (No-Spam) 1.10 then enable it then disable it again yesterday, the notification did work the rest of the day. I went to bed in peace. Then this morning it stopped working again.
In my mail log, I see notification went out to subscribers upon reply. Today, the only entries I see is non-BBP notification even though I see now topic was created and replies were made. Quite frustrating š
Hi,
I have bbpress with buddypress and when someone post in the forum, its shows in the activity steam. It is very weird when the reply is very long so I would like to set a exceprt o forums reply in buddypress activity.
Thank you š
Hi Pascal! Thanks for your quick reply!
Unfortunately, no — these forums are locked down to only approved users.
The CSS is in /plugins/bbpress/templates/default/css/bbpress.css, line 896:
/* =Stickies
-------------------------------------------------------------- */
.bbp-topics-front ul.super-sticky,
.bbp-topics ul.super-sticky,
.bbp-topics ul.sticky,
.bbp-forum-content ul.sticky {
background-color: #ffffe0 !important;
font-size: 1.1em;
}
I need to change that background color. But I’m not a CSS ninja, and I’m not sure how to override that !important from the default plugin CSS. This is when adding a 2nd !important to trump the first would be handy. š
Hi,
Is this a public site ? If you could post a link and tell us what you want to change exactly, we could have a look. I suppose it’s not bbPress that has the !important ?
Pascal.
Hi, you see this message because your debug is on. This specific message is not a real a minor issue, but it could mean you have somewhere access control issues.
See https://codex.bbpress.org/bbp_setup_current_user/was-called-incorrectly/
Pascal.
I need to override the default CSS color for
.bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky
But the default color declaration has an !important in it. What’s the best way to fix this so my color will display? I know I could hack the plugin CSS, but that’s not the best option. š
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). in /path/public_html/wp-includes/functions.php on line 3787
I am using Simple Membership and BuddyPress in addition to bbPress so i imagine this is an integration issue. Is there a way to resolve it?
Thank you.