For anyone having this issue, here is the fix:
In function: bbp_forum_query_last_reply_id
in file: bbpress/includes/forums/functions.php
change: if ( false === $reply_id ) {
to: if ( !$reply_id ) {
It needs to know that ‘0’ is not an acceptable reply ID and then query for a new one.
On our bbPress (2.5.7) admins don’t get an email notification if a new post is added, but do get a notification if a reply is posted. Is this default behavior?
If yes, do I need a plugin like https://wordpress.org/plugins/bbpress-notify/ or https://wordpress.org/plugins/bbpress-notifications/ to handle this?
If no, what could be wrong on our install?
Besides bbPress we use the plugins “bbP Members Only” and “GD bbPress Attachments”.
I am painstakingly going through the code to fix this issue, and due to the fact that I have no experience with bbpress code, it is way more taxing than it should be.
I will leave crumbs here so anyone more equipped than myself can jump in and repair it before I do and save us all a lot of trouble.
I have discovered that there is a bug with the following function:
bbp_forum_query_last_reply_id
This is called when the update freshness repair is run and is supposed to return the last reply ID for a forum. Right now, it is consistently returning ‘0’.
It is found in includes/forums/functions.php
Yes it’s new with an upgrade of the bbPress and Group plugins… tomorrow I’ll check what the last versions I had were….
I find it so odd that some user searches work and some don’t. When I look at the User Object of a user where their link works from the search page vs one that doesn’t work from the search page there’s nothing I can see that stands out… I should check the bbPress roles on them though perhaps.
I also tried resaving the permalink settings with no joy… any direction you can point me to do some debugging I’d be very greatful… happy for you to take a look too…
My site is on bbpress only. Now suddenly this issue has arised since past 2 days.
so…
Just started happening? Has this combination worked before? or is either groups or bbpress new?
so has your site been working with bbpress before, or is bbpress new?
My site was giving 500 internal server error and none of the pages were getting loaded. I tried some trial and error method to see whether disabling any plugin resolves the issue and I found that disabling bbpress plugin makes the website load perfectly.
bbpress forum makes a major part of my website.
Is there any way I could resolve this issue?
Hey Guys,
I have the latest WordPress 4.1.2 and bbPress 2.5.7 and I’m having a problem where when I search for a user in the admin of WordPress and try and either bulk edit the user or click on the User Profile link and I get redirected to the home page.
I have narrowed it down to a conflict with the Groups plugin 1.5.1 and I’m wondering if anyone else has found this?
Other points:
– User links work to edit the profile or bulk edit if you DON’T search but we can’t do this as our user db is 1,400 odd people and it takes too long
– I’ve tried changing to the default theme and deactivating all plugins and it still happens
– I have tried installing bbPress 2.5.7 and Groups 1.5.1 on a fresh install of WordPress and got the same results with a user database of 2 people.
It only happens when you search… If I remove the wp_http_referrer information from the User Edit Profile link the link works… There’s some weird conflict going on with the referrer in the link…
Any help greatly appreciated by all!
Hi Guys,
Did anyone get a solution to this problem? I’m experiencing a very similar thing with
Wordpress v4.1.2
BBPress v2.5.7
I’ve tried deactivating all plugins and going to the default theme but clicking on usernames in the admin when trying to edit a profile is taking me to the home page… Just wondering if there was a solution it might help me too!
well a full width bbpress.php template would not fix the profile page looks. it would just need some CSS rules for a better bbPress responsive layout.
They work fine.
there is some CSS hiding your content though. i just changed clear:none to clear:left
if you find any other style awkwardness tell me and i could fix it pretty quick.
add this anywhere you can add custom css
#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic,
#bbpress-forums #bbp-user-wrapper ul.bbp-topics,
#bbpress-forums #bbp-user-wrapper ul.bbp-forums,
#bbpress-forums #bbp-user-wrapper ul.bbp-replies,
#bbpress-forums #bbp-user-wrapper fieldset.bbp-form {
clear: left;
}
Any chance of releasing the widget these forums are using on the left? The specific Forum and Topic widgets displaying stats?
I’ve been searching for a couple days so I assume its something custom that bbPress is doing and hasn’t released. Is that correct?
did you create a custom widget?? it might be better if you did for this because then you could output all of the links to the user profile.
unfortunately not, as i’m using a plugin (jquery-vertical-accordion-menu) for the accordion/dropdown menu widget for that menu, which makes it more complicate, i guess. does the
$id_base = 'dc_jqaccordion_widget';
help with this and if where and what else to put in the code for a custom widget that’s using the accordion/dropdown menu as well?
initially hoped that making a redirect via permalink in functions.php or via page template would be the fastest and easiest solution. am i totally wrong with this?
as i’m not familiar with coding, i see a high risk of having set wrong variables all the time. i’m using default bbpress setting with a nicername/username instead of user’s id in the permalink.
I have been pulling my hair out trying to get the sub forums to display inline rather than as list-item but having a complete nightmare.
Forums
I have created a child theme and have added,
#bbpress-forums .bbp-forums-list li {
display: inline !important;
font-size: 11px;
}
Which doesn’t do anything to the layout of the forum. The theme I am using is called Sahifa.
If anyone could help me with this it would be much appreciated. I have been Googling and trying different things for hours now and I am sure this is a common question.
Hi Robkk, no I did not create a bbpress.php, nor did I make any other changes than shown in the other thread – I added some definitions to the css of our theme, to adjust the width problem at forums list and at topic (content) display.
I guess, now I could either fix also the width of the editor area individually and hopefully then I’m done (but how?), or try to find the cause of the problem between bbPress and our theme.
Which is a mod of the free “Quark” theme https://wordpress.org/themes/quark/ …
AlParticipant
Yup, same issue here with 2.5.7 and widgets. I downgraded back to 2.5.6 and all was well again. 2.5.7 causes a PHP out of memory exception whenever a not logged in user calls a bbpress widget.
I’m having a very strange issue where when updating to bbpress 2.5.7 the widgets on my right sidebar are only visible to users who are logged in.
If I disable the bbpress plugin, viola, people can see all the widgets again.
How do I fix this issue?
i say look how this plugin is developed and see if you could learn a thing about adding what you want to yours.
https://wordpress.org/plugins/asyncronous-bbpress-subscriptions/
combining the replies/topics/forums section i can see something good about , i think ive seen a plugin customize the look to look like this way actually.
the items at the top i dont agree with you , if you want something like that use this instead.
https://wordpress.org/plugins/bbpress-admin-bar-addition/
if you can put some images of the layout you would like to see.
since your other pages with the sidebar look fine and adjust well.
only thing i can think is maybe you created a bbpress.php and removed some divs that were essential for the sidebar??
since your theme is free i will download it and check it out.
well a good idea would be to have a tinymce button that pops up a modal when clicked and shows an upload button to add images and then you would accept the uploaded pictures and post it in the content with an anchor tag wrapped image. but we do not have anything like that.
for now you can use this plugin to upload pictures
https://wordpress.org/plugins/gd-bbpress-attachments/
and oembed would automactically embed any links to images from imugur and flickr.
you could also use the img button to show an image from external sources too.
@vinzen
you can create a new widget based off of the default recent topics widget and customize it to your liking. or you can edit this
https://wordpress.org/plugins/bbpress-advanced-recent-topics-widget/
and add the topic tag thing you want.