Hey there!
I have installed bbPRess on my test system and then installed it the same way on my live system.
Now I have an issue with the page titles of bbpress pages.
When I log in as a non-admin user in live system the page titles are broken and all tites of bbprss pages are 404 errors. The content is showing just fine.
This issue orrurs only on live system. The ther things are working correctly.
Maybe thats relevant:
I set in bbpress settings the root to /forum
Then I have created a WP-Page called “forum”
Now the root seems to be this WP-Page
Thank you very much for your help!
Regards,
Alex
WP-Version: 4.7.5
bbP-Version: 2.0.7
Home
Ok. Latest update. The only remaining 502 errors seem to happen after the initial reply is entered successfully (in the admin interface) and then we need to change something in it (in our case, it’s often the author id) — AND when there is a hyperlink in the text entry. We’re using the WYSIWYG/visual editor. And only on the first update (after the original submission goes in). I can change the author 10 times after it fails (on the first update only) and they all go fine. I can change the author on a text only entry and never get the 502.
So, it’s looking like our initial issue is resolved (502 preventing the new reply admin page from loading at all for some admin users — fixed by the removing the entry in wp_notifications), but now we have an issue where we can enter replies, but editing them the first time, if they contain a hyperlink, causes a timeout/502 error. And this one really times out (takes a while before we see the 502). The initial problem of not loading the admin reply page at all and seeing a 502 was an instantaneous error — no delays.
email can be very complicated to debug.
I’d try
setting up a new user with an email address you have access to (and isn’t currently in the site)
Test to ensure it is working – you then have working user with working email. Change this email address to anything such as abc@def.com
Then take a user who you know is not working, and change their email address to the working one above
Then change the new user above to the not working email
Then you can see if the issue is with the email address or with the user and fault find from there.
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.
yes put this in your functions file – untested but should work
add_filter ('bbp_before_get_search_terms_parse_args', 'pluus_amend_search') ;
function pluus_amend_search ($args) {
$args['post_type'] = bbp_get_topic_post_type() ;
return $args ;
}
Hi.
Service: https://www.dolzikoo.com
In ‘Mobile device’, ‘Profile box’ is big and ‘Content area’ is small.
I want to reduce the size of ‘Profile box’ in ‘Mobile device’ or move it somewhere else.
If that is not possible, I would like to remove ‘Profile box’ when viewing from ‘Mobile device’.
# Test https://www.dolzikoo.com/forums/topic/the-justice-department-appointed-robert-s-mueller-iii/
Thank you.
That is the point when it appears. When I get to add new from the dashboard, or from other posts, or anywhere that might generate a new post in the back end. After further testing, I also cannot add a new page or a new forum.
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
David
no, 7.1 is producing 500 errors for some users
Has this error always existed, or is it new? Have you upgraded anything?
As a test are you able to deactivate private groups and see if the error goes away
I get a 500 error when I try to add a new blog post,
Can you give me the exact error please
also gives an error when I try to save or publish a pre-existing draft
can you give me the exact error please
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,
Toby
They show as ‘Forum’ which is why I was expecting something to be on the left that I could choose them from.
Would it be something to do with the page called Forums? I made a new page and called it Test Forum and added it to the menu bar. I then moved a couple of the demo forums to below it. Saved and refreshed. The moved forums show below the new menu item ‘Test Forums’, but unlike the original ‘Forums’ link, if you click on it you don’t get a landing page. I’ve had a look at the Forums page and can’t see anything different there compared to any other page.
@bullarni No, this hasn’t been resolved (I’m running the latest stable version of bbpress). I have not tried implementing the patches since they are so old.
Unfortunately I haven’t found a solution.
I still think that due to
Existing passwords are converted during the import so users can login to WordPress/bbPress as soon as the import and recounts have finished.
the converter should have saved the database information to read phpbb_users somewhere but it hasn’t, that’s way I’m getting the “Error establishing a database connection”.
Which I think is somehow related to
https://bbpress.trac.wordpress.org/ticket/1886
At this point I will ask my users to reset their password.
During my tests, I have also discovered that even if you reset your password, you are still getting the “Error establishing a database connection” error for migrated user and to “skip” it, you have to rename/delete the table “wp_bbp_converter_translator”.
suspect this is theme related.
as a test try switching to a different theme and see if that fixes.
If so switch back, and come back here and let us know what theme and a url to your site
I was going to suggest renaming you’re plugins folder, you’ve done that already.
Try renaming the directory of your theme, or the entire themes directory if that doesn’t work
Strange, I tried hitting some URLs direct, e.g.
• http://restomod101.com/test/wp-admin/edit.php?post_type=page
• http://restomod101.com/test/wp-login.php
I’d also suggest taking a look at any custom functions you have in a functions.php file
What about rewrite rules, have you any custom rules in your .htaccess file?
I’ve been digging a lot and trying all kinds of different things but really have no idea how to get my site working again.
For whatever reason – every time I try and login to the standard Admin dashboard at “restomod101.com/test/wp-admin” for WordPress I get redirected to “restomod101.com/test/forum-registration/” which leads me to think its a redirect issue with bbpress but I could be wrong.
Whereas “restomod101.com/test/wp-login” takes me to a 404 error page.
What makes this all the more odd is the homepage seems to work fine EXCEPT when I click on any link, it resolves to a 404 page.
I’ve tried turning all the plugins off by renaming my plugins folder, I’ve tried my main themes folder but that takes me to a blank page.
What exactly has gone wrong?
Page is: restomod101.com/test/
Just trying to access the standard admin dashboard, I’ve put so much work into this site to lose it now!! Any help would be sincerely appreciated.
Hello people,
I have a new forum. So i’m testing some things.
After i made a topic (with a new account) i get to see this weird thumbnail failure (see image)
View post on imgur.com
How do i solve this?
Hi Robin,
I have just tried your code with BBPress 2.5.12 and I can not see the “trash” links. I hope it’s not a lot to ask, but could you know why it might be broken?
From what I could test, it has something to do with the lines where the capabilities are given, for example this line:
//allow any reply to be deleted
if ($post_type == bbp_get_reply_post_type()) $caps = array('delete_replies');
I appreciate any response.
Regards,
Hello,
I have a plugin that is used to index search results in to Amazon CloudSearch. I’ve written the below code to exclude private forums from search results. Now I need some code to automatically exclude all topics inside a private forum.
function exclude_private_forums_search() {
$forum_id = bbp_get_forum_id();
if (get_post_status($forum_id) == 'private') {
add_post_meta($forum_id, 'acs_exclude', 1, true );
} else {
delete_post_meta($forum_id, 'acs_exclude');
}
}
add_action('bbp_new_forum', 'exclude_private_forums_search' );
add_action('bbp_edit_forum', 'exclude_private_forums_search' );
Is there anyway I can get a list of topic IDs inside a forum ID?
Running latest version of bbPress and WordPress.
Thanks.
Hi
Newbie would be grateful for some help …..
WordPress 4.7.4 – bbPress 2.5.12
https://bijouxbutterflies.co.uk/forums/
Using the “Creating Content” guide I created my first forum and topic with no problems.
I then created a second forum (latest news) with one topic (trade mark registered).
Although both forums and both topics show in wp-admin, when I visit the website only the first forum shows.
What do I have to change to get both forums listed?
Thanks
Hello Pascal,
Although I tend to avoid beta versions, I’ve replaced the 2.5.12 by the 2.6-beta-2 to test your ‘post first’ plugin with [bbp-single-forum id=$id]. My observations:
* Prior to activating your plugin, the single forum is visible, with all of its content — as should be.
* After activating your plugin, the existing content of the forum is invisible. There is a message in a blue bar (‘this forum contains … topics and … replies …’), and a message in a yellow bar ‘Please post your own topic first before you can see other responses.’
* Those two messages appear always, regardless whether or not I had posted in that forum prior to activating the ‘post first’ plugin (ideally, it should only show up when I did not post before in that forum, isn’t it?)
* When I then do submit a message to the forum, it brings me to a new screen where I see only my message. I need the back button of the browser to get out of there (not sure how that can be changed?).
* When I do use the back button, I get onto the initial page where I had the single form, but it still displays the yellow bar telling me that I should post first. Even though the counter has increased by one, and my name is mentioned as the last contributor.
In conclusion: it doesn’t look like it does what it should do — it basically blocks all forum content for me, forever.
Hope this helps to finetune (I will stay with 2.6-beta-2).
Best regards,
Stefaan
Not tested this yet (I know this is nearly 3 years old – looking for something I’m currently working on) but I noticed that the code doesn’t have an opening PHP tag, just a closing one.
I added the opening tag, installed as shown above, and not had this above error.
Again, not tested but will confirm either way once I have set up a test post 🙂
@welshdemon did you ever figure this out, I am pretty much doing – stuck exactly where you are. I am going for older bbpress to newer bbpress that is part of a full site update and just want to bring everything in cleanly. It does bring in my replies, and they seem to be connected properly in the backend, but frontend, they do not show.
If i edit a reply, and just hit the update button, it will then show. I want to avoid doing that 1000 times.
Even if I export the topics from the new site, that show properly after I did the update trick mentioned above, then bring it back in (wordpress import) to test if it will import properly, it does not, has same symptoms a you mentioned.
Latest News: I restored WordPress to a few weeks ago, but still with the latest release.
Rstoring, the issue disappeared. And some plugins asked me to make an upgrade because of the restore to a few weeks ago. Due to the problem “solved”, I tried to update one plugin by one, and see if the problem comes back. Yes! It came back after the update of “Custom Sidebars”.
“ok” – I thought – “now deactivate it and see if the problem disappears”. Well, deactivating Custom Sidebars, the issue remains! And the only way to make it disappear is, now, deactivating BBpress.
What a confusion!
What do you think?
I was considering Tapatalk for bbPress (after migrating from SMF which has Tapatalk support) a while back in an effort to compete with Slack.
I did bookmark this URL: https://tapatalk.com/download_bbpress.php – but it is no longer active, it just redirects. Here is the archive.org version: https://web-beta.archive.org/web/20150911232515/https://tapatalk.com/download_bbpress.php
There also was this plugin, but I haven’t tested it or confirmed that it is actually meant for bbPress specifically (it looks like it is for blog comments): https://wordpress.org/plugins/tapatalk/
If anyone is currently using Tapatalk with bbPress, let us know how. 🙂