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. 🙂
Robin,
Thanks for the fast reply, but this plugin is 4 years old.
Is this not a problem?
Is it full compatible with the lastest bbpress plugin?
No security issues?
Hi, in my site I noticed a strange issue after last WordPress update. It seems to have problem with “cache”.
For example, if I log-in through the Home Page, after click in sign-in, the page refresh but it seems that the log-in didn’t work. If I press F5 to refresh the page, here I can now see the log-in effectuated.
I thought about my caching plugin, and I wrote to the assistance of my provider. They exclude the problem is in caching plugin, they found this:
The issue appears to be caused from the latest WordPress upgrade that was automatically applied within your website.
Code:
sitename@esm9 [~/public_html]# wp core version
4.7.4
There seems to be conflict between a plugin of yours that is creating this strange behavior within the website.
To find which is the responsible plugin, you may start deactivating them one by one and after that checking the functions that were not working as expected. Once they work this will indicate which plugin caused the issue.
I did what they suggest, and when I deactivate BBPRESS, everything works! So, what to do??
Hi,
If I may add my part too:
– If you post something, you will never receive it yourself. As you know what you have posted, you will not receive the message yourself (I hope this has not changed in the latest versions)
– You are NOT using BuddyPress, right ? Only bbPress. Because BuddyPress might have other settings and then you might be better checking with the support overthere.
– As Robin indicates, users need to SUBSCRIBE to a forum to receive the notifications for TOPICS that are posted in the forums.
Hope this helps.
A user posted a new topic in my bbPress forum. that worked just fine. I registered as a Subscriber so I could test user experience, and tried to reply to his topic/thread. But after I hit “Submit,” the topic reloaded and the reply was not there. The status still reads: This topic contains 0 replies, has 1 voice.”
What could be the reason why the response is not being published?
Thanks!
Ken
presume you’ve tried it ?
If it doesn’t work, then the latest activity widget in my style pack plugin does exactly that
bbp style pack
There are quite a few performance improvements coming in bbPress 2.6 (to be released soon)
Many of these improvements have been made to support the implementation of bbPress 2.6 here on the WordPress.org support forums.
You can read more about this here https://bbpress.org/forums/topic/bbpress-2-6-beta/
If you have a test site, or could set one help, testing 2.6 would help us help you 🙂
Hey @johnjamesjacoby
2.6b2 got my replies out of sync with the freshness link and reply count on the forum index page. Usually topics that have a lot of replies got out of sync… when user clicks to go to the latest reply.. the ID of the reply is correct.. but the page is wrong.
Example of what’s going on:
Topic with 24.439 replies… last page is 1630 but the freshness link took me to page 1627 and forum index shows this topic has 24.403 replies.
I already saw topics with 500 replies with this problem and others with 1000 replies doing just fine… kinda weird. lol
I tried to use the repair tool but I always get the timeout problem… probably because I have more than 45M replies.
There’s any way I can run the repair tool straight from the DB or SSH? idk.
Any help will be appreciated.
Thank you =)
We have issue with the time to first byte (TTFB) using the plugin BBPress. On the single topic page we get TTFB about 5-7 sec. After researching this issue we have found that the problem is in the file “content-single-topic.php” and the bottleneck is the function “bbp_has_replies()”.
After researching this function we have found that the problem is in the code:
wp-content/plugins/bbpress/includes/replies/template.php:184
$bbp->reply_query = new WP_Query( $r );
this row takes about 5-6 sec, so performing the query which retrieves the list of replies takes about 5-6 sec. Also we have dumped the query which is performed:
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts FORCE INDEX (PRIMARY, post_parent) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_posts.ID = 515125 OR wp_posts.post_parent = 515125) AND ( ( wp_postmeta.meta_key = ‘_bbp_forum_id’ AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN (‘515120′,’515123’) ) ) AND wp_posts.post_type IN (‘topic’, ‘reply’) AND ((wp_posts.post_status = ‘publish’ OR (wp_posts.post_status = ‘pending’ AND wp_posts.post_author = 0) OR wp_posts.post_status = ‘closed’ OR wp_posts.post_status = ‘hidden’) OR (wp_posts.post_author = 0 AND (wp_posts.post_status = ‘private’))) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date ASC LIMIT 56150, 25;
You can check a test here:
https://tools.pingdom.com/#!/NXIxm/https://www.bombingscience.com/forums/topic/tags-tags-tags/page/602/
We are using Version 2.5.12
Could you please check this issue and provide us solution in order to speed up this query?
Hi @stefaanc,
I had some time this evening, so have a look at this plugin: http://casier.eu/wp-dev/bbp-post-first.zip
You should be able to install it by going to your /wp-admin/plugin-install.php?tab=upload and then point to the above zip.
It will:
– not show any topics unless you have posted a topic in that forum
– Change the standard text from ‘Oh, bother! No topics were found here.’ to ‘Please post your own topic first before you can see other responses.’
– upon a save of a topic, allow the user to see all topics in that forum
Test it, test it again and let me know,
Hope it serves,
Pascal.
I’m having the exact same problem as above, but no idea how to fix the problem, since I already have installed the latest version of bbpress. Here is my error message:
Fatal error: Uncaught Error: [] operator not supported for strings in /home/sahbar5/public_html/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /home/sahbar5/public_html/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /home/sahbar5/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /home/sahbar5/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/sahbar5/public_html/wp-includes/class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 /home/sahbar5/public_html/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /home/sahbar5/public_html/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /home/sahbar5/public_html/wp-includes/class-wp.php(735): WP->query_posts() #7 /home/sahbar5/public_html/wp-includes/functions.php(955): WP->main(Array) #8 /home/sahbar5/public_html/wp-admin/includes/post.php(1072): wp(Array) #9 /home/sahbar5/public_html/wp-admin/includ in /home/sahbar5/public_html/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800
What can I do?? Thanks for your help!
I am building a community website which will enable groups to post help requests on a bbpress forum. To post requests, all forum users must register.
In testing, when participants register for the forum, they are being assigned WP user roles too. I have set this to be Subscriber, but this is allowing them to access JetPack and some other things from the dashboard.
I don’t want forum particpants to have any access to the dasboard – only to bbpress forums. Am I missing a settings somewhere?
Thanks for your help.
I am using WP 4.7.3 and bbpress 2.5.12
Hello,
I’m using the latest version of WP/BBpress/theme (SmartMag). With all plugins turned off, except, bbpress, I still can’t get the visual editor button to work. It’s there, you can click on it, but it won’t do anything.
The theme author swears it works with BBpress since 1.5 – so I don’t know where or how to troubleshoot?
Please advise if you have any ideas, thanks!
Hello Pascal,
Thanks for your reply. Yes, the kind of forum I have in mind is one forum per question. The question would be one that triggers opinions rather than exact answers. If students would read the already available answers first, opinions tend to cluster around the ones that were given first. If they have to formulate their opinion before being able to read the others, there is much larger variety of opinions. And yet they can engage in discussions about each other’s opinions afterwards.
I’m new to WordPress and bbpress, but from the try-outs and tests we have been doing over the past week it looks like the LearnDash plugin in combination with bbpress would be suitable for our needs. We’re ready to invest some work in this if needed. Hence, if you have a suggestion about suitable plugins or would have specific advice for the ‘short coding’ you mention, we will surely investigate.
Thanks !
theme related issues tend (but not always) to be fixed by the fixes suggested above – did you try these?
if so, try as a test to switch to a default theme such as twentysixteen
I have tried again from a dump of a phpBB 3.1.9 and I’m back at the
Error establishing a database connection
error. Every time I have to do a test, I’m sure I use the “Reset Forums” function (tools.php?page=bbp-reset) and at the import I select both
“Start a fresh conversion from the beginning”
“Purge all information from a previously attempted import”