Forum Replies Created
:/ bummer. Sorry about that.
If you or the fine folks over at WPE can drop a hint at what’s timing out where, we can probably tune it a bit more.
We’ve changed the email address gathering & sending methods in bbPress 2.6 to try and accommodate bigger sets of users. You could try upgrading your forums to the latest 2.6 release candidate, and see if it makes a difference.In reply to: Forums & Sub Forums
Believe it or not, this type of layout is not built into the default templates, mostly because I don’t really like them very much, and also because we plan on changing the way forums & categories work in a future version, and I did not want to commit to that type of design only to need to force users to rename their template files.In reply to: HTML buttons missing with multiple forums on a page
Could be caching, a bug, a plugin conflict, or something else.In reply to: Tagging/mentions don’t go to the forum post
BuddyPress and bbPress both have their own version of mentions, and it sounds like they are working as they are currently designed to. Meaning, BuddyPress activity mentions always win, and bbPress mentions do not create BuddyPress notifications on their own.
Also, is it not possible to write one query that deletes content from two tables (wp_posts and postmeta)?
Correct; it is not possible. Each deletion from each table needs its own query. It’s not possible to know which meta-data IDs to delete without
SELECTing which post IDs before deleting them.
You won’t be able to do this with just 1 query, because you’ll also want to delete the associated meta-data; that will take at least another query with the post IDs of the topics you’re trying to delete. If you’re using any type of caching, those caches should be purged also, which usually requires PHP or a cache-key reset.
There are a few alternatives.
Admin > Tools > Forums > Resetwill let you erase all bbPress content completely. It may timeout depending on your server configuration, but it will eventually get through it.
* Use WP-CLI: http://wp-cli.org
* Export the DB, do the data delete on a more capable server (or locally) then re-import it back in. This obviously is the more technical solution, but works really well in a pinch.
I understand the need for this, but this is coming from bbPress so there is only so much we can do. bbPress has no way to to blanket unsubscribe someone from all of their forums/thread email subscriptions. If bbpress had a way to unsubscribe globally, then we could look into it but going topic by topic, which is how they have it setup does not work. Simply put bbPress doesn’t have the utilities to make it reasonably possible
bbp_topic_subscription_user_idsfilter can be used to remove users from the array of users to be notified about new replies to topics.
bbp_forum_subscription_user_idsfilter can be used to remove users from the array of users to be notified about new topics in a forum.
On the Memberpress side, or in a separate add-on, they can filter those arrays, remove “inactive” members from those emails, and problem solved.
I’d also argue that you actually don’t want to blanket unsubscribe anyone from anything, because if they ever re-subscribe, they’ll want to get all of their previous history back; right? If you purged all those subscriptions when their membership expires, that would kinda stink for them.
The problem of conditionally loading the PHP files will go away when we can start to officially support autoloading for versions of PHP greater than 5.2.
With BuddyPress, we did move to supporting autoloading when it’s available. bbPress has fewer files, and is a simpler piece of software, so my preference would be to keep it a bit more pristine and not include the same conditional support until it’s a general requirement for running WordPress.
Anything we can do to make bbPress more performant is definitely encouraged, so I appreciate you noticing, and taking the time to start the discussion here.In reply to: Fatal Error
> You can then delete the bbpress plugin directory and re-install bbpress from the front end
This is my suggestion. If that file is missing, it’s hard to trust that other files haven’t been compromised in other ways.In reply to: bbPress 2.5.13 doesn’t work.
This is a PHP 7.0/7.1 issue with anything in the 2.5 range.
We need to port some changes from the 2.6 branch backwards to make it work.In reply to: Recalculate the position of each reply
Hi @sourfew, sorry to hear you’re having trouble. It’s really important to us that incoming users have a great experience, so I’d like to try and tackle this right away.
Curious how many topics & replies you converted? Also, it’s usually most helpful to have access to or see your conversion data, which is totally based on your comfort level.
I don’t think we’ve made any changes to this repair routine, and it isn’t “critical” to your forums working, but it is nice to do.In reply to: Posting form isn’t responsive
Something in your theme must be forcing the width of those fields. They are naturally responsive by using percentage based widths by default.
So then, how will users ever visit each others forum profiles, or even edit their own?
How will people get to the author archives of your blog? Do you care if they’re not publicly linked anywhere?In reply to: Add Featured Image to New Topics in Frontend WYSWYG
Allowing untrusted users the ability to upload images to your site is one of those frequently requested but still pretty risky features we’ve so-far shied away from.
WordPress (and most server configs) don’t do the type of strict file/mime type checks you’d want before enabling this, so JPGs and GIFs can embed other weird stuff and most sites would have no idea.
There are some plugins out there to enable it, but it’s not something we’ll include with bbPress proper until WordPress (and most hosts) have a better setup under the hood.In reply to: In Admin dashboard->Forums gave this error.
You may want to try the latest 2.6 release candidate instead.
Do you know where I can modify the redirect page so that it only shows the 404 page not found message and not a list of my site’s pages
It usually depends on the theme, but
404.phpis a good start. It probably has some function or functions that put out a sitemap, but that’s just a guess, and every sitemap type plugin is different.
In addition to bbPress, there are legitimate Membership plugins that are better equipped to handle things like private pages or members-only sections of websites. If you haven’t used any, Restrict Content Pro and Paid Memberships Pro are good ones.
if there is supposed to be a redirect when someone isn’t logged in
No. When inaccessible pages are requested, a 404 is returned.
I want to prevent non logged-in users from viewing this 404 page because it has a list of all the pages within my website, and I need to keep that accessible only to logged-in users.
I’ve created a Trac ticket to get more development discussion on the idea here:
With both the weekend and a major community summit, the past few days have been pretty slow around here.
This is a hard question to answer, because it depends on your forums and how you have them setup as private.
There are also security implications to consider. For example, if your forums are only for logged in users, redirecting to a login page vs. showing a 404 hints to hackers that something exists vs. it not existing, which incentivizes the hunt.
I usually try to recommend that forums use the login widgets, or otherwise have some always-available login form to use instead. That way private forums can still 404 for non-logged-in users, without the redirect hint.
If you do want to redirect anyways, you’ll need a custom plugin to modify the way bbPress works.
bbp_forum_enforce_hidden, and write your own equivalent functions to use
bbp_set_404().In reply to: bbPress 2.6 Release Candidate 3
Fixed a bunch more odds & ends.
2.6, maybe this week?In reply to: Per-forum moderators
In bbPress 2.6, per-forum moderators will work like this:
* Users with the global Moderator role will be able to moderate all forums
* Users assigned as a moderator to a specific forum will act like a moderator in that forum
* This includes private & hidden forums, where the non-moderator (Participant role) user wouldn’t otherwise even be able to see them at all
There are weird situations that could come up, but you’d have to be working backwards in both directions to see them. For example, giving someone the “Blocked” user role, but then trying to make them a moderator in a forum, is weird. In these cases, the block wins.