I forgot to mention. On setting up your forum before creating your app there is one plugin that is essential. (Thankyou Robin!) π
bbp style pack
Here are all the plugins I am using.
bbp profile information Version 2.1.2 by Robin Wilson
bbPress Version 2.6.9 by The bbPress Contributors
bbP Signature Version 1.4 by Arjun S Kumar, Robin W
bbp style pack Version 5.7.8 by Robin Wilson
GD bbPress Attachments Version 4.6 by Milan Petrovic
Hide Admin Bar Based on User Roles Version 3.7.0 by Ankit Panchal
Import and export users and customers Version 1.25.1 by codection
LiteSpeed Cache Version 6.0.0.1 by LiteSpeed Technologies
Meow Lightbox Version 5.1.1 by Jordy Meow
reCaptcha by BestWebSoft Version 1.74 by BestWebSoft
Site Kit by Google Version 1.116.0 by Google
Smush Version 3.15.3 by WPMU DEV
Super RSS Reader Version 5.1 by Aakash Chakravarthy
WP Mail From II Version 2.0 by Ben Huson
WPMobile.App β Android and iOS Mobile Application Version 11.41 by WPMobile.App
WP User Avatars Version 1.4.1 by Triple J Software, Inc.
Yoast SEO Version 21.8 by Team Yoast
Hello everyone, I’m a beginner using the bbPress plugin in WordPress. I have some questions, and I hope I can get some help.
1. If I have 3 forums, Forum A, Forum B, and Forum C, and there’s User1 who wants to create a topic but doesn’t want to enter a specific forum first. They want to create a topic and then choose the forum. How can I create a form for this and add the option to select a forum when User1 wants to create a topic?
2. Can the admin set it as a default so that when User1 creates a topic and someone replies, it automatically goes to their email?
Thank you in advance.
We are using bbPress for a site. Following a domain change, we are unable to load the feed page (https://portal.cnar-rcor.ca/feed/?post_type=forum).
Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 262144 bytes) in /home/customer/www/portal.cnar-rcor.ca/public_html/wp-includes/class-wp-object-cache.php
We tried everything we can find to increase the memory and that does not fix anything.
The memory is at 768M and we are running PHP version 8.
The error only appears after activating the bbPress plugin.
Any ideas?
We changed the domain name of an existing website a couple of weeks ago. Everything in bbPress is still working as expected, expect we use the RSS Feed to send automated emails every day with new posts to a list of users and get the following error:
allowed memory size of 805306368 bytes exhausted (tried to allocate 262144 bytes) in /home/customer/www/portal.cnar-rcor.ca/public_html/wp-includes/class-wp-object-cache.php
There is nothing here that points to bbPress yet, but we disabled all plugins to try and find the issue and it only remains when bbPress is activated.
We have also set a large memory size in the config file to no avail.
Here is the RSS feed result for forums that also shows the error at the bottom in some browsers.
https://portal.cnar-rcor.ca/feed/?post_type=forum
This started following the domain change. Is there anywhere in some bbPress settings or files that the previous domain URL is still be used?
Any other hints or information would be helpful.
Thanks!
Well a couple of days in since the restart. I’m unconvinced bbpress/wp is doing the right thing with feeds from private forums. So do beware. But wholesale turning off rss seems to result in empty containers, and that seems so far successful in avoiding disclosure of page content.
Who’d have thought a simple thing like this eh?
kr
TF
Thx and especially for the plugin which I shall implement. It blocks public access to user profiles and that’s got to be a good thing much appreciated. But I’ll explain why I doubt that’s the cause here.
This beta test really should have been a piece of cake. 6 savvy users, each with bespoke usernames at least 8 characters upper lower case and special characters. And strong passwords, thankfully.
(Standard) version of Linit Login Attempts Reloaded (‘LLAR’) plugin was loaded, not anticipating any action.
Only 3 of the 6 users bothered to post a few trivial posts. Within a day or so, LLAR flagged up failed login attempts from only those users who had posted. Not many at first but it grew exponentially over the next few days from multiple IPs (presumably bots) to about 1000/day before I shut it down.
Now it’s not conclusive, but seems unlikely that a random attack on user profiles would only find the exact 3 users who posted. More likely those usernames were found from their posts I figure. Usernames were, after all, in the page conetent, And so the html if that were visible.
But also visible in the RSS feed perhaps?
I have now turned off WP’s entire RSS etc feed. Blocked offending usernames. Allocated new usernames, will implement your plugin and start the beta test again.
Shall post the outcome. Let’s see what happens !
thx and much appreciated all your stuff not just on this, RW
TheFarmer
ok, so you are correct that topics and replies should be public.
You don’t say how you detected a brute force, and if these were default or easily guessed usernames etc. The whole idea of a brute force attack is to try loads of usernames in the hope one is correct.
bbpress just uses WordPress login, so if you were seeing login attempts this might be just a plain brute force on a wordpress site, unrelated to bbpress.
Identifying users would be unlikely to come from a topic display, given that a private forum does not show public topics either on screen or through rss.
However bbpress does have a profile page which is publicly displayable, and that might be a route. ie if the profile page of a display name does not 404, then username is valid.
you can use :
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Profile
where you can choose who to display profiles to, and therefore prevent profile pages of your users being identifiable.
It seems a reasonable question whether RSS etc feeds might be open on Topics defaulting to ‘Public’ visibilty as they do even in Private Forums ?
Naturally concerned.
kr
TheFarmer
Is it possible to embed a feed of forum activity on another site (sort of like an RSS feed, I guess). I’d like to show recent topic, but then when the user clicks on the topic, they go to the Forum on the host site.
I agree with the original poster. the list of plugins leads to many outdated and unsuported so it may be good to add a filter for plugins that are usable for the latest version?
For me the bbp style pack has been the most usefull along with (thankyou Robin!) π
These are the plugins i have installed so far…
bbP Signature
bbp style pack
Hide Admin Bar From Front End
Image Upload for BBPress
reCaptcha by BestWebSoft
Site Kit by Google
Smush
Super RSS Reader
WP Mail From II
WP User Avatars
Yoast SEO
Im looking for………….
Add smilies/emoticons to tinyMCE
Upload of attachments such as sound files and video to play inside a post
External Links to open in a new tab…
Nice to meet you all π
I do have that code on those other templates as well, so it works well. You know what though, I just found out that I didn’t have any custom code added to form-topic.php, so that must be how they are creating new topics. SMH. I thought that I had all of the template files customized and that they were somehow creating new posts via URL, RSS, or some other “back door” method. Thanks for your time, you can close this post.
My bbPress forum is integrated with WooCommerce Memberships, so that only members can view topics and post replies. I’ve achieved this by editing all of the template files that bbPress has dealing with viewing a reply or being able to post. So none of the reply forms will even load if the user is not an active member. Still every once in a while, a spammer is able to create an account and post a new topic. How is this possible if they are not a member? Is there another way that someone is able to create a forum post that doesn’t involve having to click the “Create new topic” button (which isn’t there) can they post via URL or RSS? Is there any way to see how they are posting?
Hi
I have a lot of plugins installed on my site.
Let me know if you have anything to check more
Best Regards,
Hyunho
================
301 Redirects
Activity Log
Advanced Access Manager
Advanced Editor Tools (previously TinyMCE Advanced)
Advanced TinyMCE Configuration
All In One SEO Pack
Automatic Copyright Year
Awesome Weather Widget
bbp style pack
bbp User Ranking
bbPress
bbPress – Private Replies
bbPress forum utility pack
bbPress Permalinks with ID
bbPress Profile Link Shortcode
bbpress Simple View Counts
bbPress Toolkit
Classic Editor
Favicon by RealFaviconGenerator
GD bbPress Attachments
GD bbPress Tools
Hide Admin Bar From Front End
Hide My WP Ghost Lite
Image Upload for BBPress
Link Widget Title
Log Out Shortcode
MangBoard WP
Members
Nav Menu Roles
Pages In Widgets
Post/Page specific custom CSS
Search & Replace
Shortcode in Menus
Shortcode Widget
SiteOrigin CSS
Smush
Stylist
Timeline Express
User Registration
Wordfence Security
WP 2FA – Two-factor authentication for WordPress
WP OPcache
WP RSS Aggregator
WP Statistics
WP-Optimize – Clean, Compress, Cache
WPForce Logout
broken link check
buddyPress
================
Hey!
Iβve been trying several codes but I canβt get what I want.
I just simply need a rss URL that shows recent topics in all forums but not their replies. Is that possible?
Thanks
ok, this may or may nogt work
can you download this file
RSS Test
and then open it and paste the contents into code snippets ion the php/code section
then let me know if it does anything (at all!!)
Just to update, all seems to be working so I thought I would share this. I am sure the coding is bad but it works !!
I am the only one that can create topics, I moderate all replies and want to add to the end of each reply ‘#plasticfree’ and a custom metadata value for each topic that I put in when I create a topic.
This means that the hashtag and twitter name goes out with the RSS feed to tiwtter etc.
Thank you Robin for all your help.
/***
To add #plasticfree and twitter name to reply
***/
function waa_content( $content, $post_id ){
// get the topic id
$post_id = get_the_ID();
$reply_topic_id = bbp_get_reply_topic_id( $post_id );
// get value from table
$twitname = get_post_meta( $reply_topic_id, 'bbp_twitname', true );
$twithash = '#plasticfree';
$post = get_post($id);
if ($post->post_type =='reply'){
$pos = strpos($content, '#plasticfree');
if ($pos == false) {
$content .= '<br>'. $twithash .' ' .$twitname;
}
}
return $content;
}
add_filter( 'content_edit_pre', 'waa_content', 10, 2 );
Is there a hook or action I am missing to add something to the bottom of the contents of a reply when I publish, I don’t mean just show it on a reply but to write it to the table.
I have a custom field that I populate in a topic I want to add it to the end of each reply. I know how to check if it is already there etc.
I want it to write it to the contents so it is passed out with the rss feed to twitter etc.
Sorry, currently I cannot reveal that, because information that should be private is leaking this way. We’re still busy removing posts.
I’m seeing older threads here suggesting you need to modify functions.php to keep forum posts out of your RSS. Like this one: https://bbpress.org/forums/topic/private-posts-showing-in-rss-feed-widgets/
No, the “rss feeds per page” setting doesn’t allow values < 1.
We have the same problem. We just installed bbPress as a private forum, for logged-in members only. But posts appear in our public example.com/feed (and get replicated by Zapier to social media)
Hello,
There must be a way to embed audio player for podcasts directly from RSS feeds, into forum topics? I can’t figure it out. I just want to be able to press play directly from the topic, without going to new link or downloading the full attachment. Any suggestions?
Image
I think if you set
dashboard>settings>forums>rss feeds per page to zero it should stop, but that does depend on how your theme an other plugins are doing the links, it may not work
hmm…not sure. Freshness is really weird under 2.6, or at least my undersstnding of how it should work varies form what it actually does.
I’ll wait until the authors look at my track ticket before I work further on it.
I see that showroom is still not showing sub forums, and I’m still playing with why that might be happening.
Hello,
I need help with the following:
Is there a way to integrate bbPress with a downloadmanager.
I want that members of a -non public- forum can post and download files.
WordPrerss Download Manager has a add-on to integrate with BuddyPrerss, hopefully there is such a plugin or add-on for bbPress.
Thank you in advance.
Hendrik-Jan